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 kind of data structure that can contain data of any type.
generic data structure
key
attribute
handle an exception
2. 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.
accumulator
logical operator
optional parameter
wrapper
3. A distinct method of operation within a computer program.
program
provider
block
mode
4. A program in a high-level language before being compiled.
operator
whitespace
source code
traverse
5. It prevents a compiler from compiling.
dead code
composition (of functions)
syntactical errors
child class
6. To examine a program and analyze the syntactic structure.
encapsulate
handle an exception
parse
functional programming style
7. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
queue
compiler
modifier
compound data type
8. The node that refers to a given node.
parent class
parent
variable name
provider
9. A special character that causes the cursor to move to the next tab stop on the current line.
token
bug
tab
expression
10. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
dot operator
function
element
directory
11. A loop inside the body of another loop.
cursor
priority queue
variable name
nested loop
12. One of the values on which an operator operates.
increment
operand
file system
functional programming style
13. A process for developing a program.
event loop
child
namespace
development plan
14. To prevent an exception from terminating a program using the try and except statements.
state diagram
block
delimiter
handle an exception
15. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
runtime error
modulus operator
sequence
planned development
16. a sequence of instructions that specifies to a computer actions and computations to be performed.
conditional statement
modulus operator
function
program
17. The sequential accessing of each element in a list.
list traversal
recursive call
key-value pair
directory
18. A way to traverse a tree - visiting the children of each node before the node itself.
initialization method
postorder
initialization (of a variable)
recursive call
19. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
trace
algorithm
compile
path
20. 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.
function call
node
loop variable
byte code
21. A data structure that implements a collection using a sequence of linked nodes.
level
condition
linked list
nested loop
22. A group of consecutive statements with the same indentation.
encapsulate
linear time
object
block
23. An implementation of a queue using a linked list.
level
portability
generalize
linked queue
24. A name used inside a function to refer to the value passed as an argument.
portability
parameter
branch
slice
25. An error in a program.
handle an exception
level
bug
pure function
26. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
object-oriented language
operator
initialization method
traverse
27. A variable or value used to select a member of an ordered set - such as a character from a string.
index
encapsulate
delimiter
siblings
28. A function that yields a return value.
operator overloading
fruitful function
list
command line argument
29. 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.
test-driven development (TDD)
interpret
implementation
comment
30. A thing to which a variable can refer.
encode
object
newline
precondition
31. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
non-volatile memory
low-level language
comparison operator
temporary variable
32. To join two strings end-to-end.
comparison operator
concatenate
default value
block
33. A string displayed by a command line interface indicating that commands can be entered.
exception
Priority Queue
command prompt
temporary variable
34. A general process for solving a category of problems.
level
command prompt
algorithm
low-level language
35. 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.
raise
function definition
wrapping code in a function
logical operator
36. The process of finding and removing any of the three kinds of programming errors.
functional programming style
infinite loop
debugging
boolean expression
37. One of the named data items that makes up an instance.
helper
counter
method
attribute
38. 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.
FIFO(First In First Out)
client
handle an exception
generalize
39. The value given to an optional parameter if no argument for it is provided in the function call.
default value
standard library
traceback
side effect
40. The rules that determine which member of a queue is removed next.
linear time
cursor
recursive definition
queueing policy
41. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
body
operator overloading
import statement
Queue
42. An operator that takes two operands.
frame
binary operator
mode
index
43. A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.
function
infinite loop
postfix
wrapper
44. 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.
wrapper
keyword
return value
method
45. The set of nodes equidistant from the root.
veneer
level
assignment statement
parse
46. 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.
newline
veneer
byte code
algorithm
47. Part of a program that can never be executed - often because it appears after a return statement.
dead code
whitespace
postorder
parameter
48. The process of formulating a problem and finding a solution and expressing the solution.
list traversal
file
invariant
problem solving
49. A conditional branch with more than two possible flows of execution.
provider
chained conditional
nested list
random
50. An embedded reference used to link one object to another.
infinite loop
link
root
object-oriented language