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 ordered set of objects waiting for a service of some kind.
sequence
development plan
priority queue
queue
2. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
docstring
modifier
newline
list comprehension
3. An error that occurs at runtime.
default value
exception
nested loop
Priority Queue
4. To examine a program and analyze the syntactic structure.
rules of precedence
naming collision
list traversal
parse
5. To simplify an expression by performing the operations in order to yield a single value.
increment
method
evaluate
binary operator
6. A data type in which the values are made up of components or elements that are themselves values.
parse
comparison operator
counter
compound data type
7. A data type comprised of a collection of keys and associated values.
formal language
import statement
evaluate
mapping type
8. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
nesting
wrapper
counter
non-volatile memory
9. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
block
dot product
volatile memory
provider
10. The dot operator ( .) permits access to attributes and functions of a module.
provider
object-oriented programming
wrapping code in a function
dot operator
11. An integer variable or value that indicates an element of a list.
tuple assignment
nested loop
syntax error
index
12. To read a string of characters or tokens and analyze its grammatical structure.
Queue
type conversion
infinite recursion
parse
13. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
list comprehension
algorithm
method
initialization (of a variable)
14. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
infinite loop
subexpression
wrapping code in a function
function call
15. A numerical result that is too large to be represented in a numerical format.
dead code
overflow
list
stack diagram
16. An expression that is either true or false.
nesting
mapping type
boolean expression
runtime error
17. A statement that controls the flow of execution depending on some condition.
invariant
mutable data type
conditional statement
generalize
18. An explicit statement that takes a value of one type and computes a corresponding value of another type.
infinite recursion
type conversion
data type
increment
19. 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.
tuple assignment
problem solving
trichotomy
wrapping code in a function
20. A reference stored in an attribute of an object.
invariant
embedded reference
decrement
runtime error
21. A collection of key-value pairs that maps from keys to values.
dictionary
conditional statement
invariant
body
22. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
data structure
postorder
debugging
command line argument
23. To create an instance of a class.
body
method
state diagram
instantiate
24. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
cursor
command line argument
recursive definition
pure function
25. A character that is used to separate tokens such as punctuation in a natural language.
delimiter
scalar multiplication
development plan
boolean expression
26. To iterate through the elements of a set performing a similar operation on each.
fruitful function
traverse
problem solving
dot operator
27. A thing to which a variable can refer.
object
body
abstract data type (ADT)
import statement
28. A part of a string (substring) specified by a range of indices.
boolean function
command line
slice
non-volatile memory
29. The boolean expression in a conditional statement that determines which branch is executed.
argv (argument vector)
side effect
pure function
condition
30. The value given to an optional parameter if no argument for it is provided in the function call.
default value
child
index
algorithm
31. The process of formulating a problem and finding a solution and expressing the solution.
problem solving
boolean value
cargo
dot operator
32. A function that returns a boolean value.
boolean function
delimiter
directory
command line
33. The structure of a program.
composition
syntax
delimiter
low-level language
34. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
integer division
key-value pair
formal language
escape sequence
35. A linked list with a single node.
encode
singleton
recursion
problem solving
36. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
namespace
handle an exception
command prompt
comment
37. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
run time error
algorithm
whitespace
inheritance
38. One of the named data items that makes up an instance.
attribute
syntax
evaluate
text file
39. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
abstract data type (ADT)
infinite recursion
object-oriented programming
executable
40. The class from which a child class inherits.
parent class
rules of precedence
escape sequence
operator
41. To replace something unnecessarily specific (like a constant value) with something appropriately general (like a variable or parameter). It makes code more versatile - more likely to be reused and sometimes even easier to write.
evaluate
initialization method
generalize
list traversal
42. One of the operators that compares two values: == or != or > or < or >= and <=.
step size
comparison operator
formal language
algorithm
43. 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.
evaluate
object
slice
comment
44. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
hint
composition (of functions)
helper
scalar multiplication
45. A statement which makes the objects contained in a module available for use within another module.
mode
import statement
clone
loop
46. The second part of a compound statement. The body consists of a sequence of statements all indented the same amount from the beginning of the header.
newline
executable
attribute
body
47. An invisible marker that keeps track of where the next character will be printed.
import statement
nested list
cursor
syntax
48. A numerical value that does not change during the execution of a program.
index
semantics
hint
constant
49. The topmost node in a tree with no parent.
fundamental ambiguity theorem
root
byte code
tab
50. A set of values. The type of a value determines how it can be used in expressions. So far the types you have seen are integers (type int) and floating-point numbers (type float) and strings (type str).
operator
data type
assignment statement
composition (of functions)