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. The process of formulating a problem and finding a solution and expressing the solution.
problem solving
fruitful function
high-level language
planned development
2. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
dot product
script
branch
concatenate
3. An assertion that must be true in order for a method to work correctly.
cursor
assignment statement
precondition
class attribute
4. To signal an exception using the raise statement.
infinite loop
functional programming style
raise
value
5. A visual cue that tells the user to input data.
syntax
prompt
function
handle an exception
6. A loop in which the terminating condition is never satisfied.
infinite recursion
key
semantic error
infinite loop
7. A variable that is defined inside a class definition but outside any method. These are accessible from any method in the class and are shared by all instances of the class.
class attribute
non-volatile memory
tuple assignment
parent class
8. An error in a program that makes it impossible to parse
recursive call
nested loop
syntax error
traceback
9. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
object
frame
modulus operator
token
10. A way of writing mathematical expressions with the operators after the operands.
queue
nested list
siblings
postfix
11. One of the values on which an operator operates.
cargo
functional programming style
dot operator
operand
12. A compound data type that is often used to model a thing or concept in the real world.
invariant
polymorphic
object
runtime error
13. The boolean expression in a conditional statement that determines which branch is executed.
class
condition
fruitful function
siblings
14. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
argument
frame
prefix notation
body
15. The output of the compiler after it translates the program.
object code
decrement
local variable
dot operator
16. To simplify an expression by performing the operations in order to yield a single value.
preorder
problem solving
chained conditional
evaluate
17. A tree in which each node refers to zero or one or two dependent nodes.
unit testing
Queue
binary tree
slice
18. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
scalar multiplication
block
infinite recursion
boolean expression
19. A loop inside the body of another loop.
pure function
singleton
nested loop
mutable data type
20. A graphical representation of a stack of functions and their variables and the values to which they refer.
binary operator
comparison operator
stack diagram
initialization method
21. 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.
conditional statement
invariant
test-driven development (TDD)
delimiter
22. A kind of data structure that can contain data of any type.
child class
optional parameter
generic data structure
instantiate
23. An organization of data for the purpose of making it easier to use.
parameter
immutable
data type
data structure
24. The set of operations that define an ADT.
siblings
side effect
interface
import statement
25. 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
volatile memory
cargo
dictionary
26. A name used inside a function to refer to the value passed as an argument.
iteration
composition (of functions)
dot product
parameter
27. 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.
priority queue
key
flow of execution
source code
28. Another name for object code that is ready to be executed.
executable
docstring
generic data structure
recursive definition
29. An automatic procedure used to validate that individual units of code are working properly.
unit testing
argument
trace
branch
30. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
element
inorder
function composition
runtime error
31. A programming construct that waits for events and processes them.
conditional statement
event loop
script
syntax error
32. A linked list with a single node.
priority queue
exception
linked list
singleton
33. The value provided as the result of a function call.
cursor
return value
parent class
loop
34. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
embedded reference
mutable data type
return value
pure function
35. An error that does not occur until the program has started to execute but that prevents the program from continuing.
parse
overflow
runtime error
block
36. The structure of a program.
nested list
loop
node
syntax
37. A way of developing programs starting with a prototype and gradually testing and improving it.
low-level language
header
compiler
prototype development
38. A new class created by inheriting from an existing class; also called a subclass.
nested list
wrapping code in a function
semantics
child class
39. 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.
veneer
development plan
slice
helper
40. A named collection of objects where each object is identified by an index.
abstract data type (ADT)
element
file
list
41. A name that refers to a value.
side effect
composition
evaluate
variable
42. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
boolean expression
operator overloading
argument
fruitful function
43. A group of consecutive statements with the same indentation.
delimiter
dictionary
block
function call
44. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
namespace
preorder
import statement
class attribute
45. To create an instance of a class.
instantiate
helper
functional programming style
element
46. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
parse
list
class
precondition
47. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
index
element
random
parse
48. 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.
method
argv (argument vector)
slice
comment
49. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
argument
infinite loop
functional programming style
trace
50. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
delimiter
nesting
escape sequence
whitespace