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 value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
function call
argument
object
polymorphic
2. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
child
Queue
escape sequence
command line
3. An operation whose runtime does not depend on the size of the data structure.
namespace
instantiate
constant time
interpret
4. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
initialization (of a variable)
recursive call
operator
Queue
5. The value provided as the result of a function call.
return value
problem solving
dot notation
step size
6. 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
counter
veneer
tuple
7. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
list traversal
parent
modifier
decrement
8. A kind of data structure that can contain data of any type.
namespace
algorithm
generic data structure
queueing policy
9. Generalization by reducing the information content of a concept.
body
preorder
abstraction
mode
10. The code (or the person who wrote it) that implements an ADT.
postfix
generic data structure
object-oriented programming
provider
11. A name used inside a function to refer to the value passed as an argument.
parameter
class
random
object
12. An error in a program that makes it impossible to parse
slice
loop variable
syntax error
exception
13. A general process for solving a category of problems.
whitespace
parse
algorithm
return value
14. An expression that is either true or false.
semantic error
state diagram
tuple assignment
boolean expression
15. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
comparison operator
token
initialization (of a variable)
runtime error
16. 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.
attribute
prototype development
tuple
function call
17. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
docstring
default value
encapsulate
text file
18. A way of writing mathematical expressions with the operators between the operands.
queue
exception
infix
script
19. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
modifier
class
step size
postfix
20. Having no specific pattern. Unpredictable.
data structure
parent class
random
argument
21. A statement which makes the objects contained in a module available for use within another module.
import statement
clone
syntactical errors
unit testing
22. 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.
side effect
nesting
algorithm
constant
23. A variable defined inside a function. A local variable can only be used inside its function.
incremental development
local variable
formal language
parse
24. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
side effect
initialization (of a variable)
boolean value
scaffolding
25. A way of writing a mathematical expression with each operator appearing before its operands.
function definition
prefix notation
encode
overflow
26. A linked list with a single node.
recursion
singleton
scalar multiplication
command line argument
27. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
helper
dictionary
recursive call
prompt
28. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
volatile memory
text file
incremental development
nesting
29. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
volatile memory
nesting
function definition
syntactical errors
30. The class from which a child class inherits.
docstring
interpret
parent class
type conversion
31. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
scalar multiplication
interface
namespace
attribute
32. A signal such as a keyboard press or mouse click or message from another program.
event
base case
directory
whitespace
33. An error that occurs at runtime.
object-oriented language
infix
chained conditional
exception
34. The value given to an optional parameter if no argument for it is provided in the function call.
implementation
default value
temporary variable
prompt
35. A special character that causes the cursor to move to the next tab stop on the current line.
helper
evaluate
binary operator
tab
36. 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.
file
initialization method
traceback
compiler
37. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
polymorphic
header
script
concatenate
38. A logical error which stops a program from performing.
run time error
leaf
tuple assignment
binary tree
39. Code that satisfies the syntactic and semantic requirements of an interface.
polymorphic
docstring
linked queue
implementation
40. A function that returns a boolean value.
level
boolean function
class attribute
frame
41. A loop inside the body of another loop.
frame
Priority Queue
nested loop
generalize
42. A special character that causes the cursor to move to the beginning of the next line.
prompt
immutable data type
newline
provider
43. An explicit statement that takes a value of one type and computes a corresponding value of another type.
linked list
operand
type conversion
mapping type
44. 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.
child
index
priority queue
fundamental ambiguity theorem
45. A compound data type whose elements cannot be assigned new values.
tuple
stack diagram
delimiter
immutable
46. A programming construct that waits for events and processes them.
non-volatile memory
infix
event loop
dot product
47. One of the nodes referred to by a node.
tail recursion
child class
child
namespace
48. A group of consecutive statements with the same indentation.
block
traverse
class
method
49. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
command line argument
accumulator
preorder
flow of execution
50. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
dictionary
dead code
trace
attribute