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 invisible marker that keeps track of where the next character will be printed.
cursor
text file
object
inheritance
2. A visual cue that tells the user to input data.
generalize
functional programming style
prompt
queueing policy
3. An operation whose runtime is a linear function of the size of the data structure.
syntax
linear time
abstraction
event loop
4. The name and location of a file within a file system.
priority queue
leaf
object
path
5. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
modifier
traceback
node
linear time
6. A program that translates higher level programming languages into basic instructions the CPU can understand.
comment
pure function
bug
compiler
7. A conditional branch with more than two possible flows of execution.
priority queue
command prompt
wrapping code in a function
chained conditional
8. Code that satisfies the syntactic and semantic requirements of an interface.
program
wrapping code in a function
implementation
slice
9. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
initialization (of a variable)
list traversal
block
Queue
10. The statements inside a loop.
instance
key
body
prefix notation
11. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
inorder
method
command line argument
integer division
12. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
high-level language
list comprehension
initialization method
optional parameter
13. A property of a program that can run on more than one kind of computer.
portability
optional parameter
operator overloading
tuple
14. The value given to an optional parameter if no argument for it is provided in the function call.
high-level language
incremental development
default value
formal language
15. A statement that assigns a value to a name (variable).
generalize
provider
cursor
assignment statement
16. An error that does not occur until the program has started to execute but that prevents the program from continuing.
loop
formal language
runtime error
delimiter
17. A way of writing mathematical expressions with the operators between the operands.
cargo
infix
cursor
program
18. A graphical representation of a set of variables and the values to which they refer.
keyword
queueing policy
dot notation
state diagram
19. A compound data type whose elements cannot be assigned new values.
program
precondition
immutable
operator
20. A data type comprised of a collection of keys and associated values.
newline
prefix notation
constant time
mapping type
21. 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.
naming collision
class attribute
infinite recursion
mode
22. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
docstring
semantics
instantiate
syntax error
23. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.
subexpression
tuple
scalar multiplication
non-volatile memory
24. Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.
wrapper
comment
helper
syntactical errors
25. A graphical representation of a stack of functions and their variables and the values to which they refer.
stack diagram
scalar multiplication
whitespace
algorithm
26. Both as a noun and as a verb - it means to increase by 1.
increment
delimiter
prompt
operator overloading
27. Making more than one assignment to the same variable during the execution of a program.
high-level language
recursion
multiple assignment
data structure
28. The statement in a recursive function with is a call to itself.
operator overloading
path
keyword
recursive call
29. A sequence of one or more characters used to specify the boundary between separate parts of text.
linked queue
delimiter
function
abstract data type (ADT)
30. One of the possible paths of the flow of execution determined by conditional execution.
unit testing
siblings
development plan
branch
31. 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.
trichotomy
escape sequence
keyword
incremental development
32. Generalization by reducing the information content of a concept.
exception
abstraction
tail recursion
token
33. A step-by-step process for solving a category of problems.
slice
algorithm
portability
event
34. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
linked list
interpret
variable name
volatile memory
35. A reference to a list node can be treated as a single object or as the first in a list of nodes.
attribute
raise
fundamental ambiguity theorem
link
36. A way of writing mathematical expressions with the operators after the operands.
tail recursion
accumulator
argv (argument vector)
postfix
37. A way to traverse a tree - visiting each node before its children.
portability
helper
preorder
traverse
38. A variable used in a loop to accumulate a series of values - such as by concatenating them onto a string or adding them to a running sum.
accumulator
prompt
nested loop
semantics
39. To join two strings end-to-end.
concatenate
continue statement
newline
random
40. A combination of variables and operators and values that represents a single result value.
expression
generic data structure
postorder
increment
41. A linked list with a single node.
index
implementation
singleton
siblings
42. An assertion that must be true in order for a method to work correctly.
counter
dot product
precondition
syntactical errors
43. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.
operator overloading
tuple assignment
delimiter
unit testing
44. A statement that consists of two parts: header - which begins with a keyword determining the statement type and ends with a colon. body - containing one or more statements indented the same amount from the header.
cursor
semantic error
compound statement
default value
45. 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.
linked list
loop
stack diagram
function
46. An automatic procedure used to validate that individual units of code are working properly.
hint
abstraction
temporary variable
unit testing
47. One of the nodes referred to by a node.
child
preorder
prefix notation
functional programming style
48. Repeated execution of a set of programming statements.
syntax error
leaf
iteration
runtime error
49. A general process for solving a category of problems.
child class
parameter
algorithm
natural language
50. The set of nodes equidistant from the root.
pure function
side effect
infix
level