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 process for developing a program.
bug
development plan
traceback
initialization (of a variable)
2. An error in a program that makes it do something other than what the programmer intended.
abstract data type (ADT)
initialization method
test-driven development (TDD)
semantic error
3. An item of data contained in a node.
command line argument
cargo
keyword
newline
4. A program stored in a file (usually one that will be interpreted).
composition
dictionary
script
multiple assignment
5. Both as a noun and as a verb - it means to increase by 1.
link
formal language
increment
script
6. Use of the dot operator '.' to access functions inside a module.
subexpression
wrapping code in a function
method
dot notation
7. A group of consecutive statements with the same indentation.
data structure
block
attribute
function composition
8. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
modulus operator
function composition
infinite recursion
tuple
9. The meaning of a program.
initialization (of a variable)
semantics
infinite loop
tuple
10. One of the operators that compares two values: == or != or > or < or >= and <=.
class attribute
parent class
comparison operator
multiple assignment
11. A variable or value used to select a member of an ordered set - such as a character from a string.
multiple assignment
index
pure function
data structure
12. Decrease by 1.
modifier
compound data type
decrement
concatenate
13. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
instance
planned development
immutable
executable
14. To prevent an exception from terminating a program using the try and except statements.
handle an exception
object code
prefix notation
incremental development
15. The set of nodes equidistant from the root.
implementation
type conversion
level
object
16. To read a string of characters or tokens and analyze its grammatical structure.
parse
node
command line
dead code
17. 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.
compound data type
interpret
object-oriented language
accumulator
18. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
priority queue
whitespace
source code
operator
19. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
aliases
infix
naming collision
scaffolding
20. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
invariant
naming collision
script
nested loop
21. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
helper
Queue
postorder
linked list
22. A name given to a variable.
recursive definition
fruitful function
variable name
encapsulate
23. A string displayed by a command line interface indicating that commands can be entered.
command prompt
nested list
argument
object-oriented language
24. An invisible marker that keeps track of where the next character will be printed.
cursor
text file
object code
type conversion
25. A statement that controls the flow of execution depending on some condition.
instance
conditional statement
class
evaluate
26. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
syntax
docstring
initialization method
script
27. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
temporary variable
argument
function definition
nested loop
28. An integer variable or value that indicates an element of a list.
fundamental ambiguity theorem
index
random
logical operator
29. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
incremental development
child class
planned development
newline
30. An operation whose runtime does not depend on the size of the data structure.
semantic error
constant time
bug
provider
31. A kind of data structure that can contain data of any type.
handle an exception
function
clone
generic data structure
32. A visual cue that tells the user to input data.
nested list
prompt
prototype development
encapsulate
33. One of the named data items that makes up an instance.
rules of precedence
hint
subexpression
attribute
34. To examine a program and analyze the syntactic structure.
local variable
parse
token
default value
35. An error in a program.
prototype development
bug
local variable
object-oriented language
36. A program in a high-level language before being compiled.
tuple assignment
source code
function composition
constant time
37. A loop in which the terminating condition is never satisfied.
dot product
formal language
infinite loop
class
38. Part of a program that can never be executed - often because it appears after a return statement.
index
initialization method
dead code
client
39. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
step size
argument
token
event loop
40. A reference to a list node can be treated as a single object or as the first in a list of nodes.
cargo
byte code
fundamental ambiguity theorem
condition
41. To signal an exception using the raise statement.
hint
method
raise
logical operator
42. An expression that is either true or false.
siblings
boolean expression
priority queue
mutable data type
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.
source code
token
abstract data type (ADT)
overflow
44. A character or string used to indicate where a string should be split.
object-oriented language
whitespace
delimiter
pure function
45. To join two strings end-to-end.
linked list
evaluate
concatenate
counter
46. A data type in which the values are made up of components or elements that are themselves values.
modifier
comparison operator
compound data type
index
47. A conditional branch with more than two possible flows of execution.
abstract data type (ADT)
chained conditional
local variable
initialization (of a variable)
48. A data type comprised of a collection of keys and associated values.
prefix notation
child class
token
mapping type
49. To create an instance of a class.
abstract data type (ADT)
tuple
instantiate
method
50. A program (or the person who wrote it) that uses an ADT.
client
whitespace
immutable
function definition