Tuesday, 22 July 2014

1st sem. B.A/B.com./B.com.N/B.Sc. Examination, Nov./Dec. 2013
(Semester Scheme)
COMPUTER SCIENCE
Paper-1: Computer fundamental and c programming
       Time : 3 Hours                                 Max.Marks: 60
Instruction: All sections are compulsory
I.            Answer any ten questions. Each question carries one mark        (1*10=10)

1. ‘C’ is a middle level language? Justify.
2. What are unary operators?
3. What is purpose of ‘continue’ command?
4. Give the syntax of two dimensional array declarations?
5. What is a library function?
6. What is the use of dot operator in structure?
7. Give one example for universal gate.
8. Define a ‘BUS’.
9. What is the difference between analog and digital computers?
10.  Define instruction set
11.  Mention any two optical input devices.
12. What is opcode ?
Section-B
II. Answer any five questions. Each questions carries 3 Mark.   (5*3=15)
1. Explain structure of c program.
2. What are the difference between structure and union?
3. Give the difference between pre-increment and post-increment. Write a program illustrate post-increment.
4. Write a C program to compute sine series.
5. Explain any three addressing modes
6. Explain basis gates with truth table.
7. Convert the following :
a) (0.274)10 = (?)2
b) (0.1110)2= (?)10
c) (2.21)8 = (?)2


Section-C
III. Answer any five questions. Each questions carries 7 marks. (5*7=35)
1)  a) Briefly Explain different operators used in C
b) What do you mean by loop? Mention difference between while and do-while loop.    (4+3)
2)  a) Describe the characteristics and purpose of escape sequences.
b) What is nested … if statement? Illustrate with suitable program.   (4+3)
3) a) What is string
b) Write a program to calculate product of two matrix.      (3+4)
4) a) Explain call by value and call by reference.
b) Illustrate the array of structure with suitable program. (3+4)
5) a) What are the features of 2nd generation and 4th generation computer?
b) Subtract (20-27) using 1’s Complement. (4+3)
6) a) State any four basic laws of Boolean theorem.
b) Differentiate between low level language and high level language. (4+3)
7) a) Explain different types of registers.
b) Explain full adder with logical diagram. (4+3)






0 comments :

Post a Comment

Design by Manju | Partner by Ravichandra V, Prabhakara E - |