KEMBAR78
Vips Lab File Format | PDF | Computer Program | Programming
0% found this document useful (0 votes)
14 views26 pages

Vips Lab File Format

The document outlines a B.Tech program in Programming in C at the School of Engineering & Technology, detailing the vision and mission of the institute. It includes an index of experiments with problem statements, algorithms, flowcharts, and learning outcomes for various programming tasks. The document serves as a guide for students to complete their laboratory assessments and practice programming skills.

Uploaded by

Rani Verma
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)
14 views26 pages

Vips Lab File Format

The document outlines a B.Tech program in Programming in C at the School of Engineering & Technology, detailing the vision and mission of the institute. It includes an index of experiments with problem statements, algorithms, flowcharts, and learning outcomes for various programming tasks. The document serves as a guide for students to complete their laboratory assessments and practice programming skills.

Uploaded by

Rani Verma
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/ 26

SCHOOL OF ENGINEERING & TECHNOLOGY

B.TECH PROGRAMME:

Course Title- Programming in C


Course Code: ES - 101

Submitted to: Prof. Vikas Goel

Submitted by: PRINCE VERMA


Enrollment number:
Session: 2025-29
VISION OF INSTITUTE
To be an educational institute that empowers the field of engineering to build a
sustainable future by providing quality education with innovative practices that supports people,
planet and profit.

MISSION OF INSTITUTE
To groom the future engineers by providing value-based education and awakening student’s
curiosity, nurturing creativity and building capabilities to enable them to make significant
contributions to the world.
INDEX GGSIPU

S.No Experiment Date Marks Remark Updated Faculty


Marks Signature
Laboratory Class Viva
Assessment Participatio (5
(15 Marks) n (5 Marks) Marks)
1

6
INDEX (BEYOND CURRICULUM)

S.N Experiment Date Marks Remark Updated Faculty


o Marks Signature
Laboratory Class Viva
Assessment Participatio (5
(15 Marks) n (5 Marks) Marks)
1 Calculate simple interest 02/09/25

2 Swap two variables 29/08/25

7
8

10

11

12
INDEX
(PRACTICE)

S.N Experiment Date Marks Remark Updated Faculty


o Marks Signature
Laboratory Class Viva
Assessment Participatio (5
(15 Marks) n (5 Marks) Marks)
1 Average of numbers 22/08/
25

2 Area and perimeter of circle 22/08/


25

3 Character to ASCII value 29/08/


25

4 ASCII value to Character 29/08/


25

5 Factorial N 29/08/
25

6 Operators: bitwise and sizeof 02/09/


25

7
8

10

11

12
GGSIPU EXPERIMENT
BEYOND CURRICULUM

EXPERIMENT-
Calculate simple interest

PROBLEM STATEMENT:
Write a C program to find simple interest, given principal amount, rate of interest per year and
tenure (in years). Draw flowchart and write an algorithm for the same.
ALGORITHM-.
FLOW CHART-
C PROGRAMME-

Output -

Learning outcomes-
● About the library stdio.h
● How to create main program
● How to declare variables
● How to take values from user
● How to do mathematical operations
EXPERIMENT-
Swap two variables

PROBLEM STATEMENT:
Write a C program to swap two variables with and without using the 3rd variable.
C PROGRAMME-

Output -
Learning outcomes-
● Different ways to do same thing in coding

PRACTICE
EXPERIMENT-
Average of numbers

PROBLEM STATEMENT:
Write a C program to find average of 3 numbers

C PROGRAMME-
Output -

Learning outcomes-
● About the library stdio.h
● How to create main program
● How to declare variables
● How to take values from user
● How to do mathematical operations
● How to display

EXPERIMENT-
Area and perimeter of circle

PROBLEM STATEMENT:
Write a C program to calculate and print the area and perimeter of a circle, taking its radius as
input.
C PROGRAMME-

Output -

Learning outcomes-
● About different datatypes specifically float
EXPERIMENT-
Character to ASCII value

PROBLEM STATEMENT:
Write a C program to print ASCII value of a character taken as input

C PROGRAMME-

Output -

Learning outcomes-
● About the datatype char
● ASCII values of different characters
EXPERIMENT-
ASCII value to Character

PROBLEM STATEMENT
Write a C program to print character when ASCII value is taken as input and also checks that
ASCII input is not greater than 127 (and if so, gives an error and terminates the program)

C PROGRAMME-
Output -

Learning outcomes- ● How to use If Else loop

EXPERIMENT-
Factorial N

PROBLEM STATEMENT-
Write an algorithm and draw a flowchart for computing factorial N (N!) Where N! = 1 * 2 * 3 *...*
N.
ALGORITHM-
FLOW CHART-
C PROGRAMME-

Output -

Learning outcomes-
● How to use while loop
● To use assignment operators
EXPERIMENT-
Operators: bitwise and sizeof

PROGRAM STATEMENT-
Use two unsigned int (or unsigned char) variables (say c & d), initialize them to some value of
your choice. Do the following bitwise operations on those and print results as unsigned value on
the screen: c | d c & d c ^ d
~c
Verify the results printed with results of doing same bit wise operations on your own for your
input values (of c and d). Additionally, print the sizeof variable c.

C PROGRAMME-

Output -

Learning outcomes- ● About the datatype unsigned int ● How


bitwise operators work ● How sizeof function works

You might also like