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 set of operations that define an ADT.
docstring
interface
function call
command line
2. An assertion that must be true in order for a method to work correctly.
cursor
method
base case
precondition
3. A programming language that is designed to be easy for humans to read and write.
high-level language
compound statement
step size
embedded reference
4. A string displayed by a command line interface indicating that commands can be entered.
test-driven development (TDD)
function definition
event loop
command prompt
5. A programming construct that waits for events and processes them.
logical operator
event
high-level language
event loop
6. An ordered set of objects waiting for a service of some kind.
queue
flow of execution
text file
loop
7. A compound data type whose elements cannot be assigned new values.
attribute
return value
immutable
precondition
8. One of the operators that compares two values: == or != or > or < or >= and <=.
newline
comparison operator
hint
wrapping code in a function
9. An object that belongs to a class.
invariant
unit testing
loop
instance
10. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
parameter
list comprehension
exception
high-level language
11. An operation whose runtime is a linear function of the size of the data structure.
wrapping code in a function
implementation
body
linear time
12. A data type which can be modified.
attribute
syntax error
mutable data type
compound statement
13. An error in a program.
bug
planned development
precondition
instantiate
14. The topmost node in a tree with no parent.
test-driven development (TDD)
token
binary tree
root
15. A way of writing a mathematical expression with each operator appearing before its operands.
composition (of functions)
prefix notation
leaf
continue statement
16. A library is a collection of software used as tools in the development of other software.
standard library
executable
file
encode
17. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
function
loop
binary tree
generic data structure
18. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
value
dot product
FIFO(First In First Out)
algorithm
19. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
accumulator
syntactical errors
operator overloading
queue
20. A distinct method of operation within a computer program.
binary operator
mode
mutable data type
optional parameter
21. A data type in which the values are made up of components or elements that are themselves values.
modifier
composition (of functions)
object-oriented programming
compound data type
22. To create a new object that has the same value as an existing object.
delimiter
keyword
clone
pure function
23. Having no specific pattern. Unpredictable.
variable
provider
traceback
random
24. To signal an exception using the raise statement.
Queue
raise
method
dot notation
25. An error in a program that makes it do something other than what the programmer intended.
script
prefix notation
nested loop
semantic error
26. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
function composition
raise
fruitful function
scalar multiplication
27. A character that is used to separate tokens such as punctuation in a natural language.
variable name
constant
wrapper
delimiter
28. It prevents a compiler from compiling.
command line argument
high-level language
algorithm
syntactical errors
29. To create an instance of a class.
clone
boolean function
instantiate
pure function
30. One of the possible paths of the flow of execution determined by conditional execution.
method
branch
object
implementation
31. A numerical result that is too large to be represented in a numerical format.
compound data type
interpret
delimiter
overflow
32. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
operator
trace
node
Priority Queue
33. The value given to an optional parameter if no argument for it is provided in the function call.
trace
class attribute
default value
optional parameter
34. 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.
exception
side effect
compound statement
child
35. A new class created by inheriting from an existing class; also called a subclass.
volatile memory
traverse
stack diagram
child class
36. A named collection of objects where each object is identified by an index.
delimiter
list
prototype development
mapping type
37. The structure of a program.
parse
syntax
argument
accumulator
38. Repeated execution of a set of programming statements.
body
iteration
scaffolding
wrapping code in a function
39. The boolean expression in a conditional statement that determines which branch is executed.
header
condition
sequence
prompt
40. The dot operator ( .) permits access to attributes and functions of a module.
assignment statement
dot operator
initialization method
boolean function
41. To simplify an expression by performing the operations in order to yield a single value.
dot notation
evaluate
function
priority queue
42. A function which has no side effects. It only makes changes to the calling program through its return values.
block
prefix notation
pure function
traverse
43. The rules that determine which member of a queue is removed next.
mutable type
constant time
siblings
queueing policy
44. 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.
interface
function
variable name
inorder
45. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
exception
dot notation
method
accumulator
46. The value provided as the result of a function call.
return value
state diagram
client
variable name
47. A queueing policy in which the first member to arrive is the first to be removed.
command prompt
infinite recursion
argument
FIFO(First In First Out)
48. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
command line argument
whitespace
nested list
conditional statement
49. A style of program design in which the majority of functions are pure.
namespace
boolean expression
infix
functional programming style
50. One of the named data items that makes up an instance.
pure function
naming collision
iteration
attribute