INTRODUCTION TO INFORMATION TECHNOLOGY G

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 3

NAME:S.

JAYAGOKUL
REG NO:19BCC0020
INTRODUCTION TO INFORMATION
TECHNOLOGY

DIGITAL ASSIGNMENT – 3
1. Write the algorithm in library management systems for book issue and return
process.

(Variables:

 A: Number of Books issued


 B: Number of Books returned
 C: No Penalty fees
 D: Penalty fees)

Algorithm:
 Start the program.
 Input A, B.
 IF (A==B).
 Print C.
 Else
 Print D.
 Stop the program.
NAME:S.JAYAGOKUL
REG NO:19BCC0020

2. Explain the usage of flow chart in software development.

A Flowchart is a type of diagram that represents a workflow or process. A


flowchart can be defined as diagrammatic representation of an algorithm, a step-
by-step approach to solving a task.

The flowchart shows the steps as boxes of various kinds, and their order by
connecting the boxes with arrows. This diagrammatic representation illustrates a
solution model to a given problem. Flowcharts are used in analyzing, designing,
documenting or managing a process or program in various fields.

The most accurate documentation of any software application is its source code.
Understanding source code is notoriously difficult, however. Interpreting source
code requires in-depth knowledge of programming. Reading raw code is prone to
errors even when done by expert developers.

This is where flowcharts come to help. Flowcharts display code in a natural


diagram format. They convey all the information in the source code in a human
friendly visual way. Flowcharts are a super-fast method to see the logic in a piece
of code. They are an extremely powerful tool for understanding what a problem
really does.

As a visual representation of data flow, flowcharts are useful in writing a program


or algorithm and explaining it to others or collaborating with them on it. You can
use a flowchart to spell out the logic behind a program before ever starting to code
the automated process. It can help to organize big-picture thinking and provide a
guide when it comes time to code. More specifically, flowcharts can:

 Demonstrate the way code is organized.


 Visualize the execution of code within a program.
 Show the structure of a website or application.
 Understand how users navigate a website or program.
NAME:S.JAYAGOKUL
REG NO:19BCC0020

3. Write the algorithm to calculate the student grading system for B.Com first year
students.

(Variables:
 A: Internal marks
 B: External marks
 C: Average marks)

Algorithm:

 Start the program.


 Input A, B.
 Calculate C=(A+B)/2.
 If (C>90 / C==90).
 Print S grade.
 If (C>75 / C==75).
 Print A grade.
 If (C>50 / C==50).
 Print B grade.
 If (C<50).
 Print F grade.
 Stop the program.

You might also like