KCS101T - QP 2020 21
KCS101T - QP 2020 21
B.TECH.(Model Paper)
(SEM I) THEORY EXAMINATION 2020-21
PROGRAMMING FOR PROBLEM SOLVING
Time: 3 Hours Total Marks: 100
Note: 1. Attempt all Sections. If require any missing data; then choose suitably.
SECTION A
SECTION B
b. Write an algorithm and draw flowchart to compare three numbers and 10 CO1
find out the largest number.
b. What are different data types in C. Explain in terms of memory size, format 10 CO2
specifier and range.
b. Write a program in ‘C’ and Draw flow chart to find whether a given number is 10 CO3
prime or not.
a program to calculate the sum of the following series using the above
function s=1! + 2! + 3! +…. +N!