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 way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
naming collision
binary operator
test-driven development (TDD)
planned development
2. The set of nodes equidistant from the root.
syntactical errors
trace
level
generalize
3. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
operator
runtime error
generalize
integer division
4. One of the values on which an operator operates.
composition
fruitful function
index
operand
5. A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.
function
data type
priority queue
high-level language
6. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
rules of precedence
instance
wrapping code in a function
child class
7. 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.
keyword
infinite recursion
linked list
recursive call
8. To examine a program and analyze the syntactic structure.
subexpression
interpret
parse
default value
9. Using the output from one function call as the input to another.
preorder
function composition
delimiter
temporary variable
10. To read a string of characters or tokens and analyze its grammatical structure.
index
increment
parse
return value
11. A general process for solving a category of problems.
Queue
conditional statement
algorithm
preorder
12. A string displayed by a command line interface indicating that commands can be entered.
veneer
runtime error
local variable
command prompt
13. To iterate through the elements of a set performing a similar operation on each.
trichotomy
link
infix
traverse
14. The dot operator ( .) permits access to attributes and functions of a module.
continue statement
incremental development
dot operator
mapping type
15. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
clone
immutable
non-volatile memory
argument
16. 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.
function
raise
event
body
17. 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).
instance
root
postorder
data type
18. A variable used to store an intermediate value in a complex calculation.
command line argument
namespace
temporary variable
assignment statement
19. To simplify an expression by performing the operations in order to yield a single value.
docstring
evaluate
whitespace
boolean value
20. An error that does not occur until the program has started to execute but that prevents the program from continuing.
index
runtime error
list traversal
program
21. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
algorithm
helper
slice
pure function
22. To prevent an exception from terminating a program using the try and except statements.
accumulator
handle an exception
linear time
implementation
23. The sequence of characters read into the command interpreter in a command line interface.
veneer
command line
index
scalar multiplication
24. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
event
postfix
low-level language
key
25. The statement in a recursive function with is a call to itself.
portability
sequence
flow of execution
recursive call
26. A graphical representation of a set of variables and the values to which they refer.
index
recursive definition
argument
state diagram
27. To represent one set of values using another set of values by constructing a mapping between them.
multiple assignment
random
handle an exception
encode
28. Temporary storage of a precomputed value to avoid redundant computation.
header
hint
class attribute
object
29. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
whitespace
boolean value
object-oriented programming
source code
30. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
dot product
frame
node
function definition
31. A loop inside the body of another loop.
wrapping code in a function
postorder
nested loop
stack diagram
32. An error in a program that makes it do something other than what the programmer intended.
parent class
semantic error
wrapper
continue statement
33. A function which has no side effects. It only makes changes to the calling program through its return values.
pure function
method
keyword
exception
34. Part of a program that can never be executed - often because it appears after a return statement.
veneer
non-volatile memory
list
dead code
35. An operation whose runtime does not depend on the size of the data structure.
list
compiler
frame
constant time
36. A distinct method of operation within a computer program.
block
mode
node
Queue
37. One of the operators that compares two values: == or != or > or < or >= and <=.
binary tree
comparison operator
key
program
38. 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.
operand
client
nested list
compound statement
39. A data type which can be modified.
mutable data type
algorithm
operand
traceback
40. A branch of the conditional statement in a recursive function that does not result in a recursive call.
semantics
boolean value
base case
continue statement
41. The sequential accessing of each element in a list.
method
list traversal
traceback
unit testing
42. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
tuple assignment
object-oriented programming
operand
initialization (of a variable)
43. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
interpret
node
method
boolean function
44. The structure of a program.
syntax
token
list traversal
high-level language
45. An ADT that defines the operations one might perform on a priority queue.
optional parameter
Priority Queue
queueing policy
accumulator
46. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
delimiter
body
counter
algorithm
47. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
escape sequence
mutable type
random
unit testing
48. A combination of variables and operators and values that represents a single result value.
problem solving
infinite recursion
expression
link
49. An organization of data for the purpose of making it easier to use.
modifier
postorder
data structure
Queue
50. A special character that causes the cursor to move to the beginning of the next line.
newline
queueing policy
standard library
value