Exam 1: Ruby Basics

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following is not found on a Microsoft Windows installation of Ruby?

Free
(Multiple Choice)
4.7/5
(39)
Correct Answer:
Verified

D

By default, Microsoft Windows automatically installs Ruby.

Free
(True/False)
4.8/5
(40)
Correct Answer:
Verified

False

To find out if Ruby is installed, you can type ruby -v at the operating system command prompt.

Free
(True/False)
4.8/5
(34)
Correct Answer:
Verified

True

Ruby is an object-oriented scripting language originally developed in 1981 to run on Microsoft Windows.

(True/False)
4.8/5
(36)

Ruby is distributed under a restricted licensing arrangement that permits limited use allowing anyone to freely install and use it.

(True/False)
4.9/5
(43)

Ruby is generally regarded as a natural, English-like scripting language.

(True/False)
4.9/5
(40)

You can stop the current IRB session at any time and return to the operating system's command prompt by entering ____.

(Multiple Choice)
4.8/5
(39)

Ruby's problem in the early days was the lack of a killer application that demonstrated is capabilities.

(True/False)
4.7/5
(37)

Which of the following code/text editors work on Window, Mac OS X, Linux and UNIX?

(Multiple Choice)
4.8/5
(36)

The IRB is ____.

(Multiple Choice)
4.8/5
(44)

Ruby scripts run slower than their compiled counterparts because each time they run they must be reinterpreted.

(True/False)
4.8/5
(34)

The origins of Ruby go back to 1995 where it quickly gained notice and popularity in Japan.

(True/False)
4.8/5
(43)

Ruby scripts can run directly on all of the following operating systems except ____.

(Multiple Choice)
4.8/5
(41)

Ruby's development was heavily influenced by all of the following except ____.

(Multiple Choice)
4.8/5
(33)

The IRB lets you type in commands and small code snippets and to retrieve immediate results. The IRB command prompt consists of multiple parts separated by a colon as shown here: irb(main):001:0> Which of these parts is incorrectly described below?

(Multiple Choice)
4.9/5
(42)

Ruby on Rails (Rails) is a Web-based application development framework that allows programmers to build website applications using Ruby.

(True/False)
4.7/5
(40)

A feature of Ruby that sets it apart from many other programming languages is its light syntax.

(True/False)
5.0/5
(29)

Which of the following statements is sometimes included as the first statement in a Ruby script?

(Multiple Choice)
4.8/5
(41)

The application that first demonstrated Ruby's capabilities was ____.

(Multiple Choice)
4.9/5
(43)

To determine if Ruby is installed on your computer, you can open the command prompt and type which of the following commands?

(Multiple Choice)
5.0/5
(38)
Showing 1 - 20 of 45
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)