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. To execute a program in a high-level language by translating it one line at a time.
composition
object-oriented language
command prompt
interpret
2. One of the nodes referred to by a node.
dictionary
inorder
child
command line
3. One of the basic elements of the syntactic structure of a program - analogous to a word in a natural language.
docstring
step size
event
token
4. A function which has no side effects. It only makes changes to the calling program through its return values.
pure function
queue
non-volatile memory
linked list
5. a sequence of instructions that specifies to a computer actions and computations to be performed.
hint
program
directory
data structure
6. 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.
assignment statement
priority queue
chained conditional
composition
7. 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)
functional programming style
raise
traverse
8. A graphical representation of a set of variables and the values to which they refer.
parent
test-driven development (TDD)
state diagram
assignment statement
9. Any one of the languages that people speak that evolved naturally.
siblings
natural language
recursive call
temporary variable
10. An object that belongs to a class.
encode
value
instance
import statement
11. The structure of a program.
conditional statement
flow of execution
syntax
parse
12. A compound data type that is often used to model a thing or concept in the real world.
preorder
delimiter
interpret
object
13. A method for naming and accessing and organizing files and the data they contain.
step size
file system
algorithm
runtime error
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.
conditional statement
accumulator
helper
dot product
15. Generalization by reducing the information content of a concept.
problem solving
inheritance
abstraction
delimiter
16. The name and location of a file within a file system.
path
subexpression
body
condition
17. A linked list with a single node.
abstract data type (ADT)
initialization method
scalar multiplication
singleton
18. To divide a large complex program into components (like functions) and isolate the components from each other (by using local variables - for example).
command line
natural language
loop variable
encapsulate
19. 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.
traceback
aliases
recursion
function
20. A thing to which a variable can refer.
branch
child class
encapsulate
object
21. An embedded reference used to link one object to another.
trichotomy
path
link
index
22. Another name for a runtime error.
linked list
command line
exception
handle an exception
23. A variable in the sys module which stores a list of command line arguments passed to a program at run time.
mutable data type
argv (argument vector)
modulus operator
dead code
24. Part of a program that can never be executed - often because it appears after a return statement.
delimiter
incremental development
parent class
dead code
25. There are exactly two boolean values: True and False.
comment
boolean value
child
class attribute
26. One of the operators that compares two values: == or != or > or < or >= and <=.
list comprehension
recursion
comparison operator
handle an exception
27. A variable that is defined inside a class definition but outside any method. These are accessible from any method in the class and are shared by all instances of the class.
newline
token
class attribute
modifier
28. A list that is an element of another list.
interpret
tab
volatile memory
nested list
29. An explicit statement that takes a value of one type and computes a corresponding value of another type.
siblings
type conversion
newline
source code
30. An error in a program.
keyword
node
trace
bug
31. One of the named data items that makes up an instance.
test-driven development (TDD)
attribute
fruitful function
object code
32. 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.
wrapping code in a function
FIFO(First In First Out)
evaluate
algorithm
33. An operator that takes two operands.
binary operator
dead code
loop variable
link
34. The statement in a recursive function with is a call to itself.
recursive call
frame
siblings
import statement
35. A style of program design in which the majority of functions are pure.
token
temporary variable
functional programming style
linear time
36. An assertion that must be true in order for a method to work correctly.
whitespace
fundamental ambiguity theorem
client
precondition
37. A variable used as part of the terminating condition of a loop.
queueing policy
parent
loop variable
compound statement
38. A visual cue that tells the user to input data.
prompt
list comprehension
compound statement
FIFO(First In First Out)
39. A program stored in a file (usually one that will be interpreted).
script
syntax error
non-volatile memory
syntax
40. A recursive call that occurs as the last statement (at the tail) of a function definition.
tail recursion
algorithm
algorithm
semantics
41. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
immutable
nesting
branch
escape sequence
42. A named collection of objects where each object is identified by an index.
function
subexpression
list
composition (of functions)
43. A way of writing mathematical expressions with the operators after the operands.
postfix
scalar multiplication
parent class
interpret
44. Use of the dot operator '.' to access functions inside a module.
value
dot notation
modifier
link
45. A compound data type whose elements cannot be assigned new values.
event loop
standard library
immutable
integer division
46. A step-by-step process for solving a category of problems.
decrement
parse
branch
algorithm
47. A name given to a variable.
debugging
variable name
encapsulate
temporary variable
48. Another name for object code that is ready to be executed.
executable
leaf
siblings
rules of precedence
49. A data type which cannot be modified. Assignments to elements or slices of immutable types cause a runtime error.
immutable data type
variable name
linked queue
whitespace
50. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
counter
recursive call
nesting
client