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 linked list with a single node.
inorder
comparison operator
operator overloading
singleton
2. An error that does not occur until the program has started to execute but that prevents the program from continuing.
command prompt
runtime error
test-driven development (TDD)
scalar multiplication
3. 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?
method
optional parameter
argv (argument vector)
trichotomy
4. Using the output from one function call as the input to another.
compile
binary tree
recursion
function composition
5. A name that refers to a value.
portability
variable
formal language
command line argument
6. A kind of data structure that can contain data of any type.
frame
command line argument
generic data structure
import statement
7. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
algorithm
body
directory
object
8. A special character that causes the cursor to move to the next tab stop on the current line.
binary operator
boolean function
parameter
tab
9. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
abstract data type (ADT)
token
element
level
10. Making more than one assignment to the same variable during the execution of a program.
index
instantiate
keyword
multiple assignment
11. The name and location of a file within a file system.
class
base case
path
polymorphic
12. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
immutable
object-oriented programming
syntax error
functional programming style
13. To represent one set of values using another set of values by constructing a mapping between them.
modulus operator
encode
binary tree
composition
14. Another name for a runtime error.
exception
syntax
local variable
algorithm
15. A way of developing programs starting with a prototype and gradually testing and improving it.
trichotomy
instantiate
prototype development
dot notation
16. The dot operator ( .) permits access to attributes and functions of a module.
argv (argument vector)
problem solving
dot operator
object-oriented programming
17. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
invariant
continue statement
body
frame
18. A compound data type whose elements cannot be assigned new values.
node
immutable
dot product
traverse
19. An assertion that must be true in order for a method to work correctly.
precondition
generalize
compile
file system
20. To read a string of characters or tokens and analyze its grammatical structure.
comparison operator
queue
parse
run time error
21. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
fundamental ambiguity theorem
function definition
planned development
pure function
22. The process of calling the function that is currently executing.
constant time
recursion
attribute
index
23. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
header
generalize
compiler
tuple assignment
24. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
element
trichotomy
operator overloading
delimiter
25. 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
object
subexpression
interface
26. An object that belongs to a class.
token
instance
command prompt
generic data structure
27. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
operator overloading
boolean expression
increment
infinite recursion
28. 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.
object-oriented programming
concatenate
syntax
wrapping code in a function
29. Part of a program that can never be executed - often because it appears after a return statement.
comparison operator
chained conditional
condition
dead code
30. An item of data contained in a node.
cargo
traceback
hint
argv (argument vector)
31. A thing to which a variable can refer.
header
Queue
object
cursor
32. A visual cue that tells the user to input data.
prompt
algorithm
body
dot notation
33. A tree in which each node refers to zero or one or two dependent nodes.
recursive call
key
newline
binary tree
34. To signal an exception using the raise statement.
pure function
boolean function
decrement
raise
35. A program (or the person who wrote it) that uses an ADT.
client
postorder
object-oriented programming
initialization method
36. A new class created by inheriting from an existing class; also called a subclass.
child class
infinite loop
boolean value
scalar multiplication
37. An error in a program that makes it impossible to parse
prototype development
syntax error
default value
inorder
38. It prevents a compiler from compiling.
logical operator
syntactical errors
integer division
exception
39. 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.
compile
child class
function
generic data structure
40. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.
file
chained conditional
dot notation
modulus operator
41. Code that satisfies the syntactic and semantic requirements of an interface.
concatenate
variable
step size
implementation
42. 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.
comment
development plan
nesting
client
43. A data type in which the values are made up of components or elements that are themselves values.
algorithm
stack diagram
compound data type
temporary variable
44. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
multiple assignment
list comprehension
block
namespace
45. A signal such as a keyboard press or mouse click or message from another program.
list traversal
event loop
algorithm
event
46. There are exactly two boolean values: True and False.
boolean value
import statement
list traversal
command line argument
47. To iterate through the elements of a set performing a similar operation on each.
traverse
recursive call
algorithm
prototype development
48. An operation that divides one integer by another and yields an integer. Integer division yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.
queue
algorithm
prototype development
integer division
49. A statement that causes the current iteration of a loop to end.
generalize
continue statement
flow of execution
cargo
50. An expression that is either true or false.
child class
comparison operator
boolean expression
binary tree