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 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.
operand
counter
recursive definition
veneer
2. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
counter
linked list
compiler
development plan
3. 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.
prototype development
file system
composition (of functions)
generic data structure
4. A function which has no side effects. It only makes changes to the calling program through its return values.
pure function
local variable
return value
hint
5. Nodes that share a common parent.
binary operator
child
level
siblings
6. A variable defined inside a function. A local variable can only be used inside its function.
command line
local variable
provider
parent
7. A new class created by inheriting from an existing class; also called a subclass.
child class
prototype development
algorithm
iteration
8. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
newline
inorder
fruitful function
linked queue
9. The sequence of characters read into the command interpreter in a command line interface.
infinite loop
command line
token
precondition
10. One of the operators that compares two values: == or != or > or < or >= and <=.
path
comparison operator
leaf
logical operator
11. A graphical representation of a set of variables and the values to which they refer.
high-level language
state diagram
handle an exception
accumulator
12. An operation that divides one integer by another and yields an integer. Integer division yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.
step size
object code
integer division
method
13. It prevents a compiler from compiling.
syntactical errors
argument
non-volatile memory
accumulator
14. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
list comprehension
Queue
function
program
15. A numerical result that is too large to be represented in a numerical format.
function definition
overflow
infinite recursion
increment
16. A thing to which a variable can refer.
constant
object
stack diagram
immutable data type
17. An operation whose runtime does not depend on the size of the data structure.
increment
constant time
naming collision
function definition
18. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
immutable
aliases
operator
embedded reference
19. A data structure that implements a collection using a sequence of linked nodes.
parse
linked list
provider
random
20. A bottom-most node in a tree with no children.
leaf
index
singleton
tail recursion
21. To examine a program and analyze the syntactic structure.
wrapper
parse
multiple assignment
optional parameter
22. A collection of key-value pairs that maps from keys to values.
subexpression
method
nested loop
dictionary
23. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
parameter
nesting
side effect
optional parameter
24. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
delimiter
syntactical errors
veneer
frame
25. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
recursive definition
nested loop
delimiter
interpret
26. The order in which statements are executed during a program run.
object-oriented programming
flow of execution
algorithm
runtime error
27. A program that translates higher level programming languages into basic instructions the CPU can understand.
prefix notation
compiler
function definition
escape sequence
28. A list that is an element of another list.
nested list
traceback
local variable
modifier
29. The process of formulating a problem and finding a solution and expressing the solution.
attribute
boolean function
prefix notation
problem solving
30. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
local variable
list
token
compile
31. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
operator overloading
compile
loop
parse
32. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
functional programming style
debugging
list traversal
modifier
33. An item of data contained in a node.
cargo
parent class
element
event loop
34. One of the named data items that makes up an instance.
infix
algorithm
attribute
unit testing
35. A name used inside a function to refer to the value passed as an argument.
prompt
parameter
iteration
escape sequence
36. The process of calling the function that is currently executing.
parse
logical operator
immutable data type
recursion
37. a sequence of instructions that specifies to a computer actions and computations to be performed.
return value
boolean value
program
class
38. A name that refers to a value.
method
test-driven development (TDD)
subexpression
variable
39. A data type comprised of a collection of keys and associated values.
mapping type
interface
constant time
compound data type
40. The interval between successive elements of a linear sequence. The third (and optional argument) to the range function is called the step size. If not specified it defaults to 1.
branch
exception
generic data structure
step size
41. The statements inside a loop.
runtime error
flow of execution
body
initialization method
42. A variable used to store an intermediate value in a complex calculation.
temporary variable
mapping type
clone
formal language
43. A loop in which the terminating condition is never satisfied.
type conversion
infinite loop
command line
slice
44. An error in a program that makes it do something other than what the programmer intended.
fruitful function
semantic error
class
list comprehension
45. One of the values on which an operator operates.
operand
decrement
provider
syntactical errors
46. 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.
class
function
event
FIFO(First In First Out)
47. Making more than one assignment to the same variable during the execution of a program.
multiple assignment
veneer
chained conditional
queue
48. 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.
operand
boolean function
priority queue
postorder
49. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
prefix notation
low-level language
modulus operator
iteration
50. An implementation of a queue using a linked list.
optional parameter
postorder
postfix
linked queue