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 loop inside the body of another loop.
loop variable
nested loop
counter
list
2. To iterate through the elements of a set performing a similar operation on each.
hint
traceback
provider
traverse
3. The process of formulating a problem and finding a solution and expressing the solution.
problem solving
index
dot notation
return value
4. 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.
mutable data type
run time error
modifier
veneer
5. The node that refers to a given node.
linear time
file
parent
attribute
6. To signal an exception using the raise statement.
raise
bug
compound statement
loop
7. An error in a program that makes it impossible to parse
escape sequence
generic data structure
nested list
syntax error
8. A style of program design in which the majority of functions are pure.
directory
traceback
functional programming style
integer division
9. 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.
polymorphic
method
natural language
subexpression
10. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
tuple assignment
planned development
operator
recursive definition
11. One of the named data items that makes up an instance.
attribute
semantics
standard library
abstraction
12. 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.
function call
node
postorder
compound statement
13. An invisible marker that keeps track of where the next character will be printed.
logical operator
cursor
slice
precondition
14. A part of a string (substring) specified by a range of indices.
prototype development
child class
slice
priority queue
15. A box in a stack diagram that represents a function call. It contains the local variables and parameters of the function.
non-volatile memory
frame
function composition
problem solving
16. A name used inside a function to refer to the value passed as an argument.
source code
function
object code
parameter
17. 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.
functional programming style
unit testing
byte code
flow of execution
18. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
polymorphic
operator
helper
attribute
19. A variable defined inside a function. A local variable can only be used inside its function.
local variable
nesting
postorder
body
20. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
text file
list comprehension
syntax
interpret
21. A graphical representation of a stack of functions and their variables and the values to which they refer.
immutable
function
value
stack diagram
22. A loop in which the terminating condition is never satisfied.
namespace
infinite loop
list
scaffolding
23. Any one of the languages that people speak that evolved naturally.
natural language
scalar multiplication
return value
generic data structure
24. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
key
infix
file system
scalar multiplication
25. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
bug
nesting
mode
loop
26. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
object-oriented programming
overflow
high-level language
parse
27. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
argv (argument vector)
abstract data type (ADT)
token
parse
28. 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
compound statement
integer division
immutable
29. The sequence of characters read into the command interpreter in a command line interface.
command line
overflow
planned development
modulus operator
30. The set of operations that define an ADT.
handle an exception
algorithm
interface
generalize
31. A function that yields a return value.
multiple assignment
test-driven development (TDD)
embedded reference
fruitful function
32. A named collection of objects where each object is identified by an index.
prototype development
immutable data type
fruitful function
list
33. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
nesting
client
docstring
state diagram
34. To examine a program and analyze the syntactic structure.
temporary variable
postfix
binary tree
parse
35. The name and location of a file within a file system.
path
text file
function call
whitespace
36. The sequential accessing of each element in a list.
rules of precedence
list traversal
infix
branch
37. A way to traverse a tree - visiting the children of each node before the node itself.
semantic error
postorder
assignment statement
parse
38. A character or string used to indicate where a string should be split.
functional programming style
instantiate
debugging
delimiter
39. An error that does not occur until the program has started to execute but that prevents the program from continuing.
linked queue
Queue
runtime error
infinite recursion
40. A graphical representation of a set of variables and the values to which they refer.
state diagram
accumulator
initialization (of a variable)
standard library
41. A linked list with a single node.
bug
semantics
argv (argument vector)
singleton
42. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
Queue
modifier
constant
keyword
43. The process of finding and removing any of the three kinds of programming errors.
debugging
block
parse
counter
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.
recursion
infinite recursion
modulus operator
traceback
45. A way to traverse a tree - visiting each node before its children.
directory
parent class
token
preorder
46. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.
event loop
variable
function composition
file
47. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
planned development
byte code
preorder
exception
48. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.
conditional statement
scaffolding
list comprehension
object-oriented language
49. A numerical result that is too large to be represented in a numerical format.
standard library
composition (of functions)
overflow
step size
50. An embedded reference used to link one object to another.
operator
planned development
test-driven development (TDD)
link