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 way to traverse a tree - visiting each node before its children.
interface
list comprehension
traverse
preorder
2. 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.
recursive definition
algorithm
polymorphic
byte code
3. A data type which can be modified.
body
invariant
mutable data type
branch
4. Decrease by 1.
decrement
base case
binary operator
function
5. The rules that determine which member of a queue is removed next.
test-driven development (TDD)
veneer
queueing policy
trichotomy
6. A reference stored in an attribute of an object.
embedded reference
prompt
default value
recursive definition
7. The code (or the person who wrote it) that implements an ADT.
wrapping code in a function
provider
generic data structure
loop
8. The structure of a program.
syntax
flow of execution
trace
provider
9. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
operator overloading
body
nested loop
frame
10. A special character that causes the cursor to move to the beginning of the next line.
instantiate
volatile memory
continue statement
newline
11. Calling one function from within the body of another or using the return value of one function as an argument to the call of another.
Priority Queue
script
composition (of functions)
index
12. A graphical representation of a stack of functions and their variables and the values to which they refer.
stack diagram
local variable
inheritance
FIFO(First In First Out)
13. A statement that consists of two parts: header - which begins with a keyword determining the statement type and ends with a colon. body - containing one or more statements indented the same amount from the header.
command line argument
binary tree
compound statement
nesting
14. A way of writing a mathematical expression with each operator appearing before its operands.
veneer
prefix notation
provider
directory
15. A bottom-most node in a tree with no children.
leaf
side effect
escape sequence
return value
16. 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.
byte code
development plan
event loop
child
17. A name that refers to a value.
linked queue
counter
formal language
variable
18. Both as a noun and as a verb - it means to increase by 1.
problem solving
increment
logical operator
parse
19. A data type comprised of a collection of keys and associated values.
tuple
fruitful function
mapping type
portability
20. Use of the dot operator '.' to access functions inside a module.
dot notation
linked queue
mutable type
infinite loop
21. A queueing policy in which the first member to arrive is the first to be removed.
attribute
FIFO(First In First Out)
trace
infinite loop
22. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
function call
exception
compound data type
variable
23. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
pure function
argument
parent class
exception
24. a sequence of instructions that specifies to a computer actions and computations to be performed.
aliases
file system
step size
program
25. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
dead code
semantic error
whitespace
expression
26. A name used inside a function to refer to the value passed as an argument.
recursive call
parameter
type conversion
integer division
27. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
command line
header
token
scaffolding
28. A variable used as part of the terminating condition of a loop.
level
attribute
loop variable
class
29. A function that returns a boolean value.
infinite recursion
trichotomy
modifier
boolean function
30. The meaning of a program.
function definition
condition
semantics
key
31. A combination of variables and operators and values that represents a single result value.
handle an exception
expression
parse
object
32. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
handle an exception
local variable
algorithm
composition
33. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
accumulator
command line argument
sequence
element
34. An operation whose runtime does not depend on the size of the data structure.
constant time
prefix notation
aliases
mutable type
35. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
unit testing
whitespace
incremental development
keyword
36. Having no specific pattern. Unpredictable.
random
compile
increment
cargo
37. A special character that causes the cursor to move to the next tab stop on the current line.
parse
program
tab
delimiter
38. To join two strings end-to-end.
abstraction
concatenate
nesting
object
39. A statement that causes the current iteration of a loop to end.
parse
scaffolding
continue statement
interpret
40. 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.
dot product
logical operator
comment
trichotomy
41. A compound data type whose elements cannot be assigned new values.
optional parameter
boolean expression
object
immutable
42. To signal an exception using the raise statement.
assignment statement
flow of execution
high-level language
raise
43. An organization of data for the purpose of making it easier to use.
constant
mutable data type
parent
data structure
44. 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.
branch
mutable data type
generalize
interface
45. An object that belongs to a class.
postfix
instance
portability
planned development
46. A way to traverse a tree - visiting the children of each node before the node itself.
instance
postorder
queueing policy
mode
47. 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.
semantics
root
generic data structure
step size
48. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
key
integer division
immutable data type
executable
49. A data structure that implements a collection using a sequence of linked nodes.
linked list
generic data structure
operator
semantic error
50. A file that contains printable characters organized into lines separated by newline characters.
compound data type
delimiter
text file
accumulator