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. An organization of data for the purpose of making it easier to use.
hint
bug
data structure
initialization method
2. 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.
veneer
tuple
counter
cursor
3. There are exactly two boolean values: True and False.
algorithm
boolean value
compound data type
type conversion
4. A numerical value that does not change during the execution of a program.
instance
element
random
constant
5. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.
volatile memory
tuple
keyword
boolean function
6. A way of writing a mathematical expression with each operator appearing before its operands.
prefix notation
test-driven development (TDD)
constant time
run time error
7. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.
rules of precedence
binary operator
formal language
boolean expression
8. A numerical result that is too large to be represented in a numerical format.
standard library
command line argument
overflow
chained conditional
9. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
encapsulate
key-value pair
singleton
import statement
10. The set of operations that define an ADT.
interface
generalize
modulus operator
node
11. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
class
incremental development
traverse
value
12. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
namespace
binary tree
loop
syntax error
13. A style of program design in which the majority of functions are pure.
incremental development
handle an exception
functional programming style
dot product
14. A name given to a variable.
variable name
Priority Queue
functional programming style
delimiter
15. A function that is defined inside a class definition and is invoked on instances of that class. :override:: To replace a default. Examples include replacing a default parameter with a particular argument and replacing a default method by providing a
node
concatenate
constant
method
16. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
body
chained conditional
whitespace
boolean function
17. The node that refers to a given node.
parent
infinite loop
parent class
body
18. Part of a program that can never be executed - often because it appears after a return statement.
dead code
token
mutable data type
continue statement
19. A new class created by inheriting from an existing class; also called a subclass.
child class
implementation
method
command line
20. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
initialization (of a variable)
program
element
modulus operator
21. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
encode
volatile memory
naming collision
boolean function
22. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
function definition
nesting
composition
non-volatile memory
23. A general process for solving a category of problems.
compound statement
whitespace
algorithm
function call
24. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
composition
constant time
list
parse
25. A statement that creates a new function specifying its name and parameters and the statements it executes.
function definition
argument
initialization (of a variable)
operator overloading
26. A collection of key-value pairs that maps from keys to values.
object-oriented language
abstraction
dictionary
unit testing
27. 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.
function composition
generalize
modifier
pure function
28. A way of developing programs starting with a prototype and gradually testing and improving it.
optional parameter
prototype development
nesting
file
29. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
type conversion
compiler
generic data structure
compile
30. A program stored in a file (usually one that will be interpreted).
script
provider
data structure
parent class
31. A data type comprised of a collection of keys and associated values.
local variable
exception
prefix notation
mapping type
32. A graphical representation of a set of variables and the values to which they refer.
object-oriented language
state diagram
delimiter
infinite loop
33. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
newline
dot notation
modulus operator
delimiter
34. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
immutable
stack diagram
helper
problem solving
35. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
exception
modifier
algorithm
object-oriented language
36. An error that occurs at runtime.
integer division
exception
provider
run time error
37. The statement in a recursive function with is a call to itself.
binary operator
recursive call
side effect
child
38. A group of consecutive statements with the same indentation.
infinite recursion
block
logical operator
interpret
39. An expression that is either true or false.
function
polymorphic
infinite loop
boolean expression
40. The topmost node in a tree with no parent.
prompt
token
root
trace
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.
file
polymorphic
method
evaluate
42. An item of data contained in a node.
linked queue
algorithm
cargo
compound statement
43. To represent one set of values using another set of values by constructing a mapping between them.
recursion
planned development
volatile memory
encode
44. A data type in which the elements can be modified. It is a compound type - e.g. lists.
mode
object
bug
mutable type
45. The sequential accessing of each element in a list.
level
base case
list traversal
raise
46. A special character that causes the cursor to move to the beginning of the next line.
iteration
newline
conditional statement
child
47. A function which has no side effects. It only makes changes to the calling program through its return values.
keyword
incremental development
pure function
prefix notation
48. Code that is used during program development but is not part of the final version.
recursive definition
pure function
token
scaffolding
49. The process of finding and removing any of the three kinds of programming errors.
debugging
abstract data type (ADT)
type conversion
method
50. A way to traverse a tree - visiting each node before its children.
preorder
inheritance
trichotomy
tuple