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 program stored in a file (usually one that will be interpreted).
loop variable
interface
object
script
2. The value provided as the result of a function call.
return value
linear time
chained conditional
traverse
3. Using the output from one function call as the input to another.
debugging
recursion
high-level language
function composition
4. A variable used to store an intermediate value in a complex calculation.
temporary variable
invariant
class
byte code
5. A branch of the conditional statement in a recursive function that does not result in a recursive call.
base case
boolean value
assignment statement
postorder
6. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
immutable
byte code
source code
element
7. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
concatenate
planned development
instantiate
source code
8. A way of writing mathematical expressions with the operators between the operands.
infix
command line argument
data structure
keyword
9. Temporary storage of a precomputed value to avoid redundant computation.
rules of precedence
clone
file system
hint
10. The value given to an optional parameter if no argument for it is provided in the function call.
fundamental ambiguity theorem
encapsulate
cursor
default value
11. A program (or the person who wrote it) that uses an ADT.
boolean expression
unit testing
client
sequence
12. An operation whose runtime does not depend on the size of the data structure.
volatile memory
script
constant time
handle an exception
13. A logical error which stops a program from performing.
hint
handle an exception
raise
run time error
14. Decrease by 1.
abstraction
Queue
trace
decrement
15. Nodes that share a common parent.
priority queue
provider
initialization (of a variable)
siblings
16. A step-by-step process for solving a category of problems.
program
command prompt
algorithm
prototype development
17. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
low-level language
abstract data type (ADT)
frame
initialization method
18. An expression in parentheses that acts as a single operand in a larger expression.
exception
runtime error
nested loop
subexpression
19. The node that refers to a given node.
value
command prompt
wrapping code in a function
parent
20. A character or string used to indicate where a string should be split.
dot operator
veneer
delimiter
decrement
21. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.
base case
list comprehension
return value
tuple
22. A signal such as a keyboard press or mouse click or message from another program.
comment
subexpression
event
index
23. A group of consecutive statements with the same indentation.
wrapper
portability
block
parent
24. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
dot notation
chained conditional
tab
argument
25. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
variable name
immutable
functional programming style
docstring
26. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
immutable data type
leaf
level
compile
27. A string displayed by a command line interface indicating that commands can be entered.
exception
logical operator
algorithm
command prompt
28. The output of the compiler after it translates the program.
operand
generalize
function composition
object code
29. A loop inside the body of another loop.
clone
nested loop
object-oriented programming
sequence
30. A sequence of one or more characters used to specify the boundary between separate parts of text.
delimiter
path
import statement
flow of execution
31. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
composition (of functions)
argv (argument vector)
low-level language
queueing policy
32. The topmost node in a tree with no parent.
root
compiler
traverse
compound data type
33. Part of a program that can never be executed - often because it appears after a return statement.
function
compiler
dead code
executable
34. The order in which statements are executed during a program run.
attribute
stack diagram
cargo
flow of execution
35. 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.
formal language
syntactical errors
side effect
command prompt
36. An item of data contained in a node.
level
base case
cargo
compound data type
37. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
method
value
overflow
mutable data type
38. Another name for object code that is ready to be executed.
problem solving
accumulator
executable
abstraction
39. A compound data type whose elements cannot be assigned new values.
base case
immutable
evaluate
non-volatile memory
40. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
function
key
argument
attribute
41. A name used inside a function to refer to the value passed as an argument.
object code
hint
inorder
parameter
42. A queueing policy in which the first member to arrive is the first to be removed.
FIFO(First In First Out)
local variable
interpret
concatenate
43. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
recursion
temporary variable
pure function
object-oriented programming
44. One of the values on which an operator operates.
object
operand
value
high-level language
45. A function that returns a boolean value.
tail recursion
immutable data type
boolean function
operand
46. A list of the functions that are executing - printed when a runtime error occurs. Also commonly refered to as a stack trace since it lists the functions in the order in which they are stored in the runtime stack.
traceback
default value
optional parameter
semantic error
47. An operator that takes two operands.
element
queueing policy
command line
binary operator
48. Code that satisfies the syntactic and semantic requirements of an interface.
scaffolding
interpret
object
implementation
49. A graphical representation of a set of variables and the values to which they refer.
branch
state diagram
portability
element
50. There are exactly two boolean values: True and False.
data structure
compile
boolean value
child