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 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.
block
variable name
class attribute
command line
2. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
immutable data type
syntax
argument
conditional statement
3. 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.
directory
scaffolding
compound statement
veneer
4. An error that occurs at runtime.
singleton
traverse
data structure
exception
5. A program stored in a file (usually one that will be interpreted).
postorder
script
temporary variable
newline
6. The ability to define a new class that is a modified version of a previously defined class.
root
inheritance
linked queue
random
7. A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.
queue
siblings
abstract data type (ADT)
index
8. An embedded reference used to link one object to another.
debugging
multiple assignment
parameter
link
9. An error that does not occur until the program has started to execute but that prevents the program from continuing.
unit testing
runtime error
linear time
singleton
10. A property of a program that can run on more than one kind of computer.
body
rules of precedence
portability
random
11. A data type in which the values are made up of components or elements that are themselves values.
veneer
rules of precedence
file system
compound data type
12. The order in which statements are executed during a program run.
recursive definition
flow of execution
body
rules of precedence
13. A string displayed by a command line interface indicating that commands can be entered.
command prompt
tab
attribute
provider
14. An ADT that performs the operations one might perform on a queue.
prompt
Queue
file system
iteration
15. Generalization by reducing the information content of a concept.
abstraction
child
initialization method
mapping type
16. A kind of data structure that can contain data of any type.
mapping type
nested list
generic data structure
postfix
17. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
FIFO(First In First Out)
linear time
comment
key
18. It prevents a compiler from compiling.
volatile memory
syntactical errors
algorithm
linked queue
19. The rules that determine which member of a queue is removed next.
tuple
function definition
queueing policy
list
20. An operation whose runtime does not depend on the size of the data structure.
counter
constant time
event
overflow
21. A graphical representation of a stack of functions and their variables and the values to which they refer.
nesting
naming collision
concatenate
stack diagram
22. A programming language that is designed to be easy for humans to read and write.
high-level language
traverse
optional parameter
encapsulate
23. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
raise
escape sequence
subexpression
trace
24. One of the operators that combines boolean expressions: and or and not.
subexpression
escape sequence
docstring
logical operator
25. A named collection of files - also called a folder.
postorder
path
condition
directory
26. 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.
mutable type
polymorphic
state diagram
hint
27. A list that is an element of another list.
index
nested list
veneer
prompt
28. Code that is used during program development but is not part of the final version.
scaffolding
semantic error
syntax
slice
29. The name and location of a file within a file system.
path
script
aliases
import statement
30. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
continue statement
Priority Queue
delimiter
counter
31. The value provided as the result of a function call.
attribute
return value
parent class
natural language
32. An error in a program.
script
algorithm
chained conditional
bug
33. A file that contains printable characters organized into lines separated by newline characters.
cargo
standard library
condition
text file
34. To simplify an expression by performing the operations in order to yield a single value.
evaluate
operand
portability
scalar multiplication
35. A program in a high-level language before being compiled.
exception
source code
runtime error
compound statement
36. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.
command line
wrapper
generalize
return value
37. 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).
body
data type
precondition
tuple
38. Using the output from one function call as the input to another.
FIFO(First In First Out)
default value
fundamental ambiguity theorem
function composition
39. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
keyword
exception
algorithm
non-volatile memory
40. A name that refers to a value.
variable
prefix notation
side effect
body
41. A name used inside a function to refer to the value passed as an argument.
infinite loop
logical operator
high-level language
parameter
42. A data type which can be modified.
planned development
mutable data type
incremental development
wrapping code in a function
43. An operation whose runtime is a linear function of the size of the data structure.
fundamental ambiguity theorem
parent class
import statement
linear time
44. A statement that causes the current iteration of a loop to end.
continue statement
class
immutable
raise
45. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
mapping type
initialization method
tuple
compile
46. A variable or value used to select a member of an ordered set - such as a character from a string.
pure function
index
base case
unit testing
47. 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.
argv (argument vector)
side effect
assignment statement
body
48. A variable used to store an intermediate value in a complex calculation.
run time error
temporary variable
abstraction
binary tree
49. To signal an exception using the raise statement.
iteration
body
raise
dot notation
50. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
helper
byte code
object code
dot notation