
BSCS 4-3 - Midterm Exam (Jan. 6, 2024)
Authored by Montaigne Molejon
Instructional Technology
University
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
50 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What best describes R in programming?
A programming language for statistics and data analysis
A web development language
An operating system
A gaming software
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is the correct sequence for installing R and R Studio?
Install R first, then R Studio
Install R Studio first, then R
Installation order doesn't matter
Install both simultaneously
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of the 'Environment' tab in RStudio?
To display all installed packages
To manage files and folders
To view objects, variables, and their values
To write and execute code
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which operator is used in R for exponentiation?
**
//
%
^
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What's the primary purpose of a function in R?
Plotting graphs
Storing datasets
Reusing code and performing specific tasks
Writing comments in code
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following R code will correctly compute and display output of 45?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
In a bakery dataset, the variable 'bread' represents the number of loaves sold, and 'price' is the cost per loaf. The following R code is used: (see the attached image)
What does the variable 'income' represent?
Total loaves available
Total expenses
Average price per loaf sold
Total revenue generated
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?