Question
One of the differences between Ruby and many other programming languages is that ____. Select one: a. Ruby will allow the same name to be
One of the differences between Ruby and many other programming languages is that ____.
Select one:
a. Ruby will allow the same name to be assigned to both a constant and a variable
b. Ruby will generate an error is a constant's value is change but will not halt script execution
c. None of the above
d. Ruby Rill halt script execution if an attempt is made to change a constant's value
In addition to running on different operating systems. Ruby also supports execution within various virtual machine environments, including ____.
Select one:
a. IronRuby
b. Both of the above
c. JRuby
d. Neither of the above
The application that first demonstrated Ruby's capabilities was ____.
Select one:
a. Ruby on Rails
b. Ajax
c. None of the above
d. Web 2.0
Which of the following constructions is used as the basis for defining objects?
Select one:
a. None of the above
b. Method
c. Property
d. Class
Which of the following is not found on a Microsoft Windows installation of Ruby?
Select one:
a. fxri - Interactive Ruby Help & Console
b. Ruby Documentation
c. SciTe
d. Ruby Debug Console
Which of the following methods does not belong to the String class?
Select one:
a. capitalize
b. chop
c. reverse
d. None of the above
Which of the following operators is the Ruby assignment operator?
Select one:
a. equals
b. ==
c. =
d. None of the above
Which of the following statements is sometimes included as the first statement in a Ruby script?
Select one:
a. %Ruby_execute
b. #!/usr/local/bin/ruby -w
c. chmod +x
d. #!/user/
Which of the following URLs does not provide you with access to Ruby installation files?
Select one:
a. Locomotive - http://locomotive.raaum.org/
b. MacPorts - http://www.macports.org/
c. RubyMac - http://www.rubmac.net/
d. Fink - http://finkproject.org/
Which of the following variable names is invalid?
Select one:
a. All of the above
b. Final Score
c. Player#
d. @Score
Windows Ruby script developers can use the ____ code/text editor.
Select one:
a. Notepad
b. SciTE
c. TextEdit
d. a. or c.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started