
Ruby

Quiz
•
Education
•
1st Grade
•
Hard
Quang Văn
Used 1+ times
FREE Resource
80 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Given the following:
MSG = "hello"
MSG.upcase!
p MSG
What is the correct result? (Choose one.)
An error occurs because MSG is a constant.
HELLO is displayed without warning.
A warning apears because MSG is a constant but HELLO is displayed
hello is displayed since MSG is a constant.
3.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
5.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
6.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Given the following:
MSG = "hello"
MSG = MSG.upcase
p MSG
What is the correct result? (Choose one.)
An error occurs because MSG is a constant.
HELLO is displayed without warning.
A warning apears because MSG is a constant but HELLO is displayed
hello is displayed since MSG is a constant.
7.
MULTIPLE SELECT QUESTION
20 sec • 1 pt
Which of the following can be inserted into __(1)__ in order to generate the output below? (Choose two.)
$code = "CODE"
__(1)__
puts "i like writing #{$code}"
puts "i like writing #$code"
puts 'i like writing #{$code}'
puts 'i like writing #$code'
Create a free account and access millions of resources
Similar Resources on Quizizz
80 questions
Final Exam: Early Childhood Science

Quiz
•
1st Grade
80 questions
GR1 English 1 AGC

Quiz
•
1st Grade
84 questions
Automotive

Quiz
•
1st Grade
80 questions
ict aisan

Quiz
•
1st Grade
80 questions
bedzie kolacja v2

Quiz
•
1st - 12th Grade
81 questions
REVISION MAY 2023

Quiz
•
1st - 5th Grade
80 questions
numbers

Quiz
•
1st Grade - University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade