LogoLearning For Everyone
Take Quiz
Contact Us
Related Topics
Related Topics
Selected Topic: All
1. Ruby is an object oriented general purpose programming language.
Choose the correct option:
  • a) True

  • b) False

Ruby allow users to manipulate data structures called objects to build and execute programs.

2. Which of the following is supported by Ruby?
Choose the correct option:
  • a) Multiple Programming Paradigms

  • b) Dynamic Type System

  • c) Automatic Memory Management

  • d) All of the Mentioned

Ruby supports all the features because it is a object oriented programming language.

3. Which of the following features does the 2.0 version of ruby supports?
Choose the correct option:
  • a) Method keyword arguments

  • b) New literals

  • c) Security fixes

  • d) All of the mentioned

Ruby2.0 has several new added features and it is much stable than its older versions.

4. Which of the following languages syntax matches with the Ruby’s syntax?
Choose the correct option:
  • a) Perl

  • b) PHP

  • c) Java

  • d) Jquery

Most of the syntax of perl language matches with that of Ruby’s.

5. What is the extension used for saving the ruby file?
Choose the correct option:
  • a) .ruby extension

  • b) .rb extension

  • c) .rrb extension

  • d) None of the mentioned

Ruby files must be saved with the extension .rb.

Items per page: