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 prevent an exception from terminating a program using the try and except statements.
interpret
handle an exception
header
attribute
2. A statement that causes the current iteration of a loop to end.
token
continue statement
local variable
run time error
3. Repeated execution of a set of programming statements.
directory
iteration
low-level language
modulus operator
4. 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.
planned development
nested loop
delimiter
side effect
5. One of the pairs of items in a dictionary. Values are looked up in a dictionary by key.
parameter
key-value pair
interpret
compound statement
6. A variable defined inside a module - accessed by using the dot operator ( .).
precondition
parse
attribute
exception
7. A program (or the person who wrote it) that uses an ADT.
dictionary
attribute
incremental development
client
8. A variable or value used to select a member of an ordered set - such as a character from a string.
index
binary operator
handle an exception
nested list
9. 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.
root
initialization (of a variable)
formal language
data structure
10. A visual cue that tells the user to input data.
modulus operator
prompt
compiler
delimiter
11. The block of statements in a compound statement that follows the header.
type conversion
body
child class
local variable
12. An ADT that performs the operations one might perform on a queue.
object
composition (of functions)
infix
Queue
13. A loop in which the terminating condition is never satisfied.
operand
instance
infinite loop
loop variable
14. A syntactic construct which enables lists to be generated from other lists using a syntax analogous to the mathematical set-builder notation.
concatenate
operand
invariant
list comprehension
15. Decrease by 1.
decrement
loop
link
key
16. The set of rules governing the order in which expressions involving multiple operators and operands are evaluated.
rules of precedence
composition
assignment statement
loop
17. A function that changes one or more of the objects it receives as parameters. Most modifiers are void.
modifier
node
non-volatile memory
overflow
18. Another name for a runtime error.
operator
exception
root
loop
19. A special character that causes the cursor to move to the beginning of the next line.
delimiter
cargo
newline
parent
20. A name given to a variable.
variable name
dictionary
linked list
cursor
21. The ability to combine simple expressions and statements into compound statements and expressions in order to represent complex computations concisely.
boolean expression
leaf
trace
composition
22. To create a new object that has the same value as an existing object.
linear time
body
clone
key-value pair
23. A way to traverse a tree - visiting each node before its children.
whitespace
preorder
fundamental ambiguity theorem
child class
24. 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
child class
helper
keyword
25. The structure of a program.
parent
clone
syntax
instance
26. Having no specific pattern. Unpredictable.
random
argv (argument vector)
pure function
event
27. A function that calls itself recursively without ever reaching the base case - ultimately causes a runtime error.
list comprehension
infinite recursion
boolean expression
Priority Queue
28. The meaning of a program.
semantics
parent class
postorder
trichotomy
29. A graphical representation of a stack of functions and their variables and the values to which they refer.
FIFO(First In First Out)
stack diagram
functional programming style
tuple assignment
30. A data type comprised of a collection of keys and associated values.
compiler
traverse
binary tree
mapping type
31. The statements inside a loop.
escape sequence
algorithm
body
modifier
32. 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.
step size
wrapper
parameter
function
33. A statement or group of statements that execute repeatedly until a terminating condition is satisfied.
default value
helper
loop
syntax
34. A situation in which two or more names in a given namespace cannot be unambiguously resolved.
variable
handle an exception
naming collision
aliases
35. A compound data type that is often used to model a thing or concept in the real world.
mutable data type
object
newline
Priority Queue
36. To execute a program in a high-level language by translating it one line at a time.
sequence
boolean expression
interpret
data structure
37. A group of consecutive statements with the same indentation.
comparison operator
argv (argument vector)
block
linked list
38. A file that contains printable characters organized into lines separated by newline characters.
text file
formal language
body
token
39. An assertion that must be true in order for a method to work correctly.
text file
precondition
embedded reference
encode
40. One program structure within another - such as a conditional statement inside a branch of another conditional statement.
binary tree
interpret
function call
nesting
41. An automatic procedure used to validate that individual units of code are working properly.
algorithm
modifier
priority queue
unit testing
42. The name and location of a file within a file system.
constant
path
event loop
natural language
43. A thing to which a variable can refer.
development plan
object
method
scalar multiplication
44. A compound data type whose elements cannot be assigned new values.
immutable
pure function
parent class
parse
45. An operation whose runtime is a linear function of the size of the data structure.
priority queue
method
return value
linear time
46. A statement that consists of two parts: header - which begins with a keyword determining the statement type and ends with a colon. body - containing one or more statements indented the same amount from the header.
compound statement
header
attribute
subexpression
47. A function which changes its arguments inside the function body. Only mutable types can be changed by modifiers.
iteration
event
modifier
object
48. A recursive call that occurs as the last statement (at the tail) of a function definition.
tail recursion
method
test-driven development (TDD)
directory
49. A statement that assigns a value to a name (variable).
object
assignment statement
generic data structure
function composition
50. Using the output from one function call as the input to another.
list comprehension
test-driven development (TDD)
function composition
semantic error
Sorry!:) No result found.
Can you answer 50 questions in 15 minutes?
Let me suggest you:
Browse all subjects
Browse all tests
Most popular tests
Major Subjects
Tests & Exams
AP
CLEP
DSST
GRE
SAT
GMAT
Certifications
CISSP go to https://www.isc2.org/
PMP
ITIL
RHCE
MCTS
More...
IT Skills
Android Programming
Data Modeling
Objective C Programming
Basic Python Programming
Adobe Illustrator
More...
Business Skills
Advertising Techniques
Business Accounting Basics
Business Strategy
Human Resource Management
Marketing Basics
More...
Soft Skills
Body Language
People Skills
Public Speaking
Persuasion
Job Hunting And Resumes
More...
Vocabulary
GRE Vocab
SAT Vocab
TOEFL Essential Vocab
Basic English Words For All
Global Words You Should Know
Business English
More...
Languages
AP German Vocab
AP Latin Vocab
SAT Subject Test: French
Italian Survival
Norwegian Survival
More...
Engineering
Audio Engineering
Computer Science Engineering
Aerospace Engineering
Chemical Engineering
Structural Engineering
More...
Health Sciences
Basic Nursing Skills
Health Science Language Fundamentals
Veterinary Technology Medical Language
Cardiology
Clinical Surgery
More...
English
Grammar Fundamentals
Literary And Rhetorical Vocab
Elements Of Style Vocab
Introduction To English Major
Complete Advanced Sentences
Literature
Homonyms
More...
Math
Algebra Formulas
Basic Arithmetic: Measurements
Metric Conversions
Geometric Properties
Important Math Facts
Number Sense Vocab
Business Math
More...
Other Major Subjects
Science
Economics
History
Law
Performing-arts
Cooking
Logic & Reasoning
Trivia
Browse all subjects
Browse all tests
Most popular tests