CT-1 PMPS (I Sem)
CT-1 PMPS (I Sem)
Marks CO KL
allotte
d
1 (a) Write difference between Hardware and Software. 2 CO1 3
(b) Define computer system and its component with block diagram. 4 CO1 2
(c) Define algorithm and flowchart with suitable example 4 CO1 2
(d) Explain source code, object code and pseudo code. 4 CO1 2
2 (a) Write difference between syntax error and logical error. 2 CO1 3
(b) Explain conditional statements used in programming. Write a program to count the digits of a4 CO2 3
given number.
(c) Explain different loops used in programming. Write a program to check whether a given number 4 CO2 3
is prime or not.
(d) Explain various data types and their format specifier used in C. 4 CO1 2