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. To follow the flow of execution of a program by hand - recording the change of state of the variables and any output produced.
whitespace
constant time
byte code
trace
2. The structure of a program.
abstraction
escape sequence
syntax
client
3. A statement which makes the objects contained in a module available for use within another module.
pure function
operand
text file
import statement
4. A name that refers to a value.
rules of precedence
variable
executable
class
5. The name and location of a file within a file system.
invariant
token
path
child
6. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.
client
attribute
file
trace
7. A linked list with a single node.
binary tree
singleton
path
infinite recursion
8. The process of formulating a problem and finding a solution and expressing the solution.
logical operator
veneer
problem solving
method
9. Making more than one assignment to the same variable during the execution of a program.
function composition
multiple assignment
docstring
postfix
10. A character that is used to separate tokens such as punctuation in a natural language.
delimiter
function definition
abstraction
interface
11. A bottom-most node in a tree with no children.
leaf
postorder
nested loop
decrement
12. A function that yields a return value.
header
data structure
object
fruitful function
13. An automatic procedure used to validate that individual units of code are working properly.
loop variable
boolean expression
unit testing
continue statement
14. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
list
client
body
operator overloading
15. A logical error which stops a program from performing.
run time error
mutable type
composition (of functions)
tuple
16. A name used inside a function to refer to the value passed as an argument.
parameter
mutable data type
run time error
integer division
17. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
infix
parent
scalar multiplication
infinite recursion
18. To create an instance of a class.
constant
instantiate
preorder
pure function
19. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
functional programming style
local variable
key-value pair
traverse
20. A graphical representation of a stack of functions and their variables and the values to which they refer.
file system
raise
debugging
stack diagram
21. Any one of the languages that people speak that evolved naturally.
natural language
initialization method
parent class
initialization (of a variable)
22. A property of a program that can run on more than one kind of computer.
accumulator
argv (argument vector)
portability
command line argument
23. A reference stored in an attribute of an object.
constant
pure function
parse
embedded reference
24. A variable defined inside a function. A local variable can only be used inside its function.
infinite loop
assignment statement
local variable
low-level language
25. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
import statement
trace
aliases
planned development
26. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
invariant
compile
natural language
nesting
27. Calling one function from within the body of another or using the return value of one function as an argument to the call of another.
composition (of functions)
nested list
parse
executable
28. To join two strings end-to-end.
infix
run time error
loop
concatenate
29. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
invariant
inorder
loop variable
recursive definition
30. A statement that causes the current iteration of a loop to end.
generalize
child class
parameter
continue statement
31. A file that contains printable characters organized into lines separated by newline characters.
interpret
text file
Priority Queue
tuple assignment
32. Code that satisfies the syntactic and semantic requirements of an interface.
natural language
implementation
function definition
prefix notation
33. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
function definition
key-value pair
list traversal
operator
34. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
return value
token
precondition
data type
35. The process of calling the function that is currently executing.
priority queue
recursion
syntax
parse
36. A statement that controls the flow of execution depending on some condition.
concatenate
file
conditional statement
fruitful function
37. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
list comprehension
argv (argument vector)
body
delimiter
38. A reserved word that is used by the compiler to parse program; you cannot use keywords like if or def or while as variable names.
pure function
keyword
class attribute
docstring
39. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
abstraction
postorder
modifier
scalar multiplication
40. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.
source code
clone
list
formal language
41. The topmost node in a tree with no parent.
initialization method
planned development
import statement
root
42. A data structure that implements a collection using a sequence of linked nodes.
escape sequence
encapsulate
linked list
operand
43. A function which has no side effects. It only makes changes to the calling program through its return values.
exception
parameter
pure function
link
44. The block of statements in a compound statement that follows the header.
interpret
FIFO(First In First Out)
body
naming collision
45. To read a string of characters or tokens and analyze its grammatical structure.
parse
attribute
stack diagram
method
46. 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.
nesting
traceback
syntax
object code
47. 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.
state diagram
comment
syntax error
mutable data type
48. A method for naming and accessing and organizing files and the data they contain.
node
abstraction
file system
cargo
49. The value provided as the result of a function call.
function call
return value
runtime error
dot operator
50. To prevent an exception from terminating a program using the try and except statements.
handle an exception
modifier
block
element