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. A special character that causes the cursor to move to the next tab stop on the current line.
tab
interpret
boolean expression
Priority Queue
2. The order in which statements are executed during a program run.
flow of execution
nested loop
body
syntax
3. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
initialization (of a variable)
function call
handle an exception
constant
4. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
prototype development
element
byte code
handle an exception
5. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
algorithm
namespace
algorithm
trace
6. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
delimiter
hint
operator
composition (of functions)
7. The dot operator ( .) permits access to attributes and functions of a module.
delimiter
linear time
concatenate
dot operator
8. An organization of data for the purpose of making it easier to use.
data structure
executable
boolean function
block
9. A style of program design in which the majority of functions are pure.
non-volatile memory
test-driven development (TDD)
functional programming style
Queue
10. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
compile
queue
semantics
pure function
11. 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.
text file
nested loop
step size
algorithm
12. A named collection of files - also called a folder.
operator
runtime error
helper
directory
13. A general process for solving a category of problems.
assignment statement
algorithm
planned development
logical operator
14. A statement that controls the flow of execution depending on some condition.
fruitful function
conditional statement
overflow
traverse
15. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
constant time
fundamental ambiguity theorem
functional programming style
helper
16. The class from which a child class inherits.
invariant
development plan
function
parent class
17. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
argument
variable name
element
text file
18. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
key
invariant
boolean expression
instance
19. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
docstring
standard library
linear time
command line argument
20. A name that refers to a value.
default value
variable
namespace
command prompt
21. A way of writing mathematical expressions with the operators after the operands.
siblings
postfix
high-level language
modifier
22. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
variable
interpret
veneer
class
23. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
veneer
text file
parent
escape sequence
24. A visual cue that tells the user to input data.
default value
prompt
overflow
function definition
25. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
file
loop
priority queue
debugging
26. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
rules of precedence
aliases
function definition
argument
27. A sequence of one or more characters used to specify the boundary between separate parts of text.
delimiter
docstring
Priority Queue
instance
28. A character or string used to indicate where a string should be split.
block
event loop
delimiter
infix
29. A change in the state of a program made by calling a function that is not a result of reading the return value from the function. Can only be produced by modifiers.
key-value pair
postorder
data structure
side effect
30. Having no specific pattern. Unpredictable.
token
path
random
root
31. A compound data type that is often used to model a thing or concept in the real world.
helper
debugging
object
pure function
32. To examine a program and analyze the syntactic structure.
concatenate
comparison operator
parse
composition (of functions)
33. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
default value
fruitful function
header
type conversion
34. A program stored in a file (usually one that will be interpreted).
inorder
chained conditional
mapping type
script
35. To simplify an expression by performing the operations in order to yield a single value.
Priority Queue
evaluate
decrement
client
36. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
function call
whitespace
functional programming style
binary operator
37. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
siblings
parent
body
token
38. To read a string of characters or tokens and analyze its grammatical structure.
instantiate
object code
parse
linear time
39. An expression in parentheses that acts as a single operand in a larger expression.
object
semantics
link
subexpression
40. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
nesting
path
iteration
index
41. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
incremental development
side effect
parent class
implementation
42. To create a new object that has the same value as an existing object.
path
slice
clone
standard library
43. An error in a program that makes it impossible to parse
function composition
syntax error
class
step size
44. A compound data type whose elements cannot be assigned new values.
function call
immutable
method
non-volatile memory
45. A variable used as part of the terminating condition of a loop.
traceback
cargo
loop variable
local variable
46. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
program
rules of precedence
nesting
recursive definition
47. A data type which can be modified.
mutable data type
infinite recursion
wrapping code in a function
keyword
48. A recursive call that occurs as the last statement (at the tail) of a function definition.
binary tree
data structure
siblings
tail recursion
49. A way to traverse a tree - visiting each node before its children.
preorder
dot operator
function call
modifier
50. The meaning of a program.
dot notation
state diagram
semantics
method