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 combination of variables and operators and values that represents a single result value.
parameter
class attribute
exception
expression
2. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.
token
accumulator
tuple assignment
operator
3. A style of program design in which the majority of functions are pure.
singleton
functional programming style
boolean function
sequence
4. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.
modifier
object-oriented language
inheritance
child
5. Temporary storage of a precomputed value to avoid redundant computation.
parent class
command line
variable
hint
6. The block of statements in a compound statement that follows the header.
list traversal
loop
body
side effect
7. A program that translates higher level programming languages into basic instructions the CPU can understand.
aliases
integer division
compiler
object-oriented language
8. 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.
function call
dot notation
comparison operator
test-driven development (TDD)
9. An embedded reference used to link one object to another.
local variable
mutable data type
expression
link
10. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
comparison operator
script
rules of precedence
wrapping code in a function
11. An automatic procedure used to validate that individual units of code are working properly.
unit testing
problem solving
semantic error
object
12. A data type in which the values are made up of components or elements that are themselves values.
generalize
debugging
loop variable
compound data type
13. A loop in which the terminating condition is never satisfied.
infinite loop
file system
attribute
linear time
14. The dot operator ( .) permits access to attributes and functions of a module.
recursive call
problem solving
hint
dot operator
15. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
runtime error
object code
exception
value
16. The statement in a recursive function with is a call to itself.
object code
recursive call
multiple assignment
boolean function
17. A compound data type whose elements cannot be assigned new values.
hint
siblings
parent
immutable
18. A character or string used to indicate where a string should be split.
volatile memory
comparison operator
queue
delimiter
19. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
directory
nesting
index
mapping type
20. A way of writing mathematical expressions with the operators between the operands.
Priority Queue
instantiate
iteration
infix
21. One of the values on which an operator operates.
operand
prefix notation
value
child class
22. An invisible marker that keeps track of where the next character will be printed.
concatenate
cursor
mode
functional programming style
23. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
dictionary
prototype development
argv (argument vector)
path
24. A list that is an element of another list.
infinite recursion
natural language
preorder
nested list
25. The ability to define a new class that is a modified version of a previously defined class.
random
invariant
expression
inheritance
26. Another name for object code that is ready to be executed.
executable
condition
compound statement
namespace
27. A statement which makes the objects contained in a module available for use within another module.
mapping type
instantiate
import statement
integer division
28. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
cursor
infinite recursion
newline
function
29. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
test-driven development (TDD)
initialization (of a variable)
linked queue
decrement
30. 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.
compound statement
object
postorder
prompt
31. 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.
compiler
side effect
token
operand
32. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
incremental development
accumulator
command line argument
Queue
33. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
scaffolding
side effect
object-oriented programming
Priority Queue
34. An ordered set of objects waiting for a service of some kind.
infinite recursion
queue
constant time
parent
35. To create an instance of a class.
semantic error
instantiate
planned development
standard library
36. A program (or the person who wrote it) that uses an ADT.
traverse
modifier
client
incremental development
37. Code that is used during program development but is not part of the final version.
exception
singleton
cursor
scaffolding
38. A collection of key-value pairs that maps from keys to values.
operator
raise
dictionary
syntax
39. The meaning of a program.
veneer
semantics
escape sequence
traverse
40. Generalization by reducing the information content of a concept.
byte code
functional programming style
side effect
abstraction
41. A function which has no side effects. It only makes changes to the calling program through its return values.
nested loop
pure function
event loop
scalar multiplication
42. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
class
stack diagram
boolean expression
syntactical errors
43. An object that belongs to a class.
instance
precondition
node
command line argument
44. Any one of the languages that people speak that evolved naturally.
body
natural language
Queue
runtime error
45. A numerical value that does not change during the execution of a program.
body
token
slice
constant
46. To create a new object that has the same value as an existing object.
siblings
node
clone
method
47. To represent one set of values using another set of values by constructing a mapping between them.
header
infinite loop
compound statement
encode
48. Part of a program that can never be executed - often because it appears after a return statement.
dead code
precondition
loop variable
tuple assignment
49. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
nesting
wrapper
function call
compound statement
50. The class from which a child class inherits.
child
parent class
priority queue
linked list