Ruby

Quiz
•
Other
•
University
•
Medium
Suparna Das
Used 13+ times
FREE Resource
28 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Which of the following datatypes are valid in Ruby?
Numbers
Boolean
String
All of the mentioned
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What will any variable evaluate to if it is of Boolean data type?
True
Nil
False
Either True or False
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Why can not we use quotation marks (‘ or “) with boolean?
It indicates that we are talking about a string
It indicates that we are assigning a value
It indicates that that we are replacing boolean data type with string data type
None of the mentioned
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ruby is a case-sensitive language.
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Ruby can deal with both numbers and floating point values.
True
False
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the given code?
boolean_1 = 77<78
puts(boolean_1)
Nil
True
False
Error
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does the notation \b stands for?
Escape
Space
Backspace
Newline
Create a free account and access millions of resources
Similar Resources on Wayground
30 questions
unit-1_CD

Quiz
•
University
25 questions
Supply Chain Mgt.

Quiz
•
11th Grade - University
30 questions
Big Data Analytics Quiz 1

Quiz
•
University
30 questions
Science, Technology & Society Long Quiz - Lessons 5-7.

Quiz
•
University
23 questions
L3-L6 Supplemental Practice

Quiz
•
University
25 questions
Turing Machines Quiz

Quiz
•
University
25 questions
Dressing

Quiz
•
10th Grade - University
26 questions
HOC2013 - Referencing and Citation

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade