Ruby

Ruby

University

22 Qs

quiz-placeholder

Similar activities

Round 1 ( RHA Learner Contest )

Round 1 ( RHA Learner Contest )

University

20 Qs

Python MCQ

Python MCQ

University

20 Qs

Network topologies

Network topologies

8th Grade - University

20 Qs

CIS2303 Week 4_5 Ch_3

CIS2303 Week 4_5 Ch_3

University

18 Qs

WML & WAP

WML & WAP

University

20 Qs

Software Engineering Quiz 1

Software Engineering Quiz 1

University

20 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

INTERNET

INTERNET

University

20 Qs

Ruby

Ruby

Assessment

Quiz

Computers

University

Medium

Created by

Suparna Das

Used 15+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

22 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 does the notation \b stands for?

Escape

Space

Backspace

Newline

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the sequence of ruby strings?

16-bit bytes

8-bit bytes

10-bit bytes

None of the mentioned

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers