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 queueing policy in which the first member to arrive is the first to be removed.
delimiter
command line
FIFO(First In First Out)
expression
2. A statement that causes the current iteration of a loop to end.
pure function
continue statement
parent class
byte code
3. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
frame
newline
trichotomy
mutable type
4. A special character that causes the cursor to move to the beginning of the next line.
nesting
newline
parse
method
5. A linked list with a single node.
interpret
inorder
semantics
singleton
6. An ADT that performs the operations one might perform on a queue.
Queue
mutable data type
mapping type
modifier
7. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
modifier
node
script
provider
8. A string displayed by a command line interface indicating that commands can be entered.
command prompt
constant
file
increment
9. 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.
key-value pair
recursion
integer division
test-driven development (TDD)
10. Multiple variables that contain references to the same object.
syntactical errors
functional programming style
generic data structure
aliases
11. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
algorithm
infinite recursion
rules of precedence
compile
12. The topmost node in a tree with no parent.
high-level language
method
root
loop
13. A set of values. The type of a value determines how it can be used in expressions. So far the types you have seen are integers (type int) and floating-point numbers (type float) and strings (type str).
file
abstract data type (ADT)
data type
immutable data type
14. A style of program design in which the majority of functions are pure.
temporary variable
text file
functional programming style
initialization (of a variable)
15. An error in a program that makes it impossible to parse
raise
operand
syntax error
local variable
16. 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.
recursion
cargo
class attribute
inheritance
17. The sequential accessing of each element in a list.
data type
loop
list traversal
traceback
18. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
sequence
command line argument
tuple assignment
continue statement
19. A loop inside the body of another loop.
nested loop
recursive call
accumulator
object-oriented language
20. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
random
initialization (of a variable)
prototype development
command prompt
21. A function that returns a boolean value.
boolean expression
flow of execution
boolean function
fundamental ambiguity theorem
22. A step-by-step process for solving a category of problems.
encode
mutable data type
whitespace
algorithm
23. Part of a program that can never be executed - often because it appears after a return statement.
instance
dead code
value
nested list
24. To examine a program and analyze the syntactic structure.
evaluate
semantics
continue statement
parse
25. A function that yields a return value.
function call
delimiter
fruitful function
instance
26. The set of nodes equidistant from the root.
clone
class
level
prompt
27. A conditional branch with more than two possible flows of execution.
chained conditional
token
tab
token
28. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
keyword
naming collision
assignment statement
object-oriented programming
29. To prevent an exception from terminating a program using the try and except statements.
handle an exception
prototype development
fruitful function
singleton
30. The class from which a child class inherits.
loop
parent class
dictionary
parameter
31. A reference to a list node can be treated as a single object or as the first in a list of nodes.
boolean function
fundamental ambiguity theorem
body
docstring
32. A program stored in a file (usually one that will be interpreted).
run time error
token
script
handle an exception
33. A statement that assigns a value to a name (variable).
child class
boolean expression
assignment statement
list
34. A method for naming and accessing and organizing files and the data they contain.
file system
token
algorithm
list traversal
35. The dot operator ( .) permits access to attributes and functions of a module.
dot operator
abstract data type (ADT)
class
sequence
36. A way to traverse a tree - visiting the children of each node before the node itself.
traceback
postorder
problem solving
flow of execution
37. A property of a program that can run on more than one kind of computer.
linear time
portability
initialization (of a variable)
non-volatile memory
38. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
dot product
postorder
wrapping code in a function
temporary variable
39. To replace something unnecessarily specific (like a constant value) with something appropriately general (like a variable or parameter). It makes code more versatile - more likely to be reused and sometimes even easier to write.
generalize
body
Queue
loop variable
40. A combination of variables and operators and values that represents a single result value.
comment
mapping type
level
expression
41. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
modifier
accumulator
conditional statement
object
42. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
class
polymorphic
immutable data type
source code
43. The value given to an optional parameter if no argument for it is provided in the function call.
delimiter
default value
naming collision
key
44. The meaning of a program.
semantics
byte code
executable
natural language
45. There are exactly two boolean values: True and False.
data structure
syntax error
boolean value
high-level language
46. An error in a program.
stack diagram
bug
header
command prompt
47. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
algorithm
variable
recursion
list comprehension
48. 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.
mutable type
token
test-driven development (TDD)
object-oriented language
49. The rules that determine which member of a queue is removed next.
encapsulate
body
algorithm
queueing policy
50. A reference stored in an attribute of an object.
embedded reference
linear time
queue
attribute