Ruby

Ruby

University

22 Qs

quiz-placeholder

Similar activities

Chapter 5: Principles of I/O software

Chapter 5: Principles of I/O software

University

20 Qs

Gettin' Hacked is Wack

Gettin' Hacked is Wack

6th Grade - University

19 Qs

Spread Spectrum

Spread Spectrum

University

20 Qs

Software  Engineering Test 1

Software Engineering Test 1

University

20 Qs

Quiz I - Programming in C

Quiz I - Programming in C

University

20 Qs

Assignment for MSE+CIE-2

Assignment for MSE+CIE-2

University

20 Qs

TIC III - TEST #2

TIC III - TEST #2

University

20 Qs

Compiler and Interpreter

Compiler and Interpreter

University

20 Qs

Ruby

Ruby

Assessment

Quiz

Computers

University

Medium

Created by

Suparna Das

Used 15+ times

FREE Resource

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?