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. The statements inside a loop.
body
recursive call
fruitful function
leaf
2. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.
file
functional programming style
continue statement
modulus operator
3. 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
parent class
accumulator
method
4. To join two strings end-to-end.
immutable
child class
concatenate
logical operator
5. A function that yields a return value.
operator overloading
boolean function
test-driven development (TDD)
fruitful function
6. A value provided to a function when the function is called. This value is assigned to the corresponding parameter in the function.
modifier
dot product
argument
comparison operator
7. A step-by-step process for solving a category of problems.
token
algorithm
docstring
keyword
8. A sequence of one or more characters used to specify the boundary between separate parts of text.
unit testing
delimiter
priority queue
initialization method
9. An implementation of a queue using a linked list.
instance
linked queue
FIFO(First In First Out)
token
10. The order in which statements are executed during a program run.
flow of execution
instantiate
immutable
mapping type
11. A group of consecutive statements with the same indentation.
block
file system
default value
linked queue
12. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
parse
list comprehension
linear time
child
13. A data type (usually a collection of objects) that is defined by a set of operations but that can be implemented in a variety of ways.
function call
mode
token
abstract data type (ADT)
14. A named collection of objects where each object is identified by an index.
command line
list
nested list
compile
15. A graphical representation of a stack of functions and their variables and the values to which they refer.
tail recursion
mutable type
stack diagram
implementation
16. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
optional parameter
compile
infix
namespace
17. The class from which a child class inherits.
base case
parent class
constant time
composition
18. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
accumulator
object-oriented programming
low-level language
side effect
19. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
class
linear time
body
continue statement
20. The statement in a recursive function with is a call to itself.
raise
standard library
dot notation
recursive call
21. An operator that takes two operands.
precondition
binary operator
linear time
debugging
22. A way of writing mathematical expressions with the operators between the operands.
infix
operand
low-level language
exception
23. An error in a program that makes it do something other than what the programmer intended.
semantic error
wrapper
body
function definition
24. One of the operators that compares two values: == or != or > or < or >= and <=.
comparison operator
infinite loop
initialization method
list traversal
25. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
multiple assignment
loop
class attribute
function definition
26. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.
namespace
wrapper
generalize
event loop
27. Use of the dot operator '.' to access functions inside a module.
list
traceback
unit testing
dot notation
28. To execute a program in a high-level language by translating it one line at a time.
file system
command prompt
interpret
unit testing
29. One of the named data items that makes up an instance.
priority queue
nested list
dead code
attribute
30. Part of a program that can never be executed - often because it appears after a return statement.
attribute
initialization (of a variable)
base case
dead code
31. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
directory
parse
inorder
stack diagram
32. Having no specific pattern. Unpredictable.
keyword
random
index
comparison operator
33. A thing to which a variable can refer.
data type
object
syntax error
implementation
34. A programming construct that waits for events and processes them.
dot operator
raise
compiler
event loop
35. 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.
binary tree
natural language
escape sequence
polymorphic
36. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
initialization (of a variable)
naming collision
root
overflow
37. Another name for a runtime error.
exception
level
preorder
method
38. Generalization by reducing the information content of a concept.
abstraction
step size
pure function
tuple assignment
39. A data type that contains a sequence of elements of any type - like a list but is immutable. Can be used wherever an immutable type is required.
immutable
object
tuple
overflow
40. A variable or value used to select a member of an ordered set - such as a character from a string.
index
accumulator
postorder
compound statement
41. A statement that controls the flow of execution depending on some condition.
conditional statement
linear time
newline
volatile memory
42. To represent one set of values using another set of values by constructing a mapping between them.
pure function
embedded reference
argv (argument vector)
encode
43. The name and location of a file within a file system.
modulus operator
path
executable
embedded reference
44. A style of program design in which the majority of functions are pure.
loop
functional programming style
slice
parent
45. A way of writing mathematical expressions with the operators after the operands.
postfix
pure function
problem solving
polymorphic
46. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
multiple assignment
inorder
key-value pair
client
47. An operation defined in linear algebra that multiplies each of the coordinates of a Point by a numeric value.
scalar multiplication
integer division
raise
parent class
48. 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.
clone
composition (of functions)
function
overflow
49. A statement that assigns a value to a name (variable).
assignment statement
object-oriented language
command prompt
child
50. An assignment to all of the elements in a tuple using a single assignment statement. Useful for swapping values.
cursor
recursive definition
tuple assignment
attribute