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 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
infinite recursion
portability
delimiter
2. A style of program design in which the majority of functions are pure.
attribute
local variable
functional programming style
compound statement
3. 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.
sequence
natural language
abstract data type (ADT)
boolean function
4. Making more than one assignment to the same variable during the execution of a program.
index
multiple assignment
element
singleton
5. To create a new object that has the same value as an existing object.
clone
portability
veneer
non-volatile memory
6. An item of data contained in a node.
path
parse
cargo
condition
7. To translate a program written in a high-level language into a low-level language all at once - in preparation for later execution.
nested list
high-level language
compile
boolean function
8. A list that is an element of another list.
non-volatile memory
operator overloading
nested list
instantiate
9. A variable defined inside a function. A local variable can only be used inside its function.
local variable
script
delimiter
argument
10. A name used inside a function to refer to the value passed as an argument.
embedded reference
operator
parameter
inheritance
11. A programming language that is designed to be easy for a computer to execute; also called machine language or assembly language.
non-volatile memory
composition (of functions)
low-level language
initialization (of a variable)
12. a sequence of instructions that specifies to a computer actions and computations to be performed.
parent
loop
program
modifier
13. Using the output from one function call as the input to another.
function composition
interface
parse
dictionary
14. A part of a string (substring) specified by a range of indices.
byte code
slice
frame
fundamental ambiguity theorem
15. To represent one set of values using another set of values by constructing a mapping between them.
linked list
loop variable
tuple assignment
encode
16. The sequence of characters read into the command interpreter in a command line interface.
syntax error
command line
mode
list comprehension
17. A statement that controls the flow of execution depending on some condition.
bug
conditional statement
linked list
file system
18. Function-like attribute of an object. Methods are invoked (called) on an object using the dot operator.
evaluate
method
list traversal
initialization (of a variable)
19. A way to traverse a tree - visiting the left subtree and then the root and then the right subtree.
exception
index
runtime error
inorder
20. An object that belongs to a class.
tuple assignment
instance
interface
attribute
21. Use of the dot operator '.' to access functions inside a module.
variable name
client
function composition
dot notation
22. To create an instance of a class.
compound data type
dot operator
instantiate
debugging
23. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
infinite recursion
compile
body
sequence
24. To ________ a variable is to give it an initial value - usually in the context of multiple assignment.
initialization (of a variable)
overflow
portability
modulus operator
25. A number or string (or other things to be named later) that can be stored in a variable or computed in an expression.
source code
value
parse
leaf
26. A style of programming in which data and the operations that manipulate it are organized into classes and methods.
interpret
development plan
semantics
object-oriented programming
27. To read a string of characters or tokens and analyze its grammatical structure.
attribute
inorder
parse
sequence
28. A loop in which the terminating condition is never satisfied.
byte code
infinite loop
linked queue
link
29. An implementation of a queue using a linked list.
linked queue
algorithm
inorder
newline
30. A named entity - usually stored on a hard drive or floppy disk or CD-ROM - that contains a stream of characters.
escape sequence
dot operator
file
function
31. A string constant on the first line of a function or module definition - they provide a convenient way to associate documentation with code.
docstring
incremental development
infinite loop
command line
32. A graphical representation of a set of variables and the values to which they refer.
state diagram
prompt
node
syntax error
33. A method for naming and accessing and organizing files and the data they contain.
prompt
object
file system
script
34. A visual cue that tells the user to input data.
wrapping code in a function
assignment statement
dictionary
prompt
35. A set of characters that are treated as a unit for purposes of parsing such as the words in a natural language.
token
mutable data type
generalize
linear time
36. A data item that is mapped to a value in a dictionary. Used to look up values in a dictionary.
leaf
key
aliases
header
37. A data type in which the values are made up of components or elements that are themselves values.
namespace
compound data type
argv (argument vector)
attribute
38. One of the values in a list (or other sequence). The bracket operator selects elements of a list.
child
modifier
element
development plan
39. A set of values. The type of a value determines how it can be used in expressions. So far the types you have seen are integers (type int) and floating-point numbers (type float) and strings (type str).
delimiter
random
tab
data type
40. An element of a list - usually implemented as an object that contains a reference to another object of the same type.
node
syntax error
modifier
command line
41. To simplify an expression by performing the operations in order to yield a single value.
prompt
evaluate
event
modulus operator
42. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
operator
object-oriented language
base case
test-driven development (TDD)
43. An operator that takes two operands.
tuple assignment
keyword
binary operator
Queue
44. 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?
pure function
trichotomy
byte code
optional parameter
45. A compound data type whose elements cannot be assigned new values.
immutable
rules of precedence
scalar multiplication
body
46. An error that does not occur until the program has started to execute but that prevents the program from continuing.
runtime error
random
syntax error
program
47. Any of the data types that consist of an ordered set of elements with each element identified by an index.
sequence
functional programming style
node
inheritance
48. A value passed to a program along with the program's invocation at the command prompt of a command line interface (CLI).
command line argument
infix
cursor
recursive call
49. A library is a collection of software used as tools in the development of other software.
abstraction
FIFO(First In First Out)
boolean value
standard library
50. 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.
integer division
infix
mutable data type
decrement