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