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. An error that occurs at runtime.
exception
dot operator
list comprehension
compiler
2. The boolean expression in a conditional statement that determines which branch is executed.
command line argument
constant time
aliases
condition
3. The ability to define a new class that is a modified version of a previously defined class.
instance
low-level language
inheritance
infinite loop
4. A statement that creates a new function specifying its name and parameters and the statements it executes.
immutable
compound statement
delimiter
function definition
5. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
tuple
raise
naming collision
whitespace
6. 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.
traverse
priority queue
leaf
dictionary
7. An assertion that should be true of an object at all times (except perhaps while the object is being modified).
algorithm
compound data type
naming collision
invariant
8. The meaning of a program.
semantics
modulus operator
loop
attribute
9. A variable or value used to select a member of an ordered set - such as a character from a string.
state diagram
byte code
index
modulus operator
10. The output of the compiler after it translates the program.
Priority Queue
data type
object code
parameter
11. 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.
functional programming style
nesting
comment
algorithm
12. A program that translates higher level programming languages into basic instructions the CPU can understand.
compound statement
list
compiler
dot notation
13. 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.
compound statement
function composition
argument
accumulator
14. A file that contains printable characters organized into lines separated by newline characters.
text file
scaffolding
list comprehension
recursive definition
15. An embedded reference used to link one object to another.
tuple assignment
link
delimiter
increment
16. It prevents a compiler from compiling.
composition
syntactical errors
unit testing
embedded reference
17. A queueing policy in which the first member to arrive is the first to be removed.
nesting
exception
parse
FIFO(First In First Out)
18. A graphical representation of a stack of functions and their variables and the values to which they refer.
stack diagram
method
client
decrement
19. A function that yields a return value.
algorithm
linear time
fruitful function
command line argument
20. The process of formulating a problem and finding a solution and expressing the solution.
problem solving
event
abstract data type (ADT)
boolean value
21. To create a new object that has the same value as an existing object.
counter
recursive definition
clone
body
22. The statement in a recursive function with is a call to itself.
recursive call
tuple
import statement
program
23. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
root
command line argument
composition
boolean expression
24. A combination of variables and operators and values that represents a single result value.
expression
side effect
immutable data type
method
25. An item of data contained in a node.
cargo
data structure
development plan
mutable type
26. A named collection of objects where each object is identified by an index.
infinite loop
constant
object
list
27. Having no specific pattern. Unpredictable.
program
boolean function
random
overflow
28. To examine a program and analyze the syntactic structure.
text file
trace
parse
argv (argument vector)
29. A way of developing programs starting with a prototype and gradually testing and improving it.
conditional statement
prototype development
traverse
encapsulate
30. A loop inside the body of another loop.
state diagram
aliases
linked list
nested loop
31. A way of writing mathematical expressions with the operators after the operands.
operand
development plan
postfix
recursive definition
32. Repeated execution of a set of programming statements.
standard library
iteration
exception
root
33. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
docstring
subexpression
instance
list comprehension
34. A programming construct that waits for events and processes them.
event loop
prefix notation
branch
inheritance
35. A compound data type that is often used to model a thing or concept in the real world.
run time error
debugging
object
nested loop
36. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
debugging
function call
expression
encapsulate
37. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
file
argument
list comprehension
file system
38. A program stored in a file (usually one that will be interpreted).
siblings
script
event loop
FIFO(First In First Out)
39. An ordered set of objects waiting for a service of some kind.
parent class
import statement
queue
recursive call
40. A statement which makes the objects contained in a module available for use within another module.
aliases
argument
instantiate
import statement
41. A graphical representation of a set of variables and the values to which they refer.
state diagram
priority queue
boolean value
parse
42. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.
node
modulus operator
tuple assignment
class
43. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
stack diagram
accumulator
dot notation
node
44. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
client
functional programming style
raise
modifier
45. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
child class
temporary variable
pure function
node
46. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
scalar multiplication
loop
modifier
source code
47. An organization of data for the purpose of making it easier to use.
data structure
client
syntax
boolean value
48. A new class created by inheriting from an existing class; also called a subclass.
volatile memory
child class
polymorphic
state diagram
49. A data type comprised of a collection of keys and associated values.
mapping type
counter
syntax error
element
50. 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.
increment
parameter
generalize
linear time