Ruby

Ruby

12th Grade - Professional Development

13 Qs

quiz-placeholder

Similar activities

Object Oriented Programming

Object Oriented Programming

12th Grade

18 Qs

Java OOP Examples and Definitions

Java OOP Examples and Definitions

12th Grade

17 Qs

Java variables

Java variables

University

10 Qs

Object Oriented Programming

Object Oriented Programming

12th Grade

11 Qs

Nested Classes + java

Nested Classes + java

University

10 Qs

Trắc nghiệm kiến thức Java Core - Phần I

Trắc nghiệm kiến thức Java Core - Phần I

University

15 Qs

OOP

OOP

University

10 Qs

Python Classes Quiz

Python Classes Quiz

9th - 12th Grade

15 Qs

Ruby

Ruby

Assessment

Quiz

Computers

12th Grade - Professional Development

Hard

Created by

Stella Stl

Used 3+ times

FREE Resource

13 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 5 pts

A ________ is code that returns a Ruby code.

2.

FILL IN THE BLANK QUESTION

1 min • 5 pts

What is a single occurrence of an object?

3.

FILL IN THE BLANK QUESTION

1 min • 5 pts

A ______ variable is only accessible in a specific local environment.

4.

FILL IN THE BLANK QUESTION

1 min • 5 pts

Which method do we use to create an instance in Ruby?

5.

FILL IN THE BLANK QUESTION

1 min • 5 pts

A ________ is a template or blueprint for creating objects with similar characteristics.

6.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which of the following is a correct way(s) of creating a class in ruby?

Media Image
Media Image
Media Image
Media Image

7.

FILL IN THE BLANK QUESTION

1 min • 5 pts

The _______ method is a method that is called automatically whenever .new is used.

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?

Discover more resources for Computers