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 order in which statements are executed during a program run.
flow of execution
command prompt
semantic error
instance
2. A name that refers to a value.
variable
expression
command line
cursor
3. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
composition
random
attribute
priority queue
4. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
recursive definition
path
index
generic data structure
5. The meaning of a program.
parameter
decrement
dot notation
semantics
6. Any one of the languages that people speak that evolved naturally.
level
subexpression
implementation
natural language
7. The ability to define a new class that is a modified version of a previously defined class.
fruitful function
inheritance
directory
comment
8. A logical error which stops a program from performing.
run time error
dead code
modifier
traceback
9. A loop inside the body of another loop.
Queue
nested loop
function
fundamental ambiguity theorem
10. A named collection of objects where each object is identified by an index.
list
handle an exception
syntactical errors
algorithm
11. Use of the dot operator '.' to access functions inside a module.
dot notation
attribute
class attribute
mode
12. Nodes that share a common parent.
siblings
function call
executable
scaffolding
13. 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.
header
planned development
leaf
optional parameter
14. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
algorithm
mode
immutable data type
portability
15. An intermediate language between source code and object code. Many modern languages first compile source code into byte code and then interpret the byte code with a program called a virtual machine.
composition (of functions)
interface
state diagram
byte code
16. A way to traverse a tree - visiting the children of each node before the node itself.
postorder
compiler
delimiter
token
17. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
executable
increment
low-level language
node
18. A combination of variables and operators and values that represents a single result value.
expression
generalize
volatile memory
header
19. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
body
embedded reference
run time error
dot product
20. A step-by-step process for solving a category of problems.
algorithm
instance
high-level language
mapping type
21. 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.
fruitful function
script
keyword
token
22. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
stack diagram
semantic error
recursive definition
argument
23. A statement that causes the current iteration of a loop to end.
block
instantiate
natural language
continue statement
24. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
siblings
immutable
nesting
conditional statement
25. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
mutable type
linked queue
rules of precedence
class attribute
26. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
infinite recursion
exception
postorder
prefix notation
27. A variable used as part of the terminating condition of a loop.
local variable
comparison operator
loop variable
file system
28. The structure of a program.
runtime error
incremental development
initialization (of a variable)
syntax
29. A graphical representation of a set of variables and the values to which they refer.
state diagram
exception
type conversion
aliases
30. The block of statements in a compound statement that follows the header.
body
object
formal language
exception
31. The process of formulating a problem and finding a solution and expressing the solution.
formal language
comparison operator
list
problem solving
32. A part of a string (substring) specified by a range of indices.
constant time
mutable type
run time error
slice
33. A data type in which the elements can be modified. It is a compound type - e.g. lists.
initialization method
overflow
argv (argument vector)
mutable type
34. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
method
stack diagram
parameter
list
35. A signal such as a keyboard press or mouse click or message from another program.
recursive definition
client
function call
event
36. An error in a program that makes it do something other than what the programmer intended.
import statement
child class
semantic error
compiler
37. A numerical result that is too large to be represented in a numerical format.
list traversal
slice
traceback
overflow
38. 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
subexpression
postorder
parse
39. It prevents a compiler from compiling.
syntactical errors
base case
development plan
tuple
40. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
variable name
veneer
counter
comparison operator
41. The statement in a recursive function with is a call to itself.
function
recursive call
queue
loop variable
42. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
dot operator
implementation
namespace
increment
43. A linked list with a single node.
scaffolding
singleton
preorder
class attribute
44. To signal an exception using the raise statement.
incremental development
syntactical errors
compile
raise
45. Repeated execution of a set of programming statements.
iteration
non-volatile memory
unit testing
traceback
46. The sequence of characters read into the command interpreter in a command line interface.
command line
list
step size
syntax
47. Multiple variables that contain references to the same object.
aliases
boolean function
delimiter
increment
48. A statement that controls the flow of execution depending on some condition.
conditional statement
constant time
recursive definition
body
49. An assertion that must be true in order for a method to work correctly.
precondition
function composition
tuple
object
50. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
operator overloading
encapsulate
tuple
generalize