Securing Higher Grades Costing Your Pocket? Book Your Assignment at The Lowest Price Now!

BA02 Advanced Analytics Using R Assignment 1

WARNING - Clicking on the "SUBMIT ASSIGNMENT" button will submit the

Assignment. Be sure that you have reviewed your answers before clicking it.

Subject Code: BA02

Subject Name:



Component name:


Question 1:- Which of the following commands is used to quit an active R session? a)           >q()                       

b)         >|s()                       

c)         >rm()                       

d)         >c()                       

Question 2:- There are two datasets, Sample1 and Sample2. Sample1 has 1 2 3 4 5 stored in it and Sample2 has 6

7 8 9 stored in it. Which of the following is the correct command to combine the data of Sample2 after the data of Sample1?

a)         > data3 =c(data1, data2)                       

b)         > data3 =c(data2, data1)                       

c)         > data3 =c(data1,data2)                        

d)         > data3 =c(data2,data1)                       

Question 3:- Which of the following functions is used in R to remove the existing data objects? a)           >|s()                       

b)         >rm()                       

c)         >c()                       

d)         >q()                       

Question 4:- Which of the following commands is used to check the current working directory? a)           > setwd()                       

b)         > getwd() )                       

c)         > fetchwd()                       

d)         > created()                       

Question 5:- A programmer wishes to use the scan() command for entering the following text in a dataset in R: 2, 3, 4, 5, 6.7, 7, 8.1, 9 Which of the following is the correct syntax to create a dataset, data4, containing the above data?

a)         > data4 = scan (2, 3, 4, 5, 6.7, 7, 8.1, 9)                       

b)         > data4 = scan(sep = ,) 2, 3, 4, 5, 6.7, 7, 8.1, 9                       

c)         > data4 = scan(sep = ‘,’) 2, 3, 4, 5, 6.7, 7, 8.1, 9                       

d)         > data4 = scan(sep = 2,3,4,5,6.7,7,8.1,9)                       

Question 6:- What is logistic regression?

a)         A supply chain algorithm                       

b)         Supply chain business process                       


  Test analytics algorithm                       

  Data mining algorithm                       

Question 7:- There are two datasets, Sample1 and Sample2. Sample1 has 1 2 3 4 5 stored in it and Sample2 has 6 7 8 9 stored in it. What would be the correct command to combine the data of data1 and data2 in a manner that the resultant dataset has entries in the following form? 6 7 1 2 3 4 5 8 9

  >data3 =c(6, 7, data1, 8, 9)                       

  >data3 =c(data1, data2)                       

  >data3 =c(data2, data1)                       

  >data3 =c(6, 7, 8, 9, data1                       

Question 8:- Which of the following statements is correct for R as a tool?

  R cannot connect with other languages.                       

  R does not support extensions.                       

  R is more object oriented than many other analytic tool sets.                       

  R is not compatible with multiple formats.                        

Question 9:- A nuclear plant needs to be highly secure so that unauthorized individuals do not gain access. What kind of Big Data analysis can be used to achieve this?

  Basic reporting                       

  Data mining of large amounts of historical data                       

  Regression analysis                       

  Analysis of real-time streaming data                       

Question 10:- Which of the following is the correct format for entering text as data by using the scan() command?

  > scan(character)                       

  > scan(what = ‘character’)                       

  > scan(what = character)                       

  > Scan(what =”character”)                       

Question 11:- Which of the following needs streaming data?

  Analysis of population growth over the last 10 years                       

  Patterns of cyber attacks over the last 1 week                       

  Exit poll analysis                       

  Weather patterns for the last 10                        

Question 12:- Jacob, the financial manager, wants to collect data from different associates in different formats. He wants to collate the data and prepare reports in various formats including PDF and Excel files. Which of the following tools should Jacob use?




  Any of the above                       

Question 13:- Which of the following functions is used to create vectors? Which of the following functions is used to create vectors? Which of the following functions is used to create vectors?





Question 14:- Log Book System wants to achieve microsegmentation of its customer data. Which of the following techniques/technologies should it use?

  Traditional BI tools                       

  Merging customer transaction information with unstructured data                        

  General statistical analysis                       

  Only text analysis                       

Question 15:- An online retailer wants to implement the Next Best Action using Big Data. Which of the following is not a part of Next Best Action?

  Sophisticated machine learning tools                       

  Integration and analysis of large volume of unstructured data                       

  Conducting a customer survey                       

  Delivering the right offer so that it is most likely to be accepted by the customer                       

Question 16:- You are creating a decision tree for evaluating the customer attrition rate for a mobile manufacturing company on certain attributes. Which of the following facts must you consider while creating the tree so that the resultant tree provides the most effective result?

  The modification of a single variable, if it is located near the top of the tree, will not modify the whole tree.                       

  The definition of the nodes at level n + 1 is not dependent on the definition at level n.                       

  The choice of a division for a node at a certain level of the tree is never revised subsequently.                          A decision tree can be developed in the forward or backward selection approach.                       

Question 17:- Bob is performing text analytics by using the RHadoop platform. Which of the following R’s packages will help him to perform text mining?

  rmr                          rhbase                       



Question 18:- You are performing text mining in RHadoop. The name of the dataset that you are using to store content is dataset1. To access the first line of the content, which of the following commands will you use?

  > dataset1 [[1]]                       

  > dataset1 [1]                       

  > dataset1 (1)                       

  > dataset1                       

Question 19:- Smith is performing text mining in RHadoop. Which of the following commands should he use to take multiple inputs from different sources?

  DistributedCorpus                          source                          input                       

d)   Corpus                       

Question 20:- Suppose you create a function and want to load it in the workspace by sourcing the script containing the function. Which of the following R commands is used to look up the functions that are present in the workspace? a)           >ls()                       

b)         >lookup()                       

c)         >search()                       


Download Sample Now

Earn back money you have spent on downloaded sample

Upload Document Document Unser Evaluion Get Money Into Your Wallet

Cite This work.

To export a reference to this article please select a referencing stye below.

Assignment Hippo (2021) . Retrive from

"." Assignment Hippo ,2021,

Assignment Hippo (2021) . Available from:

[Accessed 18/06/2021].

Assignment Hippo . ''(Assignment Hippo,2021) accessed 18/06/2021.

Want latest solution of this assignment

Want to order fresh copy of the Sample Template Answers? online or do you need the old solutions for Sample Template, contact our customer support or talk to us to get the answers of it.

Submit Your Assignment Here

AssignmentHippo Features

On Time Delivery

Our motto is deliver assignment on Time. Our Expert writers deliver quality assignments to the students.

Plagiarism Free Work

Get reliable and unique assignments by using our 100% plagiarism-free.

24 X 7 Live Help

Get connected 24*7 with our Live Chat support executives to receive instant solutions for your assignment.

Services For All Subjects

Get Help with all the subjects like: Programming, Accounting, Finance, Engineering, Law and Marketing.

Best Price Guarantee

Get premium service at a pocket-friendly rate at AssignmentHippo


  • Assignment Writing Guide
  • Essay Writing Guide
  • Dissertation Writing Guide
  • Research Paper Writing Guide


  • Accounts
  • Computer Science
  • Economics
  • Engineering

Client Review

I was struggling so hard to complete my marketing assignment on brand development when I decided to finally reach to the experts of this portal. They certainly deliver perfect consistency and the desired format. The content prepared by the experts of this platform was simply amazing. I definitely owe my grades to them.

Tap to Chat
Get instant assignment help