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 bottom-most node in a tree with no children.
mutable data type
semantics
leaf
import statement
2. 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.
object
immutable
test-driven development (TDD)
parse
3. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
namespace
function call
increment
return value
4. The order in which statements are executed during a program run.
object-oriented language
exception
loop variable
flow of execution
5. An error that does not occur until the program has started to execute but that prevents the program from continuing.
runtime error
namespace
random
prompt
6. A step-by-step process for solving a category of problems.
child class
embedded reference
argument
algorithm
7. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
variable name
inorder
handle an exception
logical operator
8. Another name for object code that is ready to be executed.
delimiter
key
default value
executable
9. A special character that causes the cursor to move to the next tab stop on the current line.
tab
problem solving
local variable
byte code
10. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
script
modifier
type conversion
tail recursion
11. A linked list with a single node.
singleton
multiple assignment
exception
body
12. A parameter written in a function header with an assignment to a default value which it will receive if no corresponding argument is given for it in the function call.
compound statement
functional programming style
fruitful function
optional parameter
13. A program stored in a file (usually one that will be interpreted).
script
loop variable
event loop
data structure
14. A name used inside a function to refer to the value passed as an argument.
instance
natural language
decrement
parameter
15. The code (or the person who wrote it) that implements an ADT.
polymorphic
infinite recursion
dictionary
provider
16. A collection of key-value pairs that maps from keys to values.
dictionary
scalar multiplication
modifier
tuple
17. A character or string used to indicate where a string should be split.
command line argument
accumulator
delimiter
dot operator
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)
increment
evaluate
modifier
19. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
expression
tab
element
token
20. A property of a program that can run on more than one kind of computer.
branch
variable name
portability
element
21. To execute a program in a high-level language by translating it one line at a time.
iteration
priority queue
FIFO(First In First Out)
interpret
22. A part of a string (substring) specified by a range of indices.
function call
dictionary
parent
slice
23. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
composition
generalize
boolean function
parse
24. A combination of variables and operators and values that represents a single result value.
operator overloading
source code
algorithm
expression
25. Repeated execution of a set of programming statements.
block
state diagram
pure function
iteration
26. A way of writing mathematical expressions with the operators between the operands.
object-oriented language
cursor
hint
infix
27. 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
clone
directory
operator
28. A function that is defined inside a class definition and is invoked on instances of that class. :override:: To replace a default. Examples include replacing a default parameter with a particular argument and replacing a default method by providing a
command line argument
method
text file
immutable data type
29. Temporary storage of a precomputed value to avoid redundant computation.
interface
hint
condition
method
30. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
class attribute
frame
counter
data type
31. A list that is an element of another list.
object-oriented language
recursion
node
nested list
32. 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.
Queue
accumulator
path
formal language
33. The name and location of a file within a file system.
path
linked list
debugging
comparison operator
34. Given any real numbers a and b exactly one of the following relations holds: a < b or a > b or a = b. Thus when you can establish that two of the relations are false you can assume the remaining one is true. What is it called?
high-level language
preorder
trichotomy
precondition
35. The statement in a recursive function with is a call to itself.
recursive call
operator overloading
body
queue
36. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
path
compile
parse
naming collision
37. The class from which a child class inherits.
overflow
tuple assignment
parent class
postorder
38. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
immutable data type
instantiate
escape sequence
expression
39. One of the operators that combines boolean expressions: and or and not.
helper
logical operator
root
portability
40. To examine a program and analyze the syntactic structure.
binary tree
body
parse
postfix
41. To read a string of characters or tokens and analyze its grammatical structure.
chained conditional
postfix
parse
file system
42. A function that returns a boolean value.
wrapping code in a function
dot product
boolean function
text file
43. Nodes that share a common parent.
siblings
compound statement
parameter
sequence
44. A graphical representation of a stack of functions and their variables and the values to which they refer.
exception
stack diagram
prefix notation
conditional statement
45. A name given to a variable.
script
variable name
Queue
debugging
46. An integer variable or value that indicates an element of a list.
mutable type
random
index
infinite loop
47. 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.
pure function
sequence
semantic error
priority queue
48. The value provided as the result of a function call.
return value
decrement
accumulator
temporary variable
49. The node that refers to a given node.
linked queue
Queue
parent
semantics
50. A variable used to store an intermediate value in a complex calculation.
mapping type
temporary variable
sequence
token