Home / Programming Questions / Ruby MCQs / Page 1

Ruby MCQs with answers Page - 1

Dear candidates you will find MCQ questions of Ruby here. Learn these questions and prepare yourself for coming examinations and interviews. You can check the right answer of any question by clicking on any option or by clicking view answer button.
Share your questions by clicking Add Question

T

Team MCQ Buddy • 9.67K Points
Tutor III

Q. Ruby is ?

(A) procedural language
(B) scripting language
(C) Markup language
(D) Stylesheet language

T

Team MCQ Buddy • 9.67K Points
Tutor III

Q. Ruby is designed by?

(A) Yukihiro Matsumoto
(B) Guido van Rossum
(C) Tim Berners-Lee
(D) Brendan Eich

T

Team MCQ Buddy • 9.67K Points
Tutor III

Q. On which platform ruby runs ?

(A) Windows
(B) Mac OS
(C) Unix
(D) All of the above

T

Team MCQ Buddy • 9.67K Points
Tutor III

Q. Ruby was created in?

(A) 1992
(B) 1993
(C) 1994
(D) 1995

T

Team MCQ Buddy • 9.67K Points
Tutor III

Q. Ruby was written in?

(A) C
(B) C++
(C) Java
(D) Objective C

T

Team MCQ Buddy • 9.67K Points
Tutor III

Q. Which of the following statement is not a feature of ruby?

(A) Ruby is interpreted programming language.
(B) Ruby can be used to write Common Gateway Interface (CGI) scripts.
(C) Ruby can be embedded into Hypertext Markup Language (HTML).
(D) Ruby can not be connected to Database.

T

Team MCQ Buddy • 9.67K Points
Tutor III

Q. Which will be output for the following code?

Code:
puts "Hello, Ruby!";
(A) Hello, Ruby
(B) Hello Ruby!
(C) Hello, Ruby!
(D) Hello Ruby

T

Team MCQ Buddy • 9.67K Points
Tutor III

Q. When Whitespace characters such as spaces and tabs can not ignored in Ruby code?

(A) While using strings
(B) While using integer
(C) while using float value
(D) All of the above

Login

Forgot username? click here

Forgot password? Click here

Don't have account? Register here.