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 syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
attribute
method
naming collision
list comprehension
2. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
link
byte code
argument
composition
3. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
attribute
scalar multiplication
token
command line
4. An ADT that defines the operations one might perform on a priority queue.
program
Priority Queue
prefix notation
dead code
5. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
raise
attribute
overflow
dot product
6. The statement in a recursive function with is a call to itself.
algorithm
parameter
recursive call
incremental development
7. There are exactly two boolean values: True and False.
boolean value
cursor
standard library
docstring
8. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
exception
algorithm
composition (of functions)
key
9. The name and location of a file within a file system.
scaffolding
path
delimiter
initialization method
10. One of the possible paths of the flow of execution determined by conditional execution.
run time error
function definition
recursive call
branch
11. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
key
initialization (of a variable)
runtime error
modifier
12. Using the output from one function call as the input to another.
function composition
value
binary tree
clone
13. An error in a program that makes it impossible to parse
syntax error
planned development
default value
precondition
14. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
data type
planned development
method
import statement
15. The sequence of characters read into the command interpreter in a command line interface.
command line
temporary variable
element
linked queue
16. 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.
command line argument
comment
index
bug
17. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
parent class
operator
default value
index
18. 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.
priority queue
scaffolding
traverse
compound statement
19. Memory that can maintain its state without power. Hard drives and flash drives and rewritable compact disks (CD-RW) are examples of such memory.
constant
loop variable
mutable data type
non-volatile memory
20. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
recursive definition
escape sequence
modulus operator
mutable data type
21. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
command line argument
development plan
scalar multiplication
fruitful function
22. An expression in parentheses that acts as a single operand in a larger expression.
event loop
subexpression
invariant
queue
23. A signal such as a keyboard press or mouse click or message from another program.
queue
side effect
event
infinite loop
24. A step-by-step process for solving a category of problems.
interpret
argument
test-driven development (TDD)
algorithm
25. A reference stored in an attribute of an object.
unit testing
embedded reference
problem solving
boolean expression
26. A general process for solving a category of problems.
command line
algorithm
dot product
binary tree
27. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
child class
key
postorder
recursive definition
28. The process of adding a function header and parameters to a sequence of program statements. This process is very useful whenever the program statements in question are going to be used multiple times.
loop variable
rules of precedence
wrapping code in a function
instantiate
29. A statement that assigns a value to a name (variable).
FIFO(First In First Out)
text file
object
assignment statement
30. A queueing policy in which the first member to arrive is the first to be removed.
queueing policy
FIFO(First In First Out)
slice
expression
31. A group of consecutive statements with the same indentation.
block
body
prototype development
incremental development
32. The node that refers to a given node.
modifier
parent
cargo
parameter
33. A conditional branch with more than two possible flows of execution.
hint
invariant
chained conditional
slice
34. A program stored in a file (usually one that will be interpreted).
script
functional programming style
priority queue
import statement
35. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
loop
low-level language
child
scaffolding
36. A property of a program that can run on more than one kind of computer.
modulus operator
naming collision
Queue
portability
37. To read a string of characters or tokens and analyze its grammatical structure.
parse
loop variable
problem solving
nested loop
38. 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
preorder
high-level language
compile
39. A name used inside a function to refer to the value passed as an argument.
root
parameter
natural language
exception
40. The process of formulating a problem and finding a solution and expressing the solution.
problem solving
attribute
operand
base case
41. An invisible marker that keeps track of where the next character will be printed.
scaffolding
object
encapsulate
cursor
42. Nodes that share a common parent.
queueing policy
infinite loop
siblings
nested list
43. A program (or the person who wrote it) that uses an ADT.
compiler
aliases
client
decrement
44. A graphical representation of a set of variables and the values to which they refer.
compile
file
value
state diagram
45. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
binary operator
root
docstring
operand
46. To create a new object that has the same value as an existing object.
clone
index
dead code
boolean expression
47. Another name for object code that is ready to be executed.
mapping type
constant
element
executable
48. Both as a noun and as a verb - it means to increase by 1.
object-oriented programming
constant time
delimiter
increment
49. A string displayed by a command line interface indicating that commands can be entered.
command prompt
value
algorithm
syntax error
50. A variable or value used to select a member of an ordered set - such as a character from a string.
fruitful function
index
delimiter
formal language