What is a correct syntax to output "Hello World" in R?

Intro to R Day 1 Quiz

Quiz
•
Computers
•
University
•
Easy
John Rabanal
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
'Hello World'
"Hello World"
print("Hello World")
All of the answers are correct.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you insert COMMENTS in R code?
# This is a comment
// This is a comment
/* This is a comment
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you create a variable named x with the numeric value 5?
x <- 5
x == 5
int x = 5
x : 5
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a vector of strings?
fruits <- v("banana", "apple", "orange")
fruits <- listOf("banana", "apple", "orange")
fruits <- c("banana", "apple", "orange")
fruits <- list("banana", "apple", "orange")
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to create a list of strings?
fruits <- vectorOf("banana", "apple", "orange")
fruits <- v("banana", "apple", "orange")
fruits <- list("banana", "apple", "orange")
fruits <- c("banana", "apple", "orange")
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to add additional columns in a matrix?
add()
join()
append_item()
cbind()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which function is used to find the amount of rows and columns in an matrix/array?
length()
dim_len()
dim()
nchar()
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Python quiz

Quiz
•
10th Grade - Professi...
10 questions
Quiz 6

Quiz
•
University
10 questions
Python For

Quiz
•
University
15 questions
PHP Basics

Quiz
•
University
10 questions
Python Dictionaries

Quiz
•
University
15 questions
HTML BASICS 1

Quiz
•
University
10 questions
Java Control Flow statements

Quiz
•
University
15 questions
Python Quiz Ver- 1.3

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade