SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
|
Email
Search
Test your basic knowledge |
Programming
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. Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.
portability
function composition
token
comment
2. A step-by-step process for solving a category of problems.
encode
algorithm
initialization method
client
3. The value provided as the result of a function call.
optional parameter
file
script
return value
4. A reference stored in an attribute of an object.
initialization method
embedded reference
development plan
class
5. The topmost node in a tree with no parent.
root
mutable type
child
variable
6. An operation that divides one integer by another and yields an integer. Integer division yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.
argv (argument vector)
hint
index
integer division
7. A special character that causes the cursor to move to the beginning of the next line.
dot operator
unit testing
newline
loop variable
8. It prevents a compiler from compiling.
syntactical errors
event loop
formal language
linear time
9. Temporary storage of a precomputed value to avoid redundant computation.
step size
overflow
hint
prompt
10. To represent one set of values using another set of values by constructing a mapping between them.
encode
dot operator
postfix
raise
11. A compound data type that is often used to model a thing or concept in the real world.
concatenate
loop variable
object
frame
12. A list that is an element of another list.
constant
queue
level
nested list
13. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
mapping type
invariant
boolean function
dead code
14. A statement that causes the current iteration of a loop to end.
boolean expression
provider
continue statement
mutable data type
15. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
algorithm
header
planned development
import statement
16. Multiple variables that contain references to the same object.
mapping type
pure function
object-oriented language
aliases
17. A library is a collection of software used as tools in the development of other software.
trace
standard library
low-level language
preorder
18. An error in a program that makes it impossible to parse
syntax error
condition
invariant
directory
19. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
side effect
inorder
mutable data type
recursive definition
20. An operator that takes two operands.
binary operator
low-level language
subexpression
continue statement
21. A programming language that is designed to be easy for humans to read and write.
class
high-level language
infix
infinite loop
22. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.
subexpression
wrapper
class attribute
frame
23. A queueing policy in which the first member to arrive is the first to be removed.
FIFO(First In First Out)
Queue
loop variable
non-volatile memory
24. An item of data contained in a node.
exception
trichotomy
step size
cargo
25. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
recursive call
boolean expression
modifier
parse
26. A programming construct that waits for events and processes them.
linear time
event loop
multiple assignment
class attribute
27. A collection of key-value pairs that maps from keys to values.
priority queue
file system
decrement
dictionary
28. A statement that creates a new function specifying its name and parameters and the statements it executes.
run time error
delimiter
function definition
increment
29. The rules that determine which member of a queue is removed next.
cargo
function definition
queueing policy
keyword
30. An organization of data for the purpose of making it easier to use.
data structure
preorder
namespace
formal language
31. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
naming collision
data type
scalar multiplication
volatile memory
32. A queueing policy in which each member has a priority determined by external factors. The member with the highest priority is the first to be removed.
trichotomy
tuple
priority queue
pure function
33. The statements inside a loop.
return value
key-value pair
body
element
34. One of the possible paths of the flow of execution determined by conditional execution.
exception
file
branch
parent
35. A part of a string (substring) specified by a range of indices.
key
slice
initialization method
constant time
36. A function that yields a return value.
method
fruitful function
loop variable
slice
37. To join two strings end-to-end.
concatenate
token
functional programming style
body
38. Use of the dot operator '.' to access functions inside a module.
source code
method
dot notation
prototype development
39. An ADT that performs the operations one might perform on a queue.
data type
conditional statement
expression
Queue
40. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
child class
event
dot operator
frame
41. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
element
loop variable
token
operator overloading
42. A new class created by inheriting from an existing class; also called a subclass.
dot notation
child class
method
provider
43. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
comparison operator
nested loop
key-value pair
header
44. A software development practice which arrives at a desired feature through a series of small but iterative steps motivated by automated tests which are written first that express increasing refinements of the desired feature.
import statement
child
test-driven development (TDD)
formal language
45. An error that does not occur until the program has started to execute but that prevents the program from continuing.
pure function
client
boolean function
runtime error
46. A variable or value used to select a member of an ordered set - such as a character from a string.
body
list comprehension
index
text file
47. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
concatenate
sequence
value
whitespace
48. A program stored in a file (usually one that will be interpreted).
script
tuple assignment
element
temporary variable
49. The interval between successive elements of a linear sequence. The third (and optional argument) to the range function is called the step size. If not specified it defaults to 1.
trichotomy
step size
instance
cursor
50. A named collection of objects where each object is identified by an index.
postfix
delimiter
run time error
list