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. Any of the data types that consist of an ordered set of elements with each element identified by an index.
siblings
index
sequence
command line argument
2. To create an instance of a class.
generalize
instantiate
list
mode
3. A data structure that implements a collection using a sequence of linked nodes.
hint
linked list
frame
recursive call
4. A name used inside a function to refer to the value passed as an argument.
variable
method
parameter
local variable
5. The boolean expression in a conditional statement that determines which branch is executed.
condition
body
object-oriented language
algorithm
6. The set of operations that define an ADT.
interface
keyword
expression
namespace
7. A conditional branch with more than two possible flows of execution.
compile
temporary variable
chained conditional
compound data type
8. A statement that creates a new function specifying its name and parameters and the statements it executes.
generalize
function definition
constant
wrapping code in a function
9. Code that is used during program development but is not part of the final version.
compound data type
scaffolding
trace
tab
10. Nodes that share a common parent.
siblings
mapping type
continue statement
Queue
11. A compound data type that is often used to model a thing or concept in the real world.
nested list
siblings
mutable type
object
12. The topmost node in a tree with no parent.
veneer
root
header
file system
13. A reference to a list node can be treated as a single object or as the first in a list of nodes.
compound statement
optional parameter
fundamental ambiguity theorem
default value
14. The ability to define a new class that is a modified version of a previously defined class.
object-oriented programming
counter
prompt
inheritance
15. One of the values on which an operator operates.
import statement
variable
test-driven development (TDD)
operand
16. A variable used as part of the terminating condition of a loop.
object-oriented language
interpret
type conversion
loop variable
17. An error in a program.
bug
evaluate
frame
body
18. To create a new object that has the same value as an existing object.
stack diagram
mapping type
clone
initialization (of a variable)
19. The sequence of characters read into the command interpreter in a command line interface.
trichotomy
command line
method
constant
20. 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.
nested loop
side effect
mapping type
abstract data type (ADT)
21. A general process for solving a category of problems.
standard library
dot notation
operand
algorithm
22. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
byte code
recursive definition
side effect
helper
23. Code that satisfies the syntactic and semantic requirements of an interface.
implementation
fruitful function
type conversion
compound statement
24. Part of a program that can never be executed - often because it appears after a return statement.
expression
modulus operator
whitespace
dead code
25. 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.
instance
prefix notation
command line
priority queue
26. A way of writing mathematical expressions with the operators between the operands.
comment
infix
overflow
compound statement
27. An operator that takes two operands.
binary operator
random
continue statement
Priority Queue
28. 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.
planned development
base case
iteration
accumulator
29. 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
encapsulate
object code
body
30. Any one of the languages that people speak that evolved naturally.
tuple
logical operator
natural language
flow of execution
31. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
operator
raise
inorder
list comprehension
32. An error that does not occur until the program has started to execute but that prevents the program from continuing.
runtime error
encapsulate
trace
test-driven development (TDD)
33. The process of formulating a problem and finding a solution and expressing the solution.
fundamental ambiguity theorem
dot operator
continue statement
problem solving
34. A way of writing mathematical expressions with the operators after the operands.
level
temporary variable
postfix
multiple assignment
35. 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
client
incremental development
36. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
algorithm
root
initialization (of a variable)
evaluate
37. A name that refers to a value.
test-driven development (TDD)
prototype development
variable
semantic error
38. A name given to a variable.
object-oriented programming
embedded reference
variable name
clone
39. Another name for a runtime error.
client
conditional statement
parent
exception
40. 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
loop variable
low-level language
scalar multiplication
41. An error that occurs at runtime.
functional programming style
traceback
initialization method
exception
42. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
whitespace
pure function
expression
algorithm
43. One of the operators that combines boolean expressions: and or and not.
logical operator
invariant
continue statement
command line
44. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
parameter
runtime error
sequence
infinite recursion
45. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
link
modifier
encapsulate
body
46. A graphical representation of a set of variables and the values to which they refer.
traverse
operand
state diagram
method
47. To signal an exception using the raise statement.
compiler
raise
generic data structure
abstraction
48. A way to traverse a tree - visiting the children of each node before the node itself.
path
hint
escape sequence
postorder
49. 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.
clone
composition (of functions)
object
boolean expression
50. A loop inside the body of another loop.
algorithm
counter
pure function
nested loop