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. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
operator overloading
prototype development
precondition
object-oriented programming
2. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
docstring
queueing policy
nested loop
polymorphic
3. To replace something unnecessarily specific (like a constant value) with something appropriately general (like a variable or parameter). It makes code more versatile - more likely to be reused and sometimes even easier to write.
syntax error
generalize
recursion
delimiter
4. The process of formulating a problem and finding a solution and expressing the solution.
program
infinite recursion
bug
problem solving
5. An automatic procedure used to validate that individual units of code are working properly.
token
sequence
unit testing
loop variable
6. An error in a program.
class
bug
docstring
fruitful function
7. 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)
standard library
condition
abstraction
8. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
prompt
attribute
list comprehension
namespace
9. The set of nodes equidistant from the root.
random
level
precondition
functional programming style
10. An expression in parentheses that acts as a single operand in a larger expression.
byte code
veneer
mapping type
subexpression
11. A method for naming and accessing and organizing files and the data they contain.
file system
fundamental ambiguity theorem
infinite loop
directory
12. The process of calling the function that is currently executing.
loop
recursion
data structure
command prompt
13. A data structure that implements a collection using a sequence of linked nodes.
file
linked list
wrapping code in a function
header
14. A data type comprised of a collection of keys and associated values.
constant
program
object
mapping type
15. A library is a collection of software used as tools in the development of other software.
portability
exception
unit testing
standard library
16. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
continue statement
trace
parse
precondition
17. A way of writing mathematical expressions with the operators after the operands.
postfix
fruitful function
newline
object-oriented language
18. A collection of key-value pairs that maps from keys to values.
dot product
queue
dictionary
scalar multiplication
19. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
boolean expression
encapsulate
tail recursion
operator
20. An embedded reference used to link one object to another.
link
accumulator
provider
nesting
21. The rules that determine which member of a queue is removed next.
counter
queueing policy
trichotomy
initialization (of a variable)
22. The class from which a child class inherits.
delimiter
parent class
step size
compound statement
23. A variable defined inside a function. A local variable can only be used inside its function.
local variable
attribute
side effect
scalar multiplication
24. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
precondition
volatile memory
immutable data type
function
25. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
linked list
header
generic data structure
temporary variable
26. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
comment
syntax error
syntax
object-oriented programming
27. A kind of data structure that can contain data of any type.
generic data structure
event loop
debugging
body
28. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
mode
node
queueing policy
child class
29. a sequence of instructions that specifies to a computer actions and computations to be performed.
infix
hint
singleton
program
30. A statement that causes the current iteration of a loop to end.
semantics
continue statement
level
docstring
31. Use of the dot operator '.' to access functions inside a module.
nested loop
node
dot notation
rules of precedence
32. A statement that controls the flow of execution depending on some condition.
conditional statement
subexpression
FIFO(First In First Out)
tab
33. The node that refers to a given node.
parent
command prompt
constant
debugging
34. Another name for a runtime error.
dead code
chained conditional
slice
exception
35. A numerical value that does not change during the execution of a program.
development plan
immutable
modulus operator
constant
36. A branch of the conditional statement in a recursive function that does not result in a recursive call.
base case
exception
argument
return value
37. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
compound statement
recursion
dot product
non-volatile memory
38. The sequential accessing of each element in a list.
inheritance
text file
list traversal
tail recursion
39. A general process for solving a category of problems.
tuple
algorithm
script
dot operator
40. A name used inside a function to refer to the value passed as an argument.
file
tail recursion
parameter
variable name
41. The dot operator ( .) permits access to attributes and functions of a module.
node
program
file system
dot operator
42. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
frame
interpret
type conversion
inheritance
43. A name given to a variable.
text file
semantics
variable name
newline
44. A string displayed by a command line interface indicating that commands can be entered.
runtime error
command prompt
object code
FIFO(First In First Out)
45. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
branch
loop
fruitful function
pure function
46. A queueing policy in which the first member to arrive is the first to be removed.
debugging
FIFO(First In First Out)
block
expression
47. A linked list with a single node.
queueing policy
singleton
pure function
inheritance
48. The value provided as the result of a function call.
compound statement
return value
compound data type
helper
49. Multiple variables that contain references to the same object.
header
newline
aliases
queue
50. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
planned development
provider
function call
argv (argument vector)