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 prevent an exception from terminating a program using the try and except statements.
mutable data type
handle an exception
naming collision
high-level language
2. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
helper
multiple assignment
mode
increment
3. Another name for object code that is ready to be executed.
executable
pure function
function call
provider
4. There are exactly two boolean values: True and False.
abstract data type (ADT)
boolean value
variable
interface
5. To create an instance of a class.
FIFO(First In First Out)
instantiate
conditional statement
nested loop
6. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
linked queue
compiler
branch
invariant
7. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
initialization method
type conversion
docstring
scaffolding
8. A statement that assigns a value to a name (variable).
operator overloading
wrapper
assignment statement
modulus operator
9. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
object
inheritance
node
whitespace
10. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
comment
nesting
formal language
scaffolding
11. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
rules of precedence
instantiate
body
recursion
12. A variable that is defined inside a class definition but outside any method. These are accessible from any method in the class and are shared by all instances of the class.
class attribute
object-oriented programming
infix
leaf
13. The output of the compiler after it translates the program.
object code
method
list
binary operator
14. Having no specific pattern. Unpredictable.
parse
provider
composition
random
15. The process of formulating a problem and finding a solution and expressing the solution.
problem solving
formal language
queueing policy
exception
16. A variable or value used to select a member of an ordered set - such as a character from a string.
index
class
planned development
data type
17. One of the named data items that makes up an instance.
body
root
postfix
attribute
18. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
object-oriented programming
development plan
boolean function
dot product
19. A character that is used to separate tokens such as punctuation in a natural language.
optional parameter
delimiter
loop variable
branch
20. Decrease by 1.
FIFO(First In First Out)
decrement
standard library
nested loop
21. An implementation of a queue using a linked list.
FIFO(First In First Out)
linked queue
immutable data type
loop
22. One of the nodes referred to by a node.
recursion
volatile memory
subexpression
child
23. A part of a string (substring) specified by a range of indices.
command line
frame
slice
variable name
24. The value given to an optional parameter if no argument for it is provided in the function call.
operator
default value
hint
modifier
25. An item of data contained in a node.
algorithm
cargo
recursive call
script
26. A style of program design in which the majority of functions are pure.
infix
conditional statement
program
functional programming style
27. A special character that causes the cursor to move to the next tab stop on the current line.
child
variable
tab
file system
28. A function that returns a boolean value.
encode
boolean function
portability
keyword
29. The block of statements in a compound statement that follows the header.
body
side effect
sequence
generalize
30. A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.
counter
abstract data type (ADT)
variable
parent class
31. A process for developing a program.
development plan
step size
index
compound data type
32. A loop inside the body of another loop.
nested loop
pure function
optional parameter
index
33. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
operator
variable
scaffolding
singleton
34. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
immutable data type
nested list
embedded reference
immutable
35. Code that is used during program development but is not part of the final version.
scaffolding
mutable data type
evaluate
default value
36. A programming construct that waits for events and processes them.
queueing policy
command line
dot notation
event loop
37. The sequential accessing of each element in a list.
clone
implementation
expression
list traversal
38. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
wrapper
header
functional programming style
generic data structure
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.
file system
header
fruitful function
veneer
40. Multiple variables that contain references to the same object.
method
prototype development
leaf
aliases
41. 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.
wrapper
infix
volatile memory
integer division
42. An error in a program.
dot product
bug
Queue
accumulator
43. A general process for solving a category of problems.
executable
method
abstract data type (ADT)
algorithm
44. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
list
logical operator
compiler
algorithm
45. A string displayed by a command line interface indicating that commands can be entered.
command prompt
initialization (of a variable)
nested loop
infinite recursion
46. A program in a high-level language before being compiled.
source code
index
keyword
operand
47. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
constant time
operator overloading
parent class
list comprehension
48. An expression in parentheses that acts as a single operand in a larger expression.
algorithm
subexpression
comparison operator
child class
49. A function that yields a return value.
continue statement
object
conditional statement
fruitful function
50. A group of consecutive statements with the same indentation.
event loop
siblings
block
mutable type