University of Calicut Previous Years Question Paper & Answer

University : University of Calicut
Course : B.Sc

Semester : SEMESTER 1

Year : 2014

Term : NOVEMBER

Branch : COMPUTER SCIENCE

Scheme : 2020 Full Time

Course Code : BCS 1B 01

Page:1





PDF Text (Beta):

வு
D 74361 9 ஷ்ஷ்‌
प (Pag 2)

FIRST SEMESTER B.Sc. DEGREE EXAMINATION, NOVEMBER 2014

(CUCBCSS-UG)
Core Course

Computer Science

BCS IB 01—PROBLEM SOLVING USING C

Time : Three Hours

I. Ans
1
2
3
4
5

10

wer the following :—

Name the fundamental data types in C.
Define operator.

Give the syntax of else-if ladder.

What are arrays ?

` Maximum : 80 Marks

What will be the output of the following program if ‘e’ is the input to the program ?

main( )
{
int lower, upper,’
upper = getchar( ):
upper = toupper( lower ):
putchar( upper );

What is the result for the following declaration ?
int array [] = {1, 2, 3, 4, 5) ;

printf “%d”, & array[4] - &array [0] ):

What is type casting ?

What are the two predefined FILE pointers in C ?
Define a string constant.

Define structure.

(10 x 1 = 10 marks)

Turn over.

Similar Question Papers