Ruby

Ruby

University

28 Qs

quiz-placeholder

Similar activities

Turing Machines Quiz

Turing Machines Quiz

University

25 Qs

WEB UNIT 18-22

WEB UNIT 18-22

University

31 Qs

Work Related Terms

Work Related Terms

3rd Grade - University

25 Qs

Dressing

Dressing

10th Grade - University

25 Qs

pokemon quiz!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

pokemon quiz!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

KG - University

33 Qs

Pokemon

Pokemon

KG - Professional Development

26 Qs

Steven Universe Quiz (2020)

Steven Universe Quiz (2020)

KG - Professional Development

23 Qs

Do you know your anime?

Do you know your anime?

KG - University

27 Qs

Ruby

Ruby

Assessment

Quiz

Other

University

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?