MCQGeeks
0 : 0 : 1
CBSE
JEE
NTSE
NEET
English
UK Quiz
Quiz
Driving Test
Practice
Games
Quiz
Computer Science
Ruby
Quiz 3
1
2
3
4
5
6
7
8
9
Q.1
A fundamental style of computer programming, serving as a way of building the structure and elements of computer programs.
Programming paradigm
Methods
Object-oriented-programming
Variables in Ruby
Q.2
Ruby is an object oriented general purpose programming language.
True
False
Q.3
A programming paradigm based on the concept of "objects", which are data structures that contain data, in the form of fields, often known as attributes; and code, in the form of procedures, often known as methods.
Reflective Programming Langauge
Methods
Programming paradigm
Object-oriented-programming
Q.4
Which of the following is not a valid datatype?
Float
Integer
Binary
Timedate
Q.5
The ability of a computer program to examine and modify the structure and behavior (specifically the values, meta-data, properties and functions) of the program at runtime.
Object Oriented Programming
Programming Paradigm
Reflective Programming Langauge
Methods
Q.6
What is the output of the given code?my_string=Ruby puts(my_string)
Ruby
Nil
Error
None of the mentioned
Q.7
A dynamic, reflective, object-oriented, general-purpose programming language. NOT to be confused with Ruby on Rails.
Java
Ruby
Javascript
C++
Q.8
What is the sequence of ruby strings?
16-bit bytes
8-bit bytes
10-bit bytes
None of the mentioned
Q.9
What does the notation \b stands for?
Escape
Space
Backspace
Newline
0 h : 0 m : 1 s
1
2
3
4
5
6
7
8
9
Report Question
×
What's an issue?
Question is wrong
Answer is wrong
Other Reason
Want to elaborate a bit more? (optional)
Support mcqgeeks.com by disabling your adblocker.
×
Please disable the adBlock and continue.
Thank you.
Reload page