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 file that contains printable characters organized into lines separated by newline characters.
argv (argument vector)
loop
text file
runtime error
2. The structure of a program.
tail recursion
syntax
delimiter
wrapper
3. An error in a program that makes it do something other than what the programmer intended.
semantic error
random
mode
delimiter
4. 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.
exception
hint
logical operator
generalize
5. The ability to define a new class that is a modified version of a previously defined class.
inheritance
algorithm
semantics
debugging
6. An expression that is either true or false.
boolean expression
body
optional parameter
boolean function
7. A special symbol that represents a simple computation like addition or multiplication or string concatenation.
aliases
body
operator
temporary variable
8. 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.
body
immutable data type
algorithm
state diagram
9. A way of developing programs starting with a prototype and gradually testing and improving it.
prototype development
argument
comment
pure function
10. It prevents a compiler from compiling.
syntactical errors
file
pure function
low-level language
11. Multiple variables that contain references to the same object.
parse
logical operator
inorder
aliases
12. An assertion that must be true in order for a method to work correctly.
argv (argument vector)
expression
cargo
precondition
13. 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?
trichotomy
frame
interface
low-level language
14. A numerical result that is too large to be represented in a numerical format.
queue
interpret
overflow
bug
15. A data type in which the values are made up of components or elements that are themselves values.
object-oriented programming
integer division
increment
compound data type
16. A compound data type that is often used to model a thing or concept in the real world.
dot operator
list traversal
linked queue
object
17. To create a new object that has the same value as an existing object.
clone
traceback
key
temporary variable
18. Another name for object code that is ready to be executed.
temporary variable
condition
argv (argument vector)
executable
19. A name given to a variable.
file system
generalize
variable name
object
20. To simplify an expression by performing the operations in order to yield a single value.
semantic error
executable
evaluate
expression
21. To signal an exception using the raise statement.
trace
raise
algorithm
boolean expression
22. A statement that assigns a value to a name (variable).
local variable
functional programming style
subexpression
assignment statement
23. 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.
invariant
formal language
nested list
keyword
24. 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.
recursive call
evaluate
function
import statement
25. A program (or the person who wrote it) that uses an ADT.
root
return value
client
comment
26. Another name for a runtime error.
exception
index
prompt
stack diagram
27. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
command line argument
linear time
list comprehension
attribute
28. A method that acts as a middleman between a caller and a helper method - often making the method easier or less error-prone to invoke.
wrapper
default value
branch
siblings
29. A function that returns a boolean value.
client
loop variable
boolean function
method
30. Repeated execution of a set of programming statements.
modifier
iteration
node
standard library
31. The process of formulating a problem and finding a solution and expressing the solution.
traceback
handle an exception
prompt
problem solving
32. An organization of data for the purpose of making it easier to use.
function definition
test-driven development (TDD)
node
data structure
33. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
wrapping code in a function
loop variable
path
nesting
34. A property of a program that can run on more than one kind of computer.
portability
generalize
Priority Queue
fruitful function
35. An operation whose runtime does not depend on the size of the data structure.
constant time
standard library
precondition
method
36. A character or string used to indicate where a string should be split.
delimiter
file
algorithm
index
37. An implementation of a queue using a linked list.
Priority Queue
linked queue
method
logical operator
38. The rules that determine which member of a queue is removed next.
semantic error
evaluate
random
queueing policy
39. One of the values on which an operator operates.
operand
executable
base case
index
40. Decrease by 1.
program
decrement
exception
fruitful function
41. A programming language that is designed to be easy for humans to read and write.
pure function
high-level language
modifier
header
42. A data type comprised of a collection of keys and associated values.
hint
variable name
mapping type
boolean value
43. To examine a program and analyze the syntactic structure.
parse
portability
instantiate
modulus operator
44. To create an instance of a class.
variable
instantiate
fundamental ambiguity theorem
syntax
45. An escape character '' followed by one or more printable characters used to designate a nonprintable character.
raise
escape sequence
traceback
problem solving
46. A way of writing mathematical expressions with the operators between the operands.
infix
token
boolean value
pure function
47. 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).
data type
source code
non-volatile memory
optional parameter
48. The boolean expression in a conditional statement that determines which branch is executed.
initialization method
condition
level
traceback
49. An operation whose runtime is a linear function of the size of the data structure.
compound data type
linear time
FIFO(First In First Out)
raise
50. a sequence of instructions that specifies to a computer actions and computations to be performed.
syntactical errors
program
variable
logical operator