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 code (or the person who wrote it) that implements an ADT.
boolean function
non-volatile memory
provider
byte code
2. An integer variable or value that indicates an element of a list.
modifier
index
keyword
assignment statement
3. The set of nodes equidistant from the root.
function definition
incremental development
level
attribute
4. A statement that assigns a value to a name (variable).
assignment statement
abstraction
embedded reference
infix
5. An automatic procedure used to validate that individual units of code are working properly.
infinite loop
initialization (of a variable)
unit testing
composition
6. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
temporary variable
naming collision
text file
inheritance
7. The rules that determine which member of a queue is removed next.
cursor
queueing policy
node
encode
8. A way of writing mathematical expressions with the operators between the operands.
index
run time error
infix
boolean expression
9. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
compiler
body
frame
instance
10. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
counter
modifier
priority queue
tuple
11. An ADT that defines the operations one might perform on a priority queue.
instance
natural language
condition
Priority Queue
12. A loop inside the body of another loop.
body
script
initialization method
nested loop
13. An invisible marker that keeps track of where the next character will be printed.
function definition
side effect
cursor
dot notation
14. 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
method
siblings
formal language
operator
15. The block of statements in a compound statement that follows the header.
element
command line
body
singleton
16. A programming construct that waits for events and processes them.
traverse
event loop
standard library
scaffolding
17. Another name for a runtime error.
function call
helper
branch
exception
18. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
binary operator
invariant
attribute
modulus operator
19. 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).
mutable data type
data type
inorder
inheritance
20. It prevents a compiler from compiling.
syntactical errors
text file
object
singleton
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.
concatenate
integer division
side effect
prototype development
22. One of the nodes referred to by a node.
counter
run time error
child
Queue
23. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
handle an exception
linear time
standard library
dot product
24. A linked list with a single node.
singleton
concatenate
nesting
scalar multiplication
25. To examine a program and analyze the syntactic structure.
dictionary
parse
trace
conditional statement
26. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
header
debugging
docstring
mutable type
27. To create an instance of a class.
frame
binary operator
instantiate
nested list
28. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
nested loop
root
whitespace
raise
29. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
algorithm
command prompt
decrement
raise
30. An error in a program that makes it do something other than what the programmer intended.
data structure
semantic error
mapping type
frame
31. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
instance
class
syntax error
list
32. A sequence of one or more characters used to specify the boundary between separate parts of text.
delimiter
postfix
path
element
33. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
precondition
token
operator
executable
34. An assertion that must be true in order for a method to work correctly.
command line argument
precondition
volatile memory
program
35. Decrease by 1.
decrement
pure function
formal language
executable
36. To iterate through the elements of a set performing a similar operation on each.
dot product
escape sequence
traverse
boolean function
37. Generalization by reducing the information content of a concept.
abstraction
evaluate
portability
scalar multiplication
38. A variable defined inside a module - accessed by using the dot operator ( .).
attribute
list traversal
natural language
object
39. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
wrapping code in a function
list
function call
body
40. An organization of data for the purpose of making it easier to use.
traverse
interface
data structure
binary tree
41. 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.
abstract data type (ADT)
path
syntax
byte code
42. A statement that consists of two parts: header - which begins with a keyword determining the statement type and ends with a colon. body - containing one or more statements indented the same amount from the header.
compound statement
data type
value
pure function
43. The sequential accessing of each element in a list.
dot product
list traversal
syntactical errors
handle an exception
44. A combination of variables and operators and values that represents a single result value.
newline
expression
subexpression
nesting
45. One of the operators that combines boolean expressions: and or and not.
low-level language
logical operator
Priority Queue
side effect
46. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
debugging
initialization method
index
data structure
47. A named collection of objects where each object is identified by an index.
natural language
data structure
list
parent class
48. An object that belongs to a class.
frame
implementation
instance
command line argument
49. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
postfix
body
inorder
state diagram
50. A thing to which a variable can refer.
object
linked queue
method
value