Semester : SEMESTER 2
Subject : Problem Solving using C
Year : 2020
Term : APRIL
Branch : COMPUTER SCIENCE
Scheme : 2020 Full Time
Course Code : BCS 2B 02
Page:1
C 81771 (Pages : 2) ہج تج ےسیو ھت ட
BRB IN Ovens ರಾಮಾ ಆನ
SECOND SEMESTER (CUCBCSS—UG) DEGREE EXAMINATION, APRIL 2020
है ७9 [७ !+
1.9
10.
1
12.
38.
14.
15.
Computer Science
BCS 2B 02—PROBLEM. SOLVING USING C
(2017 Admissions)
: Three Hours. Maximum : 80 Marks
Part A
Answer all questions.
Each question carries 1 mark.
What are C tokens ?
Define Symbolic constants.
What are conditional operators ?
What will be the value of ‘C’ for the assignment statement ?
€ + = (8 > 0 && 8 < 10)? ചം : ഗിയ മയം 1,b=2,andc=3?
What are formatted input and output statements ?
Give the syntax of switch statement. ,
How one dimensional array is declared ? ©
What are automatic variables ?
Which are the elements to be included while declaring a structure variable ?
Give an example to show the initialization of a pointer variable.
(10 x 1 = 10 marks)
Part B
Answer all five questions.
Each question carries 3 marks.
What are the steps involved in executing a C pengram ?
Which are the different types of special operators?
Distinguish between main() and void main().
Explain the concept of modularization. _
Explain the opening of a file. ۱
(5 x 3 = 15 marks)
Turn over