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. One of the values on which an operator operates.
operand
portability
composition
interface
2. a sequence of instructions that specifies to a computer actions and computations to be performed.
program
incremental development
value
index
3. A bottom-most node in a tree with no children.
leaf
mapping type
handle an exception
stack diagram
4. It prevents a compiler from compiling.
generic data structure
clone
command line
syntactical errors
5. The class from which a child class inherits.
child class
parent class
optional parameter
boolean function
6. 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.
key-value pair
dictionary
parent class
comment
7. An implementation of a queue using a linked list.
header
linked queue
child
syntax error
8. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
initialization (of a variable)
planned development
parent class
continue statement
9. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
trichotomy
volatile memory
recursive definition
argument
10. A sequence of one or more characters used to specify the boundary between separate parts of text.
clone
sequence
delimiter
invariant
11. 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.
attribute
priority queue
tuple
type conversion
12. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
newline
list comprehension
pure function
optional parameter
13. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
event loop
slice
dictionary
naming collision
14. An automatic procedure used to validate that individual units of code are working properly.
immutable data type
return value
unit testing
random
15. The name and location of a file within a file system.
compound statement
initialization (of a variable)
inorder
path
16. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
modulus operator
command line
generic data structure
logical operator
17. To read a string of characters or tokens and analyze its grammatical structure.
syntactical errors
body
parse
helper
18. Another name for a runtime error.
generalize
exception
modifier
slice
19. Both as a noun and as a verb - it means to increase by 1.
class attribute
runtime error
clone
increment
20. To signal an exception using the raise statement.
dictionary
singleton
raise
Queue
21. 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.
wrapping code in a function
formal language
newline
compiler
22. A list of the functions that are executing - printed when a runtime error occurs. Also commonly refered to as a stack trace since it lists the functions in the order in which they are stored in the runtime stack.
traceback
fundamental ambiguity theorem
key-value pair
veneer
23. A statement that assigns a value to a name (variable).
accumulator
path
assignment statement
link
24. The dot operator ( .) permits access to attributes and functions of a module.
docstring
dot operator
tab
index
25. A distinct method of operation within a computer program.
clone
mode
infix
root
26. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
invariant
list
delimiter
provider
27. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
overflow
interpret
index
immutable data type
28. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
syntactical errors
keyword
interface
token
29. A list that is an element of another list.
local variable
singleton
nested list
class
30. One of the possible paths of the flow of execution determined by conditional execution.
prototype development
composition
recursion
branch
31. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
rules of precedence
formal language
postorder
object
32. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
generalize
executable
whitespace
evaluate
33. A method for naming and accessing and organizing files and the data they contain.
client
veneer
file system
delimiter
34. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
tail recursion
operator overloading
Queue
scaffolding
35. An expression in parentheses that acts as a single operand in a larger expression.
mutable data type
subexpression
Priority Queue
scalar multiplication
36. A character that is used to separate tokens such as punctuation in a natural language.
delimiter
nesting
Priority Queue
variable
37. An organization of data for the purpose of making it easier to use.
logical operator
object-oriented language
data structure
constant
38. A data type in which the values are made up of components or elements that are themselves values.
compound data type
provider
cargo
natural language
39. A way to traverse a tree - visiting the children of each node before the node itself.
interpret
prompt
generalize
postorder
40. 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.
expression
polymorphic
slice
delimiter
41. The rules that determine which member of a queue is removed next.
base case
boolean expression
evaluate
queueing policy
42. The process of formulating a problem and finding a solution and expressing the solution.
encode
problem solving
comparison operator
parent class
43. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
infinite recursion
compile
argument
nested list
44. A graphical representation of a set of variables and the values to which they refer.
inheritance
return value
generalize
state diagram
45. To examine a program and analyze the syntactic structure.
compound statement
encapsulate
parse
incremental development
46. The topmost node in a tree with no parent.
algorithm
test-driven development (TDD)
root
argument
47. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
step size
encapsulate
counter
link
48. A recursive call that occurs as the last statement (at the tail) of a function definition.
tail recursion
pure function
slice
command prompt
49. An error that occurs at runtime.
dot operator
exception
base case
aliases
50. A part of a string (substring) specified by a range of indices.
formal language
method
script
slice