Ss 2 Data Processing Third Term - Note
Ss 2 Data Processing Third Term - Note
DATA PROCESSING
CLASS:
S.S. 2
TERM: THIRD
3 COREL DRAW i)Page set up settings ii) Using the text tool
PRACTICAL (Paragraph and artistic text) iii)Fit Text to Path,
Mirror, Rotation, Power Clipping, Outlines
10 REVISION
11-13 EXAMINATION
TOPIC:GRAPHIC PACKAGES
LESSON OBJECTIVES: By the end of this topic, students should be able to:
1. Define what a graphic package is and explain its role in creating and manipulating visual
content.
2. List various contexts in which graphic software packages are used
3. Provide examples of popular graphic software packages
ENTRY BEHAVIOUR:The students already have experience working with visual content, such as
viewing images and diagrams on digital devices
PRACTICE EXERCISE
Fill in the gap questions
1. A graphic software package refers to a specialized ________________ used for creating and
manipulating visual elements.
4. One of the primary uses of graphic software packages is in ________________ design, where
they help in creating logos, banners, and marketing materials.
5. Adobe Photoshop and CorelDRAW are examples of popular ________________ that fall
under the category of graphic software packages.
Essay Questions
1. Explain what a graphic software package
2. List three traditional uses of graphic software package
3. List two professional uses of graphic software package
SUBTOPIC 2
EXAMPLES OF GRAPHIC PACKAGE
There are different examples of Graphic Package, but here is a list of some common ones
Examples of Graphic Packages
i. Paint
ii. Corel Draw
iii. Instant Artist
iv. Harvard graphics
v. Gimp(GMP)
vi. Logo graphics
vii. Ventura
viii. Adobe Photoshop
ix. Photoshine
X. Adobe illustrator
PRACTICE EXERCISE
3. Canva: Canva is an easy-to-use online ________________ platform that allows users to create
various visual content.
4. GIMP: GIMP, which stands for GNU Image Manipulation Program, is a powerful
________________ software package available for free.
Essay Questions
1. List any three examples of graphics software package
2. Explain how graphic packages contribute to effective communication.
3. Imagine you're tasked with creating a poster for your school valedictory service, list two
application software that can be used to achieved this.
CONCLUSION
TOPICAL TEST
MULTIPLE CHOICE QUESTIONS
1. What is a graphic package? a) A package of printed images b) A software used for creating and
manipulating visual elements c) A bundle of fonts and colors d) A tool for creating 3D animations
2. Which of the following best describes a graphic package? a) A device for printing documents b) A
suite of office applications c) A software designed to edit sound files d) A software designed for
creating and editing images
3. What are some common uses of graphic software packages? a) Cooking recipes and financial
calculations b) Editing music and recording videos c) Designing graphics and enhancing visual
content d) Creating mathematical equations and coding websites
4. In which field might graphic software packages be heavily used? a) Archaeology b) Engineering
c) Graphic design d) Astrophysics
5. Which of the following is an example of a popular graphic software package used for image
editing? a) Microsoft Excel b) Adobe Photoshop c) Microsoft Word d) Google Chrome
6. Which software is commonly used for creating vector graphics and illustrations? a) Microsoft
PowerPoint b) Adobe Illustrator c) Microsoft Access d) Mozilla Firefox
7. What is the primary purpose of a graphic package? a) Managing financial transactions b)
Organizing emails and contacts c) Creating and manipulating visual elements d) Playing video
games
8. Which software type is specifically designed for working with images, illustrations, and visual
content? a) Spreadsheet software b) Word processing software c) Graphic software package d)
Video editing software
9. What is a common application of graphic software packages? a) Calculating mathematical
equations b) Writing novels and stories c) Designing logos and posters d) Analyzing scientific
data
10. In which profession might a graphic software package be essential for creating appealing visual
materials? a) Accountant b) Historian c) Graphic designer d) Geologist
2. Graphic packages are used to edit and enhance images, illustrations, and other types of
________________ content.
4. Graphic packages are essential for professionals in fields such as graphic design, advertising,
and ________________ production.
6. Graphic software packages are widely used in design to create visually appealing
________________ materials.
7. One of the primary uses of graphic software packages is in logo design and creating
________________ visuals.
8. In the field of digital art, graphic software packages allow artists to create intricate and
imaginative ________________.
9. Graphic software packages are valuable for enhancing visuals used on websites and
________________ media.
10. Photo retouching and manipulation are common applications of graphic software packages in
the field of ________________.
ESSAY
1. List any two online graphic package application
2. List 5 uses of graphic package application
3. Who is a graphics designer?
4. List 5 keyboard shortcuts that can be used in Corel Draw
5. List any 5 toolbars in Corel Draw
ACROSS
DOWN
LESSON OBJECTIVES: By the end of this topic, students should be able to:
1. Understand the role of CorelDRAW in graphic design
2. Familiar with CorelDRAW key components and tools
3. Recognize the importance of specialized graphic applications in addressing specific design
challenges across various industries.
ENTRY BEHAVIOUR:The students are familiar with the concept of graphic design and have a basic
understanding of various graphic software applications
Sub-topic 1
Meaning of Corel Draw
Corel Draw is a graphic package used mainly for automating artistic functions and designing high
quality graphics using conventional lines, basic shapes, symbols and logos. CorelDraw was
developed by Corel Corporation Ottawa, Canada in June 1985. The latest version that makes the
sixteenth versions (i.e. CorelDraw X6) was released in March 2012.
Uses of CorelDraw
1. CorelDraw provides users with different tools to create original images or drastically edit them.
2. CorelDraw is also compatible with other program in the Corel Draw Graphics suite, such as
Corel Photo-Paint
3. CorelDraw is used to create logos
4. To create complex drawing
5. To create professional world brochure
PRACTICE EXERCISE
Fill in the gap questions
1. CorelDRAW is a software developed by ________, used for creating and editing vector
graphics.
2. To create a new document in CorelDRAW, press __________.
3. The shortcut _____ is used to open an existing file in CorelDRAW.
4. If you want to save your current project, use the shortcut _______.
5. To quickly undo your last action, press _____ in CorelDRAW.
1. Title Bar: It displays application name and file name at the top of the package.
2. Menu Bar: It displays the various command use to work on the program.
3. Page Layout: This is a workspace for user’s work, otherwise known as printable page.
4. Standard Tool Bar: This bar contains icon and commands for performing operations on
documents.
5. Status Bar: It displays detailed information about programs selected.
6. Ruler: This is used for measuring objects in order to obtain accurate size. There are two types:
horizontal and vertical.
7. Properties Bar: It displays detailed information about graphic/text selected.
8. Scroll Bar: They are used for scrolling page layout/work in the desired direction (Horizontal
and Vertical)
9. Colour Palette: It displays various colours used for colouring any selected object/text.
10. Tool Box: This contains the tools used to create, fill, and modify your drawing.
11. Document Navigator: it allows movement, quick view or move from one work area to another.
www.deeperlifehighschool.org …leadership with distinction
12. Docker: A window containing available commands and settings relevant to a specific tool or
task.
13. Navigator: A button at the lower-right corner that opens a smaller display to help you move
around a drawing.
TOOL BOX
Toolbox appears on the left corner of the publication window. It is used to display tool/icon
for performing different operations on the screen.
1. Pick Tool
2. Shape tool
3. Crop tool
4. Zoom tool
5. Freehand tool
6. Smart Fill tool
7. Rectangular tool
8. Ellipse tool
9. Polygon tool
10. Basic shape tool
11. Text tool
12. Interactive blend tool
13. Eyedropper tool
14. Pen tool
15. Fill tool
16. Interactive fill tool
CorelDraw Menu
This consists of eleven menus. They are: File, Edit, View, Layout, Arrange, Effect, Bitmap, Text,
Tools, Windows and Help
File:The File menu contains options for creating new documents, opening existing files, saving and
exporting projects in different formats, printing designs, and managing document properties.
Edit:In the Edit menu, users can find commands related to copying, cutting, and pasting objects, as
well as undoing and redoing actions. It also includes options for finding and replacing content within
the document.
View:The View menu provides tools for adjusting the way you see your document, such as zooming
in and out, toggling grid and guidelines visibility, and arranging multiple documents or pages.
Layout:This menu includes options for setting up the page layout, managing layers, aligning and
distributing objects, and adjusting rulers and page guides.
Arrange:In the Arrange menu, users can control the stacking order of objects (bringing to front or
sending to back), grouping and ungrouping objects, aligning and distributing objects precisely, and
transforming objects.
Bitmap:This menu is focused on bitmap editing and manipulation. It provides tools for cropping,
adjusting color and brightness, applying filters, and converting vector objects to bitmaps.
Text:The Text menu includes options for formatting and editing text, such as changing font styles,
alignment, and spacing. Users can also access advanced typography features.
Tools:In the Tools menu, users can select different tools for drawing, editing, shaping, and
transforming objects. This menu is central to the creative process.
Windows:The Windows menu facilitates managing the interface layout. Users can arrange open
documents, access dockers (panels), and customize the workspace according to their preferences.
Help:The Help menu provides access to resources like user guides, tutorials, and online support.
Users can also check for software updates and access information about the program.
PRACTICE EXERCISE
Fill in the gap questions
1. The ____ in CorelDRAW contains various tools that allow you to perform tasks like drawing,
selecting, and editing objects.
2. The _____ located below the menu bar provides context-sensitive options for the selected tool or
object.
3. The ____ docker gives you access to a wide range of colors, allowing you to choose and apply
them to your designs.
4. The ____ lets you manage and organize the various layers and objects within your project.
5. The ____ contains essential drawing tools, such as the rectangle, ellipse, and line tools.
CONCLUSION
TOPICAL TEST
MULTIPLE CHOICE QUESTIONS
1. Which of the following drawing tools would create special effects on texts? A. Smart Art. B.
Shape tool. C. Text box. D. Word Art.
2. Which of the following is not a feature on the drawing tool bar? A. Oval shape. B. line C. Drop
Cap. D. Arc.
3. In graphic packages, the process of removing an unwanted part of an image is known as A..
shaping. B. resizing. C. editing. D. cropping.
4. Magazines and brochures can be produced using a A. data processing software. B. graphic
software. C. presentation software. D. web authoring software.
5. The design output of a graphic package can be in the following file formats except A. rtf B. jpg
C. D. dmp
6. The part labelled II in the diagram above is used to A. shape objects. B. select and transform
objects. C. draw lines and curves. D. create texts.
7. Graphics can be captured using the following devices except A. webcam. B. scanners. C.
joystick D. digital camera.
8. The image below shows CorelDraw tool bar
1. The ________ in CorelDRAW is commonly used for freehand drawing and sketching.
2. To duplicate an object in CorelDRAW, you can use the shortcut ____.
3. The ______ allows you to apply 3D effects to text and objects in CorelDRAW.
4. The feature that allows you to create text that follows a curved path is the ______.
5. _______in typography refers to adjusting the space between letters in a text.
6. The ______ feature in CorelDRAW is used to clip images to specific shapes.
7. The tool used to create smooth transitions between two objects is the ______.
8. The __________ Tool in CorelDRAW allows you to add outlines with varying thickness to
objects.
9. The file format commonly used for exporting vector graphics from CorelDRAW while retaining
print quality is ______.
10. The tool in CorelDRAW that allows you to adjust the perspective of an object is the _______.
ESSAY
1.State the keyboard shortcut keys to rotate an object in CorelDraw
2. State the keyboard shortcut keys to position an object in CorelDraw
3. Outline the steps to inserting a circular shape in CorelDraw application
4. Outline the steps to adding the caption “Happy Birthday” into the circular shape in no (3)
5. List any five options from the file menu in CorelDRAW
WEEK 3
TOPIC: COREL DRAW PRACTICAL
COREL DRAW SHORTCUT
General Shortcuts:
Text Formatting:
Ctrl + B: Bold text
Ctrl + I: Italicize text
Ctrl + U: Underline text
Ctrl + Shift + >: Increase font size
Ctrl + Shift + <: Decrease font size
Ctrl + Shift + A: Align left
Ctrl + Shift + C: Center align
Ctrl + Shift + R: Align right
Ctrl + Shift + J: Justify text
Open CorelDRAW.
Go to the "File" menu and select "New" to create a new document.
In the "New Document" dialog box, set your desired page size, orientation, and other settings.
Click "OK" to create the new document with your chosen page setup.
6. Mirror:
Select the object you want to mirror.
Go to "Arrange" in the top menu, then select "Transformations."
Choose "Mirror" and select the desired mirror axis.
7. Rotation:
Select the object you want to rotate.
Click and drag the rotation handle located above the object.
Alternatively, go to "Arrange," then "Transformations," and select "Rotate."
8. Power Clipping:
Create a shape (e.g., rectangle) that you want to use as a container.
Place the shape over the object you want to clip (keep the shape above the object).
Select both the shape and the object.
Go to "Effects" in the top menu, then select "PowerClip" and "Place Inside Frame."
TEST OF PRACTICAL
More Practical Section (Students should be guided to perform the following using CorelDraw)
• Invitation Card
LESSON OBJECTIVES:By the end of the topic, students should be able to:
1. define computer maintenance;
2. identify and describe four (4) types of computer maintenance;
3. list some common general cleaning tips for computer systems;
4. identify various cleaning tools used in cleaning computer systems;
5. Explain the proper handling practices and procedures for cleaning for DVDs, CD-ROMs and
CD disc;
ENTRY BEHAVIOUR:The students have been taught computer system and know about basic
hygiene including basic safety measures when handling electronics.
Computer Maintenance: is the proactive practice of ensuring that computers and related hardware
components function effectively and efficiently over time. It involves a set of activities and procedures
aimed at preventing hardware and software issues, optimizing performance, and extending the
lifespan of computers. Regular computer maintenance can help prevent system crashes, data loss,
and other technical problems that can disrupt your work or entertainment activities.
1. Preventive Maintenance:
Preventive maintenance: involves proactive measures taken to prevent potential issues before
they occur. The goal is to minimize the chances of hardware failures, software glitches, and
security breaches.
2. Corrective Maintenance:
Corrective maintenance is carried out in response to identified issues or problems within the
system. This type of maintenance focuses on fixing errors, bugs, and unexpected failures.
3. Adaptive Maintenance:
Adaptive maintenance involves making changes to the system to accommodate evolving
technological requirements, user needs, or changes in the operational environment. This type
of maintenance is important for ensuring the system remains relevant and effective over time.
4. Perfective Maintenance:
PRACTICE EXERCISE
FILL IN THE GAP QUESTIONS
1. The purpose of __________maintenance is to fix errors, bugs, and unexpected failures within
the computer system.
2. System __________ helps identify and resolve issues before they lead to complete failures or
downtime.
3. _________maintenance involves enhancing the system's performance, efficiency, and user
experience.
4. The practice of regularly updating operating systems, drivers, and software applications is part
of __________maintenance.
5. One of the goals of computer system maintenance is to ensure the __________of data in case
of hardware failures or data corruption.
Remember that safety is a priority. If you're uncomfortable with opening your computer case or
cleaning specific components, it's best to consult a professional technician. Regular cleaning can
significantly improve your computer's performance and extend its lifespan.
PRACTICE EXERCISE
FILL IN THE GAP QUESTIONS
1. __________ is a handy tool for blowing away dust and debris from hard-to-reach areas within
your computer.
2. To prevent scratching delicate surfaces, use __________ cloths for wiping down screens and
components.
3. An________ strap can help prevent electrostatic discharge when working inside your
computer case. To organize cables and improve airflow, consider using ________ straps or
cable sleeves.
4. Regularly cleaning the ventilation areas of your computer, such as fans and air intakes, helps
maintain proper ________.
5. Isopropyl alcohol with a concentration of 70% or higher can be used on a cloth to clean
surfaces without leaving ________.
PROCEDURES
• Always hold the disc by its edges or center hole to avoid touching the data side (shiny side).
Fingerprints and smudges can interfere with reading.
www.deeperlifehighschool.org …leadership with distinction
• Purchase a DVD or CD-ROM cleaner from a local radio shack
• Use the DVD or CD-ROM cleaner on the mal-functioning drive.
• A damp piece of cloth can also be used by removing the disc tray gently, clean and allow the
tray to dry before pushing the tray in.
Dirty DVD and CD disc could cause an error in disc reading which affects it from been read. So,
proper handling and care is necessary.
PROCEDURES
• Get a cleaning kit for effective cleaning of disc
• A piece of normal clean cotton cloth could be used to wipe against the track starting from the
middle of the CD or DVD.
For tough dirt, light use of water or pure spirit could be used
PRACTICE EXERCISE
FILL IN THE GAP QUESTIONS
1. Fingerprints and smudges on the data side of a disc can ______________.
2. ______________ is essential to maintain the playback quality and longevity of DVDs and CD-
ROMs.
3. To avoid interfering with reading, it's important to ______________ when holding a disc.
4. To clean a DVD or CD tray, a damp piece of cloth can be used; make sure to let the tray
______________ before closing it.
5. Where do we purchase a DVD or CD-ROM cleaner?
CONCLUSION
In summary, computer system maintenance and cleaning are essential practices that contribute to the
optimal performance, reliability, and durability of electronic devices. Preventive, corrective, adaptive,
and perfective maintenance strategies help address issues proactively, enhance security, and
accommodate technological changes. Regular cleaning, using appropriate tools and techniques,
prevents the accumulation of dust and debris that can lead to hardware problems and compromised
functionality. Together, these practices ensure a smoother user experience, extend the life of devices,
minimize downtime, and preserve the value of technology investments.
1. Abrasive: Materials that are rough and can cause damage to delicate surfaces or
components.
2. Adaptive Maintenance: Modifying a computer system to accommodate changing
technological requirements or user needs.
3. CD (Compact Disc): A digital optical disc used for storing audio, video, and data. CDs come in
various formats, such as CD-Audio for music and CD-ROM for data storage.
www.deeperlifehighschool.org …leadership with distinction
4. CD Cleaning Kit: A package containing tools and solutions specifically designed for safely
cleaning CDs to improve playback quality.
5. CD-ROM (Compact Disc - Read-Only Memory): A type of optical disc that can only be read,
not written or erased. CD-ROMs contain data that can be accessed by computers and other
devices.
6. Cleaning Kit: A package containing tools and solutions designed for effectively cleaning discs
and drives.
7. Compressed Air: Pressurized air used to blow away dust and debris from components and
hard-to-reach areas.
8. Corrective Maintenance: Actions taken to identify, diagnose, and fix errors, bugs, or failures
in a computer system.
9. Cotton Swab: A small stick with cotton at one end, used for cleaning delicate parts like the
laser lens.
10. DVD (Digital Versatile Disc): An optical disc technology used for storing and playing back
digital audio, video, and data. DVDs have higher storage capacity compared to CDs.
11. Hygiene: Practices and procedures aimed at maintaining cleanliness and preventing
contamination.
12. Isopropyl Alcohol: A cleaning solution with a high concentration of alcohol, used for cleaning
without leaving residue.
13. Maintenance: The process of ensuring the proper functioning, reliability, and security of
computer systems.
14. Microfiber Cloth: A soft and lint-free cloth used for wiping down screens and delicate
surfaces.
15. Optical Drive: A hardware component that reads and writes data to optical discs such as
DVDs and CDs.
16. Perfective Maintenance: Enhancing a system's performance and quality by optimizing
functionalities and adding new features.
17. Playback Quality: The level of audio or video quality when playing a disc in an optical drive.
18. Preventive Maintenance: Proactive measures taken to prevent issues, errors, or failures
before they occur in a computer system.
19. Pure Spirit: Highly refined alcohol used for cleaning purposes, often mixed with water.
20. Read Error: An issue that occurs when the laser lens of an optical disc drive cannot properly
read the data on a disc, leading to playback problems.
21. Tray: The part of an optical drive that holds and ejects discs.
22. Ventilation: The process of allowing air to circulate around computer components to prevent
overheating.
INSPIRATIONAL QUOTES:
"Prevention is better than cure."
"Cleanliness is next to godliness."
LESSON OBJECTIVES:By the end of the lessons, the students should be able to:
1. identify when computer batteries are due for charging and replacement;
2. define hardware maintenance and identify some hardware maintenance tips;
3. define software maintenance and identify some software maintenance tips.
ENTRY BEHAVIOUR:Students have been taught the topics of computer software and hardware,
hence they are familiar with the importance of keeping the physical parts clean and performing
regular updates of the software to increase their computer's lifespan. Additionally, they use their
computers for learning activities, which makes them aware that their computers rely on batteries.
Also, when a battery displays epileptic and flashing panel light alarm repeatedly, it shows a bad
battery and calls for replacement.
Note: It is better to wait for battery alarm to trigger before ordering a replacement because keeping
batteries on shelves reduces its life span or cycle except fully charged.
PRACTICE EXERCISE:
FILL IN THE GAP QUESTIONS:
1. Batteries should be ____ when it is not in use.
2. _______ is the most common type of laptop battery.
3. Batteries should not be ______ for long periods of time.
www.deeperlifehighschool.org …leadership with distinction
4. Avoid ____charging and deep ____your battery.
5. ______your battery when needed.
PRACTICE EXERCISE
FILL IN THE GAP QUESTIONS:
1. Computer hardware maintenance involves the regular upkeep and servicing of ______
components and devices that make up a computer system.
2. One of the hardware maintenance tips is to clean the computer case and clear its _______
ports of any obstruction.
3. If the keys on your keyboard stick or it's particularly dirty, you can pry them off for easier
cleaning or blast it with __________.
3. Use a registry cleaner regularly for the good health of the PC.
7. Defragment your hard drive at regular intervals, this allows data to be crammed on the disk
and free the maximum space available on the computer.
PRACTICE EXERCISE
FILL IN THE GAP QUESTIONS:
1. Performing a periodic checkup using a good hardware _________ utility can help identify
potential issues.
2. Using a _______ regularly can contribute to the overall health of your PC by optimizing the
registry.
www.deeperlifehighschool.org …leadership with distinction
3. When encountering booting troubles, it can be helpful to start Windows in ________.
4. To ensure data safety, it's recommended to ________ all your files on a regular basis.
5. ________your hard drive at regular intervals can help optimize data storage and improve
system performance.
CONCLUSION
Maintaining the health and performance of batteries and computer systems requires a comprehensive
approach. Proper battery charging practices, such as avoiding overcharging and periodic discharging,
can extend battery life. Recognizing low battery alarms and conducting regular self-tests are crucial
for timely battery replacement. For software maintenance, practices like regular backups, antivirus
usage, and registry cleaning ensure optimal software functionality. Hardware maintenance involves
preventing heat and moisture, cleaning computer components, and using antistatic wipes. Employing
these practices collectively enhances the longevity and efficiency of both batteries and computer
systems, ensuring reliable and smooth operation.
TOPICAL TEST:(10 multiple Choice Questions, 10 fill in the gap questions and 5 essay question)
MULTIPLE CHOICE QUESTIONS
1. One precautionary measures taken when cleaning as monitor is
A. plugging of power supply cable
B. spraying a window cleaner on the monitor
C. unplugging the power supply cable
D. using a vacuum cleaner to clean monitor casing [WAEC 2021/28].
2. The erratic movement of the mouse is usually caused by
A. damaged driver
B. dirty mouse ball
C. improper connection of mouse cable
D. outdated driver [WAEC 2021/28].
3. Corrective maintenance of software refers to
A. modifications initiated due to defects in software
B. making software easier to understand
C. enhancement aimed at making the product faster
www.deeperlifehighschool.org …leadership with distinction
D. deploying the software to a different hardware platform.[WAEC 2022/27].
4. A desktop computer is switched on and the monitor displays an error message which reads:
No input signal. The likely cause of this error is
A. defective monitor C. low memory
B. disconnected VGA D. power failure [WAEC 2022/28].
5. What materials are commonly used in making batteries, making them vulnerable to failure?
A. Copper and Zinc C. Nickel and Aluminum
B. Lead acid, lithium, and gel-cel D. Silver and Gold
6. What is the main goal of computer software maintenance?
A. Developing new software applications
B. Ensuring reliable internet connection
C. Managing and improving software after deployment
D. Upgrading hardware components
7. When is it advisable to order a replacement battery?
A. As soon as you notice any issues
B. Before the battery alarm triggers
C. After the battery has completely discharged
D. Whenever there's an option to buy a new battery
8. What should you avoid touching when conducting hardware maintenance?
A. Circuit board surface C. Keyboard keys
B. Monitor screen D. CD and DVD media
9. To maintain a healthy battery life, what is advised about overcharging batteries?
A. Overcharge them regularly
B. Avoid overcharging them
C. Charge them to full capacity daily
D. Overcharging has no impact on battery life
10. How can the life span of a battery be preserved while on shelves?
A. Regularly discharging the battery
B. Keeping the battery fully charged
C. Keeping the battery in a warm environment
D. Waiting for the battery alarm to trigger
ESSAY QUESTIONS
1. (a) Define the term software maintenance
(b) State four importance of software maintenance. [WAEC 2017/4]
2. What is the purpose of disk cleanup in computer maintenance?
3. (a) What role does temperature control play in computer maintenance?
(b) How can routine hardware inspections contribute to computer maintenance?
4. Investigate the factors that influence decisions regarding battery replacement.
5. You are a computer technician working in a repair shop. A customer brings in their computer
because it is not working properly. You diagnose the problem and find that the hard drive is
failing. What are the steps you would take to fix the problem?
Words to Find:
1. HARDWARE
2. SOFTWARE
3. BATTERY
4. REPLACEMENT
5. CHARGING
6. DEFRAGMENT
7. CALIBRATION
8. BACKUP
9. HEAT
10. POWER
11. MOISTURE
Remember that words can be arranged in any direction: horizontally, vertically, diagonally,
forwards, or backwards. Happy solving!
INSPIRATIONAL QUOTES:
"Like batteries, we all have cycles of charging and replacing. Our hardware, our vessel, thrives
with attention and care. In the digital realm, software maintenance is the bridge between
imagination and reality. Charge your life, maintain your path, and program your dreams into
existence."
"Replace not just the battery, but also doubts and limitations."
www.deeperlifehighschool.org …leadership with distinction
"In the cycle of charging and replacement, remember that even energy needs renewal."
WEEK:8
TOPIC: INDEXES
LESSON OBJECTIVES: By the end of this topic, students should be able to:
i) define index;
ii) sketch the structure of an index;
iii) state the types of index;
iv) differentiate between clustered and non-clustered index;
v) compare dense and sparse index.
ENTRY BEHAVIOUR: The students have seen indexes at the back of their books-chemistry text
book, HiiT Computer book, etc.
Structure of an index
An index typically has two parts: the search key and the data reference. The Search key contains a
copy of the primary or candidate key of the table. The pointer contains the addresses of the disk
blocks where the values/records of the given key is stored.
Types of Index
i. Clustered vs Non-clustered Indexes
Clustered: is where the table data is physically stored in the order of the keys on the index. It is used
to define the order or sort the table or arrange the data by alphabetical order just like a dictionary. For
all pages-locked tables, rows are stored in key order on pages, and pages are linked in key order. For
data-only-locked tables, indexes are used to direct the storage of data on rows and pages, but strict
key ordering is not maintained. Maximum number of clustered index per table is 1.
ii. Non-clustered: is where the storage order of data in the table is not related to index keys. You can
create only one clustered index on a table because there is only one possible physical ordering of the
data rows. You can create up to 249 non-clustered indexes per table.
Non-clustered Index
Clustered indexes are relatively expensive to maintain when the file is updated. Clustered
indexes are expensive to maintain because data entries may have to be moved across pages, and if
records are identified by a combination of page id and slot, as is often the case, all places in the
database that point to a moved record (typically, entries in other indexes for the same collection of
records) must also be updated to point to the new location; these additional updates can be very time
consuming.
Essay Question
1. Differentiate between clustered and non-clustered index (give 2 differences).
2. Differentiate between dense and sparse index (give 2 differences)
3. Sketch and explain the structure of an index.
4. Define clustered index.
5. What is a sparse index?
WEEK: 9
TOPIC:INDEXES
LESSON OBJECTIVES: By the end of the lesson, students should be able to:
1. discuss Primary and Secondary Indexes
2. discuss Indexes using composite search keys
ENTRY BEHAVIOUR: The students already have been taught indexes in the previous week.
CONTENT
Primary Index
Is an index on a set of fields that includes the unique primary key for the field and is guaranteed not to
contain duplicates. Student ID can be example of it.
The primary index contains the key fields of the table. The primary index is automatically created in
the database when the table is activated.
Secondary Index
Is an index that is not a primary index and may have duplicates. E.g Student name.
Two data entries are said to be duplicates if they have the same value for the search key field
associated with the index. A primary index is guaranteed not to contain duplicates, but an index on
other (collections of) field can contain duplicates. Thus, in general, a secondary index contains
duplicates.
If we know that no duplicates exist, that is, we know that the search key contains some candidate key,
we call the index a unique index.
PRACTICE EXERCISE:
1. Student ID can be example of ____________
2. __________ is an index that is not a primary index and may have duplicates
3. A primary index is guaranteed not to contain _____________
4. A secondary index contains ____________
5. The primary index is automatically created in the ______________ when the table is activated.
CONTENT
The search key for an index can contain several fields; such keys are called composite search keys
or concatenated keys. As an example, considering a collection of employee records, with fields
name, age, and sales, stored in sorted order by name.
If the search key is composite, an equality query is one in which each field in the search key is
bound to a constant. E.g. we can ask to retrieve all data entries with age =20 and sal=10. The hashed
file organization supports only equality queries, since a hash function identifies the bucket containing
desired records only if a value is specified for each field in the search key.
A range query is one in which not all fields in the search key are bound to constants. E.g. we can ask
to retrieve all data entries with age=20; thus query implies that any value is acceptable for the sal
field. As another example of a range query, we can ask to retrieve all data entries with age < 30 and
sal> 40.
PRACTICE EXERCISE:
1. The search key for an index can contain several ____________
2. A range __________ is one in which not all fields in the search key are bound to constants.
3. As another example of a range query, we can ask to ________ all data entries with age < 30
and sal> 40.
4. If the search key is composite, an _____________ is one in which each field in the search key
is bound to a constant.
5. The ____________ file organization supports only equality queries.
TOPICAL TEST
Objective Questions
1. What is the primary purpose of a primary index in a database table? a) To speed up data
retrieval for a specific column b) To enforce uniqueness constraints on columns c) To improve
query performance for complex operations d) To define relationships between multiple tables
2. In a primary index, the index entries are ordered based on the values of the: a) Most recently
inserted records b) First column of the table c) Primary key of the table d) Non-unique column.
3. What distinguishes a secondary index from a primary index in a database? a) Secondary
indexes have faster retrieval times b) Secondary indexes are used for non-unique values c)
Secondary indexes store actual data records d) Secondary indexes are only used for join
operations
4. When might you consider using a secondary index in a database? a) To enforce referential
integrity b) To improve insertion speed c) To ensure data uniqueness d) To optimize search
queries on non-primary key columns
5. What is a composite index in a database? a) An index that contains a combination of both
primary and secondary keys b) An index that includes multiple columns as its key fields c) An
index used for sorting records in reverse order d) An index that is used to maintain
relationships between tables
6. What is a primary difference between a single-column index and a composite index? a)
Composite indexes only work with unique columns b) Single-column indexes are more space-
INSPIRATIONAL QUOTES:“A teacher affects eternity; he can never tell where his influence stops.”
-Henry B. Adams