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 named collection of objects where each object is identified by an index.
modifier
polymorphic
parse
list
2. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
source code
parameter
immutable data type
client
3. 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.
body
root
postfix
key
4. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
binary tree
raise
trace
parse
5. The value given to an optional parameter if no argument for it is provided in the function call.
default value
provider
body
wrapper
6. A programming construct that waits for events and processes them.
wrapper
mutable data type
block
event loop
7. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
child class
bug
algorithm
invariant
8. A sequence of one or more characters used to specify the boundary between separate parts of text.
type conversion
client
delimiter
instantiate
9. To simplify an expression by performing the operations in order to yield a single value.
command line argument
expression
evaluate
parent
10. A visual cue that tells the user to input data.
recursive definition
traverse
prompt
script
11. One of the operators that compares two values: == or != or > or < or >= and <=.
functional programming style
dot operator
immutable
comparison operator
12. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
provider
state diagram
header
tuple assignment
13. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
test-driven development (TDD)
scalar multiplication
operator
semantic error
14. A reference stored in an attribute of an object.
random
rules of precedence
compound statement
embedded reference
15. An operation whose runtime is a linear function of the size of the data structure.
list comprehension
linear time
infinite loop
parent
16. An error in a program that makes it do something other than what the programmer intended.
path
semantic error
modulus operator
pure function
17. A reference to a list node can be treated as a single object or as the first in a list of nodes.
nesting
fundamental ambiguity theorem
block
postorder
18. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
initialization method
whitespace
Priority Queue
key-value pair
19. A special character that causes the cursor to move to the next tab stop on the current line.
algorithm
tab
planned development
object
20. The order in which statements are executed during a program run.
natural language
comment
trichotomy
flow of execution
21. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
low-level language
operator
prompt
exception
22. A reserved word that is used by the compiler to parse program; you cannot use keywords like if or def or while as variable names.
index
semantics
tuple
keyword
23. Use of the dot operator '.' to access functions inside a module.
path
dot notation
encode
loop variable
24. A loop in which the terminating condition is never satisfied.
exception
infinite loop
continue statement
object
25. A data structure that implements a collection using a sequence of linked nodes.
delimiter
operand
syntactical errors
linked list
26. An automatic procedure used to validate that individual units of code are working properly.
compile
unit testing
binary operator
continue statement
27. A file that contains printable characters organized into lines separated by newline characters.
wrapper
recursion
local variable
text file
28. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
fruitful function
planned development
unit testing
functional programming style
29. Decrease by 1.
decrement
dead code
test-driven development (TDD)
conditional statement
30. A way of writing mathematical expressions with the operators after the operands.
postfix
nested loop
traceback
wrapping code in a function
31. a sequence of instructions that specifies to a computer actions and computations to be performed.
program
flow of execution
traverse
volatile memory
32. Code that satisfies the syntactic and semantic requirements of an interface.
implementation
condition
polymorphic
constant
33. Nodes that share a common parent.
siblings
cursor
provider
token
34. The ability to define a new class that is a modified version of a previously defined class.
inheritance
root
text file
linked queue
35. An explicit statement that takes a value of one type and computes a corresponding value of another type.
instantiate
type conversion
dot product
portability
36. A way to traverse a tree - visiting each node before its children.
tuple assignment
preorder
instantiate
hint
37. A branch of the conditional statement in a recursive function that does not result in a recursive call.
nested list
base case
linked list
keyword
38. The value provided as the result of a function call.
boolean value
prefix notation
return value
interpret
39. A tree in which each node refers to zero or one or two dependent nodes.
syntax
binary tree
path
algorithm
40. An error in a program.
bug
element
scaffolding
list
41. An integer variable or value that indicates an element of a list.
client
argument
index
directory
42. 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.
event loop
conditional statement
trichotomy
polymorphic
43. A function which has no side effects. It only makes changes to the calling program through its return values.
queueing policy
escape sequence
pure function
fundamental ambiguity theorem
44. A statement that creates a new function specifying its name and parameters and the statements it executes.
standard library
exception
function definition
non-volatile memory
45. An error in a program that makes it impossible to parse
syntax error
escape sequence
body
unit testing
46. A data type in which the elements can be modified. It is a compound type - e.g. lists.
composition
Queue
mutable type
object
47. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
class
precondition
naming collision
initialization (of a variable)
48. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
token
body
compile
file
49. A program in a high-level language before being compiled.
loop
condition
source code
compound data type
50. A way of developing programs starting with a prototype and gradually testing and improving it.
prototype development
executable
handle an exception
dictionary