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 character that is used to separate tokens such as punctuation in a natural language.
delimiter
loop variable
increment
token
2. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
constant time
mode
method
step size
3. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
portability
initialization (of a variable)
implementation
operator overloading
4. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
list comprehension
scaffolding
frame
cursor
5. An operator that takes two operands.
binary operator
inheritance
temporary variable
side effect
6. There are exactly two boolean values: True and False.
linear time
wrapping code in a function
index
boolean value
7. To create an instance of a class.
root
instantiate
prompt
linked queue
8. A function that yields a return value.
mapping type
fruitful function
comment
root
9. A property of a program that can run on more than one kind of computer.
boolean value
parent class
parameter
portability
10. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
object
unit testing
program
operator overloading
11. A library is a collection of software used as tools in the development of other software.
import statement
standard library
class
data type
12. 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.
class attribute
tail recursion
function
linked list
13. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
decrement
parse
argument
recursive definition
14. An automatic procedure used to validate that individual units of code are working properly.
tuple
attribute
link
unit testing
15. 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.
step size
exception
local variable
side effect
16. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
optional parameter
compile
attribute
program
17. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
aliases
byte code
script
value
18. To simplify an expression by performing the operations in order to yield a single value.
rules of precedence
local variable
infix
evaluate
19. One of the operators that compares two values: == or != or > or < or >= and <=.
run time error
comparison operator
index
volatile memory
20. To read a string of characters or tokens and analyze its grammatical structure.
parse
exception
token
encapsulate
21. An error in a program.
bug
instantiate
argv (argument vector)
data type
22. A statement which makes the objects contained in a module available for use within another module.
command line
algorithm
import statement
compile
23. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
parameter
rules of precedence
trichotomy
incremental development
24. An ordered set of objects waiting for a service of some kind.
accumulator
formal language
queue
newline
25. 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.
command line
Queue
traceback
polymorphic
26. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
composition
class
generalize
concatenate
27. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
compiler
mutable type
argv (argument vector)
linked queue
28. The statement in a recursive function with is a call to itself.
branch
object
tuple
recursive call
29. A statement that assigns a value to a name (variable).
postfix
assignment statement
syntactical errors
interface
30. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
algorithm
composition
nesting
keyword
31. One of the possible paths of the flow of execution determined by conditional execution.
cargo
branch
unit testing
function definition
32. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
fundamental ambiguity theorem
nested list
method
naming collision
33. A queueing policy in which each member has a priority determined by external factors. The member with the highest priority is the first to be removed.
singleton
compound data type
helper
priority queue
34. An invisible marker that keeps track of where the next character will be printed.
postfix
syntactical errors
infinite recursion
cursor
35. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
modulus operator
body
prototype development
generic data structure
36. The process of calling the function that is currently executing.
index
low-level language
recursion
program
37. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
boolean value
node
attribute
iteration
38. The node that refers to a given node.
executable
parent
method
accumulator
39. A variable or value used to select a member of an ordered set - such as a character from a string.
index
nested loop
abstraction
low-level language
40. The name and location of a file within a file system.
syntax error
tuple assignment
path
attribute
41. A thing to which a variable can refer.
whitespace
high-level language
token
object
42. The code (or the person who wrote it) that implements an ADT.
parent class
dictionary
dead code
provider
43. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
helper
operator
recursion
event loop
44. A tree in which each node refers to zero or one or two dependent nodes.
infinite recursion
binary operator
binary tree
attribute
45. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
class attribute
delimiter
composition
tuple
46. Another name for object code that is ready to be executed.
aliases
problem solving
executable
abstraction
47. Code that is used during program development but is not part of the final version.
file
local variable
parse
scaffolding
48. 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.
function
slice
composition (of functions)
pure function
49. To signal an exception using the raise statement.
exception
non-volatile memory
function composition
raise
50. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
function call
token
priority queue
compound statement