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 symbol that represents a simple computation like addition or multiplication or string concatenation.
postfix
counter
method
operator
2. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
attribute
keyword
counter
dot product
3. A list that is an element of another list.
root
linked list
nested list
initialization method
4. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.
composition
slice
body
formal language
5. One of the named data items that makes up an instance.
delimiter
list comprehension
accumulator
attribute
6. A way of writing mathematical expressions with the operators between the operands.
tuple assignment
level
infix
event loop
7. An expression that is either true or false.
encapsulate
parameter
boolean expression
generalize
8. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
expression
handle an exception
method
infix
9. To examine a program and analyze the syntactic structure.
parse
boolean function
client
body
10. 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.
linked list
continue statement
runtime error
body
11. A special character that causes the cursor to move to the next tab stop on the current line.
infix
increment
tab
delimiter
12. 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.
recursion
polymorphic
runtime error
algorithm
13. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
source code
parent
docstring
header
14. A data type in which the elements can be modified. It is a compound type - e.g. lists.
mutable type
file
binary tree
priority queue
15. A method for naming and accessing and organizing files and the data they contain.
naming collision
compile
bug
file system
16. A statement that creates a new function specifying its name and parameters and the statements it executes.
postorder
naming collision
function definition
root
17. A numerical result that is too large to be represented in a numerical format.
text file
overflow
syntax
nested list
18. A tree in which each node refers to zero or one or two dependent nodes.
binary tree
random
mapping type
naming collision
19. 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.
base case
generalize
method
increment
20. Code that satisfies the syntactic and semantic requirements of an interface.
implementation
integer division
base case
evaluate
21. To read a string of characters or tokens and analyze its grammatical structure.
parse
queueing policy
rules of precedence
random
22. The structure of a program.
header
script
condition
syntax
23. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
script
nesting
composition
list comprehension
24. A bottom-most node in a tree with no children.
runtime error
preorder
trichotomy
leaf
25. A queueing policy in which each member has a priority determined by external factors. The member with the highest priority is the first to be removed.
prototype development
infinite recursion
priority queue
whitespace
26. A named collection of files - also called a folder.
directory
wrapper
abstraction
infix
27. The dot operator ( .) permits access to attributes and functions of a module.
problem solving
dot operator
cargo
standard library
28. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.
compiler
class attribute
default value
veneer
29. A variable used as part of the terminating condition of a loop.
loop variable
queueing policy
exception
delimiter
30. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
scalar multiplication
run time error
binary operator
function composition
31. An error in a program that makes it impossible to parse
executable
linked list
source code
syntax error
32. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
dot product
inorder
body
data structure
33. A library is a collection of software used as tools in the development of other software.
delimiter
standard library
trace
parse
34. The statement in a recursive function with is a call to itself.
helper
recursive call
multiple assignment
file
35. A conditional branch with more than two possible flows of execution.
side effect
delimiter
node
chained conditional
36. One of the operators that compares two values: == or != or > or < or >= and <=.
delimiter
overflow
comparison operator
concatenate
37. A file that contains printable characters organized into lines separated by newline characters.
generic data structure
condition
encode
text file
38. 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.
key-value pair
function call
function
argument
39. A property of a program that can run on more than one kind of computer.
modulus operator
index
syntax error
portability
40. 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)
index
binary operator
index
41. The output of the compiler after it translates the program.
object code
overflow
counter
mutable data type
42. A linked list with a single node.
singleton
encode
multiple assignment
queue
43. A variable or value used to select a member of an ordered set - such as a character from a string.
index
attribute
run time error
recursive definition
44. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
algorithm
immutable data type
value
data structure
45. The name and location of a file within a file system.
algorithm
path
encapsulate
preorder
46. The block of statements in a compound statement that follows the header.
body
list traversal
prototype development
class
47. A statement that controls the flow of execution depending on some condition.
conditional statement
list comprehension
rules of precedence
stack diagram
48. A program that translates higher level programming languages into basic instructions the CPU can understand.
prompt
block
compiler
scaffolding
49. A programming construct that waits for events and processes them.
comment
state diagram
tail recursion
event loop
50. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
operand
pure function
planned development
fruitful function