Business Analytics using R Programming MCQ set 1

Q1: Which of these measures are used to analyse the central tendency of data?

  • A. Mean and Normal Distribution
  • B. Mean, Median and Mode
  • C. Mode, Alpha & Range
  • D. Standard Deviation, Range and Mean
  • E. Median, Range and Normal Distribution

Answer

Answer B. Mean, Median and Mode

Q2: Five numbers are given: (5, 10, 15, 5, 15). Now, what would be the sum of deviations of individual data points from their mean?

  • A. 10
  • B. 25
  • C. 50
  • D. 0
  • E. None of the above

Answer

Answer D. 0

Q3: A test is administered annually. The test has a mean score of 150 and a standard deviation of 20. If Ravi’s z-score is 1.50, what was his score on the test?

  • A. 180
  • B. 130
  • C. 30
  • D. 150
  • E. None of the above

Answer

Answer A. 180

Q4: Business intelligence (BI) is a broad category of application programs which includes___

  • A. Decision support
  • B. Data mining
  • C. OLAP
  • D. All of the mentioned

Answer

Answer A. Decision support

Q5: Point out the correct statement

  • A. OLAP is an umbrella term that refers to an assortment of software applications for analyzing an organization’s raw data for intelligent decision making
  • B. Business intelligence equips enterprises to gain business advantage from data
  • C. BI makes an organization agile thereby giving it a lower edge in today’s evolving market condition
  • D. None of the mentioned

Answer

Answer A. OLAP is an umbrella term that refers to an assortment of software applications for analyzing an organization’s raw data for intelligent decision making

Q6: BI can catalyze a business’s success in terms of___

  • A. Distinguish the products and services that drive revenues
  • B. Rank customers and locations based on profitability
  • C. Ranks customers and locations based on probability
  • D. All of the mentioned

Answer

Answer D. All of the mentioned

Q7: Which of the following areas are affected by BI?

  • A. Revenue
  • B. CRM
  • C. Sales
  • D. All of the mentioned

Answer

Answer D. All of the mentioned

Q8: Which of the following measures of central tendency will always change if a single value in the data changes?

  • A. Mean
  • B. Median
  • C. Mode
  • D. All of these

Answer

Answer A. Mean

Q9: Strong assessment items are made up of five elements: 1

  • A. Standard
  • B. Stimulus
  • C. Stem
  • D. Key
  • E. Distractors

Answer

Answer A. Standard

Q10: A good question is___It focuses on recall of only the material covered in your lesson and aligns well with the overall learning objectives

  • A. relevant
  • B. clear
  • C. concise
  • D. purpose

Answer

Answer B. clear

Q11: A good question is framed in a___, easily understandable language, without any vagueness. Students should understand what is wanted from the question even when they don’t know the answer to it

  • A. clear
  • B. relevant
  • C. concise
  • D. purpose

Answer

Answer A. clear

Q12: A good question is usually crisp and___It omits any unnecessary information that requires students to spend time understanding it correctly. The idea is not to trick learners but assess their knowledge

  • A. concise
  • B. clear
  • C. relevant
  • D. purpose

Answer

Answer A. concise

Q13: ___programming language is a dialect of S

  • A. B
  • B. C
  • C. R
  • D. K

Answer

Answer C. R

Q14: Point out the WRONG statement?

  • A. Early versions of the S language contain functions for statistical modeling
  • B. The book Programming with Data by John Chambers documents S version of the language
  • C. In 1993 Bell Labs gave StatSci (later Insightful Corp.) an exclusive license to develop and sell the S language
  • D. The book Programming with Data by IBM documents S version of the language

Answer

Answer C. In 1993 Bell Labs gave StatSci (later Insightful Corp.) an exclusive license to develop and sell the S language

Q15: In 1991, R was created by Ross Ihaka and Robert Gentleman in the Department of Statistics at the University of___

  • A. John Hopkins
  • B. California
  • C. Harvard
  • D. Auckland

Answer

Answer D. Auckland

Q16: Business analytics results in which of these?

  • A. Evidence Based Decisions
  • B. Data Driven Decisions
  • C. Better Decisions
  • D. All of these are correct

Answer

Answer D. All of these are correct

Q17: Which one of the following is not a type of Business Analytics?

  • A. Descriptive Analytics
  • B. Diagnostic Analytics
  • C. Predictive Analytics
  • D. Performance Analytics

Answer

Answer D. Performance Analytics

Q18: The___function returns a list of all the formal arguments of a function

  • A. formals()
  • B. funct()
  • C. formal()
  • D. fun()

Answer

Answer A. formals()

Q19: What will be the output of the following R code snippet?

f <- function(num = 1) {

  • hello <- “Hello, world!n”
  • for(i in seq_len(num)) {
  • cat(hello)
  • }
  • chars <- nchar(hello) * num
  • chars
  • }

    f()

A. Hello, world! [1] 14

B. Hello, world! [1] 15

C. Hello, world! [1] 16

D. Error

Answer

Answer A. Hello, world! [1] 14

Q20: Point out the wrong statement?

  • A. A formal argument can be a symbol, a statement of the form ‘symbol = expression’, or the special formal argument
  • B. The first component of the function declaration is the keyword function
  • C. The value returned by the call to function is not a function
  • D. Functions are also often written when code must be shared with others or the public

Answer

Answer A. A formal argument can be a symbol, a statement of the form ‘symbol = expression’, or the special formal argument

Q21: You can check to see whether an R object is NULL with the___function

  • A. is.null()
  • B. is.nullobj()
  • C. null()
  • D. as.nullobj()

Answer

Answer A. is.null()

Q22: Which of the following code will print NULL?

  • A. > args(paste)
  • B. > arg(paste)
  • C. > args(pastebin)
  • D. > arg(bin)

Answer

Answer A. > args(paste)

Q23: What will be the output of the following R code snippet?

paste(“a”, “b”, sep = “:”)

A. “a+b”

B. “a=b”

C. “a:b”

D. a*b

Answer

Answer A. “a+b”

Q24: What will be the output of the following R code snippet?

f <- function(a,b) {

  • print(a)
  • print(b)
  • }

    f(45)

A. 32

B. 42

C. 52

D. 45

Answer

Answer A. 32

Q25: What will be the output of the following R code snippet?

f <- function(a,b) {

  • a^2
  • }

    f(2)

A. 4

B. 3

C. 2

D. 5

Answer

Answer A. 4

Q26: Which of the following is a base package for R language?

  • A. util
  • B. lang
  • C. tools
  • D. All of the above

Answer

Answer C. tools

Q27: R comes with a___to help you optimize your code and improve its performance

  • A. Debugger
  • B. Monitor
  • C. Profiler
  • D. None of the above

Answer

Answer A. Debugger

Q28: debug() flags a function for___mode in R mode

  • A. debug
  • B. run
  • C. compile
  • D. None of the above

Answer

Answer B. run

Q29: ___suspends the execution of a function wherever it is called and puts the function in debug mode

  • A. recover()
  • B. browser()
  • C. Both of the above

Answer

Answer C. Both of the above

Q30: A matrix is___dimensionsinal rectangular data set?

  • A. 5
  • B. 4
  • C. 3
  • D. 2

Answer

Answer D. 2

Q31: The___function takes a vector or other objects and splits it into groups determined by a factor or list of factors

  • A. apply()
  • B. split()
  • C. isplit()
  • D. mapply()

Answer

Answer B. split()

Q32: lapply function takes___arguments in R language

  • A. 1
  • B. 3
  • C. 4
  • D. 5

Answer

Answer C. 4

Q33: ___is used to apply a function over subsets of a vector

  • A. apply()
  • B. lapply()
  • C. mapply()
  • D. tapply()

Answer

Answer D. tapply()

Q34: ___applies a function over the margins of an array

  • A. apply()
  • B. lapply()
  • C. tapply()
  • D. mapply()

Answer

Answer A. apply()

Q35: ___function is same as lapply() in R

B. apply()

C. lapply()

D. sapply()

E. tapply()

Answer

Answer C. lapply()

Q36: ___loop over a list and evaluate a function on each element

  • A. apply()
  • B. lapply()
  • C. sapply()
  • D. tapply()

Answer

Answer A. apply()

Q37: ___is proprietary tool for predictive analytics

  • A. R
  • B. SAS
  • C. SSAS
  • D. SPSS

Answer

Answer B. SAS

Q38: Data frames can be converted to a matrix by calling data___

  • A. matr()
  • B. mat()
  • C. matrix()
  • D. None of the above

Answer

Answer C. matrix()

Q39: Which of the following method make a vector of repeated values?

  • A. rep()
  • B. data()
  • C. view()
  • D. None of the above

Answer

Answer B. data()

Q40: R objects can have attributes, which are like___for the object

  • A. metadata
  • B. features
  • C. expressions

Answer

Answer A. metadata

ed010d383e1f191bdb025d5985cc03fc?s=120&d=mm&r=g

DistPub Team

Distance Publisher (DistPub.com) provide project writing help from year 2007 and provide writing and editing help to hundreds student every year.