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. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
compile
file
recursive call
infinite recursion
2. An operation whose runtime does not depend on the size of the data structure.
compile
element
constant time
attribute
3. An expression in parentheses that acts as a single operand in a larger expression.
postfix
wrapping code in a function
class
subexpression
4. The statements inside a loop.
bug
infinite loop
function definition
body
5. The order in which statements are executed during a program run.
flow of execution
infinite loop
boolean function
formal language
6. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
generic data structure
trace
delimiter
chained conditional
7. The ability to define a new class that is a modified version of a previously defined class.
inheritance
attribute
accumulator
variable name
8. A reference stored in an attribute of an object.
flow of execution
embedded reference
natural language
initialization method
9. A way of writing a mathematical expression with each operator appearing before its operands.
prefix notation
escape sequence
composition
body
10. A name that refers to a value.
variable
integer division
trichotomy
abstract data type (ADT)
11. 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.
leaf
mutable data type
class attribute
cargo
12. 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.
block
attribute
side effect
boolean value
13. Using the output from one function call as the input to another.
function composition
pure function
traverse
loop variable
14. A statement which makes the objects contained in a module available for use within another module.
priority queue
event loop
initialization method
import statement
15. 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
conditional statement
list traversal
function call
16. A kind of data structure that can contain data of any type.
list comprehension
child
generic data structure
method
17. The topmost node in a tree with no parent.
comparison operator
expression
root
high-level language
18. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
incremental development
instance
standard library
link
19. A data type which can be modified.
overflow
link
mutable data type
value
20. A collection of key-value pairs that maps from keys to values.
key-value pair
dictionary
method
prefix notation
21. A process for developing a program.
mutable data type
binary tree
development plan
wrapping code in a function
22. A numerical result that is too large to be represented in a numerical format.
overflow
prototype development
return value
embedded reference
23. A recursive call that occurs as the last statement (at the tail) of a function definition.
client
return value
polymorphic
tail recursion
24. An operator that takes two operands.
binary operator
flow of execution
linear time
helper
25. A list that is an element of another list.
compound statement
body
nested list
executable
26. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
loop variable
class
body
operator overloading
27. One of the operators that compares two values: == or != or > or < or >= and <=.
continue statement
clone
comparison operator
cursor
28. An operation whose runtime is a linear function of the size of the data structure.
volatile memory
linear time
incremental development
nested loop
29. 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
veneer
instantiate
helper
30. An object that belongs to a class.
instance
flow of execution
step size
import statement
31. Multiple variables that contain references to the same object.
traverse
constant time
aliases
nested list
32. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
trichotomy
dictionary
pure function
chained conditional
33. A special character that causes the cursor to move to the beginning of the next line.
FIFO(First In First Out)
body
newline
type conversion
34. One of the operators that combines boolean expressions: and or and not.
logical operator
method
cursor
parent class
35. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.
node
veneer
initialization method
natural language
36. A general process for solving a category of problems.
command prompt
list comprehension
default value
algorithm
37. An embedded reference used to link one object to another.
link
index
binary operator
fundamental ambiguity theorem
38. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
function call
infix
dot operator
class attribute
39. The name and location of a file within a file system.
parameter
algorithm
queue
path
40. The second part of a compound statement. The body consists of a sequence of statements all indented the same amount from the beginning of the header.
class
scalar multiplication
postorder
body
41. Use of the dot operator '.' to access functions inside a module.
text file
scalar multiplication
leaf
dot notation
42. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
nested list
rules of precedence
recursive definition
random
43. A thing to which a variable can refer.
subexpression
list traversal
multiple assignment
object
44. A function that yields a return value.
docstring
object
polymorphic
fruitful function
45. A character or string used to indicate where a string should be split.
delimiter
development plan
parameter
postfix
46. Another name for object code that is ready to be executed.
executable
wrapping code in a function
body
delimiter
47. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
FIFO(First In First Out)
function definition
algorithm
binary operator
48. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
formal language
encapsulate
constant
composition
49. Calling one function from within the body of another or using the return value of one function as an argument to the call of another.
function call
encode
text file
composition (of functions)
50. A named collection of objects where each object is identified by an index.
nested loop
list
singleton
Queue