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 named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.
flow of execution
function
object-oriented programming
body
2. Any of the data types that consist of an ordered set of elements with each element identified by an index.
initialization (of a variable)
state diagram
compiler
sequence
3. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
operator
semantics
key-value pair
parent class
4. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
interpret
implementation
fruitful function
argv (argument vector)
5. The ability to define a new class that is a modified version of a previously defined class.
variable
object code
algorithm
inheritance
6. A loop inside the body of another loop.
client
nested loop
embedded reference
test-driven development (TDD)
7. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
interface
element
side effect
command prompt
8. A numerical value that does not change during the execution of a program.
constant
preorder
composition (of functions)
byte code
9. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
counter
token
random
helper
10. Having no specific pattern. Unpredictable.
parent
loop
random
evaluate
11. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
infinite recursion
tab
modulus operator
data type
12. A program in a high-level language before being compiled.
source code
portability
generic data structure
counter
13. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
mode
comparison operator
inorder
delimiter
14. A function which has no side effects. It only makes changes to the calling program through its return values.
pure function
escape sequence
singleton
element
15. A data structure that implements a collection using a sequence of linked nodes.
constant
semantic error
generic data structure
linked list
16. To examine a program and analyze the syntactic structure.
algorithm
parse
compound data type
parameter
17. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
key-value pair
concatenate
parent class
namespace
18. One of the named data items that makes up an instance.
slice
event
trace
attribute
19. A compound data type that is often used to model a thing or concept in the real world.
tuple assignment
object
child class
syntax
20. An operator that takes two operands.
comparison operator
boolean expression
binary operator
file system
21. 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?
newline
fundamental ambiguity theorem
trichotomy
semantics
22. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
initialization method
portability
recursive definition
subexpression
23. The set of operations that define an ADT.
interface
link
parameter
precondition
24. A reserved word that is used by the compiler to parse program; you cannot use keywords like if or def or while as variable names.
random
keyword
composition (of functions)
event loop
25. To represent one set of values using another set of values by constructing a mapping between them.
list
encode
pure function
precondition
26. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
loop
helper
queue
argv (argument vector)
27. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
immutable data type
local variable
problem solving
pure function
28. A bottom-most node in a tree with no children.
planned development
condition
leaf
tuple assignment
29. A way of writing mathematical expressions with the operators after the operands.
postfix
function call
run time error
runtime error
30. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
traceback
mode
delimiter
nesting
31. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
child
Queue
rules of precedence
element
32. A property of a program that can run on more than one kind of computer.
interface
wrapper
portability
body
33. A statement that creates a new function specifying its name and parameters and the statements it executes.
function definition
slice
Priority Queue
high-level language
34. An error in a program that makes it do something other than what the programmer intended.
formal language
parameter
semantic error
recursive call
35. A function that yields a return value.
function definition
value
fruitful function
development plan
36. A statement that causes the current iteration of a loop to end.
delimiter
evaluate
event
continue statement
37. A data type in which the values are made up of components or elements that are themselves values.
whitespace
object
compound data type
variable
38. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
attribute
header
natural language
value
39. A parameter written in a function header with an assignment to a default value which it will receive if no corresponding argument is given for it in the function call.
optional parameter
parse
key-value pair
linked list
40. An ADT that performs the operations one might perform on a queue.
delimiter
high-level language
Queue
base case
41. A way of writing a mathematical expression with each operator appearing before its operands.
composition (of functions)
prefix notation
modifier
prompt
42. A style of program design in which the majority of functions are pure.
state diagram
polymorphic
cargo
functional programming style
43. A process for developing a program.
docstring
sequence
temporary variable
development plan
44. The class from which a child class inherits.
tuple assignment
state diagram
parent class
syntax error
45. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
immutable data type
child class
command line argument
element
46. The structure of a program.
clone
concatenate
syntax
linked queue
47. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
compound statement
loop
scaffolding
text file
48. A group of consecutive statements with the same indentation.
linked list
volatile memory
block
postfix
49. A distinct method of operation within a computer program.
subexpression
comparison operator
child class
mode
50. One of the possible paths of the flow of execution determined by conditional execution.
key
class
mutable data type
branch