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. Code that satisfies the syntactic and semantic requirements of an interface.
unit testing
implementation
compound statement
wrapper
2. An ADT that defines the operations one might perform on a priority queue.
mutable type
expression
polymorphic
Priority Queue
3. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
logical operator
FIFO(First In First Out)
exception
immutable data type
4. A named collection of files - also called a folder.
prefix notation
function
modifier
directory
5. A thing to which a variable can refer.
inorder
object
prefix notation
modulus operator
6. 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.
syntax error
parent
dictionary
composition (of functions)
7. A collection of key-value pairs that maps from keys to values.
docstring
high-level language
dictionary
compound statement
8. The dot operator ( .) permits access to attributes and functions of a module.
decrement
abstraction
dot operator
attribute
9. The meaning of a program.
syntactical errors
incremental development
semantics
high-level language
10. The output of the compiler after it translates the program.
counter
development plan
composition
object code
11. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
docstring
mapping type
header
composition
12. A recursive call that occurs as the last statement (at the tail) of a function definition.
tail recursion
compound data type
linear time
parent class
13. A property of a program that can run on more than one kind of computer.
portability
parse
counter
aliases
14. An invisible marker that keeps track of where the next character will be printed.
algorithm
dot product
cursor
incremental development
15. An operation whose runtime is a linear function of the size of the data structure.
scalar multiplication
traceback
tab
linear time
16. Making more than one assignment to the same variable during the execution of a program.
traceback
sequence
multiple assignment
data structure
17. A function that returns a boolean value.
initialization (of a variable)
method
loop variable
boolean function
18. 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.
test-driven development (TDD)
Priority Queue
value
continue statement
19. 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
composition
method
counter
subexpression
20. A part of a string (substring) specified by a range of indices.
default value
slice
operand
comparison operator
21. 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.
unit testing
side effect
semantics
argument
22. An automatic procedure used to validate that individual units of code are working properly.
unit testing
function composition
modulus operator
compiler
23. A statement that controls the flow of execution depending on some condition.
object-oriented language
function definition
postorder
conditional statement
24. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
escape sequence
command line argument
list comprehension
encapsulate
25. A process for developing a program.
composition
aliases
development plan
method
26. A name used inside a function to refer to the value passed as an argument.
trichotomy
wrapper
implementation
parameter
27. The block of statements in a compound statement that follows the header.
boolean value
body
key
tuple
28. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
key-value pair
concatenate
test-driven development (TDD)
incremental development
29. The node that refers to a given node.
assignment statement
parent
argument
wrapping code in a function
30. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.
file
natural language
return value
trichotomy
31. A reference to a list node can be treated as a single object or as the first in a list of nodes.
syntax
child class
fundamental ambiguity theorem
function composition
32. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
infinite loop
type conversion
element
comparison operator
33. 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.
file
priority queue
binary operator
dead code
34. 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.
polymorphic
function
clone
runtime error
35. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
file
key
traverse
linked list
36. An error that occurs at runtime.
path
comparison operator
compound statement
exception
37. The process of adding a function header and parameters to a sequence of program statements. This process is very useful whenever the program statements in question are going to be used multiple times.
algorithm
dot product
wrapping code in a function
client
38. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
semantics
Queue
encapsulate
scalar multiplication
39. To simplify an expression by performing the operations in order to yield a single value.
generic data structure
evaluate
cursor
formal language
40. A loop inside the body of another loop.
planned development
nesting
nested loop
precondition
41. A way to traverse a tree - visiting the children of each node before the node itself.
file
generic data structure
postorder
function composition
42. A loop in which the terminating condition is never satisfied.
syntactical errors
postorder
infinite loop
exception
43. A named collection of objects where each object is identified by an index.
list
postfix
stack diagram
text file
44. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
program
token
constant time
algorithm
45. A visual cue that tells the user to input data.
delimiter
tuple assignment
pure function
prompt
46. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
planned development
incremental development
siblings
nested list
47. A variable or value used to select a member of an ordered set - such as a character from a string.
wrapping code in a function
index
raise
escape sequence
48. A variable used to store an intermediate value in a complex calculation.
integer division
temporary variable
class
composition (of functions)
49. Temporary storage of a precomputed value to avoid redundant computation.
hint
cargo
random
exception
50. A statement which makes the objects contained in a module available for use within another module.
import statement
algorithm
data type
FIFO(First In First Out)