Comp Prog Rev
Comp Prog Rev
1. Introduction to Computers
2. Computer Components
• Input Devices: Convert user input to digital signals (Keyboard, Mouse, Scanner).
• Output Devices: Display processed results (Monitor, Printer, Speakers).
6. Software Types
8. Computer Classifications
• Types:
o Viruses: Attach to programs & replicate.
o Worms: Spread through networks.
o Trojan Horses: Appear harmless but cause damage.
• Prevention: Use antivirus, avoid suspicious downloads, update software regularly.
Microsoft Excel 101 - Reviewer
• Ctrl + P → Print
• Ctrl + N → New Workbook
• Ctrl + S → Save
• Ctrl + C / Ctrl + V → Copy & Paste
• Shift + F3 → Function Insert Dialog
• Shift + F11 → New Worksheet
• F2 → Edit Formula
8. Summary
• Excel allows Addition (+), Subtraction (-), Multiplication (*), and Division (/) using
formulas.
• Formulas always start with an equal sign (=).
Operation Operator Example Formula Result
Addition + =C2+D2 Sum of C2 & D2
Subtraction - =C3-D3 Difference of C3 & D3
Division / =C4/D4 Quotient of C4 & D4
Multiplication * =C5*D5 Product of C5 & D5
• Setting Print Area: Select the part of the worksheet you want to print.
• Shortcut for Print Preview: Ctrl + P → View and adjust settings before printing.
• Page Layout Options: Adjust orientation, size, and margins before printing.
4. Summary
1. What is HTML?
• HTML (HyperText Markup Language) is the standard language for creating web
pages.
• Key Features:
o Defines the structure of a webpage.
o Consists of elements that describe how content is displayed.
o Uses tags (e.g., <h1>, <p>, <a>) to format content.
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>My First Heading</h1>
<p>My first paragraph.</p>
</body>
</html>
• Explanation:
o <!DOCTYPE html> → Defines the document as HTML5.
o <html> → Root element.
o <head> → Contains metadata (e.g., <title> for page title).
o <body> → Contains visible webpage content.
o <h1> → Heading tag.
o <p> → Paragraph tag.
• Browsers (Chrome, Edge, Firefox, Safari) interpret HTML tags to display content.
• Example: <h1> My First Heading </h1>
<p> My first paragraph. </p>
<html>
<head>
<title>Page Title</title>
</head>
<body>
<h1>Heading</h1>
<p>Paragraph</p>
</body>
</html>
Year Version
1991 HTML invented by Tim Berners-Lee
1995 HTML 2.0
1997 HTML 3.2
1999 HTML 4.01
2000 XHTML 1.0
2008 HTML5 Draft
2014 HTML5 Recommendation
2017 HTML5.2 Recommendation
7. Summary
• Key sections:
o <html> → Root element.
o <body> → Contains all visible content.
3. HTML Headings
4. HTML Paragraphs
5. HTML Links
6. HTML Images
8. Summary
1. What is CSS?
• CSS (Cascading Style Sheets) is used to style and format web pages.
• Controls: Colors, fonts, spacing, layout, backgrounds, and responsiveness.
• Cascading Effect: Styles applied to a parent element also affect child elements
unless overridden.
b. In styles.css File
css
CopyEdit
body { background-color: powderblue; }
h1 { color: blue; }
p { color: red; }
3. CSS Colors, Fonts, and Sizes
• Full URL:
html
CopyEdit
<link rel="stylesheet" href="https://www.example.com/styles.css">
6. Summary
1. What is PDLC?
2. Steps in PDLC
Step 1: Analysis
Step 2: Design
Step 5: Maintenance