Comp 006 Compiled Quizzes
Comp 006 Compiled Quizzes
1
1. What is the best storage example that we are currently using which describes the
data structures?
A. hard disk
B. flash drive
C. google drive
D. compaq disk
3. It refers to the raw facts and it needs to be processed to have better resut.
A. information
B. data
C. structures
D. data structures
6. It is a set of values from which a variable, constant, function, or other expression may
take its value.
A. information
B. data types
C. structures
D. data structures
7. It is the most basic data type which is usually declared according to the syntax rule of
a programming language.
A. simple type
B. data types
C. composite type
D. data structures
8. It refers to the format on how to use each command in every programming language.
A. logical
B. syntax
C. semantics
D. data types
10. It represents integers or whole numbers where in the maximum or minimum value is
the unit of data that a computer can process at one time and is determined by the length
of one word.
A. Integer
B. String
C. Character
D. Real
11. It holds several characters and usually enclosed with double quotation.
A. Integer
B. String
C. Character
D. Real
12. It means any implementation of data in which the implementation details are hidden
(abstracted) from the user
A. encapsulation
B. inheritance
C. polymorphism
D. abstraction
13. It refers to the address that are allocated in a main memory unit. Pointer types are
used to refer to variables, file records, or functions.
A. pointer type
B. enumeration type
C. abstract data type
D. logical type
14. It refers to the address that are allocated in a main memory unit. Pointer types are
used to refer to variables, file records, or functions.
A. pointer type
B. enumeration type
C. abstract data type
D. logical type
5. It is an algorithm criteria which are externally supplied taken from a set of objects
called the domain of the algorithm.
A. effectiveness
B. output
C. process
D. input
6. It refers to each instruction must be clear and unambiguous, meaning each step of an
algorithm must be precisely defined.
A. Effectiveness
B. Definiteness
C. Finiteness
D. reliability
7. It is an algorithm criteria which will terminate the program after a finite number of
steps.
A. Effectiveness
B. Definiteness
C. Finiteness
D. reliability
8. In this scenario, the algorithm is executed, the fewest number of instructions are
executed.
A. worst case
B. best case
C. Average case
D. good case
9. In this scenario, it refers to which the algorithm produces path lengths that are always
a maximum.
A. worst case
B. best case
C. Average case
D. good case
10. It is most commonly estimated by counting the number of elementary steps (we call
this frequency count) performed by any algorithm to finish execution.
A. Space Complexity
B. Algorithm Analysis
C. Time Complexity
D. Data Structure
12. It is the set of functions that grow slower than or at the same rate as expression.
A. Theta(expression)
B. O(expression)
C. Omega(expression)
D. Little Oh(expression)
2. Two Dimensional Array: Compute the memory address of the following elements of
an Array.
Note: The base address is 106 and the interval value store 1 element is 2.
A. 114
B. 116
C. 112
D. 118
3. Two Dimensional Array: Compute the memory address of the following elements of
an Array.
Note: The base address is 104 and the interval value store 1 element is 2.
A. 118
B. 112
C. 120
D. 114
QUIZ NO.4
1.
Option 1: Option 2:
Option 3: Option 4:
2.
Option 1: Option 2:
Option 3: Option 4:
QUIZ NO.5
1. What method in the program that is used to insert an item in the stack? Note use
capital letters.
Ans: _____________________________________
2. What words stand for the acronym LIFO? (Note: Use all capital letters)
Ans: _____________________________________
6. TRANS***FOR**MAT***IONAL_DEVEL***OPMEN***TAL**********
A. TRFIO
B. TRFI
C. TRF
D. TR
7. SYN**TAC*TIC_D**ATA_A**NALY**SIS********
A. STAT
B. STATI
C. STA
D. STATIC