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 step-by-step process for solving a category of problems.
function call
boolean function
temporary variable
algorithm
2. The topmost node in a tree with no parent.
root
compound statement
queue
operator
3. A data type which can be modified.
index
fundamental ambiguity theorem
mutable data type
delimiter
4. An error that does not occur until the program has started to execute but that prevents the program from continuing.
operator overloading
runtime error
modifier
mode
5. To execute a program in a high-level language by translating it one line at a time.
mutable data type
default value
runtime error
interpret
6. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
function call
infinite recursion
decrement
mapping type
7. A variable defined inside a function. A local variable can only be used inside its function.
local variable
default value
parse
volatile memory
8. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
modifier
logical operator
infinite loop
test-driven development (TDD)
9. The node that refers to a given node.
parameter
parent
scaffolding
tuple assignment
10. To join two strings end-to-end.
side effect
tail recursion
concatenate
volatile memory
11. The ability to define a new class that is a modified version of a previously defined class.
script
inheritance
helper
list comprehension
12. 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.
compile
priority queue
boolean function
object
13. 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.
file system
wrapper
type conversion
attribute
14. The output of the compiler after it translates the program.
traceback
object code
formal language
byte code
15. Code that is used during program development but is not part of the final version.
scaffolding
link
invariant
value
16. The process of adding a function header and parameters to a sequence of program statements. This process is very useful whenever the program statements in question are going to be used multiple times.
state diagram
event loop
stack diagram
wrapping code in a function
17. 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.
rules of precedence
path
test-driven development (TDD)
polymorphic
18. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
operand
child class
pure function
local variable
19. 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.
immutable
level
event loop
formal language
20. A loop inside the body of another loop.
function call
command line argument
nested loop
prototype development
21. A sequence of one or more characters used to specify the boundary between separate parts of text.
delimiter
queueing policy
list
function
22. A queueing policy in which the first member to arrive is the first to be removed.
FIFO(First In First Out)
variable name
mutable type
problem solving
23. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
loop
data type
encapsulate
test-driven development (TDD)
24. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
helper
generic data structure
queue
operator overloading
25. A conditional branch with more than two possible flows of execution.
directory
chained conditional
newline
recursive definition
26. A thing to which a variable can refer.
object
syntax error
attribute
scalar multiplication
27. A statement that creates a new function specifying its name and parameters and the statements it executes.
loop variable
function definition
priority queue
initialization method
28. A graphical representation of a stack of functions and their variables and the values to which they refer.
stack diagram
local variable
recursive definition
encode
29. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
docstring
command line argument
overflow
return value
30. To prevent an exception from terminating a program using the try and except statements.
state diagram
handle an exception
data structure
element
31. The sequence of characters read into the command interpreter in a command line interface.
trichotomy
provider
planned development
command line
32. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
recursion
scalar multiplication
newline
object
33. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
type conversion
key-value pair
mutable type
modifier
34. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
aliases
link
whitespace
file system
35. An item of data contained in a node.
naming collision
conditional statement
cargo
header
36. Given any real numbers a and b exactly one of the following relations holds: a < b or a > b or a = b. Thus when you can establish that two of the relations are false you can assume the remaining one is true. What is it called?
queueing policy
trichotomy
overflow
modifier
37. Use of the dot operator '.' to access functions inside a module.
dot notation
fruitful function
portability
inheritance
38. A new class created by inheriting from an existing class; also called a subclass.
parameter
child class
modifier
function call
39. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
argv (argument vector)
scalar multiplication
object code
node
40. 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.
data structure
accumulator
parent
source code
41. The sequential accessing of each element in a list.
operand
list traversal
base case
postorder
42. a sequence of instructions that specifies to a computer actions and computations to be performed.
chained conditional
constant
program
initialization (of a variable)
43. The name and location of a file within a file system.
non-volatile memory
compile
exception
path
44. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
helper
data type
docstring
dead code
45. A library is a collection of software used as tools in the development of other software.
standard library
delimiter
attribute
continue statement
46. An organization of data for the purpose of making it easier to use.
delimiter
data structure
operator overloading
mutable data type
47. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
import statement
composition
event
prototype development
48. One of the values on which an operator operates.
provider
pure function
directory
operand
49. An invisible marker that keeps track of where the next character will be printed.
portability
cursor
raise
exception
50. An integer variable or value that indicates an element of a list.
program
index
event
step size