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. Code that is used during program development but is not part of the final version.
scaffolding
file
value
algorithm
2. A step-by-step process for solving a category of problems.
modifier
command prompt
evaluate
algorithm
3. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
algorithm
object-oriented programming
low-level language
planned development
4. A statement which makes the objects contained in a module available for use within another module.
import statement
pure function
prefix notation
instantiate
5. A signal such as a keyboard press or mouse click or message from another program.
scalar multiplication
event
block
command line argument
6. 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.
side effect
scaffolding
generic data structure
class
7. A function which has no side effects. It only makes changes to the calling program through its return values.
dot operator
pure function
linked list
temporary variable
8. A statement that creates a new function specifying its name and parameters and the statements it executes.
function definition
handle an exception
encapsulate
tail recursion
9. A program that translates higher level programming languages into basic instructions the CPU can understand.
compiler
operand
standard library
index
10. A compound data type whose elements cannot be assigned new values.
immutable
prefix notation
command line
instance
11. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
body
assignment statement
modifier
counter
12. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
token
binary tree
child class
command prompt
13. A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.
default value
abstract data type (ADT)
boolean expression
loop
14. Code that satisfies the syntactic and semantic requirements of an interface.
operator overloading
hint
implementation
optional parameter
15. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
client
prompt
leaf
compile
16. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.
operator overloading
chained conditional
file system
object-oriented language
17. A name used inside a function to refer to the value passed as an argument.
tuple
parameter
object-oriented programming
accumulator
18. The structure of a program.
syntax
wrapper
trace
text file
19. A linked list with a single node.
singleton
tuple
bug
path
20. The dot operator ( .) permits access to attributes and functions of a module.
modulus operator
boolean function
boolean expression
dot operator
21. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
optional parameter
token
argv (argument vector)
development plan
22. To create an instance of a class.
text file
dead code
binary tree
instantiate
23. An expression that is either true or false.
cargo
semantics
boolean expression
instance
24. An integer variable or value that indicates an element of a list.
header
index
class
infix
25. Decrease by 1.
comment
bug
chained conditional
decrement
26. A way to traverse a tree - visiting the children of each node before the node itself.
instance
handle an exception
postorder
pure function
27. A name given to a variable.
recursive definition
encode
variable name
scaffolding
28. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
traceback
operator
functional programming style
compile
29. An organization of data for the purpose of making it easier to use.
data structure
random
problem solving
portability
30. The topmost node in a tree with no parent.
key
generalize
counter
root
31. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
base case
object-oriented programming
function
leaf
32. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
state diagram
comparison operator
non-volatile memory
trace
33. To iterate through the elements of a set performing a similar operation on each.
precondition
random
raise
traverse
34. The output of the compiler after it translates the program.
object code
file system
docstring
block
35. To execute a program in a high-level language by translating it one line at a time.
fruitful function
bug
interpret
siblings
36. A method for naming and accessing and organizing files and the data they contain.
event loop
boolean function
parse
file system
37. A process for developing a program.
development plan
nesting
constant
import statement
38. An automatic procedure used to validate that individual units of code are working properly.
pure function
unit testing
algorithm
argv (argument vector)
39. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
file
token
path
rules of precedence
40. One of the operators that compares two values: == or != or > or < or >= and <=.
variable
method
comparison operator
interpret
41. A variable used in a loop to accumulate a series of values - such as by concatenating them onto a string or adding them to a running sum.
recursive definition
source code
linear time
accumulator
42. Part of a program that can never be executed - often because it appears after a return statement.
program
dead code
debugging
generalize
43. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
mutable data type
postorder
value
frame
44. A bottom-most node in a tree with no children.
semantic error
nested list
leaf
object
45. Both as a noun and as a verb - it means to increase by 1.
wrapping code in a function
index
object
increment
46. To examine a program and analyze the syntactic structure.
parse
program
path
volatile memory
47. A property of a program that can run on more than one kind of computer.
embedded reference
compound statement
immutable data type
portability
48. To create a new object that has the same value as an existing object.
clone
infinite loop
generic data structure
nesting
49. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
header
whitespace
scalar multiplication
operand
50. 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.
header
byte code
syntax error
evaluate