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 divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
runtime error
rules of precedence
encapsulate
delimiter
2. A part of a string (substring) specified by a range of indices.
inorder
slice
pure function
generic data structure
3. The statements inside a loop.
operand
infinite loop
body
mapping type
4. 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.
delimiter
text file
random
keyword
5. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
expression
object-oriented programming
subexpression
linked queue
6. An error in a program.
modifier
whitespace
bug
interpret
7. To execute a program in a high-level language by translating it one line at a time.
interpret
inheritance
queue
recursion
8. One of the operators that compares two values: == or != or > or < or >= and <=.
standard library
boolean value
evaluate
comparison operator
9. A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.
function
source code
data structure
prefix notation
10. One of the values on which an operator operates.
operand
naming collision
parent class
optional parameter
11. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.
node
file
index
volatile memory
12. An item of data contained in a node.
object
embedded reference
scaffolding
cargo
13. A visual cue that tells the user to input data.
postfix
operator overloading
script
prompt
14. A variable used as part of the terminating condition of a loop.
tuple assignment
loop variable
parameter
iteration
15. An assertion that must be true in order for a method to work correctly.
body
parse
precondition
multiple assignment
16. To examine a program and analyze the syntactic structure.
list traversal
rules of precedence
parse
directory
17. A branch of the conditional statement in a recursive function that does not result in a recursive call.
base case
argument
stack diagram
syntax
18. The process of finding and removing any of the three kinds of programming errors.
whitespace
operator overloading
debugging
parent class
19. A name that refers to a value.
file
binary tree
client
variable
20. A file that contains printable characters organized into lines separated by newline characters.
tab
function
text file
cargo
21. A general process for solving a category of problems.
algorithm
delimiter
method
non-volatile memory
22. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
multiple assignment
immutable data type
siblings
recursive definition
23. A named collection of objects where each object is identified by an index.
list
low-level language
immutable
node
24. One of the named data items that makes up an instance.
event
interpret
attribute
delimiter
25. A program stored in a file (usually one that will be interpreted).
script
frame
comment
list comprehension
26. A function that yields a return value.
infinite loop
composition (of functions)
concatenate
fruitful function
27. To create an instance of a class.
instantiate
list traversal
portability
overflow
28. A method for naming and accessing and organizing files and the data they contain.
program
tuple assignment
development plan
file system
29. A way of developing programs starting with a prototype and gradually testing and improving it.
default value
low-level language
prototype development
generalize
30. Having no specific pattern. Unpredictable.
development plan
provider
class attribute
random
31. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
queueing policy
parent class
scalar multiplication
argv (argument vector)
32. A named collection of files - also called a folder.
directory
iteration
return value
recursive call
33. The block of statements in a compound statement that follows the header.
generic data structure
directory
accumulator
body
34. A data type which can be modified.
mutable data type
body
slice
client
35. The boolean expression in a conditional statement that determines which branch is executed.
parent
cargo
condition
syntax
36. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
debugging
nesting
comparison operator
queue
37. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
generic data structure
wrapping code in a function
operator
client
38. It prevents a compiler from compiling.
FIFO(First In First Out)
singleton
syntactical errors
formal language
39. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.
tuple assignment
naming collision
modifier
attribute
40. A program (or the person who wrote it) that uses an ADT.
dot operator
queue
command prompt
client
41. A recursive call that occurs as the last statement (at the tail) of a function definition.
body
tail recursion
logical operator
postorder
42. A graphical representation of a set of variables and the values to which they refer.
non-volatile memory
state diagram
singleton
object-oriented programming
43. The output of the compiler after it translates the program.
evaluate
method
object code
tail recursion
44. 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.
body
compound statement
hint
scaffolding
45. A name given to a variable.
helper
variable name
priority queue
fundamental ambiguity theorem
46. Decrease by 1.
traverse
immutable
decrement
import statement
47. To replace something unnecessarily specific (like a constant value) with something appropriately general (like a variable or parameter). It makes code more versatile - more likely to be reused and sometimes even easier to write.
generalize
data type
random
namespace
48. A data structure that implements a collection using a sequence of linked nodes.
body
infinite recursion
linked list
Priority Queue
49. Given any real numbers a and b exactly one of the following relations holds: a < b or a > b or a = b. Thus when you can establish that two of the relations are false you can assume the remaining one is true. What is it called?
trichotomy
command line
method
pure function
50. To simplify an expression by performing the operations in order to yield a single value.
key-value pair
temporary variable
file system
evaluate