Search Header Logo

Lecture 3 STSCI 2120

Authored by Nayel Bettache

Computers

12th Grade

Used 1+ times

Lecture 3 STSCI 2120
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you fill a matrix row by row in R?

Use the argument byrow = FALSE

Use the argument byrow = TRUE

Use the argument byrow = NULL

Use the argument byrow = 0

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the matrix function in R do by default?

Fills the matrix by row

Fills the matrix by column

Leaves the matrix empty

Fills the matrix with zeros

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the POSIXct framework, what is each time represented by?

Number of minutes since 2000

Number of hours since 1980

Number of seconds since 1970

Number of days since 1990

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do double-bracketed indexes in R lists indicate?

The subelement of an element

The type of the list

Which element of the list is being displayed

The length of the list

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you think of a data frame in R?

As a list

As a text document

As R’s equivalent to the Excel spreadsheet

As a video file

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What function in R is used to create a data frame?

data.frame

create.frame

frame.data

make.frame

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are atomic vectors in R, and how can you check if an object is an atomic vector?

A simple list of numbers; use is.list().

A simple vector of data; use is.vector().

A data frame object; use is.data.frame().

A matrix of numbers; use is.matrix().

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers