0% found this document useful (0 votes)
18 views6 pages

Sheet 6 Model Answer

Uploaded by

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

Sheet 6 Model Answer

Uploaded by

tytya483
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

Sheet 6

1. Match the following: -


1. Application Software a. Program to control system working of computer (3)
2. Firmware b. Scandisk (4)
3. Systems Software c. payroll (1)
4. Utility Software d. Software available on Rom chips (2)

2. Answer in 1-2 sentences.


a. What is software?
- Software means a set of programs, procedures and other associated
documentation which describes what the program does and how it is to be
used.
b. Name any two stages in the development of a computer program.
- Problem definition, program design.
c. Name any two tools used to develop the program design.
- Algorithm, Flow chart and Pseudocode.
d. Name and draw any two symbols used in flowchart.
- Data Symbol.

- Action Symbol.
e. List any two methods used for debugging the program.
- Break points, simulators.
f. List any two situations where the maintenance stage of program development
becomes essential.
- Change in specification, change in equipment.

3. Match the following: -


i. COBOL a. Formula Translation (iv)
ii. BASIC b. Non numeric applications (v)
iii. C c. Structured Programming (vi)
iv. FORTRAN d. Needs an interpreter (ii)
v. LISP e. Widely used language for systems programming (iii)
vi. PASCAL f. Self-documenting language (i)
4. Write pseudocode and draw flowchart for the following: -
a) Input the marks of five subjects of a student. Calculate the percentage and
print the grades as follows: Grade A for 90 % and above, grade B for
percentage greater than or equal to 75 and less than 90 and grade C for
percentage less than 75.
- Flowchart

Start

Input g1, g2, g3, g4, g5

Percentage = ((g1+g2+g3+g4+g5)*100)/500

Yes
Is Print
Percentage >= 90 A

No

Yes
Is Print
Percentage >= 75 B

No

Print
C

Start
- Pseudocode

Input g1, g2, g3, g4, g5


Compute Percentage = ((g1+g2+g3+g4+g5)*100) / 500
IF Percentage >= 90 Then
Print A
Else IF Percentage >= 75 Then
Print B
Else
Print C
End IF
b) Find the area and perimeter of a rectangle given the sides s1 and s2.
- Flowchart

Start

Input s1, s2

Perimeter = (s1 + s2) * 2

Print Perimeter

Area = s1 * s2

Print Area

End

- Pseudocode

Input s1, s2
Compute Perimeter = (s1 + s2) * 2
Print Perimeter
Compute Area = s1 * s2
Print Area
c) Input 30 students name and ICT mark, calculate the subject average and
print “Good Class” if average is greater than or equal 50, otherwise print
“Bad Class”.
- Flowchart
-
Start

I=1

No

I <= 30 End

Yes

Input Student_Name, ICT_Mark_Average

Yes No
Is
ICT_Mark_Average
>= 50

Print “Good Class” Print “Bad Class”

I=I+1
- Pseudocode

Initialize I = 1
While I <= 30
Input Student_Name, ICT_Mark_Average
IF ICT_Mark_Average >= 50 Then
Print “Good Class”
Else
Print “Bad Class”
End IF
I=I+1
End While

QUESTIONS FOR SELF – STUDY


1. Describe the kinds of software.
- The two main kinds of software are application software and system software.
An application is software that fulfills a specific need or performs tasks.
System software is designed to run a computer’s hardware and provides a
platform for applications to run on top of.
2. What is a programming language? What are the types of programming
languages? Describe each in brief.
- Programming Language
o The languages that are used to write a program or set of instructions.
- Types of Programming Languages: -
 Machine Level Languages.
 Assembly Level Languages
 High-Level Languages.
3. Describe in brief any two commonly used high level languages.
- The majority of programmers write programs in high-level programming
languages. These languages are close to natural language, the spoken and
written language of humans.
- There are many types of high-level languages such as: -
o Python
o Java
o C#
4. What are the steps in the program development? Describe any two.
- Is the process containing the many phases of program development.
- Analyzing the Problem
o It is important to clearly understand a problem before we begin to find
the solution for it. If we are not clear as to what is to be solved, we
may end up developing a program which may not solve our purpose.
Thus, we need to read and analyze the problem statement carefully in
order to list the principal components of the problem and decide the
core functionalities that our solution should have.
- Testing and Debugging
o The program created should be tested on various parameters. The
program should meet the requirements of the user. It must respond
within the expected time. It should generate correct output for all
possible inputs. In the presence of syntactical errors, no output will be
obtained. In 73 case the output generated is incorrect, then the program
should be checked for logical errors.
5. Write short note on Algorithms and flowcharts.
- Algorithms
o Algorithm has a definite beginning and a definite end, and consists of a
finite number of steps
- Flowchart
o Is a diagram made up of boxes, diamonds and other shapes, connected
by arrows.
6. Describe in brief the tools used for debugging computer programs.
- Debugger
o Is a software tool that can help the software development process by
identifying coding errors at various stages of the operating system or
application development.
7. Explain what is maintenance of a computer program and when it becomes
necessary
- Keeping computes well maintained can prevent viruses and malware and keep
your computer in good working order.
- Regular maintenance ensures that your antivirus software is kept up date and
working properly.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy