Cochin University of Science and Techology (CUST) 2006 B.Tech Civil Engineering Computer Fundamentals - Question Paper
BTS(C) -1 - 06 - 009 (B )
B. Tech Degree I & II Semester (Combined) Examination June 2006
IT/CS/EC/CE/ME/SE/EB/EI/EE/MRE 109 COMPUTER FUNDAMENTALS
( 2000 Admissions Onwards) | |||
Time : |
: 3 Hours |
Maximum Marks |
: 100 |
I. |
(a) |
Explain briefly about the secondary storage devices in a com puters system. |
(10) |
(b) |
What are the differences between machine language, assemb y language and high | ||
level language? |
(10) | ||
OR | |||
IL |
Write short notes on the fo lowing : | ||
(i) Operating system (ii) Compi !ers and assemblers | |||
(iii) LAN (iv) Internet |
(20) | ||
III. |
(a) |
What are constants in C language? Explain different types o 'constants with examples. |
(10) |
(b) : |
Write program to convert z decimal number to binary numbe r, provide flow chart | ||
and sample output. |
(10) | ||
OR | |||
IV. |
(a) |
Explain the following functions with examples. | |
(i) getchar() (ii) putchar() |
(5) | ||
(b) |
Explain the different looping statements. |
(5) | |
(c) |
Write a program to calculate the roots of a quadratic equation, provide flowchart and | ||
sample output. |
(10) | ||
V. |
(a) |
What are function prototyp es? What are their functions? |
(4) |
(b) |
Explain different parameter passing mechanisms. |
(6) | |
(c) |
Write a program to locate ;i particular string in a sentence, pi ovide flowchart and | ||
sample output. |
(10) | ||
OR | |||
VI. |
(a) |
Write a program that inclu ies a recursive function to determ me the value of the | |
nth Fibonacci number Fn where F= Fn.t+ Fn_2 and F,= F?=l. |
(12) | ||
1 |
(b) |
What are library files? What is the importance of it? |
(8) |
VII. |
(a) |
i Write a program to read two tables of integers and calculate the sum of the | |
corresponding elements. |
(12) | ||
i <b) |
Explain the importance of pointers in c language. |
(8) | |
OR | |||
VIII. |
(a) |
Program to sort a list of strings alphabetically using a two dimensional character array. |
(12) |
(b) |
Structures - Definition, Example Specialty |
(8) |
IX. (a) |
Relational, network apd hierarchical models |
(3x5 =15) |
(b). |
Explain what is relational ilgebra. |
(5) |
OR | ||
X. (a) |
Relation, Attributes, Tuples, Domains |
(4x2-8) |
(b) |
SQL - Definition |
(3) |
Important SQL commands |
(9) | |
*** |
i:
Attachment: |
Earning: Approval pending. |