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 variable used to store an intermediate value in a complex calculation.
temporary variable
scaffolding
chained conditional
concatenate
2. An error in a program.
level
bug
abstraction
generalize
3. A way of writing mathematical expressions with the operators after the operands.
postfix
wrapper
counter
polymorphic
4. One of the values on which an operator operates.
handle an exception
operand
argv (argument vector)
algorithm
5. A variable defined inside a function. A local variable can only be used inside its function.
non-volatile memory
nested list
import statement
local variable
6. An error in a program that makes it do something other than what the programmer intended.
file system
semantic error
volatile memory
increment
7. A part of a string (substring) specified by a range of indices.
fruitful function
slice
cursor
optional parameter
8. A set of values. The type of a value determines how it can be used in expressions. So far the types you have seen are integers (type int) and floating-point numbers (type float) and strings (type str).
data type
level
dead code
boolean expression
9. A function that yields a return value.
implementation
exception
tab
fruitful function
10. To prevent an exception from terminating a program using the try and except statements.
link
path
handle an exception
abstraction
11. A named collection of files - also called a folder.
high-level language
dot notation
queue
directory
12. 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
clone
instance
modifier
13. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
priority queue
node
functional programming style
local variable
14. 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.
accumulator
rules of precedence
standard library
operator
15. A numerical value that does not change during the execution of a program.
prefix notation
constant
mutable data type
value
16. A reference stored in an attribute of an object.
immutable
key-value pair
semantic error
embedded reference
17. A loop inside the body of another loop.
executable
operator
import statement
nested loop
18. To create an instance of a class.
instantiate
precondition
command line
concatenate
19. Repeated execution of a set of programming statements.
linked list
iteration
standard library
data type
20. An operator that takes two operands.
dot operator
syntax error
text file
binary operator
21. A library is a collection of software used as tools in the development of other software.
inheritance
child
standard library
concatenate
22. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
scalar multiplication
inheritance
parent
index
23. A bottom-most node in a tree with no children.
random
abstract data type (ADT)
body
leaf
24. The value provided as the result of a function call.
level
embedded reference
return value
portability
25. A data type which can be modified.
mutable data type
postfix
implementation
side effect
26. To join two strings end-to-end.
recursive definition
concatenate
data type
standard library
27. A program (or the person who wrote it) that uses an ADT.
client
data structure
mutable type
delimiter
28. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
postfix
modifier
trace
temporary variable
29. A sequence of one or more characters used to specify the boundary between separate parts of text.
delimiter
parse
singleton
natural language
30. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
initialization (of a variable)
syntax error
boolean value
chained conditional
31. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
method
class
expression
attribute
32. A collection of key-value pairs that maps from keys to values.
argv (argument vector)
body
dictionary
syntax
33. A group of consecutive statements with the same indentation.
pure function
random
block
docstring
34. 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.
linked list
composition (of functions)
algorithm
modulus operator
35. A reserved word that is used by the compiler to parse program; you cannot use keywords like if or def or while as variable names.
implementation
dictionary
method
keyword
36. A program stored in a file (usually one that will be interpreted).
modifier
algorithm
trichotomy
script
37. A function that returns a boolean value.
command line
incremental development
object
boolean function
38. A special method that is invoked automatically when a new object is created and that initializes the object's attributes.
debugging
stack diagram
algorithm
initialization method
39. 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)
function definition
operator overloading
dictionary
40. Having no specific pattern. Unpredictable.
random
file system
rules of precedence
constant time
41. An error that occurs at runtime.
exception
attribute
assignment statement
composition (of functions)
42. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
value
formal language
wrapping code in a function
data structure
43. An assertion that must be true in order for a method to work correctly.
object
precondition
child
body
44. Code that satisfies the syntactic and semantic requirements of an interface.
exception
implementation
type conversion
dot operator
45. A statement that causes the current iteration of a loop to end.
continue statement
keyword
planned development
compound statement
46. A way to traverse a tree - visiting each node before its children.
preorder
flow of execution
debugging
operator overloading
47. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
encapsulate
infinite recursion
hint
list
48. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
immutable data type
text file
traceback
incremental development
49. The statement in a recursive function with is a call to itself.
element
recursive call
dot product
binary operator
50. One of the possible paths of the flow of execution determined by conditional execution.
comment
chained conditional
binary operator
branch