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. The set of operations that define an ADT.
function
counter
cursor
interface
2. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
queueing policy
algorithm
body
non-volatile memory
3. 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.
tuple
wrapper
stack diagram
token
4. The second part of a compound statement. The body consists of a sequence of statements all indented the same amount from the beginning of the header.
naming collision
body
escape sequence
standard library
5. One of the values on which an operator operates.
path
planned development
operand
subexpression
6. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
tuple assignment
functional programming style
function call
source code
7. a sequence of instructions that specifies to a computer actions and computations to be performed.
dot operator
state diagram
condition
program
8. A step-by-step process for solving a category of problems.
bug
algorithm
branch
event loop
9. A combination of variables and operators and values that represents a single result value.
embedded reference
linked list
expression
trace
10. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
root
assignment statement
naming collision
initialization (of a variable)
11. 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
continue statement
abstract data type (ADT)
queueing policy
12. A function which has no side effects. It only makes changes to the calling program through its return values.
compile
provider
pure function
counter
13. An error in a program.
parent
compiler
constant
bug
14. The topmost node in a tree with no parent.
fruitful function
root
client
mutable data type
15. A style of program design in which the majority of functions are pure.
functional programming style
delimiter
argument
tail recursion
16. A new class created by inheriting from an existing class; also called a subclass.
child class
docstring
bug
continue statement
17. There are exactly two boolean values: True and False.
delimiter
boolean value
parent class
siblings
18. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
function call
sequence
list comprehension
node
19. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
executable
key
default value
algorithm
20. An implementation of a queue using a linked list.
linked queue
wrapping code in a function
parse
concatenate
21. The set of nodes equidistant from the root.
invariant
assignment statement
level
parent class
22. The dot operator ( .) permits access to attributes and functions of a module.
pure function
Queue
polymorphic
dot operator
23. An automatic procedure used to validate that individual units of code are working properly.
unit testing
function call
counter
veneer
24. A way to traverse a tree - visiting each node before its children.
high-level language
preorder
recursive call
return value
25. A statement that assigns a value to a name (variable).
parse
assignment statement
veneer
abstraction
26. The rules that determine which member of a queue is removed next.
queueing policy
instantiate
boolean expression
argv (argument vector)
27. A reference to a list node can be treated as a single object or as the first in a list of nodes.
child class
fundamental ambiguity theorem
initialization (of a variable)
object code
28. One of the operators that combines boolean expressions: and or and not.
temporary variable
rules of precedence
logical operator
semantics
29. 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
Priority Queue
initialization (of a variable)
import statement
30. Temporary storage of a precomputed value to avoid redundant computation.
functional programming style
hint
standard library
linked list
31. A variable used to store an intermediate value in a complex calculation.
function
sequence
temporary variable
token
32. A data type comprised of a collection of keys and associated values.
generalize
mapping type
leaf
invariant
33. To examine a program and analyze the syntactic structure.
inorder
parse
nested list
generalize
34. To simplify an expression by performing the operations in order to yield a single value.
generalize
evaluate
interface
concatenate
35. One of the operators that compares two values: == or != or > or < or >= and <=.
operator
root
raise
comparison operator
36. The sequential accessing of each element in a list.
object-oriented programming
list traversal
functional programming style
modulus operator
37. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.
object-oriented language
key
pure function
concatenate
38. To prevent an exception from terminating a program using the try and except statements.
child
handle an exception
syntactical errors
encapsulate
39. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
operator
variable
linked list
rules of precedence
40. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.
loop variable
formal language
assignment statement
function definition
41. An error in a program that makes it impossible to parse
scalar multiplication
side effect
syntax error
initialization method
42. A function that returns a boolean value.
boolean function
constant time
function
interface
43. 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.
siblings
flow of execution
step size
nesting
44. A name given to a variable.
keyword
queue
command line
variable name
45. Having no specific pattern. Unpredictable.
development plan
command line
random
modulus operator
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.
concatenate
initialization method
algorithm
function
47. A way of writing a mathematical expression with each operator appearing before its operands.
exception
prefix notation
path
generalize
48. Another name for object code that is ready to be executed.
modulus operator
executable
function composition
data structure
49. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
dot product
return value
accumulator
trace
50. An expression that is either true or false.
prompt
boolean expression
recursive call
incremental development