SUBJECTS
|
BROWSE
|
CAREER CENTER
|
POPULAR
|
JOIN
|
LOGIN
Business Skills
|
Soft Skills
|
Basic Literacy
|
Certifications
About
|
Help
|
Privacy
|
Terms
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 dot operator ( .) permits access to attributes and functions of a module.
dot operator
exception
operand
object
2. A file that contains printable characters organized into lines separated by newline characters.
exception
command prompt
raise
text file
3. Both as a noun and as a verb - it means to increase by 1.
increment
body
chained conditional
naming collision
4. An organization of data for the purpose of making it easier to use.
data structure
abstraction
branch
comment
5. A character that is used to separate tokens such as punctuation in a natural language.
mutable data type
class
delimiter
loop
6. The name and location of a file within a file system.
linked queue
priority queue
nesting
path
7. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
helper
text file
wrapper
block
8. The process of calling the function that is currently executing.
recursion
nested loop
invariant
comment
9. A part of a string (substring) specified by a range of indices.
portability
clone
slice
counter
10. 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.
return value
event loop
step size
abstraction
11. The boolean expression in a conditional statement that determines which branch is executed.
condition
slice
Queue
trichotomy
12. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
modifier
nested list
frame
pure function
13. A graphical representation of a set of variables and the values to which they refer.
logical operator
compound statement
state diagram
iteration
14. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
node
byte code
dot operator
method
15. It prevents a compiler from compiling.
source code
dictionary
executable
syntactical errors
16. An item of data contained in a node.
constant time
variable name
cargo
data type
17. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
problem solving
modifier
traceback
compound statement
18. The process of finding and removing any of the three kinds of programming errors.
compound data type
integer division
debugging
assignment statement
19. One of the possible paths of the flow of execution determined by conditional execution.
overflow
local variable
branch
low-level language
20. An error that does not occur until the program has started to execute but that prevents the program from continuing.
runtime error
inheritance
token
unit testing
21. A compound data type that is often used to model a thing or concept in the real world.
object
algorithm
object-oriented language
mutable data type
22. A statement that causes the current iteration of a loop to end.
provider
header
immutable data type
continue statement
23. A combination of variables and operators and values that represents a single result value.
siblings
integer division
argument
expression
24. The meaning of a program.
object
object-oriented programming
semantics
trichotomy
25. 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.
algorithm
priority queue
list comprehension
naming collision
26. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
high-level language
executable
non-volatile memory
side effect
27. A method for naming and accessing and organizing files and the data they contain.
file system
branch
rules of precedence
scaffolding
28. A graphical representation of a stack of functions and their variables and the values to which they refer.
variable
stack diagram
prefix notation
level
29. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
class
nesting
body
generalize
30. The process of adding a function header and parameters to a sequence of program statements. This process is very useful whenever the program statements in question are going to be used multiple times.
escape sequence
wrapping code in a function
standard library
abstraction
31. An invisible marker that keeps track of where the next character will be printed.
modifier
interpret
cursor
boolean expression
32. Any one of the languages that people speak that evolved naturally.
postorder
standard library
natural language
dot operator
33. An expression in parentheses that acts as a single operand in a larger expression.
operator overloading
natural language
side effect
subexpression
34. A named collection of files - also called a folder.
interface
decrement
directory
namespace
35. An expression that is either true or false.
stack diagram
boolean expression
instantiate
file system
36. To read a string of characters or tokens and analyze its grammatical structure.
parse
list comprehension
slice
singleton
37. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
data type
operator overloading
provider
element
38. The code (or the person who wrote it) that implements an ADT.
temporary variable
trichotomy
provider
subexpression
39. A way of developing programs starting with a prototype and gradually testing and improving it.
immutable data type
infix
prototype development
object-oriented programming
40. 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
token
immutable
tuple
41. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
state diagram
data type
nesting
docstring
42. A reference to a list node can be treated as a single object or as the first in a list of nodes.
fundamental ambiguity theorem
iteration
infix
step size
43. Code that satisfies the syntactic and semantic requirements of an interface.
branch
implementation
Priority Queue
chained conditional
44. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
naming collision
event
command line
event loop
45. An error that occurs at runtime.
exception
attribute
linked queue
linear time
46. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.
escape sequence
command line argument
veneer
body
47. A string displayed by a command line interface indicating that commands can be entered.
namespace
command prompt
method
encapsulate
48. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
operator
loop variable
composition (of functions)
frame
49. The order in which statements are executed during a program run.
semantic error
planned development
flow of execution
Priority Queue
50. To execute a program in a high-level language by translating it one line at a time.
text file
link
interpret
object