Professional Documents
Culture Documents
to Computer Systems
Faculty of Engineering Module Code: (CSE 042)
AIE, MTE, BME, CCE Time allowed :45 Minutes
Level : Freshman (000) Full Mark:20 Marks
(4 pages exam) Module Credit Hours (3)
Midterm Exam (Model 1) (3-4-2024) – Spring Semester
Name: ID: Program:
a) 0, 1, 1 b) 1, 0, 1
c) 0, 0, 1 d) 0, 0, 0
4. Which of the following has the same meaning
as the given code?
a) yes b) no c) yes no d) Error
7. What will be the output of the following
C code?
a) b)
c) d) None
a) Singapore. b) Singapore
Poland
c) Singapore d) England Poland.
England Poland.
5. What will be the output of the following C 8. What will be the output of the following
code? C code?
a) No output b) 5
c) Hello d) Run time error
a) 39 24 63 b) 24 39 45
a) 11 10 12 13 b) 10 10 12 12
c) 24 39 63 d) 39 24 45
c) 13 12 10 11 d) 13 11 12 13
10. To use Switch-statement the used 13. What will be the output of the following
variable type should be ………. C code?
a) String b) Float
c) Integer d) none
a) 17 b) 11 c) 12 d) 7