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. Another name for a runtime error.
exception
tuple
docstring
body
2. An explicit statement that takes a value of one type and computes a corresponding value of another type.
prototype development
boolean expression
pure function
type conversion
3. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
nesting
scalar multiplication
exception
continue statement
4. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
natural language
element
infinite recursion
compound statement
5. A function that yields a return value.
fruitful function
compound statement
constant
client
6. A general process for solving a category of problems.
queue
algorithm
FIFO(First In First Out)
attribute
7. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
boolean value
priority queue
incremental development
initialization (of a variable)
8. A way to traverse a tree - visiting the children of each node before the node itself.
postorder
source code
dot product
boolean function
9. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
command prompt
volatile memory
helper
integer division
10. 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
frame
raise
mutable data type
11. Any one of the languages that people speak that evolved naturally.
list comprehension
natural language
helper
logical operator
12. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
flow of execution
counter
pure function
mapping type
13. An error in a program.
cargo
method
object
bug
14. A sequence of one or more characters used to specify the boundary between separate parts of text.
path
delimiter
tuple
function
15. An operation whose runtime is a linear function of the size of the data structure.
object
linear time
infinite recursion
sequence
16. 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
fruitful function
non-volatile memory
run time error
17. A special character that causes the cursor to move to the next tab stop on the current line.
class
Queue
tab
attribute
18. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
argv (argument vector)
file
newline
problem solving
19. 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.
binary tree
class attribute
abstract data type (ADT)
flow of execution
20. An error in a program that makes it do something other than what the programmer intended.
semantic error
flow of execution
boolean function
increment
21. 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.
step size
postfix
dot operator
veneer
22. Temporary storage of a precomputed value to avoid redundant computation.
comment
hint
command prompt
tab
23. A signal such as a keyboard press or mouse click or message from another program.
event
child class
parse
default value
24. Code that satisfies the syntactic and semantic requirements of an interface.
composition (of functions)
step size
implementation
overflow
25. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
key-value pair
embedded reference
element
initialization method
26. A name used inside a function to refer to the value passed as an argument.
encode
parameter
problem solving
variable
27. A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.
body
variable
tuple assignment
function
28. 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.
infinite recursion
unit testing
chained conditional
composition (of functions)
29. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
inorder
modifier
mutable data type
program
30. A statement that causes the current iteration of a loop to end.
constant
binary tree
continue statement
semantic error
31. Any of the data types that consist of an ordered set of elements with each element identified by an index.
queueing policy
parent
composition (of functions)
sequence
32. To simplify an expression by performing the operations in order to yield a single value.
evaluate
side effect
conditional statement
standard library
33. An ADT that defines the operations one might perform on a priority queue.
modifier
operator
comment
Priority Queue
34. A distinct method of operation within a computer program.
compound data type
natural language
integer division
mode
35. 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
client
function call
operator overloading
36. 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.
polymorphic
recursive definition
operator
text file
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.
exception
rules of precedence
preorder
wrapping code in a function
38. The value provided as the result of a function call.
return value
loop variable
bug
key-value pair
39. Making more than one assignment to the same variable during the execution of a program.
polymorphic
multiple assignment
infinite recursion
key-value pair
40. The class from which a child class inherits.
generalize
concatenate
parent class
cargo
41. A programming construct that waits for events and processes them.
body
queueing policy
event loop
natural language
42. There are exactly two boolean values: True and False.
scaffolding
boolean value
parent
naming collision
43. The dot operator ( .) permits access to attributes and functions of a module.
dot operator
chained conditional
branch
data structure
44. An intermediate language between source code and object code. Many modern languages first compile source code into byte code and then interpret the byte code with a program called a virtual machine.
byte code
singleton
binary operator
operator
45. A variable used in a loop to accumulate a series of values - such as by concatenating them onto a string or adding them to a running sum.
accumulator
composition
class
Priority Queue
46. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
nested list
operator
value
raise
47. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
escape sequence
infinite recursion
stack diagram
tuple assignment
48. A loop in which the terminating condition is never satisfied.
siblings
infinite loop
generalize
random
49. To signal an exception using the raise statement.
instance
raise
sequence
algorithm
50. Generalization by reducing the information content of a concept.
command line argument
interpret
generic data structure
abstraction