How To Exam?

a knowledge trading engine...


University of Mumbai 2008-1st Sem B.E FE Computer Programming Old - Question Paper

Sunday, 14 July 2013 03:35Web



(3 Hours)    [Total Marks : 100

N.B. : (1) Question No. 1 is compulsory.     I

(2)    Attempt any four questions out of remaining six questions.    \f\f

(3)    WAP means write a program in O language.    

f.ts' UamT (u 4* ' 0({ (j)vvU    ,

1. (a) Explain the use of following UNIX commands :    

(i)    cat    * I '

(ii)    who

(iii)    Is

(iv)    awk

(v)    grep

(b) Explain the following C language functions :    10

(i)    strcmp ( )

(ii)    pow ( )

(iii)    getchar ( )

(iv)    malloc ( )

(v)    calloc ( )

2.

(a)

WAP to input 3 numbers x, y, z and find the minimum and maximum of these numbers and also display them in ascending order.

10

(b)

WAP to find the sum of even numbers between 1 to 100.

10

3.

(a)

Explain the various control statements in C with suitable example.

10

(b)

Explain various storage classes in C.

10

4.

(a)

WAP to calculate the multiplication of two square matrices.

10

(b)

WAP to check the given string is palindrome or not.

10

5.

(a)

Explain UNIX security and File access permission.

10

(b)

WAP using structure to generate the salary sheet of ar employee which includes the following information :

10

ji) Employee code

(ii)    Name of employee

(iii)    Basic salary

(iv)    Dearness allowance (= 41% of basic salary)

(v)    HRA (30% of basic salary).

(vi)    Conveyance allowance (= 1500/-)

(vii)    Gross Salary

(viii)    Provident fund deduction (=10% of basic salary)

(ix)    Net salary = Gross salary - total deduction.

6. (a) WAP to check if the given number is Armstrong Number. An Armstrong number 10 of three digits is an integer such that the sum of the cubes of its digits is equal

to the number itself.

(b) WAP to reverse the digits of the number using function.    10

7. (a) What is inion ? How it differs from structure ? Explain with suitable example.    5

(b)    Explain with example the relationship between array and pointers.    5

(c)    Explain the use of preprocessor directives.    5

(d)    Write short note on UNIX operating system.    5







Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER University of Mumbai 2008-1st Sem B.E FE Computer Programming Old - Question Paper