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. method to determine if an object is an even number
constant
not and or
.downcase
.even?
2. a string method that scans object for arguments - uses regular expressions.
.scan()
.match
not and or
inheritance
3. variable that can be used only where it is defined within an application
local variable
&&
.between?
.capitalize
4. a string method that changes last character to next alphabetical character
.next
.gsub
.include?()
<=
5. a single instance of a class.
W
.methods
object
?x
6. a set of code within a class or object
local variable
flow control
method
&&
7. method that sorts items alphabetically
library
$
range
.sort
8. (regular expression)any non-whitespace character
range
S
.index
.sub
9. a string method that uncapitalizes first character
^
hash
.downcase
.pop
10. allows for classes to relate to each other in a hierarchy
.methods
inheritance
=>
.next
11. a regular method that is the anchor for the beggining of a line
parameters
^
d
.swapcase
12. (regular expression)any nondigit
flow control
D
!=
!
13. (regular expression)any letter or digit or underscore
#{}
.each
w
||
14. method that tells an argument's place value within an array
.methods
.index
%w{}
.pop
15. class inheritance operator.
local variable
.even?
<
if?then:else
16. a string method that removes last character
constant
.chop
end_with?
library
17. greater than or equal to (comparison operator)
.upcase
strip
inheritance
>=
18. a string method that reverses capitalization
ARGV
.swapcase
<=
||
19. a collection of objects or values with associated keys
%arg
.select
.downcase
hash
20. a definition of a concept in an object oriented language.
.each
local variable
class
.index
21. sets a text delimiter
call
==
.pop
%arg
22. (regular expression)any non-whitespace character
.include?()
.pop
.include?()
S
23. array method that transforms the contents of an array according to a specified set of rules
.map
%arg
.select
break if
24. comparison operator for "not equal to"
ARGV
!=
.include?()
w
25. a string method that capitalizes first character
ARGV
.downcase
^
.capitalize
26. Boolean not and or (lower preference)
@
array
.gsub
not and or
27. data passed to methods in parenthesis after a method's name.
.chop
arguments
.next
%w{}
28. conditionally stops a loop
call
$:.
break if
.swapcase
29. a whole number
.match
.index
integer
class
30. a special class that holds attributes and data but no methods.
!=
^
struct
.pop
31. method that tells if an argument is within the limits of two numbers
.between?
<
#{}
?x
32. used in an expression to manipulate objects
hash
%
operators
.pop
33. method to determine if an object is an even number
Z
.even?
.index
regular expressions
34. array assignment oprator
<<
.upcase
%arg
.even?
35. pushes a new item onto the end of an array.
w
<<
.next
regular expressions
36. a collection of objects with a defined order
.even?
array
regular expressions
method
37. tells you all methods that an object may invoke.
constant
.map
?x
.methods
38. returns ASCII value of x
?x
array
yield
.select
39. method that tells if an argument is within the limits of two numbers
.between?
.match
D
<<
40. a string method that capitalizes first character
.capitalize
.downcase
.methods
code blocks
41. (regular expression)any nonletter or nondigit or nonunderscore.
W
.methods
struct
parameters
42. array method that transforms the contents of an array according to a specified set of rules
.map
interpolation
class
?x
43. a string method that splits a string into an array
S
object
break if
.split
44. interpolation operator
<=>
range
#{}
!=
45. sets a single character text delimiter for multi-line strings
$
.methods
%q
.between?
46. Data type that is assigned at initialization and typically does not change. Starts with a capital letter.
.sort
s
.gsub
constant
47. assigns a key to a hash value
w
=>
string
integer
48. (regular expression)any nonletter or nondigit or nonunderscore.
W
A
.map
.map
49. a string method that uncapitalizes first character
@@
.pop
=>
.downcase
50. comparison operator for "not equal to"
!=
<<
.include?()
.next
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