Explore topic-wise MCQs in Technical MCQs.

This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.

1.

Which of the following are valid floating point literal?

A. 0.5
B. 5
C. 0.5
D. 5
E.
Answer» B. 5
2.

Which of the following languages syntax matches with the Ruby's syntax?

A. C
B. Perl
C. PHP
D. Java
Answer» C. PHP
3.

Which character is used to give comment in ruby?

A. !
B. @
C. #
D. $
Answer» D. $
4.

Reserved word can not be used as?

A. constant
B. variable names
C. Both A and B
D. None of the above
Answer» D. None of the above
5.

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
Answer» B. While using integer
6.

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.
Answer» E.
7.

Ruby was created in?

A. 1992
B. 1993
C. 1994
D. 1995
Answer» C. 1994
8.

Ruby is designed by?

A. Yukihiro Matsumoto
B. Guido van Rossum
C. Tim Berners-Lee
D. Brendan Eich
Answer» B. Guido van Rossum
9.

Ruby is ?

A. procedural language
B. scripting language
C. Markup language
D. Stylesheet language
Answer» C. Markup language