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 program (or the person who wrote it) that uses an ADT.
counter
client
rules of precedence
comment
2. A group of consecutive statements with the same indentation.
value
composition (of functions)
block
compound statement
3. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
accumulator
exception
command line argument
non-volatile memory
4. A program stored in a file (usually one that will be interpreted).
script
newline
queue
immutable data type
5. A way of writing mathematical expressions with the operators between the operands.
embedded reference
operand
mutable type
infix
6. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
frame
continue statement
evaluate
slice
7. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
body
argument
unit testing
pure function
8. Making more than one assignment to the same variable during the execution of a program.
low-level language
overflow
multiple assignment
test-driven development (TDD)
9. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
header
conditional statement
infix
rules of precedence
10. An integer variable or value that indicates an element of a list.
newline
modifier
tuple
index
11. Any of the data types that consist of an ordered set of elements with each element identified by an index.
linked list
sequence
argv (argument vector)
default value
12. A variable defined inside a function. A local variable can only be used inside its function.
script
raise
event loop
local variable
13. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
provider
dot product
operator
command line argument
14. The sequential accessing of each element in a list.
parent
comment
list traversal
conditional statement
15. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
mode
initialization (of a variable)
postfix
token
16. The set of operations that define an ADT.
interface
priority queue
object-oriented programming
token
17. 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.
priority queue
singleton
object
instance
18. The ability to define a new class that is a modified version of a previously defined class.
fundamental ambiguity theorem
inheritance
comment
local variable
19. The order in which statements are executed during a program run.
standard library
flow of execution
whitespace
algorithm
20. To replace something unnecessarily specific (like a constant value) with something appropriately general (like a variable or parameter). It makes code more versatile - more likely to be reused and sometimes even easier to write.
optional parameter
debugging
generalize
nested list
21. A reference stored in an attribute of an object.
wrapping code in a function
embedded reference
postfix
loop variable
22. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
generic data structure
level
exception
docstring
23. A character or string used to indicate where a string should be split.
standard library
comparison operator
recursive definition
delimiter
24. To create an instance of a class.
command line argument
branch
instantiate
class attribute
25. Another name for object code that is ready to be executed.
wrapping code in a function
rules of precedence
executable
local variable
26. A data type in which the elements can be modified. It is a compound type - e.g. lists.
file
prototype development
mutable type
exception
27. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
high-level language
random
interface
header
28. The dot operator ( .) permits access to attributes and functions of a module.
function call
escape sequence
dot operator
dead code
29. A data structure that implements a collection using a sequence of linked nodes.
child
unit testing
linked list
text file
30. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
algorithm
class
list comprehension
embedded reference
31. A variable used to store an intermediate value in a complex calculation.
variable
natural language
nested list
temporary variable
32. An error in a program that makes it do something other than what the programmer intended.
semantic error
dictionary
source code
class
33. A name that refers to a value.
argv (argument vector)
variable
event loop
instantiate
34. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.
linked list
clone
file
invariant
35. The node that refers to a given node.
formal language
parent
comparison operator
integer division
36. A programming language that is designed to be easy for humans to read and write.
variable name
high-level language
problem solving
variable
37. A special character that causes the cursor to move to the next tab stop on the current line.
tab
parse
newline
directory
38. A statement that consists of two parts: header - which begins with a keyword determining the statement type and ends with a colon. body - containing one or more statements indented the same amount from the header.
loop variable
compound statement
file system
scaffolding
39. An object that belongs to a class.
parse
instance
value
immutable
40. A list that is an element of another list.
inorder
semantics
exception
nested list
41. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
newline
encode
constant time
key-value pair
42. 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.
cursor
composition (of functions)
tuple assignment
level
43. An expression in parentheses that acts as a single operand in a larger expression.
node
whitespace
subexpression
function composition
44. The process of adding a function header and parameters to a sequence of program statements. This process is very useful whenever the program statements in question are going to be used multiple times.
planned development
natural language
wrapping code in a function
inorder
45. A change in the state of a program made by calling a function that is not a result of reading the return value from the function. Can only be produced by modifiers.
Queue
object-oriented language
prefix notation
side effect
46. Use of the dot operator '.' to access functions inside a module.
provider
linked queue
dot notation
command line argument
47. A statement that assigns a value to a name (variable).
variable
class
assignment statement
fruitful function
48. An embedded reference used to link one object to another.
postorder
comparison operator
link
mutable type
49. One of the operators that compares two values: == or != or > or < or >= and <=.
comparison operator
instance
nesting
dead code
50. A way to traverse a tree - visiting the children of each node before the node itself.
semantic error
concatenate
postorder
handle an exception