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 string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
preorder
base case
docstring
path
2. 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.
aliases
function
embedded reference
generalize
3. Another name for object code that is ready to be executed.
executable
operator
fundamental ambiguity theorem
composition (of functions)
4. A name given to a variable.
algorithm
condition
variable name
chained conditional
5. Having no specific pattern. Unpredictable.
random
recursion
type conversion
bug
6. A branch of the conditional statement in a recursive function that does not result in a recursive call.
base case
volatile memory
operator overloading
loop variable
7. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
index
key
infinite loop
byte code
8. The order in which statements are executed during a program run.
operator overloading
naming collision
header
flow of execution
9. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
mutable type
low-level language
modifier
natural language
10. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
fundamental ambiguity theorem
escape sequence
abstraction
algorithm
11. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
naming collision
path
parse
nesting
12. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
type conversion
loop
composition (of functions)
namespace
13. A statement that controls the flow of execution depending on some condition.
postfix
object
standard library
conditional statement
14. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.
algorithm
veneer
value
operand
15. One of the nodes referred to by a node.
attribute
client
condition
child
16. The meaning of a program.
base case
namespace
semantics
tuple
17. To represent one set of values using another set of values by constructing a mapping between them.
algorithm
encode
class
expression
18. A kind of data structure that can contain data of any type.
continue statement
command line argument
subexpression
generic data structure
19. A part of a string (substring) specified by a range of indices.
link
tuple assignment
slice
attribute
20. 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.
accumulator
key
leaf
tuple
21. Both as a noun and as a verb - it means to increase by 1.
function
trichotomy
low-level language
increment
22. A compound data type that is often used to model a thing or concept in the real world.
function definition
increment
object
queueing policy
23. A character that is used to separate tokens such as punctuation in a natural language.
step size
delimiter
standard library
traceback
24. A data type in which the values are made up of components or elements that are themselves values.
planned development
pure function
compound data type
semantics
25. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
helper
variable name
compound statement
high-level language
26. An operation whose runtime is a linear function of the size of the data structure.
whitespace
prefix notation
linear time
child class
27. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
clone
infinite loop
optional parameter
non-volatile memory
28. A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.
infix
nested loop
abstract data type (ADT)
inheritance
29. A graphical representation of a set of variables and the values to which they refer.
operand
index
state diagram
data type
30. To join two strings end-to-end.
parent class
concatenate
newline
level
31. A combination of variables and operators and values that represents a single result value.
client
FIFO(First In First Out)
compound data type
expression
32. An embedded reference used to link one object to another.
object
delimiter
conditional statement
link
33. A list that is an element of another list.
variable name
inheritance
type conversion
nested list
34. One of the named data items that makes up an instance.
cargo
decrement
attribute
modulus operator
35. 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.
test-driven development (TDD)
expression
instance
overflow
36. A variable used in a loop to accumulate a series of values - such as by concatenating them onto a string or adding them to a running sum.
accumulator
provider
file
constant
37. The set of nodes equidistant from the root.
planned development
command line argument
argv (argument vector)
level
38. Repeated execution of a set of programming statements.
mode
iteration
index
boolean function
39. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
mode
inorder
namespace
method
40. A variable used to store an intermediate value in a complex calculation.
dot operator
temporary variable
class
raise
41. An explicit statement that takes a value of one type and computes a corresponding value of another type.
pure function
sequence
child class
type conversion
42. A statement that assigns a value to a name (variable).
return value
assignment statement
syntax error
value
43. The output of the compiler after it translates the program.
object code
queueing policy
type conversion
integer division
44. Generalization by reducing the information content of a concept.
abstraction
executable
branch
portability
45. A group of consecutive statements with the same indentation.
block
delimiter
continue statement
program
46. 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.
parse
file system
traceback
scalar multiplication
47. A way of writing mathematical expressions with the operators between the operands.
infix
linked queue
infinite recursion
object-oriented language
48. One of the operators that compares two values: == or != or > or < or >= and <=.
provider
instantiate
scaffolding
comparison operator
49. A step-by-step process for solving a category of problems.
run time error
problem solving
child
algorithm
50. An operator that takes two operands.
file system
subexpression
path
binary operator