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. An organization of data for the purpose of making it easier to use.
data structure
command line
nesting
flow of execution
2. A string displayed by a command line interface indicating that commands can be entered.
command prompt
volatile memory
object-oriented language
delimiter
3. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
attribute
wrapping code in a function
infinite recursion
namespace
4. The dot operator ( .) permits access to attributes and functions of a module.
frame
problem solving
dot operator
tail recursion
5. A method for naming and accessing and organizing files and the data they contain.
docstring
file system
optional parameter
path
6. To signal an exception using the raise statement.
raise
argument
recursive call
temporary variable
7. A group of consecutive statements with the same indentation.
boolean function
block
data structure
unit testing
8. A name used inside a function to refer to the value passed as an argument.
docstring
parameter
attribute
prototype development
9. A data type in which the elements can be modified. It is a compound type - e.g. lists.
mutable type
traceback
overflow
veneer
10. A function which has no side effects. It only makes changes to the calling program through its return values.
pure function
whitespace
multiple assignment
unit testing
11. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
temporary variable
problem solving
header
parameter
12. The class from which a child class inherits.
stack diagram
parent class
prefix notation
command line argument
13. The value provided as the result of a function call.
veneer
script
return value
pure function
14. A branch of the conditional statement in a recursive function that does not result in a recursive call.
base case
state diagram
leaf
wrapping code in a function
15. An operation whose runtime is a linear function of the size of the data structure.
clone
side effect
linear time
Priority Queue
16. A bottom-most node in a tree with no children.
leaf
siblings
exception
compiler
17. A library is a collection of software used as tools in the development of other software.
standard library
delimiter
handle an exception
parameter
18. An ADT that performs the operations one might perform on a queue.
naming collision
Queue
object
increment
19. One of the values on which an operator operates.
syntax error
parent class
flow of execution
operand
20. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
class attribute
nested loop
volatile memory
generalize
21. To read a string of characters or tokens and analyze its grammatical structure.
parse
veneer
script
pure function
22. A part of a string (substring) specified by a range of indices.
source code
command line argument
slice
keyword
23. 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.
class attribute
postorder
object code
scalar multiplication
24. An automatic procedure used to validate that individual units of code are working properly.
composition (of functions)
unit testing
dictionary
functional programming style
25. A variable used as part of the terminating condition of a loop.
veneer
tuple assignment
pure function
loop variable
26. A recursive call that occurs as the last statement (at the tail) of a function definition.
function call
tail recursion
object-oriented programming
modifier
27. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
default value
token
compound statement
helper
28. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
rules of precedence
encapsulate
wrapping code in a function
abstract data type (ADT)
29. A program that translates higher level programming languages into basic instructions the CPU can understand.
tab
prototype development
parse
compiler
30. One of the operators that combines boolean expressions: and or and not.
base case
high-level language
logical operator
natural language
31. A special character that causes the cursor to move to the beginning of the next line.
expression
abstract data type (ADT)
newline
nesting
32. 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.
invariant
FIFO(First In First Out)
instance
generalize
33. A graphical representation of a set of variables and the values to which they refer.
state diagram
counter
instantiate
singleton
34. 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.
data type
list traversal
postorder
integer division
35. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
encapsulate
tab
docstring
initialization (of a variable)
36. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
syntax error
abstraction
continue statement
scalar multiplication
37. The block of statements in a compound statement that follows the header.
body
operator
variable name
traceback
38. The sequence of characters read into the command interpreter in a command line interface.
argument
command line
type conversion
level
39. Nodes that share a common parent.
siblings
executable
event
logical operator
40. A property of a program that can run on more than one kind of computer.
delimiter
planned development
function call
portability
41. A special character that causes the cursor to move to the next tab stop on the current line.
linked list
flow of execution
queueing policy
tab
42. A signal such as a keyboard press or mouse click or message from another program.
problem solving
root
event
low-level language
43. A function that yields a return value.
nesting
argv (argument vector)
fruitful function
class
44. The ability to define a new class that is a modified version of a previously defined class.
inheritance
queue
algorithm
attribute
45. Code that satisfies the syntactic and semantic requirements of an interface.
delimiter
polymorphic
implementation
natural language
46. 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.
fruitful function
compound statement
client
operand
47. A program stored in a file (usually one that will be interpreted).
iteration
concatenate
scaffolding
script
48. A way of writing mathematical expressions with the operators between the operands.
infix
aliases
pure function
import statement
49. An object that belongs to a class.
aliases
traceback
semantics
instance
50. A data type comprised of a collection of keys and associated values.
source code
docstring
mapping type
delimiter