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 function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
pure function
prompt
natural language
hint
2. A reference stored in an attribute of an object.
embedded reference
non-volatile memory
accumulator
list
3. A step-by-step process for solving a category of problems.
function call
algorithm
escape sequence
wrapper
4. A variable or value used to select a member of an ordered set - such as a character from a string.
parse
whitespace
index
function definition
5. 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.
object-oriented programming
list traversal
side effect
function call
6. To create a new object that has the same value as an existing object.
scalar multiplication
clone
concatenate
link
7. A numerical result that is too large to be represented in a numerical format.
function call
level
modifier
overflow
8. 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.
docstring
cargo
generalize
traceback
9. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
Priority Queue
type conversion
method
planned development
10. A statement that controls the flow of execution depending on some condition.
dot notation
leaf
conditional statement
linked queue
11. A compound data type that is often used to model a thing or concept in the real world.
object
encode
fruitful function
branch
12. An error that does not occur until the program has started to execute but that prevents the program from continuing.
runtime error
logical operator
key-value pair
data structure
13. Temporary storage of a precomputed value to avoid redundant computation.
generic data structure
function
postfix
hint
14. Repeated execution of a set of programming statements.
development plan
abstraction
iteration
clone
15. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
body
problem solving
object-oriented programming
variable name
16. An error in a program.
bug
dot product
FIFO(First In First Out)
return value
17. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
encapsulate
portability
file
algorithm
18. A function that returns a boolean value.
dead code
boolean function
class
expression
19. A signal such as a keyboard press or mouse click or message from another program.
event
interpret
compound data type
naming collision
20. A method for naming and accessing and organizing files and the data they contain.
file system
body
frame
cursor
21. One of the possible paths of the flow of execution determined by conditional execution.
branch
mutable type
overflow
escape sequence
22. An ADT that performs the operations one might perform on a queue.
command line
prototype development
dot notation
Queue
23. A visual cue that tells the user to input data.
recursion
docstring
command prompt
prompt
24. A program stored in a file (usually one that will be interpreted).
boolean expression
instantiate
script
boolean function
25. An automatic procedure used to validate that individual units of code are working properly.
unit testing
debugging
side effect
object-oriented language
26. One of the operators that combines boolean expressions: and or and not.
polymorphic
hint
namespace
logical operator
27. A statement that causes the current iteration of a loop to end.
comparison operator
object code
continue statement
counter
28. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.
formal language
development plan
wrapper
inorder
29. A graphical representation of a stack of functions and their variables and the values to which they refer.
operator overloading
stack diagram
tail recursion
subexpression
30. A special character that causes the cursor to move to the next tab stop on the current line.
flow of execution
tab
formal language
root
31. A data type which can be modified.
method
mutable data type
list traversal
tab
32. To examine a program and analyze the syntactic structure.
token
tuple
parse
header
33. 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.
singleton
semantic error
base case
byte code
34. 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.
comment
naming collision
index
modulus operator
35. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
argument
operator overloading
interface
debugging
36. An ADT that defines the operations one might perform on a priority queue.
immutable
Priority Queue
file system
polymorphic
37. A compound data type whose elements cannot be assigned new values.
immutable
parse
command line
FIFO(First In First Out)
38. 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.
modifier
data type
body
pure function
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
value
integer division
runtime error
40. The value provided as the result of a function call.
return value
run time error
linked queue
leaf
41. A collection of key-value pairs that maps from keys to values.
multiple assignment
child
dictionary
object code
42. A kind of data structure that can contain data of any type.
delimiter
development plan
generic data structure
prefix notation
43. A property of a program that can run on more than one kind of computer.
branch
test-driven development (TDD)
function
portability
44. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
test-driven development (TDD)
directory
header
algorithm
45. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
non-volatile memory
event
traceback
operator
46. A name given to a variable.
exception
source code
variable name
token
47. A distinct method of operation within a computer program.
portability
mode
integer division
variable name
48. A variable used as part of the terminating condition of a loop.
loop variable
sequence
portability
list comprehension
49. One of the named data items that makes up an instance.
abstract data type (ADT)
singleton
attribute
logical operator
50. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
helper
argv (argument vector)
high-level language
precondition