ACAD-27 a) Iss. No.
: 01,
Shri Ramdeobaba College of Engineering and Management, Rev. No.: 00
Ref. Clause(s): Nagpur -440013 Date of Rev:
9.1 01/01/2018
Semester : I [Section: A, B, C, D, E,F,G,H,I]
Department: Course Code: CST151/CDT101/CAT101/CCT101
Page: 01/01
CSE Course Name: PROGRAMMING FOR PROBLEM
SOLVING
Programme: Date of Exam:
Test: 1
BE 18/01/2023
Max Marks: 15 Session: 2022-23 Time: 1 Hour
Instructions: 1. Use of Calculator (any type) is not allowed.
2. All Questions carries marks as indicated against them.
Que. Marks CO
No
Q.1 (a) Write an algorithm to check whether the input character is alphabet, digit, 3 M CO1
or special symbol.If input is alphabet then check whether it is vowel or
consonant.
Q.1 (b) Draw a flowchart to check whether the entered number is Armstrong or 2M CO1
not.
Q.2 (a) Write a C Program to print the following pattern. 3M CO2
1
212
32123
4321234
543212345
Q.2 (b) A shopping mall has given certain discount on shopping to its customer. 2 M CO2
Write a C program using switch case to ask the user to enter bill amount to
Calculate and display customer’s net payable amount after deduction of
discount:
(Note: No discount on purchase upto Rs.3,000 )
Purchase Discount
> 3,000 and <= 5,000 5%
> 5,000 and <= 8,000 10%
> 8,000 15%
Q3 (a) Write a C Program to find transpose of matrix without using another 5 M CO3,4
matrix.
OR
Q3 (b) Write a program to take 10 elements in an array and check whether the 5 M CO4
entered element is present or not using linear search. Also display number
of occurrences of an element with its position.