Module 1
Module 1
SECOND EDITION
2021
LITE MATTERS 2021
CHAPTER ONE
DURATION
3 HOURS
LESSON OBJECTIVES
TOPICS
1. Computer Hardware
2. Computer Software
3. Computer Algorithms
4. Computer Networks and the Internet
5. Internet Applications
LESSON 1.1
COMPUTER HARDWARE
EXAMPLES:
Keyboard
MOUSE
TOUCH PAD
SCANNER
DIGITAL
CAMERA
MICROPHONE
JOYSTICK
GRAPHIC
TABLET
WEBCAM
MONITOR
PRINTER
HEADPHONES/
EARPHONES/
SPEAKERS
PROJECTOR
3. SYSTEM UNIT - the system unit, also known as a "tower" or "chassis," is the
main part of a desktop computer. It includes the motherboard, CPU, RAM,
and other components. The system unit also includes the case that houses
the internal components of the computer. Some modern computers, such as
the iMac, combine the system unit and monitor into a single device. In this
case, the monitor is part of the system unit. While laptops also have built-in
displays, they are not called system units, since the term only refers to
desktop computers.
SYSTEM UNIT
LESSON 1.2
COMPUTER SOFTWARE
https://www.goodcore.co.uk/blog/wp-content/uploads/2019/08/types-of-software.png
LESSON 1.3
COMPUTER ALGORITHMS
INTRODUCTION
To visualize the concept of algorithms, let's put it into a specific context. Let us
consider the problem of preparing an omelet. In preparing an omelet, we follow the
steps given below:
The word algorithm comes from the name of a Persian author, Abu Ja'far
Mohammed ibn Musa al Khowarizmi (c. 825 A.O.), who wrote a textbook on
mathematics. An examination of the latest edition of Webster's dictionary defines its
meaning as "any special method of solving a certain kind of problem." But this word
has taken on a special significance in computer science. The algorithm has come to
refer to a precise method useable by a computer to solve a problem. This is what
makes an algorithm different from words such as process, technique, or practice.
(Horowirtz, Sahni, 1978).
Defining an Algorithm
correctness (does the algorithm give a solution to the problem in a finite number of
steps?) and efficiency (how much resources (in terms of memory and time) does it
take to execute the).
An algorithm is said to be correct if, for every input instance, it halts with the
correct output. We say that a correct algorithm solves the given computational
problem. An incorrect algorithm might not halt at all on some input instances, or it
might stop with a wrong answer. Contrary to what you might expect, faulty algorithms
can sometimes be helpful, if we can control their error rate. Ordinarily, however, we
shall be concerned only with correct algorithms.
Analysis of Algorithms
In terms of going places, e.g. from location A to location B, there can be many
ways of accomplishing this: by flight, by bus, by train and also by bicycle. Depending
on the availability and convenience, we choose the one that suits us.
Similarly, multiple algorithms are available for solving the same problem (for
example, a sorting problem has many algorithms, like insertion sort, selection sort,
quick sort, and many more). Algorithm analysis helps us to determine which
algorithm is most efficient in terms of time and space consumed.
Sorting is by no means the only computational problem for which algorithms have
been developed. Practical applications of algorithms are ubiquitous and include the
following examples:
• The Human Genome Project has made great progress toward identifying all
the 100,000 genes in human DNA, determining the sequences of the 3 billion
chemical base pairs that make up human DNA, storing this information in
databases, and developing data analysis tools. Each of these steps requires
sophisticated algorithms. Many methods to solve these biological problems
use several algorithms, thereby enabling scientists to accomplish tasks while
using resources efficiently. The savings are in time, both human and machine,
and in money, as more information can be extracted from laboratory
techniques.
• The Internet enables people all around the world to quickly access and
retrieve large amounts of information. With clever algorithms, sites on the
Internet can manage and manipulate this large volume of data. Examples of
problems that make essential use of algorithms include finding good routes on
which the data will travel and using a search engine to find pages on which
certain information resides quickly.
• Electronic commerce enables goods and services to be negotiated and
exchanged electronically, and it depends on the privacy of personal
information such as credit card numbers, passwords, and bank statements.
Electronic commerce's core technologies include public-key cryptography and
digital signatures, which are based on numerical algorithms and number
theory.
• Manufacturing and other commercial enterprises often need to allocate scarce
resources most beneficially. An oil company may wish to know where to place
its wells to maximize its expected profit. A political candidate may want to
determine where to spend money buying campaign advertising to maximize
the chances of winning an election. An airline may wish to assign crews to
flights in the least expensive way possible, ensure that each flight is covered
and that government regulations regarding crew schedules are met. An
Internet service provider may wish to determine where to place additional
resources to serve its customers more effectively. These are examples of
problems that can be solved using linear programming.