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. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
accumulator
value
text file
header
2. Code that is used during program development but is not part of the final version.
scaffolding
boolean value
invariant
body
3. A programming construct that waits for events and processes them.
boolean value
infix
step size
event loop
4. The node that refers to a given node.
parent
node
exception
recursion
5. A library is a collection of software used as tools in the development of other software.
counter
prototype development
standard library
path
6. A programming language that is designed to be easy for humans to read and write.
initialization (of a variable)
evaluate
high-level language
planned development
7. Any of the data types that consist of an ordered set of elements with each element identified by an index.
Priority Queue
path
sequence
parent
8. An error that occurs at runtime.
exception
prototype development
level
operand
9. A string displayed by a command line interface indicating that commands can be entered.
command prompt
composition
key-value pair
natural language
10. A group of consecutive statements with the same indentation.
syntax
function call
block
script
11. A style of program design in which the majority of functions are pure.
instantiate
portability
functional programming style
scalar multiplication
12. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
recursive call
token
slice
operator overloading
13. 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.
loop variable
composition
step size
handle an exception
14. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
non-volatile memory
implementation
command line
scaffolding
15. A character that is used to separate tokens such as punctuation in a natural language.
unit testing
delimiter
subexpression
key-value pair
16. A method for naming and accessing and organizing files and the data they contain.
file system
variable
object-oriented programming
binary tree
17. 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.
loop
client
cursor
keyword
18. A variable or value used to select a member of an ordered set - such as a character from a string.
index
postfix
generalize
list traversal
19. A loop in which the terminating condition is never satisfied.
loop variable
object
evaluate
infinite loop
20. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
escape sequence
interface
modifier
immutable
21. A reference stored in an attribute of an object.
type conversion
text file
docstring
embedded reference
22. To iterate through the elements of a set performing a similar operation on each.
event
traverse
constant time
attribute
23. Another name for a runtime error.
nested list
singleton
Priority Queue
exception
24. 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
embedded reference
wrapper
list traversal
25. A named collection of objects where each object is identified by an index.
list
random
key-value pair
prompt
26. A special character that causes the cursor to move to the next tab stop on the current line.
body
namespace
tab
dot operator
27. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
wrapper
directory
trichotomy
list comprehension
28. A name given to a variable.
raise
argument
variable name
linear time
29. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
prompt
increment
assignment statement
algorithm
30. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
nested list
helper
syntax error
compile
31. An automatic procedure used to validate that individual units of code are working properly.
executable
traceback
unit testing
singleton
32. An operator that takes two operands.
counter
parameter
generalize
binary operator
33. The value provided as the result of a function call.
side effect
key-value pair
helper
return value
34. An organization of data for the purpose of making it easier to use.
dot operator
data structure
immutable
loop
35. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
scalar multiplication
exception
clone
script
36. One of the possible paths of the flow of execution determined by conditional execution.
branch
queue
compound data type
list
37. An error in a program that makes it impossible to parse
incremental development
syntax error
subexpression
immutable
38. The sequence of characters read into the command interpreter in a command line interface.
script
linked queue
loop variable
command line
39. The output of the compiler after it translates the program.
instantiate
clone
iteration
object code
40. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
invariant
trichotomy
modifier
high-level language
41. One of the nodes referred to by a node.
pure function
concatenate
child
modifier
42. A compound data type that is often used to model a thing or concept in the real world.
formal language
immutable data type
event loop
object
43. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
problem solving
slice
mode
immutable data type
44. A tree in which each node refers to zero or one or two dependent nodes.
algorithm
exception
list
binary tree
45. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
infinite recursion
trace
whitespace
base case
46. 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.
block
function
Priority Queue
root
47. One of the named data items that makes up an instance.
abstraction
tail recursion
import statement
attribute
48. A branch of the conditional statement in a recursive function that does not result in a recursive call.
wrapping code in a function
index
base case
operand
49. An error in a program that makes it do something other than what the programmer intended.
tab
queue
recursion
semantic error
50. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
mutable type
recursive definition
abstraction
compiler