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. The dot operator ( .) permits access to attributes and functions of a module.
dot operator
multiple assignment
generalize
list traversal
2. There are exactly two boolean values: True and False.
concatenate
linear time
raise
boolean value
3. 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.
temporary variable
step size
function definition
docstring
4. A style of program design in which the majority of functions are pure.
infinite loop
functional programming style
integer division
siblings
5. Both as a noun and as a verb - it means to increase by 1.
immutable
command line
implementation
increment
6. An integer variable or value that indicates an element of a list.
index
escape sequence
helper
branch
7. One of the nodes referred to by a node.
link
tuple assignment
child
chained conditional
8. Temporary storage of a precomputed value to avoid redundant computation.
hint
command line argument
algorithm
handle an exception
9. The second part of a compound statement. The body consists of a sequence of statements all indented the same amount from the beginning of the header.
algorithm
prompt
body
subexpression
10. The process of calling the function that is currently executing.
low-level language
object code
recursion
step size
11. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
compile
local variable
sequence
namespace
12. A special character that causes the cursor to move to the next tab stop on the current line.
class attribute
token
child
tab
13. 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.
traceback
linked list
dead code
traverse
14. A string displayed by a command line interface indicating that commands can be entered.
operator overloading
command prompt
invariant
keyword
15. An invisible marker that keeps track of where the next character will be printed.
boolean function
cursor
incremental development
body
16. A data type in which the values are made up of components or elements that are themselves values.
rules of precedence
compound data type
nested list
token
17. To prevent an exception from terminating a program using the try and except statements.
invariant
encapsulate
handle an exception
counter
18. A method for naming and accessing and organizing files and the data they contain.
file system
child class
key-value pair
mapping type
19. An object that belongs to a class.
run time error
encode
instance
node
20. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.
tuple assignment
cursor
nested list
formal language
21. A signal such as a keyboard press or mouse click or message from another program.
level
dictionary
event
file
22. The output of the compiler after it translates the program.
helper
newline
index
object code
23. A statement which makes the objects contained in a module available for use within another module.
queue
siblings
import statement
increment
24. The code (or the person who wrote it) that implements an ADT.
provider
random
logical operator
semantic error
25. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
traverse
encapsulate
interpret
provider
26. A graphical representation of a stack of functions and their variables and the values to which they refer.
postorder
stack diagram
conditional statement
program
27. To execute a program in a high-level language by translating it one line at a time.
standard library
interpret
semantic error
body
28. A new class created by inheriting from an existing class; also called a subclass.
delimiter
priority queue
attribute
child class
29. A statement that causes the current iteration of a loop to end.
siblings
loop
continue statement
default value
30. The value provided as the result of a function call.
interface
debugging
parent class
return value
31. An error in a program that makes it do something other than what the programmer intended.
semantic error
function call
value
incremental development
32. A special character that causes the cursor to move to the beginning of the next line.
program
newline
exception
keyword
33. A loop inside the body of another loop.
command line
assignment statement
nested loop
key-value pair
34. An intermediate language between source code and object code. Many modern languages first compile source code into byte code and then interpret the byte code with a program called a virtual machine.
abstract data type (ADT)
index
initialization method
byte code
35. One of the operators that compares two values: == or != or > or < or >= and <=.
queueing policy
default value
modulus operator
comparison operator
36. The rules that determine which member of a queue is removed next.
queueing policy
abstraction
syntax
parent
37. A conditional branch with more than two possible flows of execution.
parameter
debugging
chained conditional
function definition
38. A data structure that implements a collection using a sequence of linked nodes.
linked list
list
provider
parse
39. 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.
parse
wrapping code in a function
multiple assignment
class attribute
40. Any of the data types that consist of an ordered set of elements with each element identified by an index.
constant
sequence
compound statement
loop
41. An organization of data for the purpose of making it easier to use.
exception
data structure
event
conditional statement
42. A distinct method of operation within a computer program.
file
standard library
mode
child class
43. A part of a string (substring) specified by a range of indices.
element
embedded reference
wrapping code in a function
slice
44. The first part of a compound statement. Headers begin with a keyword and end with a colon (:)
header
interface
prototype development
polymorphic
45. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
boolean function
inorder
list comprehension
dot operator
46. A character that is used to separate tokens such as punctuation in a natural language.
recursion
delimiter
development plan
parent
47. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.
tuple
element
loop variable
FIFO(First In First Out)
48. An item of data contained in a node.
cargo
dictionary
script
queue
49. Making more than one assignment to the same variable during the execution of a program.
multiple assignment
trichotomy
nested loop
step size
50. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
data type
whitespace
nesting
sequence