Unit_1_Computer_Basics[2]
Unit_1_Computer_Basics[2]
What is a Computer?
Speed
Accuracy
Computers perform calculations with 100% accuracy. Errors may occur due
to data inconsistency or inaccuracy.
Diligence
Versatility
Reliability
A computer is reliable as it gives consistent result for similar set of data i.e.,
if we give same set of input any number of times, we will get the same
result.
Automation
Computer performs all the tasks automatically i.e. it performs tasks without
manual intervention.
Memory
A computer has built-in memory called primary memory where it stores data.
Secondary storage are removable devices such as CDs, pen drives, etc.,
which are also used to store data.
Output Device :
This device send the result done by the computer to the outer world or to the
user (out side the computer). Example: Monitor,Printer, Speaker etc.
Main Memory :
The main memory of the computer is also known as RAM, standing
for Random Access Memory. It is constructed from integrated circuits and
needs to have electrical power in order to maintain its information. When
power is lost, the information is lost too! It can be directly accessed by the
CPU.
Secondary Memory :
Secondary memory is where programs and data are kept on a long-term
basis. Common secondary storage devices are the hard disk and optical
disks. The hard disk has enormous storage capacity compared
to main memory. The hard disk is usually contained inside the case of a
computer.
CPU :
The part of a computer in which operations are controlled and executed.
Control Unit :
The control unit (CU) is a component of a computer’s central
processing unit (CPU) that directs operation of the processor. It tells
the computer’s memory, arithmetic/logic unit and input and output
devices how to respond to a program’s instructions.
A.L.U :
An arithmetic logic unit (A.L.U) is a digital electronic circuit that
performs arithmetic and bitwise logical operations on integer binary
numbers. It is a fundamental building block of the central
processing unit (CPU) found in many computers.
Algorithms
Defination : An algorithm is a procedure that describes a set of instructions
that must be carried out in a specific order to get the desired result.
The purpose of using an algorithm is to increase the reliability, accuracy and
efficiency of obtaining solutions.
Algorithm tracing
Phase 3 - Maintenance
Use and modify the program if the requirements changes
Programming Language
o Operating structures
o Web browsers
o Mobile apps
o Desktop packages
o Video games
o General Software program
o Business-related software programs
o Embedded structures
i. Machine Language
The advantage of assembly language is that it requires less memory and less
execution time to execute a program.
2. High-level programming language
High-level programming language is designed for user-friendly software
programs and websites. This programming language requires a compiler
to translate the program into machine language (execute the program).
The advantage of POP language is easy track the code can be reused in
different parts of the program.
* Nav yavd bekad qns kelidru namg direct And jaldi ans kodtad…