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 user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
constant time
syntax
class
method
2. The ability to define a new class that is a modified version of a previously defined class.
executable
integer division
inheritance
traverse
3. To create a new object that has the same value as an existing object.
clone
high-level language
fruitful function
modulus operator
4. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
implementation
run time error
modulus operator
modifier
5. A signal such as a keyboard press or mouse click or message from another program.
volatile memory
body
event
instance
6. Multiple variables that contain references to the same object.
compile
Queue
high-level language
aliases
7. An operation whose runtime is a linear function of the size of the data structure.
linear time
priority queue
increment
tuple
8. A sequence of one or more characters used to specify the boundary between separate parts of text.
delimiter
class attribute
body
operator
9. To iterate through the elements of a set performing a similar operation on each.
optional parameter
trichotomy
nested loop
traverse
10. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
fundamental ambiguity theorem
variable
mutable type
loop
11. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
volatile memory
initialization method
random
command line
12. 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?
natural language
trichotomy
file
frame
13. There are exactly two boolean values: True and False.
boolean value
non-volatile memory
composition
dot operator
14. A variable or value used to select a member of an ordered set - such as a character from a string.
loop
attribute
index
trace
15. A function that returns a boolean value.
postorder
object
object
boolean function
16. A variable used in a loop to accumulate a series of values - such as by concatenating them onto a string or adding them to a running sum.
planned development
implementation
link
accumulator
17. An error in a program that makes it do something other than what the programmer intended.
modulus operator
prompt
class
semantic error
18. A process for developing a program.
development plan
parameter
prototype development
mode
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).
data type
planned development
frame
prefix notation
20. The process of formulating a problem and finding a solution and expressing the solution.
modifier
docstring
preorder
problem solving
21. An automatic procedure used to validate that individual units of code are working properly.
unit testing
loop variable
directory
immutable data type
22. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
header
nested list
generic data structure
flow of execution
23. An ordered set of objects waiting for a service of some kind.
helper
queue
file system
comparison operator
24. An assertion that must be true in order for a method to work correctly.
precondition
compound statement
trace
chained conditional
25. A variable that is defined inside a class definition but outside any method. These are accessible from any method in the class and are shared by all instances of the class.
class attribute
chained conditional
flow of execution
logical operator
26. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
source code
operator
optional parameter
infinite recursion
27. 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.
frame
wrapper
logical operator
preorder
28. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
parameter
boolean function
delimiter
compile
29. An item of data contained in a node.
list comprehension
cargo
command line argument
linear time
30. To represent one set of values using another set of values by constructing a mapping between them.
pure function
encode
docstring
inorder
31. An organization of data for the purpose of making it easier to use.
provider
instance
data structure
decrement
32. The statement in a recursive function with is a call to itself.
function call
operator
recursive call
expression
33. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
rules of precedence
continue statement
trace
file system
34. 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.
list traversal
abstract data type (ADT)
FIFO(First In First Out)
conditional statement
35. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
wrapper
exception
counter
delimiter
36. A program (or the person who wrote it) that uses an ADT.
unit testing
client
composition
class
37. The statements inside a loop.
body
chained conditional
functional programming style
priority queue
38. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
argv (argument vector)
object
formal language
method
39. A data type in which the values are made up of components or elements that are themselves values.
immutable data type
compound data type
child class
list
40. A way to traverse a tree - visiting each node before its children.
delimiter
preorder
incremental development
variable
41. 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.
event loop
exception
source code
priority queue
42. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
key-value pair
mapping type
algorithm
instance
43. A library is a collection of software used as tools in the development of other software.
loop
inheritance
standard library
attribute
44. A tree in which each node refers to zero or one or two dependent nodes.
multiple assignment
binary tree
siblings
command line
45. Code that satisfies the syntactic and semantic requirements of an interface.
implementation
rules of precedence
subexpression
exception
46. A queueing policy in which the first member to arrive is the first to be removed.
development plan
side effect
FIFO(First In First Out)
parse
47. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
runtime error
Priority Queue
function
immutable data type
48. A special character that causes the cursor to move to the next tab stop on the current line.
tab
interface
exception
queue
49. The process of finding and removing any of the three kinds of programming errors.
parse
hint
dot operator
debugging
50. 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
tab
generalize
element