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 escape character '' followed by one or more printable characters used to designate a nonprintable character.
escape sequence
function definition
nested loop
decrement
2. A named collection of objects where each object is identified by an index.
fundamental ambiguity theorem
child class
prototype development
list
3. One of the possible paths of the flow of execution determined by conditional execution.
clone
body
constant time
branch
4. An assertion that must be true in order for a method to work correctly.
modulus operator
composition
precondition
nested loop
5. 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.
side effect
pure function
keyword
tail recursion
6. Code that is used during program development but is not part of the final version.
scaffolding
delimiter
interpret
queueing policy
7. A data type in which the values are made up of components or elements that are themselves values.
instantiate
boolean function
logical operator
compound data type
8. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
return value
standard library
import statement
operator overloading
9. A special character that causes the cursor to move to the next tab stop on the current line.
temporary variable
tab
chained conditional
token
10. The structure of a program.
function
operator overloading
syntax
immutable
11. A kind of data structure that can contain data of any type.
generic data structure
namespace
delimiter
variable
12. A function that yields a return value.
object code
argument
volatile memory
fruitful function
13. The class from which a child class inherits.
object
parent class
abstraction
nested loop
14. An error in a program.
mode
bug
volatile memory
loop variable
15. The sequence of characters read into the command interpreter in a command line interface.
subexpression
command line
keyword
postorder
16. A software development practice which arrives at a desired feature through a series of small but iterative steps motivated by automated tests which are written first that express increasing refinements of the desired feature.
file
overflow
test-driven development (TDD)
traceback
17. A file that contains printable characters organized into lines separated by newline characters.
local variable
operator
attribute
text file
18. One of the operators that compares two values: == or != or > or < or >= and <=.
integer division
fundamental ambiguity theorem
comparison operator
counter
19. 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.
nesting
infix
composition (of functions)
instantiate
20. A variable used to store an intermediate value in a complex calculation.
parse
temporary variable
child
queue
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?
command prompt
interpret
trichotomy
operator overloading
22. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
value
recursion
element
optional parameter
23. To create a new object that has the same value as an existing object.
clone
file system
dot notation
queue
24. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
pure function
counter
attribute
evaluate
25. A tree in which each node refers to zero or one or two dependent nodes.
modulus operator
condition
assignment statement
binary tree
26. An error that does not occur until the program has started to execute but that prevents the program from continuing.
queueing policy
multiple assignment
runtime error
value
27. A programming language that is designed to be easy for humans to read and write.
import statement
postfix
high-level language
local variable
28. A program in a high-level language before being compiled.
source code
sequence
formal language
recursive definition
29. The set of nodes equidistant from the root.
child
element
level
abstract data type (ADT)
30. A collection of key-value pairs that maps from keys to values.
aliases
data type
binary operator
dictionary
31. A way to traverse a tree - visiting the children of each node before the node itself.
veneer
scalar multiplication
helper
postorder
32. A part of a string (substring) specified by a range of indices.
base case
slice
queue
traceback
33. A string displayed by a command line interface indicating that commands can be entered.
import statement
step size
raise
command prompt
34. The name and location of a file within a file system.
path
operand
run time error
tail recursion
35. To represent one set of values using another set of values by constructing a mapping between them.
encode
continue statement
provider
decrement
36. A statement that controls the flow of execution depending on some condition.
function definition
conditional statement
branch
invariant
37. A variable that is defined inside a class definition but outside any method. These are accessible from any method in the class and are shared by all instances of the class.
comment
program
flow of execution
class attribute
38. An invisible marker that keeps track of where the next character will be printed.
immutable data type
incremental development
cursor
comment
39. A data type in which the elements can be modified. It is a compound type - e.g. lists.
mutable type
infinite loop
tail recursion
boolean expression
40. The meaning of a program.
semantics
object-oriented language
abstraction
side effect
41. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
instantiate
object
body
volatile memory
42. An expression in parentheses that acts as a single operand in a larger expression.
subexpression
mutable data type
cargo
attribute
43. To iterate through the elements of a set performing a similar operation on each.
variable
executable
traverse
generic data structure
44. Any one of the languages that people speak that evolved naturally.
newline
mode
chained conditional
natural language
45. Repeated execution of a set of programming statements.
instance
iteration
hint
volatile memory
46. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
instantiate
problem solving
frame
FIFO(First In First Out)
47. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
trace
compound statement
volatile memory
run time error
48. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
data type
function definition
modifier
sequence
49. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
nested loop
block
body
immutable data type
50. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
dot notation
comparison operator
node
argv (argument vector)