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 combination of variables and operators and values that represents a single result value.
expression
namespace
compound statement
token
2. A way of developing programs starting with a prototype and gradually testing and improving it.
provider
mode
prototype development
problem solving
3. A new class created by inheriting from an existing class; also called a subclass.
postfix
counter
wrapping code in a function
child class
4. A statement which makes the objects contained in a module available for use within another module.
development plan
immutable
event
import statement
5. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
portability
aliases
infinite recursion
naming collision
6. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
overflow
command line
operator overloading
client
7. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
subexpression
traverse
helper
siblings
8. The node that refers to a given node.
link
decrement
overflow
parent
9. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
high-level language
token
random
argv (argument vector)
10. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
node
decrement
block
method
11. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
escape sequence
singleton
integer division
recursive definition
12. Code that satisfies the syntactic and semantic requirements of an interface.
side effect
binary tree
implementation
immutable data type
13. A variable or value used to select a member of an ordered set - such as a character from a string.
infix
traverse
mutable type
index
14. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
immutable data type
algorithm
trichotomy
logical operator
15. Both as a noun and as a verb - it means to increase by 1.
increment
object-oriented programming
immutable
index
16. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
infinite recursion
invariant
root
event
17. A collection of key-value pairs that maps from keys to values.
linked queue
tab
dictionary
inheritance
18. To create a new object that has the same value as an existing object.
clone
binary tree
linear time
byte code
19. 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.
namespace
accumulator
prompt
mapping type
20. The class from which a child class inherits.
branch
parent class
object-oriented programming
loop
21. The value given to an optional parameter if no argument for it is provided in the function call.
default value
text file
prefix notation
abstraction
22. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
element
assignment statement
method
token
23. A special character that causes the cursor to move to the next tab stop on the current line.
siblings
counter
tab
return value
24. To prevent an exception from terminating a program using the try and except statements.
trace
handle an exception
function
comment
25. Code that is used during program development but is not part of the final version.
body
scaffolding
priority queue
aliases
26. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
preorder
parent
whitespace
algorithm
27. The topmost node in a tree with no parent.
method
pure function
root
frame
28. A data structure that implements a collection using a sequence of linked nodes.
compound statement
linked list
infinite loop
raise
29. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
recursive call
planned development
leaf
syntax error
30. The statements inside a loop.
embedded reference
comparison operator
modulus operator
body
31. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
modulus operator
key-value pair
function
block
32. A programming construct that waits for events and processes them.
incremental development
event loop
parent
compile
33. 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.
formal language
linked list
increment
subexpression
34. A variable defined inside a module - accessed by using the dot operator ( .).
traceback
attribute
tail recursion
command prompt
35. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
naming collision
parent
generic data structure
compound statement
36. A graphical representation of a stack of functions and their variables and the values to which they refer.
condition
stack diagram
linear time
loop variable
37. A character that is used to separate tokens such as punctuation in a natural language.
delimiter
modifier
temporary variable
infinite recursion
38. 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
dead code
cargo
data structure
39. Multiple variables that contain references to the same object.
standard library
multiple assignment
dot notation
aliases
40. A property of a program that can run on more than one kind of computer.
portability
newline
comparison operator
composition (of functions)
41. A special character that causes the cursor to move to the beginning of the next line.
comment
newline
method
algorithm
42. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
method
initialization method
function call
traverse
43. An error in a program that makes it do something other than what the programmer intended.
semantic error
operand
condition
link
44. A parameter written in a function header with an assignment to a default value which it will receive if no corresponding argument is given for it in the function call.
class
optional parameter
header
fundamental ambiguity theorem
45. 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)
object
event
command prompt
46. Using the output from one function call as the input to another.
slice
sequence
function composition
frame
47. A function which has no side effects. It only makes changes to the calling program through its return values.
pure function
prompt
mutable data type
operator overloading
48. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
attribute
parent class
exception
key
49. 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.
boolean expression
low-level language
abstract data type (ADT)
non-volatile memory
50. A list that is an element of another list.
infix
dot operator
standard library
nested list