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

Makaut Question Paper Es-Cs291 2025

The document outlines the practical exam for the Programming for Problem Solving Lab (ES-CS291) for B.Tech/CSE students, detailing two sets of programming tasks. Each set consists of seven pairs of programming problems that require students to write C programs addressing various computational challenges. The exam has a total duration of 3 hours and is graded out of 60 marks, with specific marks allocated for algorithms, code, output, and viva-voce.

Uploaded by

Sanjib Ghosh
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)
56 views2 pages

Makaut Question Paper Es-Cs291 2025

The document outlines the practical exam for the Programming for Problem Solving Lab (ES-CS291) for B.Tech/CSE students, detailing two sets of programming tasks. Each set consists of seven pairs of programming problems that require students to write C programs addressing various computational challenges. The exam has a total duration of 3 hours and is graded out of 60 marks, with specific marks allocated for algorithms, code, output, and viva-voce.

Uploaded by

Sanjib Ghosh
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/ 2

B.Tech.

/CSE(DS)/Sem-2/ES-CS 291/2025

FIEM [CC148], MAKAUT


EVEN SEM – 2024-25 PRACTICAL EXAM
Programming for problem solving Lab – ES-CS291

Time Allotted: 3 hours Full Marks: 60

Distribution of Marks
Algorithm/Flow Chart-5+5,-Code:10+10,output: 5+5,Viva-Voce: 20

SET-1

1. a)Write a C program to check whether a year is a leap year or not.


b) Write a C program to calculate the factorial of a number using a function.

2. a) Write a C program to print Fibonacci series up to n terms.


b) Write a C program to find the sum of all elements of an array.

3. a)Write a C program to find the power of a number using a loop.


b) Write a C program to find the transpose of a matrix.

4. a) Write a C program to multiply two matrices.


b) Write a C program to find the length of a string without using a predefined function.

5. a) Write a C program to find the power of any number using a recursive function.
b) Write a C program to check whether a number is Prime number or not.

6. a) Write a C program to create Simple Calculator using a switch case.


b) Write a C program to sort all elements of an array in ascending order using selection
sort technique.

7. a)Write a C program to copy one array to another using pointers.


b) Write a C program to print the following pattern:
1
23
456
7 8 9 10

Name & Sign of the Teacher Sign of the OiC Date of Evaluation:
B.Tech./CSE(DS)/Sem-2/ES-CS 291/2025

FIEM [CC148], MAKAUT


EVEN SEM – 2024-25 PRACTICAL EXAM
Programming for problem solving Lab – ES-CS291

Time Allotted: 3 hours Full Marks: 60


Distribution of Marks
Algorithm/Flow Chart-5+5,-Code:10+10,output: 5+5,Viva-Voce: 20

SET-2

1. a) Write a C program to find area of a triangle Area of triangle(Area = √[s(s-a)(s-b)(s-


c)])
b) Write a C program to check whether a number is an Armstrong number or not.

2. a) Write a C program to print the following


pattern: A
BC
CDE
DEFG
b) Write a C program to sort all elements of an array in ascending order using bubble sort.

3. a) Write a program to store and print the roll no., name, age and marks of a student
using structures.
b) Write a C program to find the reverse of a string.

4. a) Write a C program to add two matrices.


b) Write a C program to check whether a number is a Strong number or not.

5. a) Write a C program to find the GCD of two numbers using a function.


b) Write a C program to count the total number of vowels and consonants in a string.

6. a) Write a C program to calculate the factorial of a number using a recursive function.


b) Write a C program to copy one string to another without using any library function.

7. a) Write a C program to search an element in an array and print the position.


b) Write a C program to check whether a number is a Perfect number or not.

Name & Sign of the Teacher Sign of the OiC Date of Evaluation:

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