Ruby - Basic
The Ruby Basic exam objective is to test knowledge of the language core syntax and OO concepts. You should understand that Ruby is genuine object-oriented language and everything it manipulates with is objects. No specific API knowledge is required. Only most frequently used built-in classes and methods are covered. The knowledge of any external libraries is not necessary.
Given exam covers Ruby 1.8.x features and syntax.
Given exam covers Ruby 1.8.x features and syntax.
| Released | Beta | Frozen | ||
|---|---|---|---|---|
Vocabulary and Concepts 2 questions
|
0 | 29 | 0 | |
Ruby Environment 2 questions
Have Knowledge of :
|
0 | 20 | 1 | |
Control Structures 1 question
Usage of conditional (if, unless, case) and loop (while, for) structures.
Effects of break, next and redo constructs.
|
0 | 24 | 0 | |
Naming 3 questionsRuby naming style and how it affects code:
Understand that naming style in Ruby defines the behavior of the object (naming an object with uppercase name makes it a constant etc) |
0 | 21 | 1 | |
Comments 1 question
Know that the Ruby code has a # (sharp) comment symbol.
# This is a comment
and multi-line comments =begin This is a comment. =end |
0 | 9 | 0 | |
Variables 2 questions
|
0 | 32 | 0 | |
Operators 1 question
Usage of operators +=, -=, ==, ===, <, <=, >=, >, **, bit operations.
|
0 | 15 | 0 | |
Logical expressions 1 question
Usage of: or, and, not.
Know that Ruby supports C++ style expressions: &&, ||, !
|
0 | 11 | 0 | |
I/O 2 questions
|
0 | 13 | 0 | |
Classes 3 questions
|
0 | 24 | 0 | |
Inheritance 1 question
Understand the concepts of inheritance and how to call ancestor class methods with 'super'.
Know that the god class is 'Object'.
|
0 | 6 | 0 | |
Methods 2 questions
Method invocation and its parameters.
Know the access control of methods and differences between 'private', 'public' and 'protected' methods.
Know what is alias of the method.
|
0 | 29 | 0 | |
Blocks 2 questions
|
0 | 19 | 0 | |
Iterators 2 questions
Usage of iterators.
|
0 | 8 | 0 | |
Exceptions 2 questions
Raising and Handling of Exceptions.
Know the usage of rescue and ensure clauses, retry statement and raise method. Knowledge of specific exception type names is not required. Know how to define custom exception types (inheritance from RuntimeError class). |
0 | 9 | 0 | |
Strings 2 questions
Creating new string objects.
Concatenation using + operator.
String core methods: 'strip', 'chomp', 'split', 'size'
Know how to use template strings.
|
0 | 41 | 0 | |
Arrays 2 questions
Creation of new arrays (both Array.new() and styles).
|
0 | 43 | 0 | |
Mix 2 questions
Set of questions about multiple categories in the same question.
|
0 | 8 | 1 | |
Other 1 question
Questions outside of the scope of other categories, but fit to exam objectives and complexity level.
|
0 | 19 | 0 |
Exam information
- 51 minutes
- 34 questions (383)
- 70% required
- +3 √
- - 15 points
- 15 day delay
- status: released


