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. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
side effect
initialization (of a variable)
token
file
2. A function that can operate on more than one type. If all the operations in a function can be applied to a type then the function can be applied to a type.
linked list
polymorphic
key-value pair
subexpression
3. The ability to define a new class that is a modified version of a previously defined class.
program
inheritance
binary tree
planned development
4. An error in a program.
branch
delimiter
bug
index
5. An automatic procedure used to validate that individual units of code are working properly.
assignment statement
unit testing
temporary variable
generalize
6. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
token
prefix notation
counter
function composition
7. A programming construct that waits for events and processes them.
event loop
assignment statement
bug
object
8. A statement that causes the current iteration of a loop to end.
problem solving
continue statement
list comprehension
nested list
9. The order in which statements are executed during a program run.
flow of execution
chained conditional
syntactical errors
pure function
10. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
naming collision
encode
queue
incremental development
11. A signal such as a keyboard press or mouse click or message from another program.
tab
local variable
event
syntactical errors
12. To read a string of characters or tokens and analyze its grammatical structure.
parse
queueing policy
modifier
nesting
13. A data type which can be modified.
child
object
escape sequence
mutable data type
14. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
nesting
attribute
multiple assignment
tail recursion
15. It prevents a compiler from compiling.
variable name
binary operator
syntactical errors
embedded reference
16. Another name for object code that is ready to be executed.
executable
immutable
run time error
boolean expression
17. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
algorithm
accumulator
precondition
key
18. The meaning of a program.
state diagram
semantics
nesting
body
19. A name given to a variable.
prefix notation
variable name
loop variable
recursive definition
20. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
abstraction
attribute
dictionary
token
21. A statement that controls the flow of execution depending on some condition.
composition
type conversion
conditional statement
header
22. One of the values on which an operator operates.
wrapping code in a function
initialization method
integer division
operand
23. Decrease by 1.
decrement
child
concatenate
level
24. An integer variable or value that indicates an element of a list.
boolean expression
preorder
nested loop
index
25. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
header
function composition
postfix
return value
26. A variable used as part of the terminating condition of a loop.
loop variable
binary tree
dot notation
exception
27. The process of finding and removing any of the three kinds of programming errors.
singleton
loop
debugging
generic data structure
28. A special character that causes the cursor to move to the beginning of the next line.
abstraction
binary operator
event loop
newline
29. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
prefix notation
wrapper
modifier
whitespace
30. The block of statements in a compound statement that follows the header.
generalize
boolean value
body
object
31. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.
veneer
incremental development
binary operator
event loop
32. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
key
chained conditional
trace
scalar multiplication
33. The sequential accessing of each element in a list.
parent class
initialization (of a variable)
list traversal
stack diagram
34. The output of the compiler after it translates the program.
operator
continue statement
object code
prefix notation
35. An expression that is either true or false.
exception
trichotomy
boolean expression
mutable type
36. A string displayed by a command line interface indicating that commands can be entered.
logical operator
command prompt
immutable
child
37. 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.
wrapping code in a function
state diagram
chained conditional
flow of execution
38. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.
object-oriented language
list traversal
scaffolding
exception
39. A data structure that implements a collection using a sequence of linked nodes.
linked list
level
naming collision
trichotomy
40. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.
infinite recursion
class attribute
tuple assignment
volatile memory
41. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
function call
function composition
traceback
recursive call
42. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
inorder
operator
rules of precedence
body
43. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.
recursive call
interface
formal language
bug
44. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
element
infinite recursion
branch
docstring
45. The node that refers to a given node.
embedded reference
parent
variable
algorithm
46. One of the possible paths of the flow of execution determined by conditional execution.
object-oriented language
branch
encapsulate
chained conditional
47. Repeated execution of a set of programming statements.
aliases
iteration
continue statement
file system
48. An error in a program that makes it impossible to parse
function composition
syntax error
infinite recursion
Queue
49. A thing to which a variable can refer.
token
object
fundamental ambiguity theorem
body
50. A linked list with a single node.
singleton
postorder
interpret
class