Semester : SEMESTER 1
Subject : Computer Fundamentals & HTML
Year : 2015
Term : NOVEMBER
Branch : COMPUTER SCIENCE
Scheme : 2020 Full Time
Course Code : BCS 1B 01
Page:1
~~
D 92845 (Pages : 2) प
FIRST SEMESTER B.Sc., DEGREE EXAMINATION, NOVEMBER 2015
(CUCBCSS-UG)
Core Course
Computer Science
BCS 1B 01—PROBLEM SOLVING USING C
Time : Three Hours 1 ’ Maximum : 80 Marks
` 1. Answer the following :—
لي عم
1.
1
© (७०७ ~ > कक्षा
10
What is the output of the following code ? 2
#include
void main()
{int x = 97;
int y = sizeof (x++); +“
printf(“X is %d”, x) ;
}
What is mixed mode arithemetic ?
What is recursive function ?
What will be the value of Z in the sample code given below ?
intz,x =5,y=-10,a=4,b=2;
Z=x**---y*b/a;
What is the purpose of register storage class ?
What is top-down design ?
How string variables are declared ?
What are formal arguments ?
Define structure.
What are files ?
(10 x 1 = 10 marks)
Answer all questions :
11
12
What is a flowchart ? Draw a flowchart to find the sum of first n natural numbers.
What are exit contro] loop ? Explain with example.
Turn over