P R Pote Patil Edu. & Welf.
Trusts’ Group of Educational Institutions
College of Engineering & Management (PRPCEM) Amravati
An Autonomous Institute Recognized by UGC New Delhi and
Affiliated to SGBAU Amravati
Mid Semester Examination-I/II
Course: Computer Programming
(Course Code: CS103/AI103/ET104)
Duration: 1 hour Max. Marks: 30
Important Instructions to the students
1) Assume suitable data whenever necessary.
2) Illustrate your answer whenever necessary with the help of neat sketches.
3) Figures to the right indicate full marks.
Q No Question Marks BTL CO
1 A) Explain the following terms -
i) Operating System 01 02 01
ii) Memory Management 01 02 01
1 B) Solve any two questions of the following
i) Explain classification of computers with example. 05 02 01
ii) Differentiate between LAN, MAN, WAN with 05 03 01
example.
iii) Perform following conversions - 05 01
a) (110111011)2 hexadecimal (?)16
b) (E6D7.58)16 decimal (?)10
c) (364)10 octal (?)8
d) (467.32)8 hexadecimal (?)16
2 A) Solve the following multiple choice question/s.
i) What does ++ operator do in C when applied to a 01 01 02
variable?
a) Decrements by 1
b) Increments by 1
c) Doubles the value
d) Leaves it unchanged
ii) What is the order of precedence of the arithmetic 01 01 02
operators in c?
a) Addition, Multiplication, Division
b) Division, Multiplication, Addition
c) Multiplication, Division, Addition
d) Division, Addition, Multiplication
2 B) Solve any two questions of the following-
i) Define Operators? Explain different types of 05 01 02
operators.
ii) Explain different datatypes with their size and 05 02 02
format specifications.
iii) Write a program for multiplication of three numbers 05 03 02
i.e. x, y, and z.
3 A) Solve the following multiple choice question/s.
i) Which of the following operations is/are performed 01 01 03
by the ALU?
a) Data manipulation
b) Exponential
c) Square root
d) All of the above
3 B) Solve any one question of the following
i) Define following terms – 05 01 03
a) Constants
b) Keywords
c) Identifiers
d) Compiler
e) Variables
ii) Solve given operation – 05 03 03
((a+b) > (c-d)) | | ((a-b) < (d+c)) && (!(c > d))
where a = 8, b = 12, c = 7, d = 13.