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 set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
delimiter
concatenate
token
infix
2. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
natural language
linear time
link
header
3. 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.
step size
postfix
non-volatile memory
mapping type
4. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.
argument
tuple assignment
list
multiple assignment
5. A statement that assigns a value to a name (variable).
assignment statement
counter
stack diagram
function call
6. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
volatile memory
nested loop
logical operator
rules of precedence
7. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.
accumulator
object-oriented language
import statement
loop variable
8. A name given to a variable.
token
command line argument
abstraction
variable name
9. A branch of the conditional statement in a recursive function that does not result in a recursive call.
concatenate
function definition
base case
wrapper
10. A reference stored in an attribute of an object.
dot operator
path
embedded reference
precondition
11. A method for naming and accessing and organizing files and the data they contain.
file system
traceback
formal language
nesting
12. The order in which statements are executed during a program run.
flow of execution
node
block
import statement
13. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
debugging
recursive definition
singleton
compile
14. The output of the compiler after it translates the program.
test-driven development (TDD)
data type
object code
key-value pair
15. The value given to an optional parameter if no argument for it is provided in the function call.
default value
recursive call
index
key
16. An error that does not occur until the program has started to execute but that prevents the program from continuing.
runtime error
logical operator
precondition
trace
17. A list that is an element of another list.
nested list
wrapper
operator
syntactical errors
18. An error that occurs at runtime.
command line
header
exception
newline
19. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.
compound statement
recursive definition
veneer
dictionary
20. A name that refers to a value.
sequence
precondition
wrapper
variable
21. A variable used as part of the terminating condition of a loop.
file system
traverse
encapsulate
loop variable
22. Decrease by 1.
decrement
linked queue
exception
key
23. 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.
branch
overflow
priority queue
wrapping code in a function
24. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
escape sequence
interface
operator
body
25. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
standard library
high-level language
tuple assignment
volatile memory
26. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
binary operator
client
object
frame
27. The block of statements in a compound statement that follows the header.
body
local variable
semantic error
delimiter
28. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
value
FIFO(First In First Out)
clone
binary tree
29. 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.
singleton
wrapper
inorder
method
30. The code (or the person who wrote it) that implements an ADT.
modifier
high-level language
binary operator
provider
31. Multiple variables that contain references to the same object.
parse
rules of precedence
aliases
counter
32. A way of writing mathematical expressions with the operators after the operands.
directory
object-oriented programming
functional programming style
postfix
33. An expression in parentheses that acts as a single operand in a larger expression.
function
side effect
functional programming style
subexpression
34. An error in a program.
bug
portability
variable name
operand
35. A general process for solving a category of problems.
scaffolding
algorithm
volatile memory
data type
36. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
aliases
binary tree
algorithm
modifier
37. One of the values on which an operator operates.
byte code
operand
mode
scaffolding
38. An operator that takes two operands.
binary operator
linked list
concatenate
type conversion
39. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
initialization method
algorithm
queue
continue statement
40. The rules that determine which member of a queue is removed next.
scalar multiplication
inheritance
queueing policy
high-level language
41. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
object-oriented programming
escape sequence
dot operator
object-oriented language
42. The structure of a program.
header
syntax
helper
path
43. A process for developing a program.
problem solving
token
development plan
side effect
44. An explicit statement that takes a value of one type and computes a corresponding value of another type.
unit testing
type conversion
hint
expression
45. A loop in which the terminating condition is never satisfied.
infinite loop
boolean function
handle an exception
program
46. 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.
data structure
boolean value
comment
list comprehension
47. Generalization by reducing the information content of a concept.
key-value pair
abstraction
instantiate
postfix
48. 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.
local variable
value
interpret
side effect
49. A thing to which a variable can refer.
object
condition
delimiter
hint
50. A program (or the person who wrote it) that uses an ADT.
scalar multiplication
encode
client
immutable data type