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. It prevents a compiler from compiling.
syntactical errors
mode
portability
token
2. To signal an exception using the raise statement.
raise
delimiter
immutable
run time error
3. One of the possible paths of the flow of execution determined by conditional execution.
branch
dot product
object-oriented programming
prefix notation
4. To create a new object that has the same value as an existing object.
exception
body
provider
clone
5. One of the values on which an operator operates.
body
recursion
operand
temporary variable
6. To join two strings end-to-end.
list comprehension
class
concatenate
overflow
7. The sequence of characters read into the command interpreter in a command line interface.
mutable type
command line
leaf
invariant
8. 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.
cargo
linked list
interpret
compound statement
9. A step-by-step process for solving a category of problems.
algorithm
function
attribute
exception
10. A function that can operate on more than one type. If all the operations in a function can be applied to a type then the function can be applied to a type.
inheritance
polymorphic
cursor
assignment statement
11. To read a string of characters or tokens and analyze its grammatical structure.
cursor
parse
singleton
queueing policy
12. A queueing policy in which the first member to arrive is the first to be removed.
logical operator
hint
FIFO(First In First Out)
mapping type
13. A named collection of objects where each object is identified by an index.
Priority Queue
planned development
list
argv (argument vector)
14. One of the named data items that makes up an instance.
token
attribute
compile
exception
15. A statement which makes the objects contained in a module available for use within another module.
byte code
import statement
instantiate
chained conditional
16. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.
instance
object-oriented language
tuple
prompt
17. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
non-volatile memory
event
provider
object-oriented programming
18. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
bug
invariant
command line
command prompt
19. An operator that takes two operands.
binary operator
boolean expression
bug
keyword
20. One of the nodes referred to by a node.
invariant
data structure
concatenate
child
21. An ADT that defines the operations one might perform on a priority queue.
initialization (of a variable)
clone
Priority Queue
stack diagram
22. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
syntax error
algorithm
infinite loop
infinite recursion
23. To iterate through the elements of a set performing a similar operation on each.
traverse
index
development plan
return value
24. An ADT that performs the operations one might perform on a queue.
conditional statement
parse
helper
Queue
25. 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.
queueing policy
tuple
veneer
parameter
26. Another name for object code that is ready to be executed.
veneer
executable
nesting
composition (of functions)
27. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
local variable
scaffolding
syntax error
low-level language
28. The process of calling the function that is currently executing.
delimiter
token
recursion
object code
29. An implementation of a queue using a linked list.
linked queue
delimiter
client
function
30. Code that is used during program development but is not part of the final version.
scaffolding
delimiter
instantiate
accumulator
31. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
increment
planned development
class
Queue
32. A statement that controls the flow of execution depending on some condition.
fundamental ambiguity theorem
import statement
program
conditional statement
33. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
generic data structure
traverse
conditional statement
method
34. The dot operator ( .) permits access to attributes and functions of a module.
expression
object code
element
dot operator
35. Use of the dot operator '.' to access functions inside a module.
file system
decrement
dot notation
infinite recursion
36. A function that is defined inside a class definition and is invoked on instances of that class. :override:: To replace a default. Examples include replacing a default parameter with a particular argument and replacing a default method by providing a
method
modifier
function composition
nesting
37. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
parent class
element
command prompt
slice
38. A programming language that is designed to be easy for humans to read and write.
hint
clone
local variable
high-level language
39. A logical error which stops a program from performing.
run time error
problem solving
helper
logical operator
40. 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.
instantiate
dot product
modulus operator
traceback
41. Repeated execution of a set of programming statements.
traceback
iteration
recursive definition
class attribute
42. A set of values. The type of a value determines how it can be used in expressions. So far the types you have seen are integers (type int) and floating-point numbers (type float) and strings (type str).
level
instantiate
high-level language
data type
43. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
traceback
prototype development
dictionary
modulus operator
44. The class from which a child class inherits.
postorder
delimiter
keyword
parent class
45. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
instantiate
key
token
FIFO(First In First Out)
46. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
nesting
delimiter
import statement
attribute
47. A way of writing a mathematical expression with each operator appearing before its operands.
low-level language
algorithm
inheritance
prefix notation
48. 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
method
constant time
integer division
49. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
generic data structure
pure function
algorithm
abstraction
50. A compound data type whose elements cannot be assigned new values.
infix
inheritance
algorithm
immutable