InterviewSolution
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.
| 1. |
Which of the following attribute should be used while checking for type combination input and output?(a) .types(b) .type(c) .class(d) all of the mentionedThis question was posed to me in an online interview.I want to ask this question from NumPy in chapter Developing Data Products and Working with NumPy of Data Science |
|
Answer» CORRECT answer is (a) .types Explanation: Universal FUNCTIONS in NumPy are FLEXIBLE enough to have MIXED type SIGNATURES. |
|
| 2. |
Which of the following can be done by shiny?(a) Tabbed main panels(b) Editable data tables(c) Dynamic UI(d) All of the mentionedI had been asked this question during a job interview.Asked question is from Shiny topic in section Developing Data Products and Working with NumPy of Data Science |
|
Answer» RIGHT OPTION is (d) All of the mentioned The best explanation: SHINY ALLOWS users to upload files. |
|
| 3. |
Which of the followingreads a data.frame and creates text output referring to the Google Visualization API?(a) gvisAnnotatedLine(b) gvisTimeLine(c) gvisAnnotatedTimeLine(d) none of the mentionedThis question was posed to me during a job interview.This intriguing question comes from googleVis in chapter Developing Data Products and Working with NumPy of Data Science |
|
Answer» The CORRECT ANSWER is (c) gvisAnnotatedTimeLine |
|
| 4. |
Which of the following function can be used to combine different vectors so as to obtain the result for each n-uplet?(a) iid_(b) ix_(c) ixd_(d) all of the mentionedThe question was posed to me in final exam.Question is from NumPy topic in section Developing Data Products and Working with NumPy of Data Science |
|
Answer» Correct choice is (b) ix_ |
|
| 5. |
runApp() will run the shiny and open the browser window.(a) True(b) FalseI had been asked this question during an online interview.My doubt stems from Shiny in section Developing Data Products and Working with NumPy of Data Science |
|
Answer» Correct option is (a) True |
|
| 6. |
Point out the wrong statement.(a) Shiny is platform for creating interactive programs embedded in to web page(b) Shiny is invented by R folks(c) Time required to create data products using shiny is more(d) All of the mentionedThis question was addressed to me by my college director while I was bunking the class.My question is from Shiny topic in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» Right CHOICE is (c) TIME required to CREATE data products using shiny is more |
|
| 7. |
Which of the following function is for single checkbox widget?(a) checkboxInput(b) dateInput(c) singleboxInput(d) all of the mentionedI had been asked this question during an interview.This question is from Shiny topic in section Developing Data Products and Working with NumPy of Data Science |
|
Answer» Right ANSWER is (a) checkboxInput |
|
| 8. |
___________ decompose the elements of x into mantissa and twos exponent.(a) trunc(b) fmod(c) frexp(d) ldexpThe question was posed to me by my school teacher while I was bunking the class.This is a very interesting question from NumPy in division Developing Data Products and Working with NumPy of Data Science |
|
Answer» The correct CHOICE is (c) frexp |
|
| 9. |
Point out the wrong statement.(a) Each universal function takes array inputs and produces array outputs(b) Broadcasting is used throughout NumPy to decide how to handle disparately shaped arrays(c) The output of the ufunc is necessarily an ndarray, if all input arguments are ndarrays(d) All of the mentionedThe question was posed to me during an interview.The above asked question is from NumPy topic in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» CORRECT answer is (C) The output of the ufunc is necessarily an ndarray, if all input ARGUMENTS are ndarrays The BEST I can explain: The output of the ufunc is not necessarily an ndarray, if all input arguments are not ndarrays. |
|
| 10. |
Which of the following method creates a new array object that looks at the same data?(a) view(b) copy(c) paste(d) all of the mentionedThis question was addressed to me during an interview for a job.This interesting question is from NumPy in section Developing Data Products and Working with NumPy of Data Science |
|
Answer» The correct option is (a) view |
|
| 11. |
ndarray is also known as the alias array.(a) True(b) FalseThis question was posed to me in an online quiz.The query is from NumPy topic in chapter Developing Data Products and Working with NumPy of Data Science |
|
Answer» Correct choice is (a) True |
|
| 12. |
Point out the correct statement.(a) Slidify allows embedded code chunks(b) Slidify presentation cannot be shared easily(c) Slidify is difficult to use(d) None of the mentionedThis question was posed to me by my college director while I was bunking the class.My question is taken from Slidify topic in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» Correct OPTION is (a) Slidify ALLOWS EMBEDDED code chunks |
|
| 13. |
Which of the following framework is compatible with slidify?(a) io2015(b) io2012(c) d3(d) all of the mentionedI got this question in an interview for internship.This intriguing question originated from Slidify in chapter Developing Data Products and Working with NumPy of Data Science |
|
Answer» Right OPTION is (b) io2012 |
|
| 14. |
gvisAnnotatedTimeLine returns list of class “gvis” and “list”.(a) True(b) FalseI got this question by my school teacher while I was bunking the class.My doubt stems from googleVis topic in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» Correct choice is (a) True |
|
| 15. |
The ________ function returns its argument with a modified shape, whereas the ________ method modifies the array itself.(a) reshape, resize(b) resize, reshape(c) reshape2, resize(d) all of the mentionedI have been asked this question during an online exam.The above asked question is from NumPy topic in division Developing Data Products and Working with NumPy of Data Science |
|
Answer» The correct ANSWER is (a) reshape, resize |
|
| 16. |
The actual chart of gvisBarChart is rendered by the web browser using _________ or VML.(a) JPEG(b) SVG(c) PDF(d) All of the mentionedI have been asked this question by my college professor while I was bunking the class.This question is from googleVis topic in chapter Developing Data Products and Working with NumPy of Data Science |
|
Answer» Right choice is (B) SVG |
|
| 17. |
Which of the following statement will load slidify?(a) library(slidify)(b) install.library(slidify)(c) install.load(slidify)(d) all of the mentionedThe question was posed to me in semester exam.My question is taken from Slidify in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» CORRECT CHOICE is (a) library(slidify) Explanation: Devtools should be INSTALLED in ADVANCE. |
|
| 18. |
How many components are involved in shiny?(a) 3(b) 4(c) 5(d) none of the mentionedThe question was posed to me during an online exam.I'm obligated to ask this question of Shiny topic in division Developing Data Products and Working with NumPy of Data Science |
|
Answer» Right CHOICE is (d) none of the mentioned |
|
| 19. |
Which of the following function can interrupt execution and can be called continuously?(a) browser()(b) browse()(c) search()(d) all of the mentionedI have been asked this question by my school principal while I was bunking the class.The origin of the question is Shiny in chapter Developing Data Products and Working with NumPy of Data Science |
|
Answer» Right ANSWER is (a) BROWSER() |
|
| 20. |
Which of the following sets the size of the buffer used in ufuncs?(a) bufsize(size)(b) setsize(size)(c) setbufsize(size)(d) all of the mentionedI got this question in a national level competition.Origin of the question is NumPy topic in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» CORRECT option is (C) setbufsize(size) Explanation: Adjusting the size of the BUFFER may therefore alter the speed at which ufunc calculations of various sorts are COMPLETED. |
|
| 21. |
To create sequences of numbers, NumPy provides a function __________ analogous to range that returns arrays instead of lists.(a) arange(b) aspace(c) aline(d) all of the mentionedThe question was posed to me in semester exam.My question is taken from NumPy topic in division Developing Data Products and Working with NumPy of Data Science |
|
Answer» The correct option is (a) arange |
|
| 22. |
Which of the following is R interface to google charts?(a) googleVis(b) googleChart(c) googleDataVis(d) all of the mentionedI had been asked this question in a job interview.This interesting question is from googleVis in section Developing Data Products and Working with NumPy of Data Science |
|
Answer» Correct CHOICE is (a) GOOGLEVIS |
|
| 23. |
Which of the following will be used to compose the content of the presentation?(a) ui.RMD(b) index.RMD(c) server.RMD(d) all of the mentionedThis question was posed to me in an online quiz.This intriguing question comes from Slidify topic in section Developing Data Products and Working with NumPy of Data Science |
|
Answer» The correct option is (B) index.RMD |
|
| 24. |
Some ufuncs can take output arguments.(a) True(b) FalseThis question was posed to me in exam.My question is from NumPy in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» RIGHT answer is (b) False The EXPLANATION is: All UFUNCS can take output arguments. If necessary, output will be cast to the data-type of the provided output array. |
|
| 25. |
Which of the following returns an array of ones with the same shape and type as a given array?(a) all_like(b) ones_like(c) one_alike(d) all of the mentionedThe question was posed to me in homework.Query is from NumPy in section Developing Data Products and Working with NumPy of Data Science |
|
Answer» Correct choice is (B) ones_like |
|
| 26. |
Which of the following is used for creating tree maps?(a) gvisGeoChart(b) gvisTable(c) gvisTreeMap(d) all of the mentionedThe question was asked in my homework.This intriguing question comes from googleVis in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» Correct ANSWER is (C) gvisTreeMap |
|
| 27. |
Point out the wrong statement.(a) The plot command does open a graphics device in the modern way(b) Motion Chart is only displayed when hosted on a web server(c) gvisMotionChart is used to create motion chart(d) All of the mentionedI had been asked this question in an interview for job.I would like to ask this question from googleVis in division Developing Data Products and Working with NumPy of Data Science |
|
Answer» Right answer is (a) The plot command does OPEN a GRAPHICS device in the modern way |
|
| 28. |
The first part of index.Rmd is XML code.(a) True(b) FalseI had been asked this question by my college professor while I was bunking the class.Origin of the question is Slidify in chapter Developing Data Products and Working with NumPy of Data Science |
|
Answer» The CORRECT CHOICE is (b) False |
|
| 29. |
Point out the correct statement.(a) shiny project is a directory containing at least three parts(b) shiny project is a file containing at least three parts(c) shiny project consist is a directory containing only one part(d) none of the mentionedI got this question in exam.The origin of the question is Shiny topic in chapter Developing Data Products and Working with NumPy of Data Science |
|
Answer» The CORRECT answer is (d) NONE of the mentioned |
|
| 30. |
Which of the following set the floating-point error callback function or log object?(a) setter(b) settercall(c) setterstack(d) all of the mentionedThis question was posed to me during an internship interview.This interesting question is from NumPy in section Developing Data Products and Working with NumPy of Data Science |
|
Answer» Right OPTION is (B) settercall |
|
| 31. |
Which of the following statement will install shiny?(a) install.packages(“shiny”)(b) install.library(“shiny”)(c) install.lib(“shiny”)(d) all of the mentionedThe question was posed to me in an online quiz.The query is from Shiny topic in chapter Developing Data Products and Working with NumPy of Data Science |
|
Answer» CORRECT OPTION is (a) install.packages(“shiny”) To explain: Shiny applications are AUTOMATICALLY “live” in the same WAY that spreadsheets are live. |
|
| 32. |
Point out the correct statement.(a) NumPy main object is the homogeneous multidimensional array(b) In Numpy, dimensions are called axes(c) Numpy array class is called ndarray(d) All of the mentionedThis question was posed to me in quiz.The doubt is from NumPy in chapter Developing Data Products and Working with NumPy of Data Science |
|
Answer» The CORRECT choice is (d) All of the mentioned |
|
| 33. |
Point out the correct statement.(a) gvisAnnotationChart returns list of class “gvis” and “list”(b) The gvisAreaChart function reads a data.frame and creates text output referring to the Google Visualization API(c) gvisAreaChart returns list of class “gvis” and “list”(d) All of the mentionedI got this question during an interview for a job.I want to ask this question from googleVis topic in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» RIGHT CHOICE is (d) All of the mentioned To EXPLAIN: This can be included into a web PAGE, or as a stand-alone page. |
|
| 34. |
Point out the wrong statement.(a) ipython is an enhanced interactive Python shell(b) matplotlib will enable you to plot graphics(c) rPy provides a lot of scientific routines that work on top of NumPy(d) all of the mentionedThe question was posed to me in an internship interview.This intriguing question originated from NumPy in division Developing Data Products and Working with NumPy of Data Science |
|
Answer» The correct answer is (C) rPy PROVIDES a LOT of scientific routines that work on top of NUMPY |
|
| 35. |
Which of the following create a Google Gadget based on a Google Visualization Object?(a) createGadget(b) createGoogleGadget(c) newGoogleGadget(d) all of the mentionedThe question was asked in semester exam.This interesting question is from googleVis in division Developing Data Products and Working with NumPy of Data Science |
|
Answer» Right choice is (b) CREATEGOOGLEGADGET |
|
| 36. |
Which of the following element can be added to slidify?(a) Quiz(b) RCharts(c) Shiny apps(d) All of the mentionedI got this question during an online interview.This interesting question is from Slidify in section Developing Data Products and Working with NumPy of Data Science |
|
Answer» The correct CHOICE is (d) All of the mentioned |
|
| 37. |
Which of the following statement will install slidify from github?(a) install_github(‘slidify’, ‘ramnathv’)(b) install_github(‘slidify’, ‘r’)(c) install(‘slidify’, ‘ramnathv’)(d) all of the mentionedThe question was posed to me in exam.My query is from Slidify in division Developing Data Products and Working with NumPy of Data Science |
|
Answer» Right ANSWER is (a) install_github(‘slidify’, ‘ramnathv’) |
|
| 38. |
Point out the wrong statement.(a) Slidify is created by Ramnath Vaidyanathan(b) Slidify is non customizable(c) Slidify presentation are just HTML files(d) All of the mentionedThe question was posed to me in homework.Enquiry is from Slidify topic in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» The CORRECT answer is (b) SLIDIFY is NON CUSTOMIZABLE |
|
| 39. |
Which of the following project is used for calling R products from web?(a) OpenCPU(b) OpenDisk(c) OpenMem(d) All of the mentionedThe question was posed to me in a national level competition.Query is from Shiny topic in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» The CORRECT ANSWER is (a) OpenCPU |
|
| 40. |
Which of the following function take only single value as input?(a) iscomplex(b) minimum(c) fmin(d) all of the mentionedI had been asked this question in homework.This intriguing question comes from NumPy topic in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» Right CHOICE is (a) iscomplex |
|
| 41. |
Point out the wrong statement.(a) A universal function is a function that operates on ndarrays in an element-by-element fashion(b) In Numpy, universal functions are instances of the numpy.ufunction class(c) Many of the built-in functions are implemented in compiled C code(d) All of the mentionedThe question was asked during an interview.My question comes from NumPy in portion Developing Data Products and Working with NumPy of Data Science |
|
Answer» The correct choice is (b) In NUMPY, universal functions are instances of the numpy.ufunction class |
|
| 42. |
Which of the following is contained in NumPy library?(a) n-dimensional array object(b) tools for integrating C/C++ and Fortran code(c) fourier transform(d) all of the mentionedThis question was posed to me in my homework.This key question is from NumPy in division Developing Data Products and Working with NumPy of Data Science |
|
Answer» The CORRECT choice is (d) all of the mentioned |
|
| 43. |
Which of the following is used for creating interacting tables?(a) gvisGeoChart(b) gvisTable(c) gvisLineChart(d) all of the mentionedI had been asked this question in an interview for job.Query is from googleVis topic in chapter Developing Data Products and Working with NumPy of Data Science |
|
Answer» RIGHT OPTION is (b) gvisTable The EXPLANATION is: gvisLineChart is used for creating line CHARTS. |
|
| 44. |
Which of the following function stacks 1D arrays as columns into a 2D array?(a) row_stack(b) column_stack(c) com_stack(d) all of the mentionedThe question was posed to me in a job interview.The doubt is from NumPy topic in division Developing Data Products and Working with NumPy of Data Science |
|
Answer» RIGHT choice is (b) column_stack To EXPLAIN I WOULD say: column_stack is equivalent to vstack only for 1D ARRAYS. |
|
| 45. |
Which of the following statement generates a html slide deck from index.Rmd?(a) slidify(“index.Rmd”)(b) lib.slidify(“index.Rmd”)(c) slidifylib(“index.Rmd”)(d) all of the mentionedThis question was addressed to me by my college director while I was bunking the class.Enquiry is from Slidify in division Developing Data Products and Working with NumPy of Data Science |
|
Answer» The correct option is (a) slidify(“index.Rmd”) |
|