Business Analytics using R Programming MCQ set 2

Q41: Attributes of an object (if any) can be accessed using the___function

  • A. objects()
  • B. attrib()
  • C. attributes()

Answer

Answer C. attributes()

Q42: ___involves predicting a response with meaningful magnitude, such as quantity sold, stock price, or return on investment

  • A. Regression
  • B. Clustering
  • C. Summarization

Answer

Answer A. Regression

Q43: ___provides needed string operators in R

  • A. str
  • B. forcast
  • C. stringr

Answer

Answer C. stringr

Q44: ___splits a data frame and results in an array (hence the da). Hopefully, you’re getting the idea here

  • A. apply
  • B. daply
  • C. stats

Answer

Answer B. daply

Q45: System.time function returns an object of class___which contains two useful bits of information

  • A. debug_time
  • B. procedure_time
  • C. proc_time

Answer

Answer C. proc_time

Q46: Which of the following will start the R program?

  • A. $ R
  • B. & R
  • C. Rb

Answer

Answer A. $ R

Q47: The third step in decision making process is

  • A. linear predictions
  • B. dependent predictions
  • C. making predictions
  • D. independent predictions

Answer

Answer C. making predictions

Q48: The decision making step, which consists of organization goals, predicting alternatives and communicating goals is called

  • A. organization
  • B. alternation
  • C. planning
  • D. valuing

Answer

Answer C. planning

Q49: The fourth step in decision making process is

  • A. linear correlation
  • B. making decisions
  • C. implement decisions
  • D. evaluate performance

Answer

Answer B. making decisions

Q50: The costs that behaves as irrelevant costs in process of decision making are classified as

  • A. past costs
  • B. future costs
  • C. expected costs
  • D. sunk costs

Answer

Answer A. past costs

Q51: Which of these is not a topic covered in a typical Business Analyst Aptitude Test?

  • A. Analytical Thinking
  • C. Data Interpretation
  • B. Listening Skills
  • D. Risk Management

Answer

Answer D. Risk Management

Q52: If the test should be 30 minutes, Analytical Thinking is taken in how many minutes?

  • A. 5
  • B. 7
  • C. 10
  • D. 15

Answer

Answer C. 10

Q53: Primary objective of a business analyst is to help businesses implement

  • A. Business systems
  • B. Business solutions
  • C. Technology systems
  • D. Technology solutions

Answer

Answer B. Business solutions

Q54: Which business professional performs cost-benefit analyses of existing and potential customers

  • A. Marketer
  • B. Financial Analyst
  • C. Business Analyst
  • D. Sales Representative

Answer

Answer C. Business Analyst

Q55: A Use Case is a set of steps, typically defining interactions between a role, True of False

  • A. True
  • B. False

Answer

Answer A. True

Q56: Any fact that the solution can assume to be true when the use case begins is what?

  • A. A win
  • B. A Failure
  • C. A success
  • D. A Precondition

Answer

Answer C. A success

Q57: A State Diagram is used for what?

  • A. Which Events cause a transition between states
  • B. Which events cause a success between states
  • C. Allowable behaviour
  • D. All

Answer

Answer D. All

Q58: A Solution Requirement is comprised of two types of requirements what are they?

  • A. Functional
  • B. Hard
  • C. Existing
  • D. Non-Functional

Answer

Answer A. Functional

Q59: Which of the following is used for Statistical analysis in R language?

  • A. Studio
  • B. RStudio
  • C. Heck

Answer

Answer B. RStudio

Q60: R functionality is divided into a number of___

  • A. Packages
  • B. Functions
  • C. Domains

Answer

Answer A. Packages

Q61: Which of the following is an example of vectorized operation as far as subtraction is concerned?

x <- 1:4

y <- 6:9

A. x+y

B. x-y

C. x/y

D. x*y

Answer

Answer B. x-y

Q62: What would be the output of the following code?

x <- 1:4

x > 2

A. FALSE FALSE TRUE TRUE

B. 1 2 3 4

C. 1 2 3 4 5

Answer

Answer A. FALSE FALSE TRUE TRUE

Q63: What would be the value of the following expression?

log(-1)

A. Warning in log(-1): NaNs produced

B. 1

C. Null

D. 0

Answer

Answer A. Warning in log(-1): NaNs produced

Q64: What will be the output of the following code?

g <- function(x) {

  • a <- 3
  • x+a+y
  • ## ‘y’ is a free variable
  • }

    g(2)

A. 8

B. 9

C. 42

D. Error

Answer

Answer D. Error

Q65: What will be the output of the following code?

function(p) {

params[!fixed] <- p

mu <- params[1]

sigma <- params[2]

Calculate the Normal density

a <- -0.5*length(data)*log(2*pi*sigma^2)

b <- -0.5*sum((data-mu)^2) / (sigma^2)

-(a + b)

} > ls(environment(nLL))

A. “data” “fixed” “param”

B. “data” “variable” “params”

C. “data” “fixed” “params”

D. None of the above

Answer

Answer C. “data” “fixed” “params”

Q66: Which of the following is a principle of analytic graphics?

  • A. Don’t plot more than two variables at at time
  • B. Make judicious use of color in your scatterplots
  • C. Show box plots (univariate summaries)
  • D. Show causality, mechanism, explanation

Answer

Answer D. Show causality, mechanism, explanation

Q67: R is an___programming language?

  • A. Closed source
  • B. GPL
  • C. Open source
  • D. Definite sourc

Answer

Answer C. Open source

Q68: Who developed R?

  • A. Dennis Ritchie
  • B. John Chambers
  • C. Bjarne Stroustrup

Answer

Answer A. Dennis Ritchie

Q69: R was named partly after the first names of___R authors?

  • A. One
  • B. Two
  • C. Three
  • D. Four

Answer

Answer B. Two

Q70: Packages are useful in collecting sets into a___unit?

  • A. Single
  • B. Multiple

Answer

Answer A. Single

Q71: Many quantitative analysts use R as their___tool?

  • A. Leading tool
  • B. Programming tool
  • C. Both the above

Answer

Answer C. Both the above

Q72: Predictive analysis is the branch of___analysis?

  • A. Advanced
  • B. Core
  • C. Both the above

Answer

Answer B. Core

Q73: ___is used to make predictions about unknown future events?

  • A. Descriptive analysis
  • B. Predicitive analysis
  • C. Both the above

Answer

Answer C. Both the above

Q74: How many steps does the predictive analysis process contained?

  • A. 5
  • B. 6
  • C. 7
  • D. 8

Answer

Answer D. 8

Q75: Descriptive analysis tell about___?

  • A. Past
  • B. Present
  • C. Future

Answer

Answer A. Past

Q76: How many types of R objects are present in R data type?

  • A. 4
  • B. 5
  • C. 6
  • D. 7

Answer

Answer C. 6

Q77: How many types of data types are present in R?

  • A. 4
  • B. 5
  • C. 6
  • D. 7

Answer

Answer A. 4

Q78: Which of the following is a primary tool for debugging?

  • A. debug()
  • B. trace()
  • C. browser()
  • D. None of the above

Answer

Answer B. trace()

Q79: Which function is used to create the vector with more than one element?

  • A. Library()
  • B. plot()
  • C. c()
  • D. par()

Answer

Answer C. c()

Q80: In R every operation has a___call?

  • A. System
  • B. Function
  • C. None of the above

Answer

Answer A. System

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.