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.
syntax
method
import statement
trace
2. Both as a noun and as a verb - it means to increase by 1.
initialization method
increment
link
helper
3. A distinct method of operation within a computer program.
nesting
natural language
mode
script
4. Another name for object code that is ready to be executed.
event loop
executable
modifier
compound statement
5. One of the named data items that makes up an instance.
attribute
step size
linear time
interface
6. A general process for solving a category of problems.
keyword
immutable data type
mutable data type
algorithm
7. One of the operators that compares two values: == or != or > or < or >= and <=.
conditional statement
nested list
comparison operator
dot notation
8. A loop in which the terminating condition is never satisfied.
handle an exception
unit testing
infinite loop
wrapper
9. The ability to define a new class that is a modified version of a previously defined class.
tail recursion
inheritance
whitespace
cargo
10. A way to traverse a tree - visiting the children of each node before the node itself.
operator
exception
postorder
byte code
11. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
docstring
comment
unit testing
runtime error
12. A reference stored in an attribute of an object.
embedded reference
fruitful function
non-volatile memory
Priority Queue
13. A variable used as part of the terminating condition of a loop.
multiple assignment
index
loop variable
child
14. Use of the dot operator '.' to access functions inside a module.
immutable
prototype development
dot notation
nested loop
15. The block of statements in a compound statement that follows the header.
body
nesting
prefix notation
parent class
16. A program (or the person who wrote it) that uses an ADT.
constant time
infinite loop
client
leaf
17. A statement that controls the flow of execution depending on some condition.
conditional statement
multiple assignment
loop
dead code
18. Part of a program that can never be executed - often because it appears after a return statement.
return value
iteration
dead code
wrapper
19. A loop inside the body of another loop.
frame
modulus operator
pure function
nested loop
20. A program that translates higher level programming languages into basic instructions the CPU can understand.
comment
generalize
compiler
functional programming style
21. A part of a string (substring) specified by a range of indices.
postorder
instantiate
slice
immutable data type
22. 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.
accumulator
handle an exception
functional programming style
priority queue
23. To represent one set of values using another set of values by constructing a mapping between them.
newline
encode
modifier
Priority Queue
24. One of the nodes referred to by a node.
syntactical errors
compile
class attribute
child
25. A string displayed by a command line interface indicating that commands can be entered.
bug
command prompt
dot product
tab
26. A file that contains printable characters organized into lines separated by newline characters.
attribute
functional programming style
infinite loop
text file
27. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
fruitful function
parse
initialization (of a variable)
delimiter
28. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
encapsulate
prototype development
directory
pure function
29. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
frame
body
compile
comparison operator
30. A library is a collection of software used as tools in the development of other software.
script
keyword
standard library
level
31. An operation whose runtime does not depend on the size of the data structure.
import statement
continue statement
constant time
function definition
32. An invisible marker that keeps track of where the next character will be printed.
slice
directory
cursor
dot product
33. An ordered set of objects waiting for a service of some kind.
queue
exception
nesting
debugging
34. A function that returns a boolean value.
method
argv (argument vector)
boolean function
parse
35. The set of nodes equidistant from the root.
token
level
modulus operator
return value
36. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
operator overloading
nested loop
compiler
helper
37. The name and location of a file within a file system.
delimiter
path
nested list
nested loop
38. A conditional branch with more than two possible flows of execution.
constant time
debugging
command line argument
chained conditional
39. A named collection of files - also called a folder.
list
directory
semantics
dot operator
40. Memory which requires an electrical current to maintain state. Information stored is lost when the computer is turned off.
volatile memory
development plan
chained conditional
interpret
41. A group of consecutive statements with the same indentation.
boolean expression
return value
program
block
42. A sequence of one or more characters used to specify the boundary between separate parts of text.
integer division
modifier
delimiter
volatile memory
43. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
constant time
concatenate
event loop
list comprehension
44. An embedded reference used to link one object to another.
trace
hint
compiler
link
45. A bottom-most node in a tree with no children.
operand
nested loop
non-volatile memory
leaf
46. Multiple variables that contain references to the same object.
algorithm
encapsulate
aliases
base case
47. A special character that causes the cursor to move to the beginning of the next line.
abstraction
dot product
newline
flow of execution
48. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
command line argument
dot notation
encode
debugging
49. 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
functional programming style
function composition
loop
50. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
counter
traverse
algorithm
path