Semester : SEMESTER 1
Subject : Computer Fundamentals & HTML
Year : 2016
Term : NOVEMBER
Branch : COMPUTER SCIENCE
Scheme : 2020 Full Time
Course Code : BCS 1B 01
Page:1
D 13796 (Pages : 2) 2 عن ಸು ಪ್ರ
FIRST SEMESTER B.Sc. DEGREE EXAMINATION, NOVEMBER 2016
(CUCBCSS-UG)
Core Course—Computer Science
BCS 1B 01—PROBLEM SOLVING USING C
Time : Three Hours 1 Maximum : 80 Marks
I. Answer the following : :
1 Define algorithm.
2 What is the output of the following code ?
# include
int main{)
{
1൩151; |
printi{"%d %d %d", ++i, i++, ++i);
return (0);
)
3 Differentiate between Keyword and Identifier.
4 Define symbolic constant.
5 What is the associativity of conditional operator ?
6 Name the command that is used to skip the rest of a loop and carry on from the top of the loop
again.
7 Define a pointer variable.
8 What is printed when this program is executed ?
int flint x) {
if (x<=4)
return x;
return fi--x);
]
void main () {
printf (“%d/n”, f(7));
}
9 Define Union.
10 Define macros.
5 (10 > 1 = 10 marks)
Turn over