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. Use of the dot operator '.' to access functions inside a module.
command line argument
whitespace
dot notation
queueing policy
2. A loop inside the body of another loop.
delimiter
linked queue
nested loop
integer division
3. Calling one function from within the body of another or using the return value of one function as an argument to the call of another.
composition (of functions)
body
method
program
4. Code that is used during program development but is not part of the final version.
scaffolding
run time error
local variable
operand
5. The block of statements in a compound statement that follows the header.
non-volatile memory
body
compile
state diagram
6. The set of operations that define an ADT.
optional parameter
command line argument
type conversion
interface
7. Both as a noun and as a verb - it means to increase by 1.
increment
embedded reference
program
recursive definition
8. A way of writing mathematical expressions with the operators after the operands.
postfix
keyword
handle an exception
trace
9. A variable defined inside a function. A local variable can only be used inside its function.
object-oriented programming
instantiate
argv (argument vector)
local variable
10. A way of developing programs starting with a prototype and gradually testing and improving it.
prototype development
loop variable
executable
object
11. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
delimiter
generic data structure
recursive definition
invariant
12. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
standard library
block
link
modulus operator
13. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
naming collision
object-oriented programming
parent class
infinite loop
14. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
cargo
source code
modulus operator
modifier
15. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
wrapper
body
infinite recursion
composition
16. A recursive call that occurs as the last statement (at the tail) of a function definition.
postfix
comment
tail recursion
dead code
17. Using the output from one function call as the input to another.
portability
formal language
function composition
index
18. The rules that determine which member of a queue is removed next.
branch
object-oriented programming
trace
queueing policy
19. 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.
hint
temporary variable
comment
encapsulate
20. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
branch
list comprehension
escape sequence
non-volatile memory
21. A reference to a list node can be treated as a single object or as the first in a list of nodes.
fundamental ambiguity theorem
body
inheritance
assignment statement
22. The set of nodes equidistant from the root.
level
run time error
parent class
invariant
23. The statements inside a loop.
comment
problem solving
body
leaf
24. A special character that causes the cursor to move to the next tab stop on the current line.
tab
exception
formal language
object-oriented programming
25. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
invariant
loop
fruitful function
generic data structure
26. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.
generic data structure
object-oriented language
dictionary
iteration
27. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
key-value pair
cargo
exception
scaffolding
28. To create a new object that has the same value as an existing object.
dot operator
clone
portability
mutable data type
29. A process for developing a program.
infinite loop
development plan
slice
level
30. A thing to which a variable can refer.
modifier
object
comment
evaluate
31. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
planned development
encapsulate
mode
stack diagram
32. A list of the functions that are executing - printed when a runtime error occurs. Also commonly refered to as a stack trace since it lists the functions in the order in which they are stored in the runtime stack.
traceback
natural language
attribute
root
33. The dot operator ( .) permits access to attributes and functions of a module.
scaffolding
linear time
argv (argument vector)
dot operator
34. A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.
abstract data type (ADT)
interpret
precondition
binary tree
35. To prevent an exception from terminating a program using the try and except statements.
composition
handle an exception
prompt
accumulator
36. The second part of a compound statement. The body consists of a sequence of statements all indented the same amount from the beginning of the header.
body
tab
boolean value
branch
37. Temporary storage of a precomputed value to avoid redundant computation.
traceback
exception
hint
state diagram
38. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
accumulator
node
token
method
39. A function that returns a boolean value.
executable
prompt
path
boolean function
40. An object that belongs to a class.
conditional statement
parse
loop variable
instance
41. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.
composition (of functions)
file
clone
expression
42. A name given to a variable.
loop
variable name
iteration
parse
43. 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.
handle an exception
wrapper
nested list
prefix notation
44. A name used inside a function to refer to the value passed as an argument.
text file
header
parameter
modifier
45. A variable used to store an intermediate value in a complex calculation.
temporary variable
stack diagram
key-value pair
boolean value
46. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
naming collision
dot notation
element
script
47. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.
tuple
directory
mutable data type
exception
48. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
compiler
multiple assignment
mutable data type
whitespace
49. A visual cue that tells the user to input data.
evaluate
prompt
local variable
event loop
50. One of the values on which an operator operates.
cursor
accumulator
increment
operand