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. The block of statements in a compound statement that follows the header.
initialization method
list
body
compound statement
2. To iterate through the elements of a set performing a similar operation on each.
veneer
function
traverse
logical operator
3. 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.
loop
natural language
nesting
wrapper
4. The sequential accessing of each element in a list.
list traversal
increment
program
infix
5. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
wrapper
token
trace
clone
6. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
local variable
composition (of functions)
operator overloading
traverse
7. A signal such as a keyboard press or mouse click or message from another program.
event
subexpression
infix
generic data structure
8. a sequence of instructions that specifies to a computer actions and computations to be performed.
prefix notation
program
import statement
aliases
9. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
slice
algorithm
argument
cursor
10. A compound data type whose elements cannot be assigned new values.
step size
constant time
veneer
immutable
11. A variable used as part of the terminating condition of a loop.
loop variable
interpret
encapsulate
dead code
12. Multiple variables that contain references to the same object.
run time error
recursive definition
namespace
aliases
13. An invisible marker that keeps track of where the next character will be printed.
interface
cursor
parent class
file system
14. To represent one set of values using another set of values by constructing a mapping between them.
rules of precedence
root
encode
child
15. A kind of data structure that can contain data of any type.
function definition
instance
generic data structure
concatenate
16. A function that returns a boolean value.
boolean function
traverse
naming collision
source code
17. To create a new object that has the same value as an existing object.
sequence
command line
clone
recursion
18. An error that occurs at runtime.
integer division
condition
wrapper
exception
19. A special character that causes the cursor to move to the next tab stop on the current line.
functional programming style
loop
tab
tail recursion
20. A combination of variables and operators and values that represents a single result value.
nesting
expression
flow of execution
scaffolding
21. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
comment
header
local variable
handle an exception
22. A method for naming and accessing and organizing files and the data they contain.
source code
Queue
file system
body
23. A part of a string (substring) specified by a range of indices.
Queue
incremental development
object
slice
24. 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.
pure function
key
data type
compound statement
25. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
mapping type
text file
node
planned development
26. A variable defined inside a module - accessed by using the dot operator ( .).
method
prompt
attribute
syntax error
27. A process for developing a program.
fruitful function
compound data type
slice
development plan
28. The topmost node in a tree with no parent.
root
directory
boolean expression
loop
29. A graphical representation of a set of variables and the values to which they refer.
index
counter
multiple assignment
state diagram
30. A way of writing mathematical expressions with the operators after the operands.
program
overflow
event loop
postfix
31. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
recursive call
test-driven development (TDD)
frame
binary operator
32. 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.
wrapping code in a function
implementation
recursive call
binary operator
33. The meaning of a program.
list
counter
semantics
default value
34. A bottom-most node in a tree with no children.
raise
key-value pair
trichotomy
leaf
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.
instance
comment
test-driven development (TDD)
list comprehension
36. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
low-level language
syntax error
dead code
composition
37. A named collection of objects where each object is identified by an index.
delimiter
client
list
abstract data type (ADT)
38. A special character that causes the cursor to move to the beginning of the next line.
encapsulate
flow of execution
function
newline
39. The dot operator ( .) permits access to attributes and functions of a module.
comparison operator
file system
dot operator
singleton
40. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
composition (of functions)
inorder
raise
element
41. 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.
class attribute
polymorphic
object
inorder
42. The class from which a child class inherits.
generalize
iteration
parent class
variable
43. One of the values on which an operator operates.
flow of execution
operand
constant time
executable
44. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
token
parent class
hint
composition
45. A numerical value that does not change during the execution of a program.
composition (of functions)
constant
executable
object
46. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
object-oriented programming
compound data type
high-level language
portability
47. Generalization by reducing the information content of a concept.
parse
abstraction
file system
source code
48. To examine a program and analyze the syntactic structure.
parse
branch
handle an exception
rules of precedence
49. Nodes that share a common parent.
siblings
list comprehension
flow of execution
evaluate
50. A linked list with a single node.
stack diagram
singleton
natural language
scaffolding