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 reference stored in an attribute of an object.
planned development
delimiter
embedded reference
decrement
2. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.
chained conditional
wrapper
object-oriented language
compound statement
3. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
script
raise
function call
immutable data type
4. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
syntactical errors
namespace
conditional statement
siblings
5. The dot operator ( .) permits access to attributes and functions of a module.
clone
prefix notation
dot operator
evaluate
6. A conditional branch with more than two possible flows of execution.
chained conditional
linked queue
syntax error
block
7. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
postfix
modifier
wrapper
client
8. The process of calling the function that is currently executing.
evaluate
subexpression
recursion
functional programming style
9. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
conditional statement
file
fruitful function
header
10. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
command line
dictionary
parameter
initialization method
11. An error that does not occur until the program has started to execute but that prevents the program from continuing.
runtime error
inheritance
text file
portability
12. A special character that causes the cursor to move to the next tab stop on the current line.
accumulator
variable
tab
high-level language
13. A compound data type that is often used to model a thing or concept in the real world.
script
object
postorder
syntax error
14. A programming language that is designed to be easy for humans to read and write.
mapping type
high-level language
path
tail recursion
15. A way of writing mathematical expressions with the operators between the operands.
function definition
infix
polymorphic
variable
16. Calling one function from within the body of another or using the return value of one function as an argument to the call of another.
test-driven development (TDD)
command prompt
composition (of functions)
concatenate
17. A part of a string (substring) specified by a range of indices.
path
mapping type
logical operator
slice
18. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
type conversion
token
volatile memory
algorithm
19. A data type in which the values are made up of components or elements that are themselves values.
compiler
hint
frame
compound data type
20. A branch of the conditional statement in a recursive function that does not result in a recursive call.
encode
pure function
base case
operator
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?
constant time
Queue
rules of precedence
trichotomy
22. A numerical result that is too large to be represented in a numerical format.
algorithm
formal language
embedded reference
overflow
23. A sequence of one or more characters used to specify the boundary between separate parts of text.
logical operator
delimiter
non-volatile memory
linked list
24. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
algorithm
key-value pair
dot product
body
25. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.
trichotomy
object code
tuple assignment
object
26. To examine a program and analyze the syntactic structure.
infix
linear time
embedded reference
parse
27. The sequential accessing of each element in a list.
child
overflow
value
list traversal
28. To create a new object that has the same value as an existing object.
frame
clone
compiler
docstring
29. A reference to a list node can be treated as a single object or as the first in a list of nodes.
sequence
program
function composition
fundamental ambiguity theorem
30. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
trichotomy
keyword
body
operator
31. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
attribute
command line argument
iteration
flow of execution
32. An ordered set of objects waiting for a service of some kind.
queue
tuple assignment
root
import statement
33. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
naming collision
expression
text file
keyword
34. An ADT that defines the operations one might perform on a priority queue.
leaf
runtime error
iteration
Priority Queue
35. A data type which can be modified.
mapping type
postorder
pure function
mutable data type
36. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
stack diagram
initialization method
command prompt
modifier
37. One of the values on which an operator operates.
increment
operand
object
exception
38. A character or string used to indicate where a string should be split.
delimiter
portability
dictionary
index
39. One of the possible paths of the flow of execution determined by conditional execution.
fundamental ambiguity theorem
branch
link
composition (of functions)
40. A combination of variables and operators and values that represents a single result value.
syntax error
method
expression
return value
41. A collection of key-value pairs that maps from keys to values.
object-oriented programming
body
dictionary
traverse
42. To create an instance of a class.
abstraction
object
instantiate
subexpression
43. 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.
fruitful function
tail recursion
base case
step size
44. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
logical operator
syntactical errors
rules of precedence
immutable
45. Another name for a runtime error.
delimiter
exception
conditional statement
source code
46. An expression in parentheses that acts as a single operand in a larger expression.
subexpression
composition
handle an exception
dot operator
47. A named collection of objects where each object is identified by an index.
scaffolding
list
block
planned development
48. To execute a program in a high-level language by translating it one line at a time.
infinite loop
variable name
interpret
loop
49. To join two strings end-to-end.
priority queue
command prompt
concatenate
index
50. 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.
naming collision
aliases
keyword
object code