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. An operation that divides one integer by another and yields an integer. Integer division yields only the whole number of times that the numerator is divisible by the denominator and discards any remainder.
child class
compound statement
directory
integer division
2. To create a new object that has the same value as an existing object.
clone
variable
multiple assignment
comparison operator
3. An assertion that must be true in order for a method to work correctly.
type conversion
semantic error
precondition
delimiter
4. A variable used to store an intermediate value in a complex calculation.
temporary variable
mode
interpret
link
5. A data type comprised of a collection of keys and associated values.
keyword
modulus operator
mapping type
compile
6. A special character that causes the cursor to move to the beginning of the next line.
newline
accumulator
linear time
veneer
7. The process of formulating a problem and finding a solution and expressing the solution.
portability
path
executable
problem solving
8. A variable used as part of the terminating condition of a loop.
base case
volatile memory
loop variable
default value
9. The sequence of characters read into the command interpreter in a command line interface.
return value
prefix notation
problem solving
command line
10. A function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
delimiter
pure function
mutable type
object-oriented language
11. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
tail recursion
counter
parse
default value
12. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
docstring
whitespace
namespace
expression
13. A method that is not invoked directly by a caller but is used by another method to perform part of an operation.
provider
wrapping code in a function
helper
list
14. A definition which defines something in terms of itself. It often provides an elegant way to express complex data structures.
recursive definition
sequence
increment
comment
15. An expression that is either true or false.
infinite loop
boolean expression
natural language
type conversion
16. 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.
base case
mode
leaf
accumulator
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.
formal language
variable name
temporary variable
fruitful function
18. Another name for object code that is ready to be executed.
mutable type
executable
preorder
parse
19. A branch of the conditional statement in a recursive function that does not result in a recursive call.
base case
tab
executable
method
20. The boolean expression in a conditional statement that determines which branch is executed.
condition
branch
expression
sequence
21. 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.
test-driven development (TDD)
algorithm
newline
polymorphic
22. A loop inside the body of another loop.
mode
infinite recursion
local variable
nested loop
23. Another name for a runtime error.
class attribute
exception
object-oriented language
prefix notation
24. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
binary operator
boolean function
abstract data type (ADT)
algorithm
25. 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
method
recursion
modulus operator
binary operator
26. An operation whose runtime is a linear function of the size of the data structure.
executable
parent
linear time
command line
27. The sequential accessing of each element in a list.
linear time
tail recursion
list traversal
tuple
28. A step-by-step process for solving a category of problems.
problem solving
index
command line argument
algorithm
29. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
debugging
data type
binary operator
object-oriented programming
30. Decrease by 1.
parse
infix
decrement
natural language
31. The process of calling the function that is currently executing.
recursion
parse
queue
subexpression
32. To prevent an exception from terminating a program using the try and except statements.
scalar multiplication
parse
handle an exception
linked queue
33. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
polymorphic
nesting
infinite recursion
instantiate
34. Both as a noun and as a verb - it means to increase by 1.
singleton
parse
increment
functional programming style
35. A visual cue that tells the user to input data.
base case
state diagram
delimiter
prompt
36. To replace something unnecessarily specific (like a constant value) with something appropriately general (like a variable or parameter). It makes code more versatile - more likely to be reused and sometimes even easier to write.
generalize
incremental development
hint
function composition
37. 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
flow of execution
invariant
dictionary
38. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
dictionary
value
script
infinite recursion
39. A programming language that is designed to be easy for humans to read and write.
return value
high-level language
object code
byte code
40. A programming construct that waits for events and processes them.
method
data type
event loop
path
41. A name used inside a function to refer to the value passed as an argument.
parameter
linked list
file system
index
42. A part of a string (substring) specified by a range of indices.
clone
tuple assignment
slice
temporary variable
43. The code (or the person who wrote it) that implements an ADT.
provider
prefix notation
aliases
data structure
44. Any of the data types that consist of an ordered set of elements with each element identified by an index.
dot notation
conditional statement
default value
sequence
45. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
infix
data type
modulus operator
node
46. A statement which makes the objects contained in a module available for use within another module.
immutable
import statement
immutable data type
object
47. To simplify an expression by performing the operations in order to yield a single value.
frame
body
command line argument
evaluate
48. An operator that takes two operands.
increment
file
temporary variable
binary operator
49. 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.
step size
level
event loop
algorithm
50. The output of the compiler after it translates the program.
level
compile
namespace
object code