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. To iterate through the elements of a set performing a similar operation on each.
rules of precedence
operator overloading
traverse
tuple assignment
2. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
algorithm
delimiter
docstring
encapsulate
3. A special character that causes the cursor to move to the next tab stop on the current line.
runtime error
list traversal
tab
function call
4. The meaning of a program.
function call
composition
semantics
binary operator
5. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
command line argument
object-oriented programming
parse
attribute
6. A program (or the person who wrote it) that uses an ADT.
client
recursion
handle an exception
interpret
7. To join two strings end-to-end.
constant time
modifier
infix
concatenate
8. A named sequence of statements that performs some useful operation. Functions may or may not take parameters and may or may not produce a result.
function
accumulator
trace
executable
9. One of the values on which an operator operates.
data type
operand
escape sequence
file system
10. A graphical representation of a stack of functions and their variables and the values to which they refer.
branch
stack diagram
runtime error
semantic error
11. Calling one function from within the body of another or using the return value of one function as an argument to the call of another.
dead code
source code
logical operator
composition (of functions)
12. A language that provides features - such as user-defined classes and inheritance - that facilitate object-oriented programming.
object-oriented language
script
object
siblings
13. An automatic procedure used to validate that individual units of code are working properly.
text file
parse
unit testing
veneer
14. A compound data type whose elements cannot be assigned new values.
newline
link
immutable
exception
15. Repeated execution of a set of programming statements.
immutable
abstraction
iteration
infinite loop
16. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
delimiter
tuple assignment
scalar multiplication
argv (argument vector)
17. Any one of the languages that people have designed for specific purposes - such as representing mathematical ideas or computer programs; all programming languages are formal languages.
hint
dot notation
high-level language
formal language
18. A general process for solving a category of problems.
algorithm
fundamental ambiguity theorem
tuple assignment
Queue
19. A group of consecutive statements with the same indentation.
delimiter
namespace
standard library
block
20. A linked list with a single node.
singleton
base case
low-level language
default value
21. A distinct method of operation within a computer program.
mode
non-volatile memory
exception
inorder
22. A character or string used to indicate where a string should be split.
body
parent
recursive call
delimiter
23. An invisible marker that keeps track of where the next character will be printed.
cursor
preorder
precondition
parse
24. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
semantics
command line argument
algorithm
branch
25. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
variable
inorder
accumulator
trace
26. A tree in which each node refers to zero or one or two dependent nodes.
client
modulus operator
flow of execution
binary tree
27. A method for naming and accessing and organizing files and the data they contain.
file system
infinite loop
function composition
standard library
28. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
embedded reference
class
argument
index
29. A way of developing programs that involves high-level insight into the problem and more planning than incremental development or prototype development.
planned development
polymorphic
Queue
semantic error
30. The sequence of characters read into the command interpreter in a command line interface.
embedded reference
postorder
command line
method
31. A conditional branch with more than two possible flows of execution.
newline
composition
logical operator
chained conditional
32. 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.
data type
cargo
script
step size
33. A logical error which stops a program from performing.
run time error
token
class
delimiter
34. The node that refers to a given node.
compound data type
embedded reference
step size
parent
35. Another name for object code that is ready to be executed.
expression
incremental development
priority queue
executable
36. A statement that executes a function. It consists of the name of the function followed by a list of arguments enclosed in parentheses.
test-driven development (TDD)
function call
modulus operator
FIFO(First In First Out)
37. A collection of key-value pairs that maps from keys to values.
method
chained conditional
dictionary
modulus operator
38. An item of data contained in a node.
header
instantiate
cargo
object-oriented programming
39. A new class created by inheriting from an existing class; also called a subclass.
dead code
child class
run time error
continue statement
40. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
abstraction
FIFO(First In First Out)
value
element
41. A way of developing programs starting with a prototype and gradually testing and improving it.
prototype development
compile
child class
base case
42. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
key
key-value pair
stack diagram
attribute
43. The class from which a child class inherits.
algorithm
parent class
delimiter
mutable data type
44. To examine a program and analyze the syntactic structure.
tab
prompt
parse
conditional statement
45. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
base case
tuple assignment
modifier
loop
46. A statement that controls the flow of execution depending on some condition.
trichotomy
syntax
conditional statement
prototype development
47. 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.
fundamental ambiguity theorem
base case
condition
accumulator
48. A reference to a list node can be treated as a single object or as the first in a list of nodes.
generalize
parse
development plan
fundamental ambiguity theorem
49. A way of writing mathematical expressions with the operators between the operands.
infix
file system
decrement
increment
50. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
command line argument
import statement
dot product
program