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 set of instructions for solving a class of problems by a mechanical and unintelligent process.
condition
list
rules of precedence
algorithm
2. A general process for solving a category of problems.
algorithm
data structure
program
nesting
3. A reference to a list node can be treated as a single object or as the first in a list of nodes.
class attribute
queueing policy
fundamental ambiguity theorem
parse
4. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
standard library
composition
dot operator
function call
5. The sequential accessing of each element in a list.
argv (argument vector)
command prompt
stack diagram
list traversal
6. A compound data type whose elements cannot be assigned new values.
recursive call
immutable
docstring
prototype development
7. A string displayed by a command line interface indicating that commands can be entered.
command prompt
algorithm
event
type conversion
8. A variable used as part of the terminating condition of a loop.
loop variable
variable name
leaf
prefix notation
9. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
mutable data type
value
modifier
stack diagram
10. The set of operations that define an ADT.
interface
syntactical errors
file system
node
11. The statements inside a loop.
exception
body
command prompt
dot operator
12. The ability to define a new class that is a modified version of a previously defined class.
operator overloading
subexpression
functional programming style
inheritance
13. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
interpret
key
prototype development
queue
14. A way to traverse a tree - visiting each node before its children.
Priority Queue
unit testing
preorder
type conversion
15. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
cursor
compile
priority queue
infinite recursion
16. The value provided as the result of a function call.
tuple
return value
naming collision
recursion
17. A character or string used to indicate where a string should be split.
delimiter
root
method
composition
18. The node that refers to a given node.
algorithm
nested list
parent
trichotomy
19. 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.
composition (of functions)
preorder
priority queue
queueing policy
20. It prevents a compiler from compiling.
import statement
syntactical errors
tab
syntax error
21. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
loop
attribute
whitespace
recursive definition
22. A variable or value used to select a member of an ordered set - such as a character from a string.
chained conditional
index
mode
block
23. A logical error which stops a program from performing.
run time error
compile
incremental development
concatenate
24. A kind of data structure that can contain data of any type.
generic data structure
state diagram
command prompt
instance
25. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
initialization (of a variable)
continue statement
event
helper
26. The output of the compiler after it translates the program.
parameter
object code
syntax
linked list
27. A data type in which the values are made up of components or elements that are themselves values.
object
body
preorder
compound data type
28. A data type in which the elements can be modified. It is a compound type - e.g. lists.
function definition
delimiter
boolean function
mutable type
29. A variable defined inside a function. A local variable can only be used inside its function.
integer division
local variable
boolean value
FIFO(First In First Out)
30. Using the output from one function call as the input to another.
pure function
recursive definition
function composition
parameter
31. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
header
token
default value
value
32. A way of writing a mathematical expression with each operator appearing before its operands.
client
random
hint
prefix notation
33. 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
instantiate
hint
high-level language
34. A conditional branch with more than two possible flows of execution.
recursive call
body
loop
chained conditional
35. Having no specific pattern. Unpredictable.
argv (argument vector)
random
compile
event
36. The meaning of a program.
polymorphic
client
semantics
subexpression
37. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
increment
encode
low-level language
whitespace
38. To create an instance of a class.
class
root
instantiate
runtime error
39. To create a new object that has the same value as an existing object.
recursion
local variable
clone
event loop
40. The dot operator ( .) permits access to attributes and functions of a module.
binary operator
dot operator
overflow
tail recursion
41. An invisible marker that keeps track of where the next character will be printed.
data structure
condition
cursor
command line
42. A numerical value that does not change during the execution of a program.
conditional statement
constant
type conversion
condition
43. To execute a program in a high-level language by translating it one line at a time.
run time error
interpret
scalar multiplication
leaf
44. A function that yields a return value.
trichotomy
fruitful function
wrapping code in a function
state diagram
45. An error in a program that makes it do something other than what the programmer intended.
algorithm
semantic error
generalize
decrement
46. An object that belongs to a class.
path
binary operator
instance
exception
47. A statement that assigns a value to a name (variable).
standard library
naming collision
assignment statement
flow of execution
48. A bottom-most node in a tree with no children.
sequence
expression
leaf
optional parameter
49. A style of program design in which the majority of functions are pure.
logical operator
dot product
default value
functional programming style
50. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
node
evaluate
runtime error
condition