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. A loop inside the body of another loop.
dot product
counter
modifier
nested loop
2. An organization of data for the purpose of making it easier to use.
data structure
interpret
syntax
value
3. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
initialization (of a variable)
priority queue
recursion
incremental development
4. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
decrement
functional programming style
list comprehension
provider
5. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
invariant
event loop
embedded reference
low-level language
6. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
modifier
frame
slice
client
7. A variable that is defined inside a class definition but outside any method. These are accessible from any method in the class and are shared by all instances of the class.
class attribute
parse
problem solving
script
8. An error in a program that makes it do something other than what the programmer intended.
embedded reference
semantic error
token
algorithm
9. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
expression
subexpression
compile
branch
10. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
counter
recursive call
precondition
method
11. A data type in which the values are made up of components or elements that are themselves values.
method
exception
compound data type
temporary variable
12. A list that is an element of another list.
key-value pair
traceback
node
nested list
13. A way of writing a mathematical expression with each operator appearing before its operands.
child
prefix notation
delimiter
method
14. A statement that causes the current iteration of a loop to end.
continue statement
handle an exception
argv (argument vector)
increment
15. To prevent an exception from terminating a program using the try and except statements.
handle an exception
FIFO(First In First Out)
argv (argument vector)
body
16. Another name for object code that is ready to be executed.
composition
data structure
pure function
executable
17. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
priority queue
function call
operand
linear time
18. An automatic procedure used to validate that individual units of code are working properly.
unit testing
dot notation
problem solving
fruitful function
19. One of the operators that combines boolean expressions: and or and not.
logical operator
chained conditional
exception
FIFO(First In First Out)
20. An ADT that performs the operations one might perform on a queue.
default value
fruitful function
random
Queue
21. A distinct method of operation within a computer program.
mode
algorithm
function
body
22. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
modulus operator
pure function
syntactical errors
infinite recursion
23. 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.
volatile memory
parent class
pure function
tuple
24. Temporary storage of a precomputed value to avoid redundant computation.
composition
tuple assignment
hint
instance
25. The topmost node in a tree with no parent.
parse
root
object
runtime error
26. A function that returns a boolean value.
immutable
boolean function
event loop
linked list
27. A character or string used to indicate where a string should be split.
delimiter
index
incremental development
fruitful function
28. A program in a high-level language before being compiled.
source code
postfix
event loop
encapsulate
29. Repeated execution of a set of programming statements.
sequence
decrement
clone
iteration
30. The order in which statements are executed during a program run.
flow of execution
namespace
priority queue
postfix
31. An operator that takes two operands.
raise
interface
functional programming style
binary operator
32. The sequential accessing of each element in a list.
list traversal
queue
run time error
postorder
33. The process of calling the function that is currently executing.
function definition
recursion
initialization method
compound data type
34. A graphical representation of a set of variables and the values to which they refer.
state diagram
object code
list comprehension
body
35. An assertion that must be true in order for a method to work correctly.
whitespace
executable
precondition
local variable
36. A statement that controls the flow of execution depending on some condition.
delimiter
conditional statement
data structure
linked queue
37. It prevents a compiler from compiling.
text file
recursive call
return value
syntactical errors
38. The statement in a recursive function with is a call to itself.
boolean value
newline
function
recursive call
39. An ordered set of objects waiting for a service of some kind.
singleton
function composition
slice
queue
40. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
value
optional parameter
integer division
siblings
41. 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.
step size
composition
incremental development
algorithm
42. A bottom-most node in a tree with no children.
function definition
argv (argument vector)
FIFO(First In First Out)
leaf
43. A name used inside a function to refer to the value passed as an argument.
encode
tab
object code
parameter
44. A named collection of files - also called a folder.
function
directory
veneer
invariant
45. The statements inside a loop.
body
traverse
event loop
compiler
46. A variable defined inside a module - accessed by using the dot operator ( .).
immutable
fruitful function
tuple
attribute
47. A visual cue that tells the user to input data.
run time error
prompt
recursive definition
nesting
48. 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.
continue statement
raise
priority queue
comparison operator
49. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
naming collision
modifier
cargo
immutable
50. A variable used to store an intermediate value in a complex calculation.
temporary variable
block
sequence
method