SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Ruby Programming Vocab
Start Test
Study First
Subject
:
it-skills
Instructions:
Answer 50 questions in 15 minutes.
If you are not ready to take this test, you can
study here
.
Match each statement with the correct term.
Don't refresh. All questions and answers are randomly picked and ordered every time you load a test.
This is a study tool. The 3 wrong answers for each question are randomly chosen from answers to other questions. So, you might find at times the answers obvious, but you will see it re-enforces your understanding as you take the test each time.
1. a collection of objects or values with associated keys
%
hash
#{}
.split
2. a string method that uncapitalizes first character
kernel
w
W
.downcase
3. a string method that changes last character to next alphabetical character
inheritance
.capitalize
?x
.next
4. the remainder operator
if?then:else
%
start_with?
d
5. sets a text delimiter
%arg
.swapcase
&&
.between?
6. method to determine if an object is an even number
.sort
.even?
object
.include?()
7. an array method that returns TRUE or FALSE if the array contains specified item
>=
struct
.include?()
regular expressions
8. a regular method that is the anchor for the end of a line
.between?
.gsub
@
$
9. a definition of a concept in an object oriented language.
class
.select
arguments
s
10. a string method that scans object for arguments - uses regular expressions.
code blocks
$
.scan()
.split
11. using classes and objects to make real-world concepts in programming.
A
object orientation
.scan()
.each
12. a module of classes and or functions
!
library
.scan()
.index
13. a string method that makes string all caps.
strip
|x|
.upcase
.index
14. (regular expression)any space or tab or newline or whitespace
|x|
>=
s
inheritance
15. (regular expression)any nondigit
W
object
D
<=>
16. a number with a decimal point such as 1.0 or 3.1
object orientation
integer
float
<=
17. (regular expression)any letter or digit or underscore
.map
w
@@
.index
18. class inheritance operator.
.pop
library
.chop
<
19. sets a single character text delimiter for multi-line strings
%q
.map
#{}
w
20. method to determine if an object is an even number
=>
@
integer
.even?
21. Data type that is assigned at initialization and typically does not change. Starts with a capital letter.
s
constant
.sort
object orientation
22. (regular expression)any non-whitespace character
S
.select
call
<<
23. defines an instance variable which only exists within the object it was created in.
D
@
.each
struct
24. mixing expressions into strings
s
.each
interpolation
.chop
25. symbol for a global variable which can be called from anywhere in an application.
.next
$
.downcase
!
26. an array method that
.sub
hash
>=
.each
27. defines array of multiple elements seperated by a space
%w{}
.each
.include?()
.chop
28. methods that step through lists element by element (like each or upto or times etc)
.sort
&&
.methods
iterator
29. a string method that substitutes THE FIRST occurrence of a string within a string
.methods
arguments
.sub
^
30. string method that "cleans" extra spaces from strings
|x|
<<
strip
D
31. (regular expression)any non-whitespace character
Z
range
S
!
32. a string method that substitutes ALL occurrences of a string with another.
.gsub
operators
W
@@
33. comparison operator for "not equal to"
!=
$
#{}
!
34. a special class that holds attributes and data but no methods.
.next
Z
struct
d
35. a special array made from arguments that were added to the command line at start up.
d
float
ARGV
variable
36. method that tells if an argument is within the limits of two numbers
w
D
||
.between?
37. method that tells if an argument is within the limits of two numbers
regular expressions
.sort
.between?
?x
38. array method that removes last item from an array
.pop
constant
.chop
%w{}
39. a single instance of a class.
S
.even?
^
object
40. array method that removes last item from an array
<<
.next
.pop
.gsub
41. comparison operator for "equal to"
.pop
hash
array
==
42. assigns a key to a hash value
.gsub
=>
regular expressions
<<
43. (regular expression)any digit
constant
.upcase
.select
d
44. a collection of characters such as "Hello world!"
kernel
object
.scan()
string
45. defines a class variable. Can be used anywhere within a class
.scan()
.capitalize
@@
object orientation
46. tells ruby a value to pass while iterating a block of code
strip
.swapcase
yield
iterator
47. less than or equal to (comparison operator)
not and or
S
@@
<=
48. (regular expression)any nonletter or nondigit or nonunderscore.
Z
Z
W
S
49. the representation of data from a start to end point
interpolation
.include?()
range
.capitalize
50. interpolation operator
!
class
#{}
regular expressions
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests