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

Programming Assignments for CSE 2024-25

Uploaded by

cse b
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)
42 views2 pages

Programming Assignments for CSE 2024-25

Uploaded by

cse b
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

MLR Institute of Technology

Laxma Reddy Avenue, Dundigal, Quthbullapur (M), Hyderabad – 500 043


Phone Nos: 08418 – 204066 / 204088, Fax: 08418 – 204088

ASSIGNMENTS, QUALITY AND EVALUATION

Subject: Programming for problem solving


Branch: CSE Section: CSE-D,E
Academic Year: 2024-2025 Semester: I/I
Faculty: Kshitiza Vasudeva

Unit Assignment Course


Topic Blooms
No No/Set Outcome
Level
1. Define an algorithm. What are the main
CO1 BL1
characteristics of an algorithm?
2. Write an algorithm to determine if a
given number is a prime number. Provide CO1 BL2
Set-1 a brief explanation of each step.
3. Design a flowchart for finding the roots
of a quadratic equation. Implement the CO1 BL3,6
corresponding C program.

1. What are the different data types in C?


Provide examples for each. CO1 BL1
I 2. Explain the concept of type conversion in
C. Write a C program to demonstrate CO1 BL2,3
implicit and explicit type conversion.
3. What will be the output of the below
program? Explain the precedence and
associativity of the operators involved.
Set-2
#include <stdio.h>
int main () {
CO1 BL2,3,4
int a = 5, b = 10;
int result;
result = a + b * a - b;
printf("%d\n", result);
return 0;
}
1. Describe the precedence and associativity
of operators in C with examples. CO1 BL1

2. Write a C program to perform basic


arithmetic operations (addition,
subtraction, multiplication, division) CO1 BL3,4
Set-3 using user input. Explain the flow of your
program.
3. Design an algorithm using sequence,
selection, and repetition constructs to
CO1 BL3,6
find the largest of three numbers.
Implement the algorithm in C.

You might also like