Q. On what basis of a variable, OS allocates memory and decides what can be stored in the reserved memory?

  • (A) Data bases
  • (B) Data sets
  • (C) Data types
  • (D) Lists
πŸ’¬ Discuss
βœ… Correct Answer: (C) Data types

Q. Which is more general than a matrix, in that different columns can have different modes?

  • (A) Data types
  • (B) Data frames
  • (C) Data sets
  • (D) Databases
πŸ’¬ Discuss
βœ… Correct Answer: (B) Data frames

Q. What will be the output of the following R code?
> x <- c("a", "b", "c")
> as.logical(x)

  • (A) a b c
  • (B) NA NA NA
  • (C) 0 1 2
  • (D) 6 8 9
πŸ’¬ Discuss
βœ… Correct Answer: (B) NA NA NA

Q. Lists can be created using the . . . . . . . . function.

  • (A) Matrix.li
  • (B) Matrix.lists
  • (C) Lists.matric
  • (D) List
πŸ’¬ Discuss
βœ… Correct Answer: (D) List

Q. Joining two lists can be achieved either using the . . . . . . . . function.

  • (A) Concat
  • (B) Join
  • (C) Reduce
  • (D) Delete
πŸ’¬ Discuss
βœ… Correct Answer: (A) Concat

Q. R objects can have attributes, which are like . . . . . . . . for the object.

  • (A) metadata
  • (B) features
  • (C) expression
  • (D) dimensions
πŸ’¬ Discuss
βœ… Correct Answer: (A) metadata

Q. Factors are created using the . . . . . . . . function.

  • (A) C()
  • (B) Function()
  • (C) Array()
  • (D) Lists()
πŸ’¬ Discuss
βœ… Correct Answer: (B) Function()

Q. First component of the list can be accessed by . . . . . . . .

  • (A) Name of the component
  • (B) List name
  • (C) Function
  • (D) Package
πŸ’¬ Discuss
βœ… Correct Answer: (A) Name of the component

Q. Which function is used to enter in data at the terminal?

  • (A) Scanned
  • (B) Scnn
  • (C) Scan
  • (D) Sccn
πŸ’¬ Discuss
βœ… Correct Answer: (C) Scan

Q. Which are indexed by either row or column using a specific name or number?

  • (A) Datasets
  • (B) Data frames
  • (C) Data
  • (D) Functions
πŸ’¬ Discuss
βœ… Correct Answer: (B) Data frames