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. A sequence of one or more characters used to specify the boundary between separate parts of text.
delimiter
element
syntax error
assignment statement
2. 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.
generic data structure
temporary variable
pure function
function
3. An operation whose runtime does not depend on the size of the data structure.
constant time
development plan
key
mode
4. A thing to which a variable can refer.
recursive call
object
modifier
chained conditional
5. 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.
composition (of functions)
source code
constant
raise
6. A conditional branch with more than two possible flows of execution.
data type
variable
run time error
chained conditional
7. An ADT that defines the operations one might perform on a priority queue.
object
singleton
child class
Priority Queue
8. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
node
random
attribute
stack diagram
9. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.
modifier
wrapper
inheritance
Queue
10. Having no specific pattern. Unpredictable.
object
random
conditional statement
body
11. A general process for solving a category of problems.
algorithm
constant time
development plan
dot product
12. A program in a high-level language before being compiled.
standard library
newline
source code
initialization (of a variable)
13. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
compound statement
namespace
subexpression
cursor
14. One of the nodes referred to by a node.
parse
token
data structure
child
15. The name and location of a file within a file system.
mutable data type
path
planned development
recursion
16. Repeated execution of a set of programming statements.
Queue
iteration
rules of precedence
escape sequence
17. An error in a program that makes it impossible to parse
dot notation
syntax error
key
linked list
18. A way of writing mathematical expressions with the operators between the operands.
infix
binary tree
infinite recursion
command prompt
19. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
hint
low-level language
docstring
argument
20. Making more than one assignment to the same variable during the execution of a program.
multiple assignment
byte code
branch
scaffolding
21. A statement that causes the current iteration of a loop to end.
modifier
operator overloading
trace
continue statement
22. 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).
key-value pair
prompt
parent
data type
23. An invisible marker that keeps track of where the next character will be printed.
cursor
immutable
object code
delimiter
24. Any one of the languages that people speak that evolved naturally.
tuple assignment
keyword
local variable
natural language
25. An error that does not occur until the program has started to execute but that prevents the program from continuing.
body
element
clone
runtime error
26. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
inorder
whitespace
cargo
aliases
27. A function that returns a boolean value.
parse
loop variable
boolean function
level
28. A numerical result that is too large to be represented in a numerical format.
overflow
tail recursion
initialization (of a variable)
command line
29. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
binary tree
inorder
header
hint
30. A part of a string (substring) specified by a range of indices.
slice
return value
wrapper
dot operator
31. A string displayed by a command line interface indicating that commands can be entered.
flow of execution
argument
command prompt
nested loop
32. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
value
leaf
frame
invariant
33. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
planned development
class
cursor
conditional statement
34. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
composition
natural language
leaf
function composition
35. A character that is used to separate tokens such as punctuation in a natural language.
binary operator
delimiter
volatile memory
instantiate
36. The value given to an optional parameter if no argument for it is provided in the function call.
mutable type
semantic error
non-volatile memory
default value
37. 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.
argv (argument vector)
condition
keyword
iteration
38. A loop inside the body of another loop.
run time error
nested loop
instantiate
key
39. An integer variable or value that indicates an element of a list.
helper
path
index
development plan
40. Using the output from one function call as the input to another.
delimiter
variable name
data structure
function composition
41. The ability to define a new class that is a modified version of a previously defined class.
inheritance
object-oriented programming
body
directory
42. 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.
index
wrapping code in a function
branch
multiple assignment
43. A collection of key-value pairs that maps from keys to values.
problem solving
dictionary
parse
naming collision
44. To create an instance of a class.
interface
program
attribute
instantiate
45. 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.
function definition
encode
polymorphic
invariant
46. A list that is an element of another list.
nested list
linear time
command line
trace
47. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
level
algorithm
instance
list comprehension
48. A program (or the person who wrote it) that uses an ADT.
level
linked list
client
priority queue
49. The process of finding and removing any of the three kinds of programming errors.
debugging
syntactical errors
recursion
delimiter
50. A named collection of objects where each object is identified by an index.
algorithm
list
unit testing
infix