100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

MGSC 291 Final EXAM COMPLETE 200 Questions and Detailed Answers LATEST UPDATE THIS YEAR

Rating
-
Sold
-
Pages
53
Grade
A+
Uploaded on
09-11-2025
Written in
2025/2026

click on AVAILABLE IN PACKAGE DEAL to get free bonus exams (SHOP MORE FOR LESS). THANK ME LATER!!

Institution
MGSC 291
Course
MGSC 291











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
MGSC 291
Course
MGSC 291

Document information

Uploaded on
November 9, 2025
Number of pages
53
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

  • mgsc 291 final exam
  • mgsc 291

Content preview

Page 1 of 53




MGSC 291 Final EXAM COMPLETE 200
Questions and Detailed Answers LATEST
UPDATE THIS YEAR

QUESTION: Suppose we define a vector to be the numbers 20, 20, 5, and 10 and call it vec4 as

follows: vec4<-c(20,20,5,10)


What does the line of code below return in R?


vec4==10




a. 1


b. 4


c. TRUE


d. FALSE FALSE FALSE TRUE - ANSWER-d. FALSE FALSE FALSE TRUE




QUESTION: Suppose we define a vector to be the numbers 20, 20, 5, and 10 and call it vec4 as

follows: vec4<-c(20,20,5,10)



1 ALL THE BEST CHAMP!!

, Page 2 of 53


What does the line of code below return in R?


sum(vec4==10)




a. 1


b. 4


c. TRUE


d. FALSE FALSE FALSE TRUE - ANSWER-a. 1




This counts the number of entries that are equal to 10.


sum() counts up the TRUEs and FALSEs, treating the TRUEs as 1 and the FALSEs as 0.




QUESTION: A unique number is assigned to each transaction in a database. We would say that

this transaction number is a/an..




a. categorical variable


b. quantitative variable




1 ALL THE BEST CHAMP!!

, Page 3 of 53


c. identifier variable - ANSWER-c. identifier variable




An identifier variable is a special type of categorical variable that is not to be analyzed - it's

simply an identifier.




QUESTION: what does the following line of R code do?


data <- read.csv("myData.csv",strings=T)




a. calls in a dataset and stores it as myData


b. calls in a dataset and stores it as myData.csv


c. calls in a dataset and stores it as data


d. calls in a dataset and stores it as data.csv - ANSWER-c. calls in a dataset and stores it as data




QUESTION: If you get a + instead of the command prompt, <, after hitting Enter/Return in R,

this means...




1 ALL THE BEST CHAMP!!

, Page 4 of 53


a. you are performing addition


b. you need to hit Enter/Return again


c. you didn't close out a parenthesis, quote, etc - ANSWER-c. you didn't close out a parenthesis,

quote, etc




QUESTION: What does the following code do in R?


mean(dName$shipping [dName$weight=="high"])




a. calculates average shipping for heavy items


b. calculates average weight for high shipping - ANSWER-a. calculates average shipping for

heavy items




QUESTION: The summary() function applied to a categorical variable will return...




a. a count of all the unique values


b. the five number summary and mean




1 ALL THE BEST CHAMP!!

Get to know the seller

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
STUVIAGRADES Chamberlain College Of Nursing
View profile
Follow You need to be logged in order to follow users or courses
Sold
6176
Member since
3 year
Number of followers
446
Documents
5042
Last sold
1 day ago
stuvia_US

Welcome To my Store# STUVIA_US My Goal is to help you achieve your desired grades by providing credible study materials I'm happy to help you with quality documents On this page you will find quality study guides,Exams assignments, Research papers and Test Banks all verified correct . you'll find past and recent revised and verified study materials . Stay here and You'll find everything you need to pass !!! . I always ensure my documents are of high standards I am always available to assist 24/7 and answer any queries you may have . Be assured to get good grades and always leave a review after a purchase Refer a friend SUCCESS!!!!

Read more Read less
4.8

1061 reviews

5
980
4
27
3
22
2
11
1
21

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions