Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

SS2 Ca 2 Third Term 2022 - 2023

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 9

JESUIT MEMORIAL COLLEGE MBODO ALUU PORT HARCOURT

SECOND CONTINUOUS ASSESMENT, THIRD TERM 2022/2023 ACADEMIC


SESSION

SUBJECT: DATA PROCESSING


CLASS: SS 2 TIME: 1 HOUR

Please do not open this question booklet until you are told to do so.
While you are waiting, read the following instructions carefully.

This paper consists of two sections: I & II. Section I consist of thirty (30) multiple-
choice and Section II consists of THREE essay questions which will last for 1 hour.
INSTRUCTIONS TO STUDENTS
1. Answer all questions.
2. Use HB pencil only.
3. Write your Name, Subject, and your class boldly written on the answer sheet
provided. Also, write and shade appropriately Date of Exam, your DOB, Student ID
& your Examination number, where applicable, in the spaces provided.

4. Answer each question by shading the box that corresponds to the option you have
chosen.

5. Do not waste time on any question. If you find any difficult, go to the others and
finish them before you come back to the difficult one(s).

6. There must not be more than one shading for an answer. Any shading with more than
one box will be marked wrong.

7. If you change your mind about an answer, completely erase the first shading.

8. Do not start until the Supervisor tells you to do so.

1
Turn Over

OBJECTIVE

1. Recovery to a consistence state is required


after every form of ____________ 7. Recovery manager uses the Write Ahead
A. System diagnosis Logging to allow _________
B. System failure A. Steal
C. Data congestion B. Force
D. System network C. Interaction
D. Diagnosis
2. The recovery manager is a component of
________ 8. A changed database pages can be written to
A. DBMS disk before the transaction commits by
B. Microsoft Office implementing ______
C. Spreadsheet package A. Force
D. Graphic design B. Steal
C. Diagnosis
3. The Recovery Manager interacts with the D. Commiter
______ manager and ________ manager
during file recovery. 9. A changed database pages can be written to
A. Buffer and System disk when a transaction commits by
B. Transaction and System implementing ________
C. Interactive and Transaction manager A. Force
D. Buffer and Transaction manager B. Steal
C. Committer
4. Which of the following manager keeps track D. Data pages
of dirty page list
A. Interactive 10. ________ are used to periodically write the
B. Transaction log and changed database pages to disk,
C. Buffer recording the fact on the disk, to reduce the
D. System work required on restart after failure.
A. Checklist
5. Which of the following manager is used to B. Checkpoints
retieve transaction table C. Buffer
A. Interactive D. System
B. Transaction
C. Buffer 11. ________ can be defined as a group of task
D. System A. Transaction
B. Data pages
6. Which of the following data structure is used C. Page task
to keep track of current and completed D. Task log
transaction.
A. Log 12. _______ is a minimum processing unit which
B. Buffer can not be divided futher.
C. DBMS A. A single task
D. Office B. A Buffer

2
C. A Sytem log 19. A ________ is associated with each buffer,
D. Data pages which is 0 if the buffer is not modified else 1
if modified.
13. When a transaction executes its final A. Buffer sheet
operation, it is said to be in a _____________ B. Dirty sheet
state? C. Clean bit
A. Committed D. Dirty bit
B. Partially committed
C. Failed 20. _______ is a region of a physical memory
D. Transaction state. storage used to temporarily hold data while it
is being moved from one place to another.
14. When a transaction can no longer proceed A. Buffer
further, it is said to be in _____________ B. Cache
state. C. Recovery Manager
A. Committed D. Data holder
B. Failed 21. __________ is the part of the memory which
C. Transaction state transparently stores data so that future
D. Partially committed requests for that data can be served faster.
A. Buffer
15. The initial state of every transaction being B. Cache
initiated is known as ________ state C. Page
A. Transaction D. Cell
B. Normal state
C. Active state 22. When a page has been modified in memory
D. Joint state due to data modification
(Insert/update/delete), it is marked as a
16. A database recovery module can select one of _______ page
the two operations after a transaction aborts A. Clean page
A. Restart or Jump transaction B. Modified page
B. Restart or Kill transaction C. Dirty page
C. Restart or Fill transaction D. Memory page
D. Restart or Resume transaction
23. A page read from disk into memory, which is
17. The deferred update is also known as similar to its equivalent on disk is considered
________ algorithm a __________ page.
A. Undo/Redo A. Memory page
B. No Undo/Redo B. Clean page
C. Save C. Dirty page
D. Jump
D. Modified page
18. The immediate update is also known as
_________ 24. __________ is a group of memory cells that
Algorithm. are accessed as part of a single operation.
A. Undo/Redo A. A page
B. No Undo/Redo B. A cache
C. Undo C. A Buffer
D. Save D. A disk

25. Which of the following is not a recovery


technique

3
A. Deferred update A. Write ahead logging
B. Immediate update B. Repeating history during Redo
C. Two-phase commit C. Read log Undo
D. Recovery Management D. Logging changes during Redo

26. When a database recovery manager is


invoked after a crash, restart proceeds in the
following three phases; I. Undo II. Redo III.
Analysis. Arrange these phases in the right
order.
A. I, II, III
B. II, I, III
C. III, II, I
D. I, III, II

27. ____________ is an automated process taken


care by a DBMS when instance failure occur,
i.e. when there is failure with an instance of
the database.
A. Crash management
B. Crash recovery
C. Media recovery
D. Instant management

28. ______________ is a process to recover


database from backup when physical disk
failure occur.
A. Crash Recovery
B. Crash management
C. Media recovery
D. Instant management

29. Every log record is given a unique id called


the ____________
A. Log sequence number
B. Log serial number
C. Log digital number
D. Log identification number

30. The three main principles behind the ARIES


recovery algorithm are the following except

JESUIT MEMORIAL COLLEGE MBODO ALUU PORT HARCOURT


SECOND CONTINUOUS ASSESSMENT, THIRD TERM 2022/2023 ACADEMIC SESSION

4
SUBJECT: DATA PROCESSING - SECTION B
(THEORY)
CLASS: SS 2

Please do not open this question booklet until you are told to do so.
While you are waiting, read the following instructions carefully.

This section consists of THREE essay questions. You are to answer TWO.

NAME:
______________________________________________________________________________

CLASS:
______________________________________________________________________________

REG. NUM: __________________________________ DATE: ________________________

QUESTION MARK

SECTION II
Answer only two questions
1. a. What is a Recovery manager?
5
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
(4 marks)
b. Briefly explain the term Committed transaction?
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
( 4 marks)

2. (a) Explain the three Phases of ARIES


________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
(12marks)
2. Explain the four properties that must be ensured in the face of concurrent accesses and system
failure
________________________________________________________________________________

6
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
(16 marks)
b. What is the difference between Media file and Crash recovery?
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
(4 marks)
3. a. Explain the following major techniques for recovering from non-catastrophic transaction failure ;
I. Deferred Update:
________________________________________________________________________________

7
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________

II. Immediate Update:


________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
________________________________________________________________________________
( 12 marks)

b. ARIES stands for


___________________________________________________________________
___________________________________________________________________________________
__

8
(2 marks)
c. Outline the 3 Characteristics of an ARIES
1. _________________________________________________________________________________
2. _________________________________________________________________________________
3.
_________________________________________________________________________________
(6
marks)

You might also like