1.

How many types of data structures does R language have?(a) 2(b) 3(c) 5(d) 8I have been asked this question in an online interview.Asked question is from Functions in chapter Control Structures, Functions, Scoping Rules, Loop Functions and Debugging of R Programming

Answer»

The correct choice is (a) 2

The best I can explain: R language consists of Homogeneous and HETEROGENEOUS data STRUCTURES. Homogeneous data structures have the same type of OBJECTS – Vector, Matrix and Array. Heterogeneous data structures have a different type of objects – Data FRAMES and lists.



Discussion

No Comment Found

Related InterviewSolutions