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. A data type in which the elements can be modified. It is a compound type - e.g. lists.
event loop
mutable type
implementation
key
2. To iterate through the elements of a set performing a similar operation on each.
traverse
runtime error
decrement
frame
3. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
body
non-volatile memory
function call
docstring
4. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
key-value pair
incremental development
slice
function definition
5. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
encapsulate
token
variable
node
6. Code that is used during program development but is not part of the final version.
boolean value
scaffolding
inorder
modifier
7. A program that translates higher level programming languages into basic instructions the CPU can understand.
postfix
evaluate
binary operator
compiler
8. A branch of the conditional statement in a recursive function that does not result in a recursive call.
polymorphic
base case
prompt
implementation
9. Information in a program that is meant for other programmers (or anyone reading the source code) and has no effect on the execution of the program.
list
comment
syntax
composition (of functions)
10. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
runtime error
overflow
body
immutable data type
11. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
overflow
low-level language
block
object
12. A recursive call that occurs as the last statement (at the tail) of a function definition.
variable name
object code
tail recursion
function
13. A named collection of objects where each object is identified by an index.
boolean function
binary tree
instantiate
list
14. An expression in parentheses that acts as a single operand in a larger expression.
FIFO(First In First Out)
modifier
increment
subexpression
15. A function which has no side effects. It only makes changes to the calling program through its return values.
compile
pure function
flow of execution
debugging
16. A graphical representation of a set of variables and the values to which they refer.
preorder
parent
state diagram
non-volatile memory
17. An error in a program that makes it do something other than what the programmer intended.
local variable
path
semantic error
FIFO(First In First Out)
18. To read a string of characters or tokens and analyze its grammatical structure.
newline
parse
object
algorithm
19. A statement which makes the objects contained in a module available for use within another module.
compile
import statement
body
counter
20. A general process for solving a category of problems.
algorithm
script
attribute
abstraction
21. An automatic procedure used to validate that individual units of code are working properly.
unit testing
algorithm
block
interface
22. The sequential accessing of each element in a list.
object-oriented language
mapping type
dot product
list traversal
23. A statement that controls the flow of execution depending on some condition.
conditional statement
clone
function composition
Queue
24. 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
tail recursion
cargo
scaffolding
method
25. 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.
header
priority queue
postfix
tuple assignment
26. A sequence of one or more characters used to specify the boundary between separate parts of text.
delimiter
clone
syntactical errors
trace
27. The structure of a program.
byte code
logical operator
syntax
source code
28. A library is a collection of software used as tools in the development of other software.
standard library
event loop
object code
program
29. The process of finding and removing any of the three kinds of programming errors.
singleton
optional parameter
loop variable
debugging
30. An implementation of a queue using a linked list.
path
linked queue
embedded reference
command prompt
31. A visual cue that tells the user to input data.
infix
link
dictionary
prompt
32. To prevent an exception from terminating a program using the try and except statements.
binary tree
command line
algorithm
handle an exception
33. One of the operators that compares two values: == or != or > or < or >= and <=.
file system
byte code
syntactical errors
comparison operator
34. An operator that takes two operands.
comparison operator
side effect
high-level language
binary operator
35. Another name for object code that is ready to be executed.
loop
parse
executable
preorder
36. Temporary storage of a precomputed value to avoid redundant computation.
generalize
dead code
hint
file system
37. A logical error which stops a program from performing.
root
object-oriented language
run time error
prototype development
38. 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.
object-oriented programming
abstract data type (ADT)
inheritance
constant time
39. The block of statements in a compound statement that follows the header.
recursive definition
keyword
body
object
40. A combination of variables and operators and values that represents a single result value.
expression
concatenate
operand
test-driven development (TDD)
41. Any of the data types that consist of an ordered set of elements with each element identified by an index.
linear time
encapsulate
sequence
immutable
42. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
program
helper
inorder
test-driven development (TDD)
43. Nodes that share a common parent.
siblings
composition
command line argument
portability
44. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
command prompt
high-level language
algorithm
immutable
45. A way of writing mathematical expressions with the operators between the operands.
abstract data type (ADT)
object code
infix
syntax error
46. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
recursive call
FIFO(First In First Out)
object-oriented programming
client
47. A data structure that implements a collection using a sequence of linked nodes.
siblings
linked list
value
interpret
48. A special character that causes the cursor to move to the beginning of the next line.
delimiter
boolean expression
newline
operand
49. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
helper
initialization method
chained conditional
rules of precedence
50. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
syntactical errors
import statement
parent class
element