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 recursive call that occurs as the last statement (at the tail) of a function definition.
tail recursion
logical operator
command prompt
branch
2. To iterate through the elements of a set performing a similar operation on each.
traverse
modifier
debugging
helper
3. To simplify an expression by performing the operations in order to yield a single value.
evaluate
instantiate
root
compiler
4. It prevents a compiler from compiling.
cargo
interface
syntactical errors
fundamental ambiguity theorem
5. A process for developing a program.
development plan
semantics
immutable data type
high-level language
6. 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.
pure function
composition (of functions)
runtime error
comparison operator
7. A signal such as a keyboard press or mouse click or message from another program.
event
cargo
siblings
command line
8. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
low-level language
priority queue
method
inorder
9. The order in which statements are executed during a program run.
development plan
file system
executable
flow of execution
10. The process of adding a function header and parameters to a sequence of program statements. This process is very useful whenever the program statements in question are going to be used multiple times.
wrapping code in a function
program
initialization (of a variable)
embedded reference
11. Any one of the languages that people speak that evolved naturally.
delimiter
program
natural language
body
12. A step-by-step process for solving a category of problems.
algorithm
command line
multiple assignment
command line argument
13. An expression in parentheses that acts as a single operand in a larger expression.
loop variable
subexpression
immutable data type
class
14. A data type in which the values are made up of components or elements that are themselves values.
index
compound data type
token
command line
15. A way of writing mathematical expressions with the operators between the operands.
infix
evaluate
integer division
directory
16. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
data type
incremental development
nesting
iteration
17. An operation whose runtime is a linear function of the size of the data structure.
immutable
constant
Priority Queue
linear time
18. An expression that is either true or false.
function
pure function
boolean expression
debugging
19. 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.
object-oriented language
recursive call
polymorphic
namespace
20. The output of the compiler after it translates the program.
condition
random
base case
object code
21. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
initialization method
linked list
preorder
composition (of functions)
22. A tree in which each node refers to zero or one or two dependent nodes.
boolean expression
binary tree
step size
compile
23. To represent one set of values using another set of values by constructing a mapping between them.
value
encode
comparison operator
side effect
24. A list that is an element of another list.
nested list
condition
object code
pure function
25. An error that does not occur until the program has started to execute but that prevents the program from continuing.
exception
mutable data type
prototype development
runtime error
26. A visual cue that tells the user to input data.
prompt
interface
generic data structure
infinite loop
27. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
scalar multiplication
run time error
import statement
dead code
28. The dot operator ( .) permits access to attributes and functions of a module.
dot operator
functional programming style
non-volatile memory
compile
29. A loop in which the terminating condition is never satisfied.
algorithm
nested list
FIFO(First In First Out)
infinite loop
30. 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.
modifier
subexpression
composition
test-driven development (TDD)
31. The rules that determine which member of a queue is removed next.
queueing policy
continue statement
escape sequence
value
32. A statement which makes the objects contained in a module available for use within another module.
postfix
import statement
body
command line argument
33. A reference stored in an attribute of an object.
initialization (of a variable)
syntax
FIFO(First In First Out)
embedded reference
34. 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.
non-volatile memory
branch
keyword
encode
35. Use of the dot operator '.' to access functions inside a module.
method
function
dot notation
object code
36. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
traverse
development plan
algorithm
priority queue
37. 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.
incremental development
command line argument
encapsulate
tuple
38. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
token
handle an exception
naming collision
child
39. 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
evaluate
queueing policy
level
40. A programming construct that waits for events and processes them.
encode
abstraction
event loop
raise
41. A character or string used to indicate where a string should be split.
class
compile
subexpression
delimiter
42. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
script
data type
iteration
frame
43. Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.
comment
token
volatile memory
debugging
44. The structure of a program.
index
syntax
composition (of functions)
step size
45. A data type in which the elements can be modified. It is a compound type - e.g. lists.
mutable type
object
fundamental ambiguity theorem
Queue
46. Another name for a runtime error.
value
exception
wrapper
Queue
47. 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).
counter
dot notation
concatenate
data type
48. A name given to a variable.
variable name
linear time
object-oriented language
helper
49. A name that refers to a value.
source code
integer division
list traversal
variable
50. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
key
algorithm
naming collision
raise