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 definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
encode
recursive definition
compiler
generalize
2. A variable or value used to select a member of an ordered set - such as a character from a string.
semantic error
index
newline
postorder
3. One of the possible paths of the flow of execution determined by conditional execution.
branch
temporary variable
delimiter
queue
4. A step-by-step process for solving a category of problems.
algorithm
whitespace
source code
natural language
5. Making more than one assignment to the same variable during the execution of a program.
immutable data type
parse
multiple assignment
escape sequence
6. A function that yields a return value.
fruitful function
infinite loop
bug
trace
7. 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.
concatenate
comment
frame
provider
8. A way of developing programs starting with a prototype and gradually testing and improving it.
nested list
default value
script
prototype development
9. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.
operand
interpret
child
wrapper
10. A change in the state of a program made by calling a function that is not a result of reading the return value from the function. Can only be produced by modifiers.
abstract data type (ADT)
side effect
list
modulus operator
11. Repeated execution of a set of programming statements.
iteration
linked list
exception
nesting
12. A name given to a variable.
parse
condition
variable name
mapping type
13. To join two strings end-to-end.
binary tree
algorithm
fundamental ambiguity theorem
concatenate
14. 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.
infinite recursion
queue
nested loop
step size
15. It prevents a compiler from compiling.
syntactical errors
debugging
semantics
object-oriented programming
16. A recursive call that occurs as the last statement (at the tail) of a function definition.
flow of execution
accumulator
mode
tail recursion
17. To execute a program in a high-level language by translating it one line at a time.
interpret
boolean function
variable name
recursion
18. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
index
namespace
linked queue
dead code
19. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
attribute
functional programming style
optional parameter
incremental development
20. One of the operators that compares two values: == or != or > or < or >= and <=.
inheritance
binary tree
comparison operator
abstract data type (ADT)
21. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
assignment statement
linked list
value
incremental development
22. One of the named data items that makes up an instance.
variable name
attribute
precondition
header
23. A data type which can be modified.
token
mutable data type
prototype development
binary tree
24. One of the values on which an operator operates.
operand
raise
function composition
algorithm
25. A character or string used to indicate where a string should be split.
delimiter
escape sequence
natural language
compound statement
26. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
compiler
initialization (of a variable)
child
encapsulate
27. The class from which a child class inherits.
parent class
state diagram
low-level language
docstring
28. 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.
polymorphic
non-volatile memory
file
test-driven development (TDD)
29. The statements inside a loop.
stack diagram
conditional statement
text file
body
30. 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.
fruitful function
accumulator
object-oriented programming
implementation
31. A program in a high-level language before being compiled.
fruitful function
assignment statement
linear time
source code
32. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.
body
Queue
formal language
algorithm
33. An operation that divides one integer by another and yields an integer. Integer division yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.
integer division
child
semantics
docstring
34. Decrease by 1.
abstraction
integer division
decrement
mode
35. A data structure that implements a collection using a sequence of linked nodes.
operator overloading
linked list
parameter
compound statement
36. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
recursion
mutable type
initialization (of a variable)
slice
37. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
key
function call
instance
binary operator
38. Having no specific pattern. Unpredictable.
random
directory
abstraction
wrapper
39. A group of consecutive statements with the same indentation.
data structure
implementation
namespace
block
40. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
docstring
header
overflow
key-value pair
41. A method for naming and accessing and organizing files and the data they contain.
interpret
hint
parse
file system
42. A compound data type that is often used to model a thing or concept in the real world.
fundamental ambiguity theorem
parse
object
clone
43. Another name for a runtime error.
pure function
constant
infix
exception
44. The rules that determine which member of a queue is removed next.
element
mode
queueing policy
side effect
45. A queueing policy in which the first member to arrive is the first to be removed.
accumulator
namespace
FIFO(First In First Out)
client
46. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
mutable data type
path
constant time
method
47. The process of finding and removing any of the three kinds of programming errors.
debugging
linked list
handle an exception
veneer
48. 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)
command line argument
variable
path
49. Use of the dot operator '.' to access functions inside a module.
problem solving
prompt
Queue
dot notation
50. 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.
abstract data type (ADT)
optional parameter
dot product
attribute