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. Any one of the languages that people speak that evolved naturally.
natural language
branch
hint
iteration
2. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
list traversal
list comprehension
nesting
docstring
3. There are exactly two boolean values: True and False.
boolean value
sequence
list comprehension
parent class
4. 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
decrement
docstring
algorithm
5. A visual cue that tells the user to input data.
overflow
immutable
prompt
raise
6. A logical error which stops a program from performing.
standard library
rules of precedence
run time error
wrapper
7. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
list comprehension
recursive definition
class
function
8. 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.
import statement
initialization method
polymorphic
client
9. An embedded reference used to link one object to another.
node
queueing policy
link
scalar multiplication
10. A function that returns a boolean value.
client
boolean function
event
iteration
11. 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
data type
initialization method
assignment statement
method
12. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
prototype development
composition
composition (of functions)
parent class
13. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
escape sequence
child class
unit testing
infinite recursion
14. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
low-level language
command prompt
generic data structure
key-value pair
15. A signal such as a keyboard press or mouse click or message from another program.
mode
event
executable
return value
16. The block of statements in a compound statement that follows the header.
clone
body
inheritance
exception
17. Part of a program that can never be executed - often because it appears after a return statement.
dead code
command line argument
abstraction
trace
18. A function that yields a return value.
random
fruitful function
logical operator
prototype development
19. 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?
incremental development
trichotomy
tuple
local variable
20. A variable used as part of the terminating condition of a loop.
argv (argument vector)
root
constant
loop variable
21. The dot operator ( .) permits access to attributes and functions of a module.
integer division
object
portability
dot operator
22. Making more than one assignment to the same variable during the execution of a program.
multiple assignment
invariant
recursion
event
23. An object that belongs to a class.
header
instance
tab
priority queue
24. A numerical value that does not change during the execution of a program.
interface
constant
argument
compile
25. Another name for a runtime error.
accumulator
exception
object
continue statement
26. A recursive call that occurs as the last statement (at the tail) of a function definition.
parameter
tail recursion
function
mutable type
27. An ordered set of objects waiting for a service of some kind.
queue
provider
FIFO(First In First Out)
index
28. Any of the data types that consist of an ordered set of elements with each element identified by an index.
operator
sequence
attribute
link
29. The interval between successive elements of a linear sequence. The third (and optional argument) to the range function is called the step size. If not specified it defaults to 1.
bug
step size
syntax
modifier
30. To execute a program in a high-level language by translating it one line at a time.
standard library
naming collision
nested list
interpret
31. 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).
loop variable
data type
naming collision
body
32. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
loop
operand
source code
index
33. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
inorder
helper
compile
file
34. A software development practice which arrives at a desired feature through a series of small but iterative steps motivated by automated tests which are written first that express increasing refinements of the desired feature.
algorithm
immutable
test-driven development (TDD)
raise
35. A kind of data structure that can contain data of any type.
stack diagram
polymorphic
optional parameter
generic data structure
36. Decrease by 1.
decrement
data structure
list comprehension
loop
37. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
scalar multiplication
executable
node
delimiter
38. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
frame
development plan
body
pure function
39. To examine a program and analyze the syntactic structure.
list
path
naming collision
parse
40. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
object-oriented programming
operator
class
modulus operator
41. A name that refers to a value.
event
abstraction
wrapper
variable
42. The node that refers to a given node.
parent
sequence
rules of precedence
script
43. The rules that determine which member of a queue is removed next.
generic data structure
queueing policy
wrapper
dictionary
44. 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.
syntactical errors
traceback
loop variable
delimiter
45. A method for naming and accessing and organizing files and the data they contain.
file system
level
function definition
list comprehension
46. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
pure function
runtime error
natural language
incremental development
47. A programming language that is designed to be easy for humans to read and write.
key-value pair
body
integer division
high-level language
48. A way of developing programs starting with a prototype and gradually testing and improving it.
development plan
incremental development
prototype development
FIFO(First In First Out)
49. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
boolean expression
syntax error
script
key-value pair
50. The topmost node in a tree with no parent.
token
expression
root
return value