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 reserved word that is used by the compiler to parse program; you cannot use keywords like if or def or while as variable names.
delimiter
data structure
keyword
token
2. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
encapsulate
continue statement
invariant
cargo
3. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
incremental development
sequence
attribute
problem solving
4. Another name for a runtime error.
keyword
non-volatile memory
exception
binary operator
5. To create an instance of a class.
nested loop
body
instantiate
binary operator
6. A name used inside a function to refer to the value passed as an argument.
parameter
increment
run time error
linear time
7. 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.
composition (of functions)
node
slice
step size
8. A data type in which the elements can be modified. It is a compound type - e.g. lists.
conditional statement
mutable type
function call
nested list
9. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.
wrapper
recursion
pure function
binary tree
10. The value given to an optional parameter if no argument for it is provided in the function call.
default value
dot notation
optional parameter
interpret
11. An expression that is either true or false.
encapsulate
inorder
boolean expression
recursive definition
12. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
immutable data type
path
class attribute
argv (argument vector)
13. An error that occurs at runtime.
script
exception
cursor
tuple assignment
14. The class from which a child class inherits.
object code
subexpression
raise
parent class
15. A logical error which stops a program from performing.
wrapping code in a function
logical operator
run time error
root
16. A conditional branch with more than two possible flows of execution.
index
command line argument
chained conditional
function definition
17. To execute a program in a high-level language by translating it one line at a time.
compiler
interpret
boolean function
newline
18. A general process for solving a category of problems.
slice
chained conditional
algorithm
inheritance
19. Making more than one assignment to the same variable during the execution of a program.
traverse
problem solving
object-oriented programming
multiple assignment
20. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
token
step size
block
semantic error
21. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
boolean expression
linear time
method
temporary variable
22. A new class created by inheriting from an existing class; also called a subclass.
random
continue statement
side effect
child class
23. An ordered set of objects waiting for a service of some kind.
operand
queue
overflow
formal language
24. Any of the data types that consist of an ordered set of elements with each element identified by an index.
sequence
data type
siblings
argument
25. The order in which statements are executed during a program run.
low-level language
flow of execution
file
value
26. An error in a program that makes it impossible to parse
default value
preorder
syntax error
body
27. A graphical representation of a stack of functions and their variables and the values to which they refer.
boolean value
stack diagram
program
infix
28. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
priority queue
modulus operator
non-volatile memory
algorithm
29. Generalization by reducing the information content of a concept.
method
abstraction
Queue
boolean value
30. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
semantic error
low-level language
composition
attribute
31. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
sequence
index
cargo
header
32. A step-by-step process for solving a category of problems.
algorithm
dot operator
provider
root
33. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
interface
boolean value
escape sequence
generic data structure
34. A programming construct that waits for events and processes them.
client
keyword
attribute
event loop
35. A special character that causes the cursor to move to the beginning of the next line.
newline
traverse
tuple
nested list
36. An expression in parentheses that acts as a single operand in a larger expression.
wrapping code in a function
command prompt
text file
subexpression
37. 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?
instantiate
function composition
trichotomy
function definition
38. A string displayed by a command line interface indicating that commands can be entered.
command prompt
escape sequence
preorder
element
39. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
development plan
condition
docstring
incremental development
40. Both as a noun and as a verb - it means to increase by 1.
increment
client
dead code
functional programming style
41. An embedded reference used to link one object to another.
nesting
queueing policy
attribute
link
42. The statement in a recursive function with is a call to itself.
siblings
counter
semantic error
recursive call
43. A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.
development plan
pure function
abstract data type (ADT)
modifier
44. A set of values. The type of a value determines how it can be used in expressions. So far the types you have seen are integers (type int) and floating-point numbers (type float) and strings (type str).
attribute
data type
inheritance
key-value pair
45. Repeated execution of a set of programming statements.
encapsulate
iteration
linked queue
unit testing
46. A method for naming and accessing and organizing files and the data they contain.
dot notation
state diagram
file system
evaluate
47. A visual cue that tells the user to input data.
prompt
file system
body
random
48. The set of nodes equidistant from the root.
executable
level
variable name
tab
49. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
dot product
child class
algorithm
path
50. A linked list with a single node.
namespace
block
singleton
side effect