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. The rules that determine which member of a queue is removed next.
boolean value
queueing policy
token
fundamental ambiguity theorem
2. A loop inside the body of another loop.
conditional statement
implementation
overflow
nested loop
3. Code that is used during program development but is not part of the final version.
header
index
frame
scaffolding
4. The interval between successive elements of a linear sequence. The third (and optional argument) to the range function is called the step size. If not specified it defaults to 1.
step size
dead code
helper
mode
5. Using the output from one function call as the input to another.
implementation
wrapping code in a function
function call
function composition
6. A way to traverse a tree - visiting the children of each node before the node itself.
postorder
traceback
loop variable
state diagram
7. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
wrapping code in a function
compile
comment
command line argument
8. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
invariant
operator overloading
level
value
9. The sequential accessing of each element in a list.
list traversal
semantic error
body
concatenate
10. A step-by-step process for solving a category of problems.
function
formal language
algorithm
provider
11. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
trace
high-level language
algorithm
standard library
12. Any of the data types that consist of an ordered set of elements with each element identified by an index.
recursive definition
naming collision
variable name
sequence
13. A branch of the conditional statement in a recursive function that does not result in a recursive call.
base case
helper
level
list comprehension
14. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
linear time
delimiter
non-volatile memory
operand
15. A new class created by inheriting from an existing class; also called a subclass.
node
escape sequence
data type
child class
16. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
immutable data type
run time error
whitespace
element
17. An explicit statement that takes a value of one type and computes a corresponding value of another type.
object-oriented language
type conversion
link
script
18. 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.
nested list
tuple
source code
directory
19. A linked list with a single node.
Queue
file
singleton
wrapper
20. A compound data type whose elements cannot be assigned new values.
stack diagram
immutable
rules of precedence
operator
21. A program that translates higher level programming languages into basic instructions the CPU can understand.
compiler
multiple assignment
modifier
linear time
22. A compound data type that is often used to model a thing or concept in the real world.
client
polymorphic
expression
object
23. To create a new object that has the same value as an existing object.
cargo
list comprehension
low-level language
clone
24. A statement that creates a new function specifying its name and parameters and the statements it executes.
function definition
inheritance
decrement
nested list
25. A list of the functions that are executing - printed when a runtime error occurs. Also commonly refered to as a stack trace since it lists the functions in the order in which they are stored in the runtime stack.
traceback
exception
bug
modifier
26. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
operator overloading
abstract data type (ADT)
queue
infix
27. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
frame
mutable data type
body
list
28. An error in a program.
bug
unit testing
tuple assignment
list comprehension
29. 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.
interface
bug
modifier
body
30. The dot operator ( .) permits access to attributes and functions of a module.
command line argument
argv (argument vector)
dot operator
dictionary
31. The process of finding and removing any of the three kinds of programming errors.
infinite loop
prefix notation
debugging
object-oriented language
32. To read a string of characters or tokens and analyze its grammatical structure.
stack diagram
parse
counter
tab
33. A programming language that is designed to be easy for humans to read and write.
keyword
iteration
provider
high-level language
34. A parameter written in a function header with an assignment to a default value which it will receive if no corresponding argument is given for it in the function call.
optional parameter
cursor
root
byte code
35. A function which has no side effects. It only makes changes to the calling program through its return values.
decrement
pure function
trace
body
36. Repeated execution of a set of programming statements.
import statement
iteration
object
handle an exception
37. To simplify an expression by performing the operations in order to yield a single value.
path
Priority Queue
multiple assignment
evaluate
38. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
scalar multiplication
nested loop
index
executable
39. An error that does not occur until the program has started to execute but that prevents the program from continuing.
naming collision
raise
runtime error
function call
40. A data structure that implements a collection using a sequence of linked nodes.
run time error
linked list
syntax
accumulator
41. The output of the compiler after it translates the program.
object code
increment
key
list
42. A data type comprised of a collection of keys and associated values.
boolean expression
mapping type
linear time
dot product
43. A queueing policy in which each member has a priority determined by external factors. The member with the highest priority is the first to be removed.
traceback
abstract data type (ADT)
priority queue
compiler
44. One of the nodes referred to by a node.
instantiate
pure function
standard library
child
45. A special character that causes the cursor to move to the next tab stop on the current line.
tab
function
command prompt
object
46. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
command line argument
modulus operator
nesting
exception
47. A visual cue that tells the user to input data.
encapsulate
pure function
prompt
operand
48. A named collection of objects where each object is identified by an index.
list
subexpression
singleton
operator overloading
49. The ability to define a new class that is a modified version of a previously defined class.
scaffolding
initialization (of a variable)
inheritance
evaluate
50. The name and location of a file within a file system.
flow of execution
command prompt
sequence
path