0% found this document useful (0 votes)
2 views2 pages

Assignment

The document differentiates between several key computing concepts: algorithms are sequences of instructions while flowcharts visually represent these instructions; interpreters translate code statement by statement, whereas compilers translate the entire program at once; application software serves specific functions like word processing, while system software manages hardware and software interactions; malware is harmful software, while firmware controls hardware functionality; and analog computers process continuous data, while digital computers handle discrete signals. Additionally, it provides an algorithm and flowchart for calculating the area of a square, specifying to print the result only if it meets a certain condition. Lastly, it includes a control flow diagram illustrating the components of a CPU.

Uploaded by

sambrax408
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views2 pages

Assignment

The document differentiates between several key computing concepts: algorithms are sequences of instructions while flowcharts visually represent these instructions; interpreters translate code statement by statement, whereas compilers translate the entire program at once; application software serves specific functions like word processing, while system software manages hardware and software interactions; malware is harmful software, while firmware controls hardware functionality; and analog computers process continuous data, while digital computers handle discrete signals. Additionally, it provides an algorithm and flowchart for calculating the area of a square, specifying to print the result only if it meets a certain condition. Lastly, it includes a control flow diagram illustrating the components of a CPU.

Uploaded by

sambrax408
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

1.

Differentiate between the following terms and give examples where possible
 Algorithm and Flowchart
 An algorithm represents the logic of processing that is supposed to be performed or rather a
sequence of instructions which are designed in such a way that if they are executed in the
specified manner the desired goal is achieved whereas a Flowchart is simply a pictorial
representation of the algorithm written.

 Interpreter and Compiler


 An interpreter is a program which translates a high-level language program in to machine
language by translating statement by statement in the high-level language whereas a Compiler is
a program which that translate the high level language as a whole, it compiles the whole
program and runs it.

 Application software and system software


 Application software in a program which is written to carry out a specific function like payroll and
financial accounting for example word is an application software while a system software
controls the working of a computer controls the working of the computer system which helps
the user to communicate with the system and also control other software’s and hardware
devices like printers for example windows.

 Malware and Firmware


 Malware is a software specifically designed to damage, disrupt or gain unauthorized access to a
computer system while firmware is a type of software embedded into hardware devices to
control their functionality.

 Analog and Digital computers


 Are computers that recognize data as a continuous measurement of a physical property for
example Speed, pressure while Digital computers process data by a way of mathematical
calculations hence they accept input and produce output as discrete signals representing on or
off voltage state of electricity.

2. Write an algorithm and draw a flowchart to calculate the area of a square and only print the
output if the area is greater than or equal to 30.
I. Start
II. Input a number 6
III. Calculate area using the formular A=Side x Side
IV. Decide if A ≥ 30
V. Print, if yes and do no print if not
VI. End the process
x

Start

36 ≥30
Input 6cm as side

Calculate Area
A=6cm ×6cm
A=36 Print Area is 36 cm2

Stop
[Link] a diagram draw the control flow diagram explain the components of a CPU.

Arithmetic and Logic Unit

Input Control unit Output

Main memory

You might also like