Ix-Computer Notes - Homelander
Ix-Computer Notes - Homelander
HOMELANDER
Fields of life. Use of computer in field of life
Education
Business
Banking
HOMELANDER Compiler
Compiler translates high level
Assembler
Assembler converts the
GROUP
assembly
programming language code to
level language to machine
machine level code.
level code.
Source code in high level Assembly level code as input.
programming language.
Compiler checks and converts Assembler generally does not
the
convert complete code at one
complete code at one time. time.
lexical analyzer, Syntax Assembler does works in two
analyzer,
passes.
Semantic analyzer, Code
optimizer, Code generator, and
Error handler
Mnemonic version of machine Binary version of machine
code. code.
C, C++ , Java compilers. GAS, GNU assemblers.
HOMELANDER
compatible with the system
hardware in order to
development as they are
developed as some
GROUP
interact with.
System software is used for
operating computer
specific purpose software.
On other hand Application
software is used by user to
hardware. perform specific task.
System software are installed On other hand Application
on the computer when software are installed
operating system is installed. according to user’s
requirements.
As mentioned in above points On other hand in application
system software are specific software user can interacts
to system hardware so less or with it as user interface is
no user interaction available available in this case.
in case
of system software.
System software can run On other hand in application
independently. It provides software can’t run
platform for running independently. They can’t run
application without the
software. presence of system software..
Some examples of system On other hand some
software’s are compiler, examples of application
assembler, debugger, driver, software’s are word
etc.
processor, web browser,
media player, etc.
HOMELANDER
examples. Artificial Intelligence
The term A.I. may also be referred to any machine that displays
GROUP
qualities associated with a human brain such as learning, reasoning
and problem solving. A.I. is also used for Machine Learning. It learns
from our daily routines and suggests us different options.
Example
Like google maps suggest the best ways for our daily commute. A.I.
is vastly used in scientific experiment, healthcare and space
technologies.
Non-Impact Printers:
It is a type of printer that does not hit or impact a ribbon to print. They
used laser, xerographic, electrostatic, chemical and inkjet technologies.
Non-impact
2023 – 2024 Pg #[4]
printers are generally much quieter. They are less likely to need
maintenance or repairs than earlier impact printers.
HOMELANDER
Example of Non-Impact
GROUP
Laser printers.
Q6. Write the use of these storage devices: Hard Disk, USB Flash
USB flash drives are often used for storage, data back-up and
transferring
of computer files. Compared with floppy disks or CDs, they are
smaller, faster, have significantly more capacity, and are more
durable due to a lack of moving parts.
SD Card
HOMELANDER
FPD(flat panel display) monitor will he more preferable than CRT
monitor, because ,
GROUP
It use less electricity
It dose not emits ray which emitted by CRT monitor which
effect the eyes of uses
It use small area whereas CRT need bigger area
FPD have a picture quality is better than CRT monitor
1. Microprocessor (CPU)
2. Ports
3. Buses
4. RAM
5. ROM
HOMELANDER
FORTRAN were introduced. Magnetic core was used as primary
internal storage medium.
GROUP
Punched Cards were used for input. Batch processing and
Multiprogramming Operating systems were used. These computers
were mainly used for commercial productions, scientific and
engineering analysis and design.
Examples
Examples
HOMELANDER
generation computers will be capable of self- learning, reasoning and
generalization.
GROUP
Q10. Define Analog Computer, Digital Computer and Hybrid Computer.
Analog Computers are used to process analog data. Analog data are
in the form of continuously varying physical quantities like pressure,
temperature, voltage, speed and weight. Examples of Analog
computer are speedometer of a car, voltmeter etc.
(c)Hybrid Computers
Hybrid Computers are the combination of Analog and Digital
Computer system. These computers combine analog and digital
features of computers in a single machine. A Hybrid Computer uses
analog to digital and digital to analog conversion. It may input or
output either digital or analog data.
HOMELANDER
computers. They are extremely expensive. These computers are
widely used in scientific applications such as aerodynamics, design
GROUP
simulations, processing of geological data, weather forecasting and
nuclear research.
(b) Mainframe
(c)Minicomputer
These are smaller than mainframe computers, but they are more
powerful than Microcomputers. Minicomputers usually use multi-user
operating system.
Multiple users can use the Minicomputers through
terminals. Minicomputers may be used as network servers and
Internet servers. DEC VAX and IBM AS/400 are good examples
of minicomputers.
(d) Microcomputers
Microcomputers are also called Personal Computers (PCs). The use
of microprocessor has made computers cheaper yet faster and more
2023 – 2024 Pg #[11]
reliable. These are the smallest computers designed to be used by
individuals. PCs can be used for variety of tasks like documentation,
calculations, illustration and
HOMELANDER
socialization.
GROUP
Q12. Write shot note on mother
Q13. what is an Arithmetic Logic Unit ALU and Control Unit CU.
HOMELANDER
GROUP
Q14. Define Buses and it
types Buses
In computer, Buses are the electric paths on which data is sent and
received by different components. They are just like roads. As roads
connect different places, buses connect all the parts of the computer
to each other. They also connect all internal components on the
motherboard. There are three types of buses
1. Control bus
2. Data bus
3. Address bus.
Data Bus carries data between the processor, memory unit and
other components.
Address Bus carries the address of the data (but not the data).The
address bus is used to specify memory location to be used by micro
process for specific operation.
GROUP
output.
It is volatile output and lost It is nonvolatile output that is
when other output is shown or relatively stable
computer is and permanent form
turned off
Monitor, speaker are examples of Printer, plotter are examples of
soft hard
copy copy
Q16. What is
plotter? Plotters
Like printer it gives images on paper but typically used to print large
format images such as maps, construction drawing, advertising
hoardings etc.
Monitors
It is TV like device that displays data by small bright dots
CRT monitor contains millions of tiny red, green, and blue phosphor
dots that glow when struck by an electron beam that travels across
the screen to create a visible image. The illustration below shows
2023 – 2024 Pg #[16]
how this works inside a CRT.
HOMELANDER
enable people to see content in a range of entertainment, consumer
electronics, personal computer, and mobile devices, and many
GROUP
types of medical, transportation and industrial equipment. They are
far lighter and thinner than traditional cathode ray tube (CRT)
television sets and are usually less than 10 centimeters (3.9 in)
thick.
ROM RAM
ROM is non-volatile, not RAM is volatile, requiring power
requiring to
power to store data. store data.
ROM is often used to store RAM is used in computers to
the BIOS program on a temporarily store files in use on
computer the
motherboard. computer.
ROM chips often have a RAM chips often range in storage
storage
capacity from 1 to 256 GB.
capacity of 4 to 8 MB.
ROM can vary in size RAM is available in two primary
sizes
Example
Generatio Period Technology
2023 – 2024 Pg #[18]
of
n
Machines
HOMELANDER
Third
Forth
1964 – 1971
1971 - present
Integrated circuit
Microprocessor
IBM 360
IBM PC
GROUP
Fifth Present -
beyond
Artificial
Inelegancy
Laptop
1. The device that converts hard copy into soft copy is:
HOMELANDER
a)printer b) plotter
GROUP
2. The volatile memory
a)is permanent b) loses contents as the power is off
c) convertor d) assembler
6. A collection of wires connecting the CPU with main
memory that is used to identify particular locations is:
a)control bus b) data bus
HOMELANDER
a)operating system b) utility program
GROUP
9. Graphical User Interface (GUI) was developed in:
a)second generation b) fourth generation
HOMELANDER
operating systems Operating System
GROUP
like booting the computer, file management, memory management,
process management, and controlling peripheral devices such as
hard disk, printer, etc. It manages computer resources efficiently.
Examples
Windows
Linux
Android
Mac
iOS
1. Booting
Booting is a process of starting the computer operating system. It
checks the computer resources and makes it ready to perform
different tasks.
2023 – 2024 Pg #[23]
2. Resource Management
Operating system manages all the hardware and software
HOMELANDER
resources. This includes allocation and de-allocation of
processor, memory, access to shared cache memory and
access to network resources.
GROUP
Q3. Differentiate between CLI and GUI. Write any two benefits of each.
GROUP
Ans. Resource Management Operating system manages all the
hardware and software resources. This includes allocation and de-
allocation of processor, memory, access to shared cache memory
and access to network resources.
Q5. What is the difference between single user and multi user OS?
DOS for PCs and Windows 98 for Linux and UNIX are the most
PCs are example of common examples of the multi-
single user operating system. user operating system.
HOMELANDER
group of computer programs that help users in their daily work.
Generally, you will find MS Office in school lab, offices and other
places. MS Office contains
GROUP
MS Word use for word processor
MS Excel use for making Spreadsheet
MS PowerPoint is use for making multimedia presentation
MS Access use for doing database management
MS Outlook is and email application
Q7. What is the major difference between Soft Real Time and Hard
Real Time systems?
HOMELANDER
Insert the Windows Installation DVD/Flash Drive
Restart your Computer
GROUP
Wait for the First startup screen
Press or hold Del or F2 to enter the BIOS screen
Locate the Boot order/ Boot sequence
Select Boot order/ Boot sequence as per your
installation source USB Flash/USB Hard Disk
USB CD/DVD ROM
Internal CD/DVD ROM
Select any
option:
Upgrade
Customize Installation (Advance)
Select any drive for installing your operating system Follow the
on screen instructions
steps.
Run the MS- Office setup from USB, DVD or Hard Disk backup.
Check the box marked 'I accept the terms of this agreement'
and click on 'Continue'.
Enter Product Key
Click on Install Now or Customize procedure.
HOMELANDER
installation.
GROUP
HOMELANDER
a)antivirus b) start menu
GROUP
2. A program that enables user to interact with computer is called:
a)my document b) start menu
c) desktop d) interface
3. The process of checking computer, starting
operating system and making it ready to work is referred
to as:
a)resource management b) booting
c) I/O d) User
6. In which operating system jobs are executed in groups?
a)Batch Processing b) Time Sharing
HOMELANDER
a)Batch Processing b) Hard Real Time
GROUP
8.DOS is an example of:
a)Real Time Processing OS b) Multi Processing OS
HOMELANDER
processor. Word processor
GROUP
as a resume or a report. You typically enter text by typing, and the
software provides tools for copying, deleting and various types of
formatting.
Q2. Discuss the Margins and Paper Size options in the Page Setup
A margin is the area or space between the main content of a page and
the page edges. This button is used to change the margins of the
entire document or selected section.
HOMELANDER
section or entire document.
GROUP
Q3. Name and describe two options in
ALT+P+O)
Page orientation or print orientation is the placement of contents on
a page. Portrait mode
Portrait mode is the orientation of the page that prints the image
vertically across the page
Landscape mode
Landscape mode is the orientation of the page that prints the image
horizontally across the page
To set margins in Word, first click the “Layout” tab in the Ribbon. Then
click the
“Margins” drop-down button in the “Page Setup” button group.
HOMELANDER
Next page
GROUP
Insert a section break and start the new section of the next page.
Continuous
Even page
It inserts a section break and start the new section of the next even
number page.
Odd page
In this type a section breaks and start the new section on the next
odd number page.
HOMELANDER
HOTKEY use is ALT+P+A+F HOTKEY use is ALT+P+A+E
GROUP
Q7. Explain the “Columns” option in the Page Setup group.
Columns
This button is used to split the text into two or more vertical
columns. Short cut key use for it be ALT+P+J
Q8. List and define Position and Wrap Text option in Arrange
HOMELANDER
in MS Excel. To multiply numbers, which are 37 and 15, placed in
GROUP
respectively. The objective is to add these two numbers using MS
HOMELANDER
1. Storing Data
GROUP
2. Manipulate and analyze data
3. Presentation/Visualization
HOMELANDER
GROUP
6. Invoices
7. Wages
The Page Layout Tab allows user to control the look and feel of his
or her document. User can set margins, apply themes, control page
orientation and size, add sections and line breaks, display line
numbers, and set paragraph indentation and lines. The Page Layout
tab has have groups of related commands namely Themes, Page
Setup, Page Background, Paragraph and Arrange.
HOMELANDER
applied throughout the document.
GROUP
A margin is the area or space between the main content of a
page and the page edges. This button is used to change the
margins of the entire document or selected section.
2. Orientation (HOTKEY: ALT+P+O)
Page orientation or print orientation is the placement of
contents on a page. This button sets the contents of the page
or section in portrait (Vertical) or landscape (Horizontal)
layouts.
3. Size (HOTKEY: ALT+P+S+Z)
The size button is used to choose the size of the paper for
current section or entire document.
4. Columns (HOTKEY: ALT+P+J)
This button is used to split the text into two or more vertical
columns.
5. Breaks (HOTKEY: ALT+P+B)
Breaks button is used to insert page, section or column breaks
in the document.
6. Line Numbers (HOTKEY: ALT+P+L+N)
This button is used to add line numbers on the left side of each line
of the document.
7. Hyphenation (HOTKEY: ALT+P+H)
This button is used to specify how hyphenation in a document
should be applied.
HOMELANDER
These settings are used mostly for special documents such as
certificates, invitations, brochures, essays, etc. It consists of 3
GROUP
buttons namely, Watermark, Page Color and Page Borders.
HOMELANDER
3. Space Before (HOTKEY: ALT+P+S+B)
Space Before is used to indicate how much space (in points) is
added before the selected paragraph.
GROUP
4. Space After (HOTKEY: ALT+P+S+A)
Space After is used to indicate how much space (in points) is
added after the selected paragraph.
HOMELANDER
GROUP
Q17. Write a short note on
sorting Sorting
HOMELANDER
a) b)
GROUP
c) d)
4.The special character that initiates the formula mode in a cell is:
a)/ b) =
c) - d) *
GROUP
a) = B2 + C2 + D2+ b) = B2 + E2
E2
c) = sum (B2 to E2) d) =sum(B2fromE
2)
8.Thecorrectformulatocalculatethepercentageinthegiventableis:
HOMELANDER
any one. Properties of a Good Communication System
GROUP
The effectiveness of a data communications system depends on the
fundamental characteristics which include delivery, accuracy and
timeliness.
Characteristic
1. Delivery
Making sure that the data is delivered is the first fundamental
characteristic of any communication network. The system must
be able to deliver data in correct order to the correct
destination.
3. Accuracy
The system must deliver the data accurately. Data that has
been altered during transmission and left uncorrected is not
useful.
4. Timeliness
The data must be delivered in a timely manner. Late delivered
data is useless.
HOMELANDER
3. Receiver
Any particular digital electronic device which has capability to
Amplifiers
Router
HOMELANDER
Switch
GROUP
A switch or network switch is a networking device that connects
computers and other devices like printers, scanners and cameras on
a network. Data cables from all computers and other devices of
network are plugged into the switch to enable communication
between them.
Hub
attenuation
distortion
noise
1. Attenuation
Attenuation means loss of energy. A signal loses its energy due
HOMELANDER
GROUP
2. Distortion
Distortion means change in the shape of the signal. A
composite signal has several frequencies. When it travels
through a medium different component of signal may reach at
different time at destination because each component has
different speed in that medium. This is called distortion. They
have different phases at sender and receiver ends.
3. Noise
Unwanted signal that mixes up with the original signal during
the transmission of data is called noise. It can be induced noise,
crosstalk noise, thermal noise and impulse noise which may
damage the signal.
HOMELANDER
frequency end.
These are mostly used for mobile FM, AM radios, television and
phone communications tower and cordless phones use radio
GROUP
television
broadcast
waves
Organization
HOMELANDER
Bus Topology
GROUP
Advantages of Bus Topology
HOMELANDER
Advantages of Ring Topology
GROUP
all the intermediate nodes. A central server is not required for the
management of this topology.
1. The failure of a single node in the network can cause the entire
network to fail.
3. Data sent from one node to another has to pass through all
the intermediate nodes. This makes the transmission slower in
comparison to that
HOMELANDER
4. There is heavy dependency on the wire connecting the network
node
GROUP
Star Topology
HOMELANDER
Q9. Discus brief of LAN, WAN and MAN.
HOMELANDER
Q10. Discus the Basic Terminologies of Data
GROUP
Communication Data
Collection of raw facts and figures is called data. The word data is
derived from Latin language and it is plural of Datum. The text,
numbers, symbols, images, voice and video which are processed
by computers and digital devices are called data. Data can be
considered as unprocessed information.
Data Communication
Data Transmission
Analog Signals
Digital Signals
HOMELANDER
given time. It can only be one of the finite numbers represented
as 0 or 1.
GROUP
Q11. Difference between Analog and Digital Signals
HOMELANDER
a)targeted media
c) guided media
b) directed media
d) unguided media
GROUP
2. Communication system is made up of
a)different b) unique
c) permanent d) temporary
a)IEEE b) IETF
c) ITU d) ANSI
a)Bus b) Star
c) Ring d) Tree
a)attenuation b) interruption
c) noise d) distortion
c) cheapest d) optimal
HOMELANDER
8.Converting digital signal to analog is called:
a)modulation b) modification
GROUP
c) bandwidth
9.
d) multiplexing
a)16 b) 32
c) 64 d) 128
a)Attenuation b) Distortion
c)Noise d) Jitter
HOMELANDER
COMPUTER SECURITY
The computer has become an important part of our life. We store
important data on our computers in the shape of documents,
GROUP
pictures, programs, etc.
Therefore, we expect that all our information must remain safe and our
computer runs properly without any problem. Few threats can cause
problems for our computers. These threats may be different types of
viruses or unauthorized use of a computer. To prevent our computer
from such threats, we need to abide by computer security.
Computer security is the protection against theft or damage to our
computer hardware, software and information present on it.
HOMELANDER
HACKERS
Hacker can be a person who has in-depth knowledge of computer
systems, networks, and programs. Hacker maybe someone who
GROUP
uses his or her extensive skills to identify and overcome a network
loophole. Hackers constantly seek further knowledge and freely
share what they have discovered. Hackers are generally considered
as bad people however, hackers can also help us to improve the
data and network security
CRACKERS
Crackers are persons who gain unauthorized access to another
system. They bypass passwords or licenses of computer
programs, change source code or intentionally breach computer
security. They do it with negative intentions.
Crackers can also make targeted system unavailable or non-
functional. They commit these activities generally for money but
they may do it for fame or just for challenge or fun.
Hacking
Hacking is perhaps the most common crime in the computer world.
Hackers can steal our WiFi, email or social media accounts'
passwords. Hackers also attack a website and take it down.
However, the scope of hacking is much wider. The
2023 – 2024 Pg #[67]
hackers can also steal sensitive information from government and
business organizations, make fraudulent transactions and erase data
on the cloud or network computers.
HOMELANDER
Credit and Debit Card Scam
Keeping debit or credit cards is a common practice but insecure use
of these cards can be dangerous. If a person has information about
GROUP
our debit or credit card he or she can make fraudulent transactions.
There are various ways to get this information. One way is through
scamming. Scammers set small machines inside an ATM or credit
card machine. These machines copy the data which is then misused
by the scammers. Debit and credit cards are also secured with PIN
codes. User has to keep this code secret otherwise any person can
use the card for online shopping and other purposes.
Phishing
Phishing is a method of trying to gather personal information using
false e- mails and websites. In Phishing, perpetrators contact the
target person through email, telephone or text message and pose as
a legitimate
and trusted individual. He or she asks the target to provide sensitive
data such as personally identifiable information, banking and credit
card details and passwords for different reasons. The information is
then used to access different accounts and can result in identity
theft and financial loss.
Clickjacking
Have you ever seen any video tagged as “OMG? You won't believe
what this boy has done!” or did yound a button on a website that
asked to click to claim a reward you had never applied for? This is a
kind of fraud which is called Clickjacking. Usually, culprits target
children or novice internet users to click on a link containing
malware or trick them into sharing private information via social
media sites.
HOMELANDER
negative emotional responses, including being scared, frustrated,
angry and depressed.
Q6. What is malware? Name and discus different
GROUP
malware. MALWARE
The term malware is the contraction of malicious software. Malware
is a broad term that encompasses computer viruses, worms,
spyware, adware and others. Malware is a program that is written
generally to cause a mess. They can be so dangerous that they can
also damage devices.
(i)Computer Virus
(ii)Worm
(iii)Adware
(v) Spyware
(i)Computer Virus
A computer virus is a computer program that can spread across
computers and networks by making copies of itself, usually without
the user's knowledge. It can also modify other computer programs,
insert its own code and change computer settings. Viruses are
harmful. Viruses generally latch on a host file and when they
execute they infect other files or programs.
Example
Boot Sector, Resident, Macro Viruses and File Infector
(ii)Worm
A computer worm spreads copies of itself from computer to
computer. A worm can replicate itself without any human
interaction. It does not need to attach itself to a file or program to
cause damage. It can do several malicious tasks, such as dropping
other malware, copying itself onto devices physically attached to the
affected system, deleting files, and consuming internal storage and
2023 – 2024 Pg #[70]
memory resources.
HOMELANDER
processing resources.
Adware can also change the different settings of
internet browsers like homepage and default search engine.
GROUP
Normally, these are not as dangerous as other malware.
(iv) Spyware
Spyware is a malware that monitors a device and steals important
information about a person or organization without their consent
and sends such information to another person or organization.
Spyware takes control over a mobile phone or computer without the
user's knowledge. They capture information like web browsing
history, e-mail messages, usernames and passwords and online
payment information.
HOMELANDER
Biometric Verification
GROUP
Unlike authentication processes, biometrics verification makes sure
that the real person gets access to the data or device. Biometric
authentication relies on the unique biological characteristics of a
person. Biometric authentication systems captures data in real-time
and compare it with existing data in database. If both samples of
the biometric data match, authentication is confirmed. Scanning
fingerprints are the most common way of biometric.
Q9. What is Intellectual Property
Right? Intellectual Property Right
When any person develops software, writes a book or research
paper or invents any method or the machine, it becomes the
intellectual property of that person. Intellectual property is
intangible creations of the human intellect. Just like other property
the intellectual property can be stolen. To prevent theft or illegal use
or spread of intellectual property, Intellectual Property Right is
exercised.
Through these rights, intellectual property is protected with the help
of copyrights, patents, and trademarks.
(ii)Copyright
Copyright is a legal instrument that provides legal rights to the
creator of artwork, literature, or a work that conveys information or
2023 – 2024 Pg #[74]
ideas. In simple words, copyright is the right of copying. Copyright
gives control over how the
HOMELANDER
(iii)Trademark
Trademark identifies a product or service and distinguishes it from
other products and services. Trademarks are protected by
GROUP
intellectual property rights which identifies that the product or
service belongs to a specific organization. It can be an easily
recognizable word, phrase, logo, or symbol and often mentioned as
TM (Trade Mark).
HOMELANDER
organizations hire the plagiarism detection service. One of the most
used services is Turnitin.
GROUP
HOMELANDER
(i)World Wide Web (WWW)
The word world wide web (www) is commonly known as the web.
The Web is a collection of computers connected through a network
to provide publicly accessible information.
GROUP
(ii)Web Page
A webpage is a document commonly written in HTML that is
accessible through internet by using internet browser.
(iii)Website
A website is a collection of web pages containing text, images,
and all types of multimedia related to a specific set of information.
A website can be accessed through a Uniform Resource Locator
(URL).
HOMELANDER
(vii) Web Hosting
GROUP
Web Hosting is a service that allows a web developer to make a website
publicly accessible through the internet.
News:
A news website is the modern-day alternative for newspapers. Such
websites contain everyday information related to current affairs,
sports, politics, weather, health, technology, entertainment, etc.
Informational: Informational websites provide detailed information
of any field. There are many dedicated informational websites for
science, arts, sports, online trainings, research, etc.
Educational:
Educational websites are purely designed to deliver educational
material for both, teachers and students such as sabaq.pk, khan
academy.org, etc.
2023 – 2024 Pg #[81]
Personal:
HOMELANDER
A person can share about his or her biography or achievements in a
custom developed website.
GROUP
Business:
A business website is the best way for any organization to market
their products and services. It also tells about the teams, policies
and procedures of that business. For instance, www.psx.com.pk is
the website of Pakistan Stock Exchange.
Blogs:
A blog is a special type of website that is composed of articles and
posts. These articles are organized into categories and sorted by the
time when they were published. WordPress is a popular blog site.
Forums: A forum is an online place where different users can discuss
about any topic. These topics can be categorized so that users can
easily locate topics of their interest.
Entertainment:
An entertainment website serves content like videos or games
purely for the purpose of entertainment. YouTube is widely used for
entertainment.
Social:
Social website is a platform where different people get together and
socialize with each other. They can also share their ideas, opinions
and media. Facebook and Twitter are instances of social networking
websites.
HOMELANDER
It is standard markup language for text documents. It allows the
user to create structured content by adding headings, paragraphs,
links, blockquotes and other media. It takes advantage of simple
GROUP
code structures called tags and attributes to achieve formatting,
graphic and navigation effects on web pages.
Step 1:
Text Editor Start by simply creating a new blank file in a text editor
of your choice. A simple text editor like notepad can be used to start
coding HTML for a web page.
Step 2:
Write HTML code in Text Editor
Example
<html>
<head>
<title>My Website</title>
</head>
<body>
Welcome to my first web page.
</body>
</html>
Step 3:
Save HTML Page Go to File menu and click on Save. Make sure to provide
.htm or
.html extension for the file being saved. This will save the
document as a web page instead of a plain text file. Step 4: View
HTML Page in Browser Open the saved HTML le in your default
web browser. The web browser will automatically translate HTML
codes to correctly display the web page.
HOMELANDER
It specifies the HTML version used so the web browsers can show the
web page according to HTML standards. All HTML documents must
start with this tag.
GROUP
<html>
All HTML documents start with <html> tag and end with </html>
tag.
<head>
It is used to define additional information about the web page. It
contains a set of tags such as <title>, <meta> , <style>,<script>,
etc.
<body>
The main content of the web page is contained between <body>
and </body>
<title>
It defines the title of a web page. Titles are very important as they
appear on top of the browser window and displayed on search
engine result pages.
<footer>
It defines the footer for a web page. e.g. “Copyright 2020. All rights
reserved.”
<p>
It defines a paragraph of text in a webpage. It always starts from a
new line and adds space before and after its text.
HOMELANDER
<hr>
GROUP
It draws a horizontal line where it is defined. It is used to
differentiate between sections of the page.
<h1> - <h6>
It is used to define six levels of HTML headings (h1, h2, h3, h4, h5
and h6) with <h1> being heaviest heading and <h6> being the
lightest heading.
<pre>
It is used to define a preformatted text. The web browser displays such
text with spaces and line breaks as defined in HTML codes.
<font>
It is used to define the font, size and color of its text. This tag can be
composed with three attributes: size, color and face. This tag is
supported till version 4.1 of HTML.
<center>
It is used to align its text to the horizontal center of the web page.
This tag is supported till version 4.1 of HTML.
<sub>
HOMELANDER
<sup>
It defines superscript text which is slightly above the normal line of
GROUP
other text and has a smaller size.
HOMELANDER
SYSTEM
1. What is database? Give its some
uses. Database
GROUP
A database stores data in organized form. A database is composed of
tables which contain rows and columns. These rows and columns
are called records and fields respectively.
Uses Of Database
1) These days, database can be seen in every field of life, for
example in industries, health, agriculture, schooling,
business and banking.
2) The databases can be developed according to the size of its
records for a particular organization.
3) A database is playing a leading role to enhance the
efficiency and performance of any organization.
2. What do you know about Database Management System
(DBMS). Also give its examples
Database Management System (DBMS)
Databases are usually developed, maintained and controlled by the
Database Management System (DBMS). The DBMS essentially
serves as an interface between databases and end users or
application programs, ensuring that data is consistently organized
and remains easily accessible.
Examples
a) MySql
b) Oracle
c) Microsoft SQL Server
d) MongoDB
3. What are the Advantages of Database Management System
over the Flat File System?
DBMS Flat file system
Multiple users can access data only users can access data at a
simultaneously time
HOMELANDER
4. Mention Characteristics of Database Management
System Characteristics of Database Management
GROUP
System
a) Multiple users can access DBMS and can view, add, edit
and delete records.
b) A DBMS offers tools like Queries, Views and Forms which
help users to manipulate data easily and more effciently.
c) A DBMS is more secure and reliable.
d) DBMS allows distribution of data in multiple tables by
making use of features like keys and relationships
between elds of those
tables.
e) This allows lesser duplication of data and results in lesser
redundancy.
f) Preparing backups and providing limited permissions to the
users are features of DBMS.
g) DBMS can handle large and complex data more conveniently.
Therefore, it is preferred by the medium and large
organizations.
5. What are the basic Components of
DBMS? Table
It is a collection of data elements organized in shape of rows and
columns. A contact list may be one of the simplest examples of a
table. The marks record prepared by a class teacher is also an
example of a table.
Field
It is the smallest component in a database. It is where the actual
data is stored during data entry. All data fields in the same table,
have unique names. Fields are also called attributes or columns.
Record
A single entry in a table is called a record. Records are also referred
as tuples or rows. A record is made up of two or several data items
2023 – 2024 Pg #[90]
which are also called tuples in a table representing a set of related
data
2) A new table then appears in the Table Design View. Note that
the default name assigned to the table is Table1.
3) Type the name of a field into the “Field Name” column.
HOMELANDER
5) If desired, type a description of the data stored in this field
GROUP
6)
Repeat steps 4 and 5 until you have created all of the
necessary table
fields. An example of a Table may be customer Table that
has following entries.
7)
8) Click the “Save” button in the Quick Access
toolbar.
Then type a name for the newly created table and
HOMELANDER
(iii) Referential Keys
9. Describe the components of Data
modeling. Entity
GROUP
In literal sense, an entity is any individual object which has its own
qualities and properties. In database terms, an entity is an
independent table and its fields are known as attributes. As an
example, a Payroll database will contain an entity named
Employees. The Employees entity will contain various attributes like
Employee ID, Name, Designation, Salary, etc.
Relationship
When the database structures grew and became more complex, a
lot of data started to become redundant which means that data was
being unnecessarily duplicated. This created a need to connect data
entities instead of repeating same data in multiple tables. This
resulted in the creation of relationships and Relational Database
Management Systems (RDBMS).
Referential Keys
The relationships are configured by using referential keys on
entities. The keys determine a certain set of rules that must be
followed by the data stored in a field of an entity. In larger
databases, keys are very important to uniquely identify a specific
record.
10. Describe the types of relationship.
Three types of relationships can be defined between entities.
(i)One to One Relationship
This type of relationship defines that a record in one entity can be
connected to only one record in another entity. This is not a very
common type of relationship because the data from related entities
can directly be placed in a single entity.
(ii)One to Many Relationship
HOMELANDER
11. What are the types of referential Keys
Two types of keys are most commonly used in RDBMSs:
GROUP
(i)Primary Key
A primary key is used to uniquely identify a record in an entity.
When a primary key is applied to any attribute in an entity, it forces
the rules of Primary Key onto that attribute.
(ii)Foreign Key
A foreign key is used to define the connection or relation between
two entities. The foreign key of one entity is configured to be
connected to the primary key of another entity. When a foreign key
is applied on an attribute, it enforces that the value for that
attribute should match any record in the related entity having a
primary key.
12. What are the steps to
design ER model Steps to design ER
Model
1. Identify and design the entities based on the requirements of its
users.
2. Identify and design the attributes within the required entities.
3. Identify the relationships required between entities.
4.Define Primary Keys in interrelated entities.
5. Design Foreign Key relationships based on requirements and
bind them to previously created Primary Keys.
6. Generate an automated Entity Relationship Diagram