Wednesday, April 10, 2013

B.E. 2nd SEMENSTER (COMMON TO ALL BRANCHES) Examination - B.E, May, 2012 FUNDAMENATAL OF COMPUTER & PROGRAMMING IN C


B.E. 2nd SEMENSTER  (COMMON TO ALL BRANCHES)
Examination  - B.E, May, 2012
FUNDAMENATAL OF COMPUTER & PROGRAMMING IN C
Paper : CSE-101-F
Note : Attempt any five questions. Question No. 1 is compulsory and select one question from each section. All question carry equal marks.

1.     (a) Differentiate between SRAM and DRAM.                                     2.5
(b) What is an operating system ? Why is called Resource Manager?                                                                                                    2.5
(c) Explain Full-Duplex Mode of data transmission.                         2.5
(d) What is the difference between assembler and complier ?    2.5
(e) Explain switch statement with the help of example.                  2.5
(f) explain strcpy() function with the help of example.                   2.5
(g) What are storage classes in ‘C’                                                         2.5
(h) Explain the malloc and calloc functions.                                       2.5

Section – A

2.     (a)Differentiate between single user and multiuser operating system.                                                                                                  10
(b) Explain the concept of timesharing operating system.             10

3.     (a) What are various types of RAM?                                                    8
(b) Explain working of scanner.                                                             6
(c) Explain the structure of UNIX.                                                          6

Section – B

4.     (a) Explain the various language translators.                                     10
(b) What is DNS ? why it is used?                                                          10

5.     Explain the TCP/IP reference model in detail.                                    20
Section – C

6.     (a) Write a program in ‘C’ to check if a given number is a palindrome or not.                                                                                                10
(b) Write a program in ‘C’ to find the transpose of a matrix of order m x n.                                                                                                    10

7.     (a) WAP in ‘C’ to reverse a string using recursion.                           10
(b) Explain the methods by which values of a structure can be transformed from one function to another.                                              10

Section – D

8.     (a) Explain the command line argument with example.                  10
(b) Write a program to open a file named “file 1” and write a line of text in it by reducing the text from the keyboard.              10

9.     Write short notes on the following :
(a)  Realloc() and free functions.
(b) Meaning of LVALUE and RVALUE of a variable
(c)  Pointer to pointer
(d) Passing an entire array to a function.                                            20



No comments:

Post a Comment