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. One of the operators that compares two values: == or != or > or < or >= and <=.
base case
comparison operator
handle an exception
generic data structure
2. Multiple variables that contain references to the same object.
exception
default value
body
aliases
3. An expression that is either true or false.
sequence
incremental development
boolean expression
attribute
4. An error that does not occur until the program has started to execute but that prevents the program from continuing.
integer division
delimiter
runtime error
queueing policy
5. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
non-volatile memory
instantiate
constant
header
6. An error in a program that makes it impossible to parse
siblings
type conversion
link
syntax error
7. 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.
modulus operator
parse
priority queue
parent
8. A branch of the conditional statement in a recursive function that does not result in a recursive call.
non-volatile memory
node
base case
parse
9. A logical error which stops a program from performing.
run time error
random
conditional statement
delimiter
10. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
boolean value
method
composition (of functions)
exception
11. A property of a program that can run on more than one kind of computer.
newline
object
variable name
portability
12. 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.
boolean value
event loop
natural language
formal language
13. A statement that assigns a value to a name (variable).
body
assignment statement
generic data structure
value
14. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
naming collision
aliases
parse
parse
15. A way to traverse a tree - visiting each node before its children.
dot operator
cursor
fruitful function
preorder
16. A named collection of objects where each object is identified by an index.
binary tree
list
comparison operator
boolean expression
17. A combination of variables and operators and values that represents a single result value.
event
bug
expression
boolean function
18. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
infinite recursion
dictionary
boolean function
frame
19. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
planned development
namespace
aliases
executable
20. Any one of the languages that people speak that evolved naturally.
object-oriented programming
wrapping code in a function
natural language
pure function
21. A statement that controls the flow of execution depending on some condition.
syntactical errors
modifier
conditional statement
delimiter
22. A conditional branch with more than two possible flows of execution.
data structure
unit testing
chained conditional
stack diagram
23. A way to traverse a tree - visiting the children of each node before the node itself.
counter
postorder
argv (argument vector)
abstraction
24. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
inorder
operator
command prompt
wrapping code in a function
25. An invisible marker that keeps track of where the next character will be printed.
list
cursor
overflow
type conversion
26. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
prefix notation
delimiter
initialization method
hint
27. The statements inside a loop.
body
leaf
exception
child class
28. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
loop
logical operator
high-level language
token
29. Generalization by reducing the information content of a concept.
link
exception
abstraction
boolean value
30. A string displayed by a command line interface indicating that commands can be entered.
command prompt
run time error
argument
sequence
31. 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?
import statement
standard library
trichotomy
list traversal
32. An ordered set of objects waiting for a service of some kind.
queue
nested loop
executable
problem solving
33. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
algorithm
object-oriented programming
compound statement
planned development
34. A kind of data structure that can contain data of any type.
fruitful function
interpret
generic data structure
Queue
35. An assertion that must be true in order for a method to work correctly.
syntax
precondition
conditional statement
list traversal
36. A file that contains printable characters organized into lines separated by newline characters.
text file
modulus operator
syntax error
nesting
37. To join two strings end-to-end.
block
script
modifier
concatenate
38. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
escape sequence
argv (argument vector)
Queue
variable
39. An operation that divides one integer by another and yields an integer. Integer division yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.
command line argument
variable name
object
integer division
40. A sequence of one or more characters used to specify the boundary between separate parts of text.
event loop
delimiter
abstraction
path
41. A loop in which the terminating condition is never satisfied.
escape sequence
key
infinite loop
debugging
42. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
linked queue
singleton
rules of precedence
counter
43. A function which has no side effects. It only makes changes to the calling program through its return values.
pure function
file
function definition
nesting
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.
generalize
concatenate
body
method
45. 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.
preorder
binary operator
accumulator
compiler
46. Any of the data types that consist of an ordered set of elements with each element identified by an index.
sequence
infix
infinite loop
function
47. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
cursor
operator
event loop
dot product
48. A data structure that implements a collection using a sequence of linked nodes.
type conversion
linked list
traverse
development plan
49. The class from which a child class inherits.
parent class
naming collision
queue
cargo
50. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
modulus operator
function definition
parent class
list comprehension