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 library is a collection of software used as tools in the development of other software.
event loop
standard library
type conversion
prototype development
2. A programming language that is designed to be easy for humans to read and write.
generic data structure
program
high-level language
mutable type
3. A function which has no side effects. It only makes changes to the calling program through its return values.
hint
escape sequence
cursor
pure function
4. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
multiple assignment
modifier
initialization (of a variable)
expression
5. A data structure that implements a collection using a sequence of linked nodes.
linked list
child
postorder
object-oriented language
6. Use of the dot operator '.' to access functions inside a module.
sequence
dot notation
composition (of functions)
runtime error
7. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
script
abstraction
object-oriented programming
traceback
8. A property of a program that can run on more than one kind of computer.
portability
attribute
modifier
Queue
9. A distinct method of operation within a computer program.
FIFO(First In First Out)
mode
aliases
constant time
10. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
operator
loop variable
attribute
parse
11. A string displayed by a command line interface indicating that commands can be entered.
logical operator
dot product
command prompt
default value
12. 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.
constant
integer division
test-driven development (TDD)
parent
13. 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.
object
Queue
step size
hint
14. A file that contains printable characters organized into lines separated by newline characters.
text file
compound statement
exception
key
15. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
conditional statement
traceback
docstring
helper
16. A change in the state of a program made by calling a function that is not a result of reading the return value from the function. Can only be produced by modifiers.
mode
interface
side effect
initialization (of a variable)
17. 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.
class
abstract data type (ADT)
token
iteration
18. A branch of the conditional statement in a recursive function that does not result in a recursive call.
inorder
base case
precondition
polymorphic
19. 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.
integer division
formal language
leaf
algorithm
20. 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
method
handle an exception
fundamental ambiguity theorem
21. The value given to an optional parameter if no argument for it is provided in the function call.
default value
instance
whitespace
return value
22. Given any real numbers a and b exactly one of the following relations holds: a < b or a > b or a = b. Thus when you can establish that two of the relations are false you can assume the remaining one is true. What is it called?
syntactical errors
multiple assignment
link
trichotomy
23. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
nested list
list
concatenate
argv (argument vector)
24. The sequence of characters read into the command interpreter in a command line interface.
expression
semantic error
command line
token
25. A variable used to count something - usually initialized to zero and incremented in the body of a loop.
interface
counter
constant
parse
26. An item of data contained in a node.
cargo
initialization method
parse
fruitful function
27. The output of the compiler after it translates the program.
semantics
step size
problem solving
object code
28. The second part of a compound statement. The body consists of a sequence of statements all indented the same amount from the beginning of the header.
class
condition
runtime error
body
29. The value provided as the result of a function call.
return value
sequence
linked list
source code
30. A program stored in a file (usually one that will be interpreted).
child
chained conditional
composition
script
31. A way of writing mathematical expressions with the operators between the operands.
infix
immutable data type
postorder
root
32. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
leaf
attribute
low-level language
cargo
33. A combination of variables and operators and values that represents a single result value.
expression
encapsulate
increment
mutable type
34. A graphical representation of a set of variables and the values to which they refer.
formal language
state diagram
step size
operator
35. A conditional branch with more than two possible flows of execution.
modulus operator
chained conditional
sequence
nesting
36. Any one of the languages that people speak that evolved naturally.
natural language
function composition
volatile memory
modifier
37. A name that refers to a value.
frame
operand
variable
constant
38. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
composition
algorithm
object code
side effect
39. A tree in which each node refers to zero or one or two dependent nodes.
tab
binary tree
branch
queue
40. Code that satisfies the syntactic and semantic requirements of an interface.
implementation
optional parameter
accumulator
file system
41. An ADT that defines the operations one might perform on a priority queue.
attribute
initialization (of a variable)
algorithm
Priority Queue
42. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
element
random
development plan
keyword
43. 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.
keyword
algorithm
exception
invariant
44. 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
object code
method
list
assignment statement
45. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
composition (of functions)
index
parent class
list comprehension
46. To iterate through the elements of a set performing a similar operation on each.
wrapper
traverse
modulus operator
default value
47. There are exactly two boolean values: True and False.
concatenate
delimiter
boolean value
event
48. A way to traverse a tree - visiting each node before its children.
queue
link
preorder
recursion
49. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
constant
encode
runtime error
nesting
50. The code (or the person who wrote it) that implements an ADT.
provider
directory
counter
constant time