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 sequence of instructions that specifies to a computer actions and computations to be performed.
program
immutable data type
data structure
raise
2. Another name for object code that is ready to be executed.
executable
fundamental ambiguity theorem
boolean function
state diagram
3. A way of writing a mathematical expression with each operator appearing before its operands.
prefix notation
iteration
random
comparison operator
4. Any one of the languages that people speak that evolved naturally.
integer division
data structure
event loop
natural language
5. An item of data contained in a node.
constant
cargo
handle an exception
trichotomy
6. The statements inside a loop.
side effect
escape sequence
body
standard library
7. A data type which can be modified.
binary operator
recursive definition
body
mutable data type
8. Another name for a runtime error.
exception
singleton
bug
instance
9. A statement that controls the flow of execution depending on some condition.
debugging
boolean expression
generalize
conditional statement
10. A special character that causes the cursor to move to the next tab stop on the current line.
tab
interface
token
preorder
11. A syntactic container providing a context for names so that the same name can reside in different namespaces without ambiguity.
header
nested list
namespace
condition
12. A bottom-most node in a tree with no children.
function composition
syntax
import statement
leaf
13. To read a string of characters or tokens and analyze its grammatical structure.
rules of precedence
semantic error
parse
trace
14. 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.
command line argument
veneer
child class
function
15. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
list comprehension
raise
argv (argument vector)
precondition
16. An organization of data for the purpose of making it easier to use.
argument
import statement
increment
data structure
17. Any of the characters that move the cursor without printing visible characters. The constant string.whitespace contains all the white-space characters.
whitespace
body
prompt
compiler
18. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
pure function
initialization (of a variable)
raise
incremental development
19. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
provider
encapsulate
temporary variable
mapping type
20. 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.
link
counter
keyword
traverse
21. An error in a program that makes it impossible to parse
planned development
trichotomy
syntax error
siblings
22. A data structure that implements a collection using a sequence of linked nodes.
argv (argument vector)
composition
linked list
problem solving
23. To create an instance of a class.
body
instantiate
embedded reference
implementation
24. An ordered set of objects waiting for a service of some kind.
tab
queue
parent class
iteration
25. The dot operator ( .) permits access to attributes and functions of a module.
fundamental ambiguity theorem
siblings
non-volatile memory
dot operator
26. A queueing policy in which the first member to arrive is the first to be removed.
path
dot product
scaffolding
FIFO(First In First Out)
27. A signal such as a keyboard press or mouse click or message from another program.
Priority Queue
event
branch
infinite loop
28. Decrease by 1.
level
decrement
optional parameter
incremental development
29. 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
parent class
source code
step size
30. The boolean expression in a conditional statement that determines which branch is executed.
event
condition
infix
naming collision
31. 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.
comment
byte code
initialization (of a variable)
test-driven development (TDD)
32. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
event loop
argv (argument vector)
key
evaluate
33. A program development plan intended to avoid debugging by adding and testing only a small amount of code at a time.
traverse
incremental development
list traversal
evaluate
34. The output of the compiler after it translates the program.
file
object code
return value
escape sequence
35. A set of instructions for solving a class of problems by a mechanical and unintelligent process.
algorithm
token
formal language
source code
36. A part of a string (substring) specified by a range of indices.
binary operator
token
slice
compiler
37. A conditional branch with more than two possible flows of execution.
keyword
chained conditional
formal language
loop
38. An operator denoted with a percent sign ( %) - that works on integers and yields the remainder when one number is divided by another.
modulus operator
object
exception
file system
39. Extending built-in operators ( + or - or * or > or < etc.) so that they work with user-defined types.
operator overloading
object
run time error
modifier
40. A step-by-step process for solving a category of problems.
algorithm
function composition
invariant
value
41. An operation whose runtime does not depend on the size of the data structure.
root
constant time
delimiter
integer division
42. 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.
subexpression
event
tuple
syntactical errors
43. A way to traverse a tree - visiting each node before its children.
preorder
child
variable
mutable data type
44. The set of nodes equidistant from the root.
class
level
functional programming style
object-oriented language
45. A function that returns a boolean value.
boolean function
cursor
infix
key
46. 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.
temporary variable
delimiter
parent
body
47. A data type in which the values are made up of components or elements that are themselves values.
compound data type
boolean function
traverse
generalize
48. A programming construct that waits for events and processes them.
trichotomy
slice
chained conditional
event loop
49. 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.
source code
composition
bug
veneer
50. Part of a program that can never be executed - often because it appears after a return statement.
algorithm
scaffolding
dead code
block