0% found this document useful (0 votes)
313 views7 pages

Problem Solving Using C Lab Manual

The document is a manual for a C programming lab course at the School of Information Science, detailing various laboratory tasks. It includes exercises that range from basic output to arithmetic operations and data type demonstrations. Each lab sheet consists of tasks with two levels of complexity, encouraging students to enhance their programming skills progressively.

Uploaded by

kumari K
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)
313 views7 pages

Problem Solving Using C Lab Manual

The document is a manual for a C programming lab course at the School of Information Science, detailing various laboratory tasks. It includes exercises that range from basic output to arithmetic operations and data type demonstrations. Each lab sheet consists of tasks with two levels of complexity, encouraging students to enhance their programming skills progressively.

Uploaded by

kumari K
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
You are on page 1/ 7

School of Information Science -BCA

SCHOOL OF INFORMATION SCIENCE


PROBLEM SOLVING USING C LAB - CSA1501 MANUAL
List of Laboratory Tasks:
Module 1: Introduction to C Programming
Lab Sheet 1 -
LEVEL 1: WRITE A C PROGRAM TO DISPLAY "HELLO WORLD".

OUTPUT:
School of Information Science -BCA

LEVEL 2: MODIFY THE PROGRAM TO PRINT YOUR NAME AND BRANCH.

OUTPUT:
School of Information Science -BCA

LAB SHEET 2
LEVEL 1 : WRITE A C PROGRAM TO PERFORM ADDITION, SUBTRACTION,
MULTIPLICATION, AND DIVISION OF TWO NUMBERS.

OUTPUT:
School of Information Science -BCA

LEVEL 2: EXTEND THE PROGRAM TO CALCULATE MODULUS AND DISPLAY


ALL RESULTS CLEARLY.

OUTPUT :
School of Information Science -BCA

LAB SHEET 3
LEVEL 1: WRITE A C PROGRAM TO SWAP TWO NUMBERS USING A
TEMPORARY VARIABLE.

OUTPUT :
School of Information Science -BCA

LEVEL 2: REWRITE THE SAME PROGRAM WITHOUT USING A TEMPORARY


VARIABLE.

OUTPUT :
School of Information Science -BCA

LABSHEET -4
LEVEL 1: WRITE A PROGRAM TO DEMONSTRATE THE USE OF DIFFERENT
DATA TYPES AND PRINT THEIR SIZES USING `SIZEOF`.

OUTPUT :

LEVEL 2: EXPLAIN THE IMPORTANCE OF EACH DATA TYPE IN COMMENTS


WITHIN YOUR CODE.

You might also like