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. Another name for object code that is ready to be executed.
value
executable
default value
delimiter
2. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
step size
key
argv (argument vector)
variable name
3. To iterate through the elements of a set performing a similar operation on each.
branch
traverse
object code
syntax error
4. A function that can operate on more than one type. If all the operations in a function can be applied to a type then the function can be applied to a type.
FIFO(First In First Out)
trace
accumulator
polymorphic
5. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
link
step size
method
expression
6. The meaning of a program.
algorithm
comment
increment
semantics
7. An error that does not occur until the program has started to execute but that prevents the program from continuing.
compiler
modifier
runtime error
escape sequence
8. A part of a string (substring) specified by a range of indices.
recursive definition
scalar multiplication
helper
slice
9. An error in a program that makes it do something other than what the programmer intended.
file system
semantic error
event loop
tail recursion
10. A way of writing mathematical expressions with the operators between the operands.
infix
FIFO(First In First Out)
expression
rules of precedence
11. A sequence of one or more characters used to specify the boundary between separate parts of text.
base case
attribute
delimiter
naming collision
12. A statement that assigns a value to a name (variable).
base case
assignment statement
side effect
source code
13. A data type in which the values are made up of components or elements that are themselves values.
token
prompt
variable
compound data type
14. Using the output from one function call as the input to another.
function composition
prototype development
invariant
attribute
15. A string displayed by a command line interface indicating that commands can be entered.
command prompt
body
parse
executable
16. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
compound data type
evaluate
abstraction
initialization method
17. A compound data type whose elements cannot be assigned new values.
tuple
loop
immutable
naming collision
18. A method for naming and accessing and organizing files and the data they contain.
class
file system
debugging
method
19. An implementation of a queue using a linked list.
standard library
syntax error
import statement
linked queue
20. Any of the data types that consist of an ordered set of elements with each element identified by an index.
sequence
counter
increment
Queue
21. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
token
incremental development
problem solving
child
22. A reference to a list node can be treated as a single object or as the first in a list of nodes.
formal language
fundamental ambiguity theorem
immutable data type
accumulator
23. A process for developing a program.
development plan
naming collision
prefix notation
frame
24. A data type which can be modified.
mutable data type
condition
attribute
scalar multiplication
25. A bottom-most node in a tree with no children.
header
data structure
leaf
body
26. A way to traverse a tree - visiting each node before its children.
encode
preorder
command line
parse
27. One of the possible paths of the flow of execution determined by conditional execution.
tuple
traverse
branch
invariant
28. 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?
event
variable
natural language
trichotomy
29. A variable defined inside a module - accessed by using the dot operator ( .).
attribute
syntax
constant
composition (of functions)
30. An operation whose runtime is a linear function of the size of the data structure.
immutable data type
boolean expression
linear time
non-volatile memory
31. A new class created by inheriting from an existing class; also called a subclass.
namespace
child class
initialization method
local variable
32. The interval between successive elements of a linear sequence. The third (and optional argument) to the range function is called the step size. If not specified it defaults to 1.
preorder
variable name
mutable data type
step size
33. A statement that controls the flow of execution depending on some condition.
program
escape sequence
syntax error
conditional statement
34. A reference stored in an attribute of an object.
embedded reference
comparison operator
mutable type
preorder
35. To join two strings end-to-end.
expression
concatenate
integer division
keyword
36. A logical error which stops a program from performing.
run time error
return value
trace
attribute
37. The set of nodes equidistant from the root.
local variable
level
boolean function
semantic error
38. An ADT that performs the operations one might perform on a queue.
side effect
import statement
Queue
block
39. A way of writing mathematical expressions with the operators after the operands.
dot notation
multiple assignment
postfix
object-oriented programming
40. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
boolean function
key-value pair
dead code
type conversion
41. A name given to a variable.
method
frame
variable name
delimiter
42. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
expression
implementation
constant time
planned development
43. A name that refers to a value.
prompt
variable
mode
traceback
44. A list that is an element of another list.
nested list
import statement
boolean function
body
45. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
subexpression
exception
infinite recursion
branch
46. An operation that divides one integer by another and yields an integer. Integer division yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.
initialization method
flow of execution
element
integer division
47. A special character that causes the cursor to move to the next tab stop on the current line.
tab
attribute
object
instance
48. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.
exception
modifier
mode
file
49. Making more than one assignment to the same variable during the execution of a program.
child class
raise
step size
multiple assignment
50. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
escape sequence
dot operator
object code
rules of precedence