Wednesday, June 10, 2009

Ruby Review #2

Ruby Course
Brookline Adult and Community Education
June 15, 2009
Review #2

What does dynamic typing mean?

What does static typing mean?

Which kind of language is Ruby?

What is string interpolation?

How do you increment numbers in Ruby?

What's the difference between a Fixnum and a Bignum?

How do you convert from a number to an string?

How do you convert from a string to a number?

What are three ways to loop in Ruby?

What is the Ruby syntax for if-then-else?

Can you write an if-then on a single line?

Can you write an if-then-else on a single line?

How do you take a slice out of a string?

How do you reverse a string?

What does the term 'receiver' mean?

What does the term 'destructive method' mean?

Are all methods that end in a '!' destructive methods?

Name the 2 Boolean objects.

What method does the puts method call on every parameter passed to it?

What is the syntax of a Ruby case?

No comments:

Post a Comment