department of computer science
college of computing
western delta university
second semester examination 2022/2023 session
CSC204 - file processing time: 2hrs
attempt question ONE (compulsory) and any other TWO questions
Question 1 (Compulsory)
- What is file organization? (2 marks)
- List threee (3) objectives of file organization (3 marks)
- Write explanatory notes on the following file system operations:
- Retrieve_all
- Retrieve_one
- Retrieve_next
- Retrieve_previous
- Insert_one
- Delete_one
- Consider the organized file presented here under and use it to answer the questions that follow.
S/N NAME SEX BLOCK ROOM NUMBER 1 AISOSA Edebiri Male A 3 2 BOTU Michael Male B 1 3 KAYODE Williams Male C 2 4 OBI Chidera Female D 5 5 OTOIDE Evelyn Female E 1 6 TEMINE Roland Male B 4 7 UROKO Phoebe Female D 3 - How many records are in the file (1 mark)
- Retrieve_one (Record 4) (2 marks)
- Retrieve_next (2 marks)
- Retrieve_all (3 marks)
- Insert_one using the criteria below:
S/N = 8, NAME = ZAKPOLOR Divine, SEX = Male, BLOCK = C, ROOM NUMBER = 2
(3 marks) - Delete_one (Record 1) (2 marks)
Question 2
- Explain the following file and data management terms:
- fields
- records
- file
- Copy and complete the table below(6 marks)
S/N File Type Content 1 .html 2 .pdf 3 .txt 4 .gif 5 .jpg 6 .mp3 - Discuss the following file attributes
- file type
- location
- size
- protection
- Explain the following file and data management terms:
Question 3
- What is Data Processing? State its importance (3 marks)
- Using a diagram, show the data processing life cycle (3 marks)
- Discuss in detail the life cycle shown above. (6 marks)
- Describe the following types of data processing:
- Batch processing
- Real Time processing
- Online processing
- Multiprocessing
Question 4
- Why are files organized? (2 marks)
- List four (4) criteria that should be considered when organizing files (2 marks)
- Give a detailed discussion of the following file organization methods:
- Pile/Serial file
- Sequential file
- Indexed Sequential file
- Direct or hashed file
- With the aid of a diagram only, show the steps that job processing goes through. (4 marks)
- Write short notes on the following:
- job
- job execution
Question 5
- Write explanatory notes on the following:
- Data Backup
- Restore
- List and explain two (2) types of data backup (4 marks)
- Describe the following file deletion terminologies:
- Computer formatting
- Risky operations
- Accidental deletion
- Disk partitioning
- List the steps involved in recovering delete files from a folder using file history (4 marks)
- Write explanatory notes on the following: