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 function that does not modify any of the objects it receives as parameters. Most pure functions are fruitful.
embedded reference
pure function
recursive definition
path
2. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
tab
inorder
value
infinite loop
3. An explicit statement that takes a value of one type and computes a corresponding value of another type.
continue statement
linked list
data structure
type conversion
4. A loop inside the body of another loop.
delimiter
cargo
nested loop
multiple assignment
5. One of the named data items that makes up an instance.
attribute
tuple
tail recursion
list traversal
6. The node that refers to a given node.
object code
parent
algorithm
node
7. A user-defined compound type. A class can also be thought of as a template for the objects that are instances of it.
branch
class
incremental development
boolean value
8. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
nested list
escape sequence
increment
abstract data type (ADT)
9. Repeated execution of a set of programming statements.
iteration
syntax
polymorphic
object-oriented programming
10. 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.
exception
optional parameter
integer division
immutable
11. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
frame
mode
rules of precedence
object-oriented programming
12. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
local variable
token
child
overflow
13. A loop in which the terminating condition is never satisfied.
precondition
infinite loop
aliases
recursive call
14. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
helper
polymorphic
tail recursion
token
15. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
value
operator overloading
tab
flow of execution
16. An ADT that defines the operations one might perform on a priority queue.
body
Priority Queue
encapsulate
nested list
17. A variable defined inside a module - accessed by using the dot operator ( .).
data structure
dictionary
attribute
list comprehension
18. An operation defined in linear algebra that multiplies two Points and yields a numeric value.
event loop
dot product
operator
byte code
19. 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.
exception
wrapping code in a function
modifier
whitespace
20. To read a string of characters or tokens and analyze its grammatical structure.
inorder
stack diagram
parse
functional programming style
21. The topmost node in a tree with no parent.
mutable data type
root
expression
handle an exception
22. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
byte code
nesting
precondition
scalar multiplication
23. A data type in which the elements can be modified. It is a compound type - e.g. lists.
helper
mutable type
state diagram
constant time
24. 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.
return value
test-driven development (TDD)
function composition
bug
25. A class definition that implements an ADT with method definitions that are invocations of other methods - sometimes with simple transformations. It does no significant work but it improves or standardizes the interface seen by the client.
object-oriented language
veneer
inheritance
compiler
26. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
composition
scalar multiplication
delimiter
class attribute
27. A numerical value that does not change during the execution of a program.
child class
modifier
constant
slice
28. An invisible marker that keeps track of where the next character will be printed.
wrapping code in a function
nested list
traverse
cursor
29. An implementation of a queue using a linked list.
run time error
concatenate
linked queue
operand
30. A name that refers to a value.
increment
local variable
dictionary
variable
31. A reference to a list node can be treated as a single object or as the first in a list of nodes.
command line argument
overflow
fundamental ambiguity theorem
comparison operator
32. The class from which a child class inherits.
trace
parent class
attribute
key
33. One of the nodes referred to by a node.
object
child
function
parse
34. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
naming collision
type conversion
newline
loop variable
35. Another name for object code that is ready to be executed.
state diagram
delimiter
optional parameter
executable
36. A variable used as part of the terminating condition of a loop.
class
immutable
level
loop variable
37. An operator that takes two operands.
tuple
immutable data type
binary operator
implementation
38. A name given to a variable.
variable name
exception
nested loop
problem solving
39. An automatic procedure used to validate that individual units of code are working properly.
unit testing
token
file system
text file
40. The name and location of a file within a file system.
file system
veneer
path
cargo
41. One of the operators that compares two values: == or != or > or < or >= and <=.
continue statement
index
comparison operator
boolean function
42. One of the possible paths of the flow of execution determined by conditional execution.
namespace
element
precondition
branch
43. An intermediate language between source code and object code. Many modern languages first compile source code into byte code and then interpret the byte code with a program called a virtual machine.
body
program
variable name
byte code
44. Generalization by reducing the information content of a concept.
abstraction
leaf
slice
key
45. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
modifier
exception
veneer
file
46. 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
list
Priority Queue
key
47. An integer variable or value that indicates an element of a list.
index
block
object code
slice
48. The dot operator ( .) permits access to attributes and functions of a module.
state diagram
data type
test-driven development (TDD)
dot operator
49. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
list comprehension
assignment statement
function call
test-driven development (TDD)
50. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
tab
initialization method
command line argument
wrapper