SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
node
infix
object code
token
2. An ADT that performs the operations one might perform on a queue.
interpret
operand
Queue
method
3. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
class
dot product
iteration
branch
4. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.
object-oriented language
subexpression
pure function
function composition
5. A way to traverse a tree - visiting each node before its children.
algorithm
preorder
body
initialization method
6. An error in a program that makes it impossible to parse
function definition
list
syntax error
inheritance
7. A loop in which the terminating condition is never satisfied.
infinite loop
file
tuple
sequence
8. Part of a program that can never be executed - often because it appears after a return statement.
trace
logical operator
class attribute
dead code
9. Making more than one assignment to the same variable during the execution of a program.
object code
natural language
priority queue
multiple assignment
10. 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.
text file
tuple
object-oriented language
default value
11. 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.
operator overloading
counter
source code
polymorphic
12. A conditional branch with more than two possible flows of execution.
fundamental ambiguity theorem
constant time
delimiter
chained conditional
13. Both as a noun and as a verb - it means to increase by 1.
exception
keyword
escape sequence
increment
14. A loop inside the body of another loop.
default value
fruitful function
prefix notation
nested loop
15. Using the output from one function call as the input to another.
header
bug
function composition
expression
16. A way to traverse a tree - visiting the children of each node before the node itself.
header
body
class
postorder
17. A tree in which each node refers to zero or one or two dependent nodes.
linked list
random
binary tree
abstraction
18. A numerical value that does not change during the execution of a program.
value
argv (argument vector)
dead code
constant
19. A software development practice which arrives at a desired feature through a series of small but iterative steps motivated by automated tests which are written first that express increasing refinements of the desired feature.
argument
event
trichotomy
test-driven development (TDD)
20. 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
precondition
script
postfix
21. A signal such as a keyboard press or mouse click or message from another program.
event
body
veneer
program
22. 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.
variable
accumulator
delimiter
constant
23. Having no specific pattern. Unpredictable.
default value
byte code
docstring
random
24. 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.
generalize
high-level language
dot operator
function definition
25. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
nesting
parent
keyword
leaf
26. One of the values on which an operator operates.
tab
recursive call
encode
operand
27. An implementation of a queue using a linked list.
handle an exception
linked queue
namespace
siblings
28. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
compile
keyword
wrapper
instance
29. A thing to which a variable can refer.
event
object
iteration
bug
30. A data type in which the elements can be modified. It is a compound type - e.g. lists.
mutable type
parse
delimiter
Queue
31. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
side effect
slice
rules of precedence
integer division
32. A style of program design in which the majority of functions are pure.
functional programming style
veneer
incremental development
data type
33. The order in which statements are executed during a program run.
parse
default value
prompt
flow of execution
34. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
assignment statement
postorder
local variable
namespace
35. A programming language that is designed to be easy for humans to read and write.
concatenate
root
high-level language
nested loop
36. Multiple variables that contain references to the same object.
compiler
aliases
incremental development
encode
37. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
algorithm
conditional statement
escape sequence
state diagram
38. An operator that takes two operands.
child class
integer division
binary operator
queue
39. A variable or value used to select a member of an ordered set - such as a character from a string.
interface
stack diagram
index
fundamental ambiguity theorem
40. A statement that creates a new function specifying its name and parameters and the statements it executes.
stack diagram
function definition
pure function
class attribute
41. One of the nodes referred to by a node.
child
incremental development
prefix notation
raise
42. A kind of data structure that can contain data of any type.
generic data structure
object code
instance
linked queue
43. A statement that controls the flow of execution depending on some condition.
recursion
expression
Queue
conditional statement
44. A visual cue that tells the user to input data.
script
temporary variable
prompt
scaffolding
45. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
flow of execution
FIFO(First In First Out)
dot product
immutable data type
46. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
event
key
function
comparison operator
47. An operation whose runtime is a linear function of the size of the data structure.
algorithm
linear time
child
pure function
48. The process of formulating a problem and finding a solution and expressing the solution.
infinite recursion
problem solving
element
modifier
49. A data type which can be modified.
initialization method
mutable data type
function definition
syntax error
50. An ordered set of objects waiting for a service of some kind.
class
queue
cargo
file