
R Programming Variable Concepts
Authored by Emily O'Brien
Science
University

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is not an acceptable R variable name?
min_height
celsius2kelvin
_age
max.height
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will happen if you try to name a variable .mass?
nothing
the variable will be named .mass
.mass will be added to the end of the pre-existing name
it will create a hidden variable
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If you have a variable you want to remove, which command do you use?
rm
ls
list
remove <- (function.name)
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If I type the code
mass <- 47.5
mass <- mass * 2
What value will be associated with the function "mass"?
47.5
2
95
2,256.25
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
mass <- 12
age <- 6
If I type mass > age, what response will I get?
TRUE
FALSE
YES
NO
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What information about the gapminder data can I get from the command
ls -lh data/gapminder_data.csv
how many lines of data there are
a table showing the data
the file size
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the outcome of the following command?
?write.table
It will provide an information page about the command
It will tell you the location of your table
It will create a table with the data you provided
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 Microsoft
or continue with
%20(1).png)
Apple
Others
Already have an account?