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 examine a program and analyze the syntactic structure.
base case
client
parse
Queue
2. Multiple variables that contain references to the same object.
dot product
aliases
Priority Queue
list
3. The value provided as the result of a function call.
return value
exception
incremental development
comment
4. The block of statements in a compound statement that follows the header.
wrapping code in a function
body
implementation
source code
5. An error that occurs at runtime.
formal language
event
exception
state diagram
6. A variable or value used to select a member of an ordered set - such as a character from a string.
operator
header
pure function
index
7. A new class created by inheriting from an existing class; also called a subclass.
child class
development plan
delimiter
root
8. 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.
root
command line argument
body
delimiter
9. Code that is used during program development but is not part of the final version.
scaffolding
boolean expression
raise
traceback
10. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
helper
file system
non-volatile memory
bug
11. A bottom-most node in a tree with no children.
attribute
test-driven development (TDD)
optional parameter
leaf
12. 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.
object-oriented programming
veneer
composition (of functions)
condition
13. A compound data type whose elements cannot be assigned new values.
veneer
immutable data type
immutable
comment
14. To signal an exception using the raise statement.
argument
raise
assignment statement
local variable
15. A way to traverse a tree - visiting each node before its children.
counter
preorder
docstring
veneer
16. A character that is used to separate tokens such as punctuation in a natural language.
class
delimiter
prompt
instantiate
17. To join two strings end-to-end.
concatenate
comparison operator
portability
child class
18. Both as a noun and as a verb - it means to increase by 1.
index
increment
command prompt
prompt
19. The node that refers to a given node.
data type
generic data structure
method
parent
20. A program in a high-level language before being compiled.
natural language
source code
rules of precedence
branch
21. A statement that assigns a value to a name (variable).
compiler
escape sequence
traverse
assignment statement
22. A library is a collection of software used as tools in the development of other software.
key
standard library
docstring
block
23. One of the named data items that makes up an instance.
trace
attribute
mapping type
traceback
24. Given any real numbers a and b exactly one of the following relations holds: a < b or a > b or a = b. Thus when you can establish that two of the relations are false you can assume the remaining one is true. What is it called?
constant
encode
keyword
trichotomy
25. A data type in which the elements can be modified. It is a compound type - e.g. lists.
boolean expression
object
high-level language
mutable type
26. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
frame
initialization (of a variable)
header
non-volatile memory
27. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
mutable type
frame
directory
immutable
28. A variable used to store an intermediate value in a complex calculation.
text file
abstract data type (ADT)
node
temporary variable
29. A recursive call that occurs as the last statement (at the tail) of a function definition.
key
tail recursion
binary tree
polymorphic
30. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
implementation
constant time
rules of precedence
portability
31. A data type in which the values are made up of components or elements that are themselves values.
interpret
token
wrapping code in a function
compound data type
32. A logical error which stops a program from performing.
inheritance
run time error
frame
argument
33. 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.
invariant
composition (of functions)
docstring
object code
34. 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.
fruitful function
token
tuple
immutable data type
35. 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.
wrapper
syntactical errors
level
object
36. 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.
event
high-level language
leaf
integer division
37. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
mapping type
nesting
side effect
body
38. A string displayed by a command line interface indicating that commands can be entered.
command prompt
integer division
client
syntax
39. To iterate through the elements of a set performing a similar operation on each.
traverse
function
mode
decrement
40. A data type comprised of a collection of keys and associated values.
mapping type
attribute
hint
initialization (of a variable)
41. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
semantic error
hint
operator overloading
path
42. An error in a program that makes it do something other than what the programmer intended.
singleton
semantic error
composition
boolean expression
43. The rules that determine which member of a queue is removed next.
raise
linear time
queueing policy
function composition
44. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
loop variable
volatile memory
index
immutable data type
45. A step-by-step process for solving a category of problems.
attribute
syntax error
algorithm
mutable data type
46. The set of nodes equidistant from the root.
import statement
child class
level
list
47. A group of consecutive statements with the same indentation.
binary operator
exception
parse
block
48. There are exactly two boolean values: True and False.
interface
argument
operator overloading
boolean value
49. 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
command prompt
variable
cargo
50. Nodes that share a common parent.
siblings
key-value pair
modulus operator
whitespace