Test Bank for Data Science for Business With R, 1st Edition Saltz (All Chapters included)
11 views 0 purchase
Course
Data science MS
Institution
Data Science MS
Complete Test Bank for Data Science for Business With R, 1st Edition by Jeffrey S. Saltz, Jeffrey M. Stanton ; ISBN13: 9781544370453. (Full Chapters included Chapter 1 to 15).....
Chapter 1: Getting Started with R & RStudio Chapter 2: Rows and Columns Chapter 3: Data Munging Chapter 4: Wh...
Data Science for Business With R
1st Edition by Jeffrey S. Saltz
Complete Chapter Test Bank
are included (Ch 1 to 15)
** Immediate Download
** Swift Response
** All Chapters included
,Chapter 1: Begin At The Beginning With R
Test Bank
Multiple Choice
1. Which of the following is true about R?
a. Programming in R is similar as in spreadsheets
b. R is open source
c. You have to pay annual fee to use R
d. R use the exact same code as Phython
Ans: B
Learning Objective: Know how to install the R software package.
Cognitive Domain: Comprehension
Answer Location: Introduction
Difficulty Level: Medium
2. When R is running and it is the active application on your desktop, if you type a
command it appears after the _____ symbol
a. =
b. <
c. >
d. //
Ans: C
Learning Objective: Gain familiarity with using the R command line.
Cognitive Domain: Knowledge
Answer Location: Using R
Difficulty Level: Easy
3. Which of the following codes combines numbers 1, 10, and 100 into a single vector?
a. t(1,10,100)
b. c(1,10,100)
c. rm(1,10,100)
d. vec(1,10,100)
Ans: B
Learning Objective: Gain familiarity with using the R command line.
Cognitive Domain: Application
Answer Location: Creating and Using Vectors
Difficulty Level: Medium
4. From the code below, myFamilyAges is called a(n) ______ in R.
“
myFamilyAges <- c(43, 42, 12, 8, 5)
“
, a. object
b. space
c. answer
d. unit
Ans: A
Learning Objective: Gain familiarity with using the R command line.
Cognitive Domain: Knowledge
Answer Location: Creating and Using Vectors
Difficulty Level: Easy
5. Which of the following codes selects the third, the second, and the fifth elements of
the myFamilyAges vector?
a. myFamilyAges( 3,2,5 )
b. myFamilyAges[ v(3,2,5)]
c. myFamilyAges[ 3,2,5 ]
d. myFamilyAges[ c(3,2,5) ]
Ans: D
Learning Objective: Build and manipulate vectors in R.
Cognitive Domain: Application
Answer Location: Subsetting Vectors
Difficulty Level: Medium
6. Which of the following codes selects a sequential range of values ?
a. c(3,15)
b. c(3:15)
c. c(3-15)
d. c(3 to 15)
Ans: B
Learning Objective: Build and manipulate vectors in R.
Cognitive Domain: Application
Answer Location: Subsetting Vectors
Difficulty Level: Medium
7. You define the object myFamilyAges as
“
myFamilyAges <- c(43, 42, 12, 8, 5)
“
Which of the following codes selects the family members’ age that are older than 21?
a. myFamilyAges [myFamilyAges > 21]
b. myFamilyAges (myFamilyAges > 21)
c. myFamilyAges [> 21]
d. myFamilyAges [myFamilyAges >> 21]
Ans: A
Learning Objective: Build and manipulate vectors in R.
Cognitive Domain: Application
Answer Location: Subsetting Vectors
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller mizhouubcca. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $29.49. You're not tied to anything after your purchase.