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 data type comprised of a collection of keys and associated values.
rules of precedence
encode
parent
mapping type
2. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
operand
branch
leaf
value
3. Using the output from one function call as the input to another.
function composition
dot notation
veneer
inorder
4. A collection of key-value pairs that maps from keys to values.
syntax error
dictionary
method
comparison operator
5. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.
scaffolding
counter
tuple assignment
postfix
6. 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.
level
variable name
priority queue
nested loop
7. One of the named data items that makes up an instance.
command line argument
attribute
subexpression
nested list
8. Part of a program that can never be executed - often because it appears after a return statement.
dead code
counter
accumulator
whitespace
9. A way of writing mathematical expressions with the operators between the operands.
infix
key
runtime error
class attribute
10. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
immutable
instantiate
function call
inorder
11. One of the values on which an operator operates.
operand
composition
frame
compiler
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.
queueing policy
dictionary
non-volatile memory
polymorphic
13. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
pure function
whitespace
object-oriented programming
conditional statement
14. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
slice
volatile memory
escape sequence
priority queue
15. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
non-volatile memory
index
comparison operator
FIFO(First In First Out)
16. A statement that assigns a value to a name (variable).
assignment statement
data structure
child class
singleton
17. A statement that consists of two parts: header - which begins with a keyword determining the statement type and ends with a colon. body - containing one or more statements indented the same amount from the header.
element
compound statement
index
high-level language
18. A programming construct that waits for events and processes them.
event loop
rules of precedence
variable name
level
19. The process of formulating a problem and finding a solution and expressing the solution.
interface
step size
problem solving
side effect
20. A variable used to store an intermediate value in a complex calculation.
compile
token
temporary variable
non-volatile memory
21. A named collection of objects where each object is identified by an index.
invariant
embedded reference
docstring
list
22. The set of nodes equidistant from the root.
level
compound data type
newline
comment
23. An ADT that performs the operations one might perform on a queue.
prompt
Queue
dead code
pure function
24. A tree in which each node refers to zero or one or two dependent nodes.
file system
binary tree
scalar multiplication
sequence
25. An expression that is either true or false.
escape sequence
temporary variable
boolean expression
linked queue
26. The process of finding and removing any of the three kinds of programming errors.
immutable
traverse
debugging
bug
27. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
syntax
subexpression
planned development
infix
28. The rules that determine which member of a queue is removed next.
source code
queueing policy
problem solving
rules of precedence
29. A data structure that implements a collection using a sequence of linked nodes.
node
parse
linked list
inorder
30. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
rules of precedence
counter
planned development
iteration
31. A function which has no side effects. It only makes changes to the calling program through its return values.
body
multiple assignment
operator overloading
pure function
32. A variable defined inside a function. A local variable can only be used inside its function.
event
bug
local variable
modifier
33. An ordered set of objects waiting for a service of some kind.
mutable type
queue
instantiate
clone
34. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
function
formal language
test-driven development (TDD)
low-level language
35. A file that contains printable characters organized into lines separated by newline characters.
program
concatenate
text file
recursion
36. Generalization by reducing the information content of a concept.
precondition
variable
infinite loop
abstraction
37. A loop inside the body of another loop.
stack diagram
nested loop
function composition
namespace
38. The order in which statements are executed during a program run.
dictionary
encapsulate
recursive call
flow of execution
39. A software development practice which arrives at a desired feature through a series of small but iterative steps motivated by automated tests which are written first that express increasing refinements of the desired feature.
data type
argument
test-driven development (TDD)
planned development
40. A library is a collection of software used as tools in the development of other software.
object
Priority Queue
standard library
boolean function
41. The boolean expression in a conditional statement that determines which branch is executed.
pure function
accumulator
condition
traverse
42. An intermediate language between source code and object code. Many modern languages first compile source code into byte code and then interpret the byte code with a program called a virtual machine.
byte code
token
natural language
immutable
43. 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.
mapping type
index
generalize
loop variable
44. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
bug
list
provider
token
45. A statement that controls the flow of execution depending on some condition.
prompt
conditional statement
link
directory
46. A way of writing a mathematical expression with each operator appearing before its operands.
event
header
text file
prefix notation
47. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
exception
parent class
wrapper
scalar multiplication
48. An item of data contained in a node.
precondition
operator overloading
recursion
cargo
49. Having no specific pattern. Unpredictable.
leaf
random
functional programming style
pure function
50. An automatic procedure used to validate that individual units of code are working properly.
variable name
run time error
unit testing
body