Explore topic-wise InterviewSolutions in .

This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.

51.

Which of the following package is implemented by lattice plotting system?(a) grDevices(b) grid(c) graphics(d) all of the mentionedI had been asked this question by my college director while I was bunking the class.The above asked question is from Plotting Systems topic in portion Data Analysis and Research of Data Science

Answer»

Right CHOICE is (b) GRID

The best I can explain: USE grid on to display the major grid LINES.

52.

Which of the following is an example of graphics device?(a) PDF(b) SVG(c) JPEG(d) All of the mentionedI have been asked this question in a job interview.I'm obligated to ask this question of Graphics Devices topic in section Data Analysis and Research of Data Science

Answer»

The correct CHOICE is (d) All of the mentioned

The best explanation: When the plot() function is invoked, R SENDS the data CORRESPONDING to the plot over, and the graphics device GENERATES the plot.

53.

Which of the following statement is used for importing knitr library?(a) library(knitr)(b) import knitr(c) lib(knitr)(d) none of the mentionedI have been asked this question by my college professor while I was bunking the class.My question is based upon knitr topic in section Data Analysis and Research of Data Science

Answer»

Correct ANSWER is (a) LIBRARY(KNITR)

Easiest explanation - knitr is not good for documents that REQUIRE precise FORMATTING.

54.

dev.copy2pdf specifically copy a plot to a PDF file.(a) True(b) FalseThis question was posed to me by my school principal while I was bunking the class.I'd like to ask this question from Graphics Devices in chapter Data Analysis and Research of Data Science

Answer»

Right answer is (a) True

Easiest EXPLANATION - Copying a PLOT is not an exact operation, so the result MAY not be identical to the ORIGINAL.

55.

Which of the following step is not required in data analysis?(a) Synthesize results(b) Create reproducible code(c) Interpret results(d) None of the mentionedI had been asked this question during an interview.This intriguing question originated from Introduction to Reproducible Research topic in division Data Analysis and Research of Data Science

Answer» CORRECT choice is (d) NONE of the mentioned

Explanation: The DATA SET may DEPEND on your goal.
56.

Which of the following can be used for data analysis model?(a) CRAN(b) CPAN(c) CTAN(d) All of the mentionedThe question was posed to me in an internship interview.This is a very interesting question from Introduction to Reproducible Research topic in division Data Analysis and Research of Data Science

Answer» RIGHT answer is (d) All of the mentioned

Easy explanation - Different problems require different APPROACHES and EXPERTISE.
57.

Which of the following information is not given by five-number summary?(a) Mean(b) Median(c) Mode(d) All of the mentionedI have been asked this question in an internship interview.I'm obligated to ask this question of Exploratory Graphs in chapter Data Analysis and Research of Data Science

Answer» CORRECT OPTION is (c) Mode

For explanation: The mode is the VALUE that appears most often in a SET of data.
58.

Which of the following is finally produced by Hierarchical Clustering?(a) final estimate of cluster centroids(b) tree showing how close things are to each other(c) assignment of each point to clusters(d) all of the mentionedI got this question during an internship interview.I would like to ask this question from Clustering topic in chapter Data Analysis and Research of Data Science

Answer» RIGHT CHOICE is (b) tree showing how close things are to each other

Easiest explanation - Hierarchical CLUSTERING is an agglomerative approach.
59.

How many stages commonly occurs in creation of plot?(a) 2(b) 5(c) 8(d) All of the mentionedI had been asked this question in a national level competition.This intriguing question comes from Plotting Systems topic in division Data Analysis and Research of Data Science

Answer»

Correct OPTION is (a) 2

Easiest EXPLANATION - The BASE plotting system is HIGHLY flexible.

60.

There are mainly three types of file devices.(a) True(b) FalseI have been asked this question in an online quiz.The query is from Graphics Devices in chapter Data Analysis and Research of Data Science

Answer»

Correct answer is (b) False

To EXPLAIN I would say: There are mainly BASIC types of file devices-vector and BITMAP.

61.

Which of the following system most often don’t have postscript viewer?(a) Windows(b) Linux(c) Mac(d) All of the mentionedI have been asked this question in an online quiz.I need to ask this question from Graphics Devices in chapter Data Analysis and Research of Data Science

Answer»

Right CHOICE is (a) Windows

To explain I WOULD say: POSTSCRIPT is older format but it resizes WELL.

62.

Point out the wrong statement.(a) For quick visualizations and exploratory analysis, usually you want to use the screen device(b) Functions like xyplot in lattice will not default to sending a plot to the screen device(c) Not all graphics devices are available on all platforms(d) None of the mentionedThe question was posed to me at a job interview.Origin of the question is Graphics Devices in portion Data Analysis and Research of Data Science

Answer»

Correct option is (b) Functions like xyplot in LATTICE will not default to sending a plot to the SCREEN device

The explanation: WINDOW function cannot be USED on Mac.

63.

Which of the following package by Yihui is built in to RStudio environment?(a) rpy2(b) knitr(c) ggplot2(d) none of the mentionedThe question was posed to me in an interview.My question is based upon Literate Statistical Programming in portion Data Analysis and Research of Data Science

Answer» CORRECT CHOICE is (b) knitr

The EXPLANATION is: It can be EXPORTED to pdf and HTML.
64.

knitr supports only one documentation language.(a) True(b) FalseI had been asked this question in quiz.The query is from Literate Statistical Programming in chapter Data Analysis and Research of Data Science

Answer»

The CORRECT ANSWER is (b) False

For explanation: knitr SUPPORTS VARIOUS documentation languages.

65.

Which of the following should be set on chunk by chunk basis to store results of computation?(a) cache=TRUE(b) cache=FALSE(c) caching=TRUE(d) none of the mentionedThe question was asked in my homework.The doubt is from Literate Statistical Programming in chapter Data Analysis and Research of Data Science

Answer»

Correct answer is (a) CACHE=TRUE

Easy explanation - After the FIRST run. The RESULTS are LOADED from cache.

66.

What is one way in which the knitr system differs from Sweave?(a) knitr allows for the use of markdown instead of LaTeX(b) knitr is written in python instead of R(c) knitr lacks features like caching of code chunks(d) none of the mentionedThe question was posed to me during an interview for a job.I would like to ask this question from Literate Statistical Programming in division Data Analysis and Research of Data Science

Answer»

Right ANSWER is (a) knitr allows for the use of MARKDOWN instead of LaTeX

Explanation: knitr is an engine for DYNAMIC report GENERATION with R.

67.

Which of the following graph can be used for simple summarization of data?(a) Scatterplot(b) Overlaying(c) Barplot(d) All of the mentionedThis question was addressed to me in quiz.Question is taken from Exploratory Graphs in portion Data Analysis and Research of Data Science

Answer»

Correct ANSWER is (c) Barplot

The explanation is: A bar CHART or bar graph is a chart that presents GROUPED data with rectangular bars with lengths proportional to the values that they REPRESENT.

68.

Which of the following clustering type has characteristic shown in the below figure?(a) Partitional(b) Hierarchical(c) Naive bayes(d) None of the mentionedI have been asked this question in homework.I would like to ask this question from Clustering in section Data Analysis and Research of Data Science

Answer» CORRECT answer is (B) Hierarchical

Easiest EXPLANATION - Hierarchical clustering groups data over a variety of scales by creating a CLUSTER tree or dendrogram.
69.

Which type of graph is shown in the following figure?(a) Scatterplot(b) Barplot(c) Overlaying(d) None of the mentionedI got this question in an online interview.This interesting question is from Plotting Systems topic in chapter Data Analysis and Research of Data Science

Answer»

The correct answer is (B) Barplot

Explanation: A BAR plot REPRESENTS an estimate of central tendency for a numeric variable with the HEIGHT of each rectangle.

70.

Which of the following is alternative technique toprincipal component analysis?(a) Factor analysis(b) Independent components analysis(c) Latent semantic analysis(d) All of the mentionedThe question was posed to me during an online interview.This interesting question is from Graphics Devices topic in division Data Analysis and Research of Data Science

Answer»

The correct choice is (d) All of the mentioned

To explain I WOULD say: PC’s MAY MIX REAL patterns.

71.

Point out the correct statement.(a) On Mac, the screen device is launched with quartz(b) On Windows, the screen device is launched with wind(c) On Unix, the screen device is launched with x12(d) All of the mentionedThe question was posed to me in quiz.My doubt is from Graphics Devices in chapter Data Analysis and Research of Data Science

Answer»

The CORRECT choice is (a) On MAC, the screen device is LAUNCHED with quartz

To explain: On Windows, the screen device is launched with WINDOW FUNCTION.

72.

Point out the correct statement.(a) An article is stream of code and text(b) Analysis code is divided in to code chunks only(c) Literate programs are tangled to produce human readable documents(d) None of the mentionedThis question was posed to me in quiz.I want to ask this question from Literate Statistical Programming topic in section Data Analysis and Research of Data Science

Answer»

Right choice is (a) An article is STREAM of code and TEXT

Easiest EXPLANATION - Analysis code is DIVIDED in to code CHUNKS and text.

73.

Original idea comes of Literate Statistical Practice from _______________(a) Don Knuth(b) Don Cutting(c) Douglas Cutting(d) All of the mentionedI got this question by my college director while I was bunking the class.My enquiry is from Literate Statistical Programming in chapter Data Analysis and Research of Data Science

Answer»

The CORRECT OPTION is (a) Don Knuth

Best explanation: Literate programs are TANGLED to produce machine readable documents.

74.

Which of the following is useful way to put text, code, data, output all in one document?(a) Literate statistical programming(b) Object oriented programming(c) Descriptive programming(d) All of the mentionedThis question was posed to me by my school principal while I was bunking the class.This question is from Literate Statistical Programming topic in division Data Analysis and Research of Data Science

Answer»

Correct CHOICE is (a) Literate STATISTICAL programming

Easiest explanation - Object-oriented programming is a programming language model organized AROUND OBJECTS rather than “actions” and data rather than LOGIC.

75.

Which of the following is required for literate programming?(a) documentation language(b) mapper language(c) reducer language(d) all of the mentionedI got this question in exam.Asked question is from Literate Statistical Programming in section Data Analysis and Research of Data Science

Answer» CORRECT option is (a) documentation language

The BEST explanation: PROGRAMMING language is ALSO REQUIRED for literate programming.
76.

Which of the following global options are available for figures in knitr?(a) fig.height(b) fig.size(c) fig.breadth(d) all of the mentionedI got this question in an interview for internship.The question is from knitr in section Data Analysis and Research of Data Science

Answer» RIGHT OPTION is (a) fig.height

For EXPLANATION: fig.height has NUMERIC VALUE.
77.

Point out the correct statement with respect to replication.(a) Focuses on the validity of the data analysis(b) Focuses on the validity of the scientific claim(c) Arguably a minimum standard for any scientific study(d) All of the mentionedThe question was asked in semester exam.This intriguing question comes from Introduction to Reproducible Research in section Data Analysis and Research of Data Science

Answer» RIGHT OPTION is (a) Focuses on the validity of the data analysis

Best explanation: Data replication if the same data is STORED on MULTIPLE storage device.
78.

Which of the following problem is solved by reproducibility?(a) Scalability(b) Data availability(c) Improved data analysis(d) None of the mentionedThis question was posed to me in a job interview.This intriguing question comes from Introduction to Reproducible Research in division Data Analysis and Research of Data Science

Answer»

Correct CHOICE is (b) Data availability

Easy explanation - More TRANSPARENCY is ACHIEVED with REPRODUCIBILITY.

79.

Which of the following is characteristic of exploratory graph?(a) Made slowly(b) Axes are not cleaned up(c) Color is used for personal information(d) All of the mentionedThis question was addressed to me during a job interview.This key question is from Exploratory Graphs in chapter Data Analysis and Research of Data Science

Answer»

Correct answer is (c) Color is USED for personal information

Easiest EXPLANATION - A large NUMBER of exploratory graphs are MADE.

80.

Which of the following clustering requires merging approach?(a) Partitional(b) Hierarchical(c) Naive Bayes(d) None of the mentionedI have been asked this question in final exam.This interesting question is from Clustering topic in portion Data Analysis and Research of Data Science

Answer»

Correct choice is (B) Hierarchical

Easiest EXPLANATION - Hierarchical clustering REQUIRES a defined DISTANCE as well.

81.

Point out the wrong statement.(a) Plot are created with multiple functions only(b) Plots are created with both single and multiple function calls(c) Annotation in plot is not especially intuitive(d) None of the mentionedI got this question in a national level competition.I want to ask this question from Plotting Systems in section Data Analysis and Research of Data Science

Answer»

The CORRECT OPTION is (a) Plot are CREATED with multiple functions only

To explain I WOULD say: Plots are created with single function ALSO.