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 string method that capitalizes first character
object
.capitalize
.methods
constant
2. passes value into block of code and assigns it the label of "x"
S
|x|
.map
float
3. a set of code within a class or object
!
method
integer
string
4. array method that removes last item from an array
.even?
.pop
string
.map
5. a way to describe patterns in text
local variable
^
regular expressions
.include?()
6. (regular expression)anchor for the start of a string
^
.chop
A
ARGV
7. an array method that
.downcase
.each
.downcase
%w{}
8. an array method that returns TRUE or FALSE if the array contains specified item
.include?()
.select
.next
>=
9. (regular expression)any non-whitespace character
struct
.methods
$:.
S
10. a definition of a concept in an object oriented language.
>=
class
.even?
strip
11. sets a single character text delimiter for multi-line strings
object orientation
%q
ARGV
.even?
12. array method that transforms the contents of an array according to a specified set of rules
=>
break if
.map
<
13. a string method that removes last character
.include?()
array
.split
.chop
14. sets a text delimiter
S
range
flow control
%arg
15. comparison operator for "not equal to"
range
!=
D
.scan()
16. method to determine if an object is an even number
S
code blocks
.even?
interpolation
17. class inheritance operator.
class
<
=>
.index
18. a string method that substituition. Requires 2 arguments.
!
||
.sub
.include?()
19. array assignment oprator
operators
|x|
<<
!=
20. a string method that scans object for arguments - uses regular expressions.
.scan()
<
w
D
21. a whole number
A
<=
.upcase
integer
22. a number with a decimal point such as 1.0 or 3.1
!=
.map
object orientation
float
23. (regular expression)any nonletter or nondigit or nonunderscore.
.even?
W
|x|
||
24. a placeholder for a single object that may be a number or string or list or instance of a defined class
|x|
Z
.scan()
variable
25. used in an expression to manipulate objects
.map
.split
.include?()
operators
26. a collection of characters such as "Hello world!"
string
W
.downcase
&&
27. returns ASCII value of x
yield
?x
d
s
28. a single instance of a class.
object
.map
Z
object orientation
29. variable that can be used only where it is defined within an application
@
strip
#{}
local variable
30. a string method that removes last character
A
if?then:else
=>
.chop
31. defines a class variable. Can be used anywhere within a class
?x
!=
ARGV
@@
32. defines array of multiple elements seperated by a space
.index
%w{}
.pop
<=
33. a section of code with no discrete name which is not a method by itself that can be called upon and can receive an argument.
code blocks
.even?
object
.between?
34. a definition of a concept in an object oriented language.
class
.pop
A
regular expressions
35. assigns a key to a hash value
$:.
=>
D
Z
36. a special class that holds attributes and data but no methods.
.even?
?x
$
struct
37. operator for "Boolean not"
.scan()
!
D
?x
38. method that sorts items alphabetically
.sort
yield
.capitalize
regular expressions
39. (regular expression)anchor for the end of a string
operators
break if
Z
string
40. a string method that scans object for arguments - uses regular expressions.
inheritance
.scan()
kernel
d
41. (regular expression)any space or tab or newline or whitespace
.next
D
.even?
s
42. defines an instance variable which only exists within the object it was created in.
.select
%arg
@
.gsub
43. a regular method that is the anchor for the beggining of a line
^
.next
.each
regular expressions
44. a string method that uncapitalizes first character
.downcase
strip
parameters
flow control
45. conditionally stops a loop
.split
variable
break if
.sub
46. string method that determines if a string starts with a defined string
class
start_with?
d
.include?()
47. Boolean AND operator
&&
kernel
!=
s
48. (regular expression)any letter or digit or underscore
variable
local variable
w
.capitalize
49. greater than or equal to (comparison operator)
S
@
>=
.capitalize
50. tells you all methods that an object may invoke.
.index
.methods
Z
.even?
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