How To Exam?

a knowledge trading engine...


Gujarat University 2007 B.C.A Computer Application FY s - Question Paper

Sunday, 12 May 2013 10:35Web



Seat No.

FBCA-02

April-2007 Programming in C Language BCA-102

(New Course)

[Max. Marks : 70

Time : 3 Hours]


Instructions : (1) Figures to the right indicate full marks of the question.

(2) Make and state necessary assumptions.

1. (A) Answer the following : (any ten)

(10)


(i)    Give the full form of ASCII.

(ii)    Convert (90)10 into hexadecimal number system.

(iii)    Give an example of entry-controlled loop.

(iv)    List all logical operators.

(v)    What is an assembler ?

(vi)    Write the syntax of switch statement.

(vii)    List two operating systems.

(viii)    List any two input and output devices.

(ix)    Give an example of system software.

(x)    Convert (1643)8 into binary number system.

(xi)    List different forms of macro substitution.

(xii)    What is the value of X, if (X = Y<<1) and Y = 10 ?

(i)    The function to locate a sub-string in string.

(ii)    A data type allowing packaging of multiple data types.

(iii)    A self contained block of code, which allows exchange of values.

(iv)    A derived data type, which is used to store address.

2.    (A) Draw flowchart OR write algorithm for the following : (any three)    (12)

(i)    Print all the numbers that are divisible by 7 between 100 and 200.

(ii)    Generate the following fibonacci series for n values. Read n from the user.

0, 1, 1, 2, 3, 5, 8, 13, 21...

(iii)    For N values, print the following series.

11 + 22 + 31 + 42 + 53 + 64 +......

(iv)    Read a number and check whether it is palindrome or not.

(v)    Read a number and find out whether it is prime or not.

(B) Attempt the following : (any one)    (2)

(i)    Define an algorithm.

(ii)    List all symbols used in a flowchart.

(i)    What is prototyping ?

(ii)    What is explicit conversion ?

(iii)    What is a sentinel-controlled loop ?

(iv)    What is initialization of a variable ?

(v)    Which are the storage classes available in C ?

4. (A) Discuss in brief, (any two)    (08)

(i)    What is recursion ? Explain with a suitable example.

(ii)    Explain formal and actual arguments with a suitable example.

(iii)    Explain structure and union with an example.

(iv)    Draw and explain singly linked list, circular linked list and doubly linked list.

(v)    Explain fseek and ftell functions.

(B) Do as required. (any two)    (06)

(i) Find the output of the following : int sum(int,int); void main()

{

int x = 5, y = 10, z = 15, w = 20; printf(%d,sum(x,sum(y,sum(z,sum(w, 1)))));

}

int sum(int p, int q)

{

return(p + q);

}

(ii)    Find the output in the following :

void main()

{

int i;

char book_name[] = GREAT BRITAIN; for (i = l; i < = 13; i++) printf(\n%-13.* s,i,book_name);

}

(iii)    Find the error in the following C code #DEFINE a = 10

void main()

{ int b = l; while (b < 10)

{ printf(%d,a) b++;

}

Write a program in C for the following : (any two)    (10)

5. (A)


(i)    Write a program to read a string and find out whether it is palindrome or not.

(ii)    Write a program to read n numbers and sort the array.

(iii)    Write a program to print the sum of the following series :

1 + 1/4 + 1/9 + 1/16 + 1/25......

(iv)    Write a program to create a structure called DATA, which has the following details :

Department Name, Contact person, cell-number, land-number

Create an array of 10 such records and read the data. Also, find the details of the department, which is entered through keyboard.

(B) Mention whether the following statements are true or false. Re-write the incorrect statement.    (04)

(i)    A switch statement can always be replaced by a series of if-else statement.

(ii)    The modulus operator % can only be used with integers.

(iii)    ANSI C treats name and Name to be same.

(iv)    The return type of a function is int by default.

FBCA-02

April-2007

Computer Fundamentals & Programming in C-102

(Old Course)

Time : 3 Hours]

[Max. Marks : 50 (10)


1. Answer the following (any ten) :

1.    Find 2s complement of 1011010111000.

2.    Define HYPCOM.

3.    State Demorgans law.

4.    Draw the symbol of NAND and NOR gate.

5.    What is C token ? Write any 5 tokens.

6.    What is MICR ?

7.    List types of Link List.

8.    Explain parity check bit.

9.    Explain bar coding.

10.    Explain write time and access time.

11.    What are supercomputer and mainframes ?

12.    Subtract 10101-10001.

2. Attempt the following (any four) :    (10)

1.    Discuss features of Unix o.s.

2.    Explain DMA interface.

3.    Explain serial and parallel adder circuit.

4.    Explain chain printer and memory interleaving.

5.    Explain operators in C language.

1.    Even and odd parity

2.    Entry and exit control loop

3.    Structure and union

1.    Find greatest number among n numbers

2.    To check whether a number is prime or not

4.    Attempt the following (any four) :    (10)

1.    Write any 3 string handling functions.

2.    Write all categories of C function.

3.    Explain Recursion with example.

4.    What is else if ladder explain with example ?

5.    Explain file and pointer with their uses.

5.    Write a C program for the following : (any two)    (10)

1.    To sort an array using bubble sort.

2.    To check whether a number in palindrome or not.

3.    To find factorial of a number using recursion.


FBCA-02    7    P.T.O.

1

   (A) Differentiate between (any two)    (8)

(a)    Compiler and Translator

(b)    Entry Controlled Loop and Exit Controlled Loop

2

(c)    Array and Structure

3

(d)    Scope and visibility of a variable

4

(e)    Pass by value and Pass by reference FBCA-02 2


Seat No.

FBCA-04

April-2007 Advanced Mathematics (New Course)

Time : 3 Hours]    [Max. Marks : 70

Instructions : (i)    There are five questions.

(ii)    All questions carry 14 marks.

(iii)    Draw the figures wherever required.

(iv)    Use of simple calculator is permitted.

1. (A) Define following terms : (any four)

(4)


(1)    Intersection set.

(2)    Subset.

(3)    Quadratic function.

(4)    Break-Even Point.

(5)    Many-one function.

(B)    If A and B are two sets, then prove that the number of element n(AoB) = n(A) + n(B) - n (AnB) with Venn diagram.    (4)

OR

If A, B and C are three sets then, prove that A - (BC) = (A - B) n (A - C) by usual notations.    (4)

(C)    Attempt the following : (any two)    (6) (1) If U = {x/1 < x < 8, x e N} A = {x/x < 4, x e N},

B = {x/1 < x < 7, x is even no.}and C = {1, 2, 5} then find

(i)    A(B - C)

(ii)    A A B

(iii)    B x C

(iv)    (A n B)

1 - x

x e R, then prove that f(x) + f(1/x) = 0.

(2) If f(x) =


1 + x


(3) The fixed cost of a factory is Rs. 90,000 and the variable cost per unit of production is Rs. 150. If the selling price per unit is Rs. 240, then find :

(1)    Revenue and cost function.

(2)    Break-Even Point.

(3)    If selling price is increased by Rs. 10, then find new Break-Even Point.

2. (A) When f (x) is said to be continuous at x = a ? Also check the continuity of f(x) at

(4)


x < 5

x = 5 x > 5


(4)


(6)


x = 5.

f( , x2 - 25 fW = x - 5

= 5    ,

= 2x - 5 ,

(B)    Define following terms : (any four)

(1)    Matrix.

(2)    Square Matrix.

(3)    Row-Column Matrix.

(4)    Transpose of Matrix

(5)    Identity Matrix.

(C)    Solve following problems (any two) :


' 0

1

2 '

' 1

-2 "

=

A

f

I

1

2

3

B =

-1

0

_ 2

3

4 _

_ 2

-1 _

then

(i)    Compute AB.

(ii)    Is BA defined ?

9 1 4 3


1 5 7 12


(2) If P =


and Q =


, find Matrix X if 3P + 5Q + 2X = 0.


' 4

1

3 '

' 2

-1

0 "

=

A

f

I

(3)

2

0

5

B =

0

4

3

_ 1

3

0 _

_ 2

1

5 _

, then prove that

(i) (A + B)t = At + Bt

(ii) A + A is a symmetric matrix.

3.    (A)

(B)

(C)

4.    (A)

(B)

(C) FBCA-04


(i)

(ii)


lim

x 0


(iii) lim

x 3


(iv)


lim

n <x


Find the area bounded by x_axis and the curve y = x2 _ 3x + 2.    (4)

1 2

A company has the total cost C = 500 + X and the total revenue R = 200x for x

unit of production. So find    (4)

(i)    Total units for maximum profit.

(ii)    Total maximum profit.

Find dy/dx with respect to x (any three)    (6)

(1)    y = 2 + log 2 + i-

(2)    y = V4x2 _ 5

(3)    y = ex. tan x

x3

(4)    y =


Attempt the following : (any two)    (6)

(1)    Prove that the points (7, 0), (6, _2), (3, 4) and (4, 6) formed a parallelogram.

(2)    Find the area of AABC whose vertices are A(2, 3), B(8, 5) and C (4, 7).

(3)    Find angle between the line 5x _ y + 2 = 0 and 2x _ 3y + 3 = 0.


Find the equation of a line parallel to x _ 2y + 3 = 0 and passing from (2, _3).

OR

Find the equation of the line passing through the points A(3, _7) and B (_4, 9).


log x (5) x2 + y2 = 2


2n

1 _ 2T


(4)


3/n


xy


yx - yJ3

\jx + 1 _ 2


x


y2x _ 3x


x 4 2x2 32


x3 - 64


lim


5. (A) (i) Define Order and Degree of differential equation.

(ii) Give Order and Degree of following Diff. equation.    (4)

(1) fe] + (I) + 2y=.

= 3 ~7~ + x dx


+y (S4 + y4 = o

(B)    Attempt the following (any two) :    (4)

(i) S , dy 3 + x

(i)    Solve dx = 3 + y

(ii)    Solve (2x + 3y + 5) dx + (3x + 5y + 7) dy = 0

2    d2y 2 dy 2y

(iii)    Show that y = Ax2 + Bx is a solution of - _ -a + ? = 0

dx2 x dx x2

(C)    Evaluate following integrals (Any three) :    (6)

(1)    f 3x + 5 + 2/x dx

3x2 dx


(2)    f /x31

2x + 5

dx


(3)    J (x + 2) (x + 3)

(4) J (3x - 2)

2 dx


1

n/2

o


FBCA-04

April-2007 Advanced Mathematics (Old Course) Time : 3 Hours] Instructions : (1)

[Max. Marks : 50


(2)

Figures to the right indicate full marks. Scientific Calculator is not allowed.


1. (a) If A, B and C be any three sets, then prove that A - (B n C) = (A - B) u (A - C).

(4)

(6)


(b) Attempt any two parts :

(1)    (i) If A = {1, 2, 3, 4} and B = {4, 5,}, find AAB and A x B.

(ii) If A = {a, b, c}, B = {b, d}, C = {b, c}, then verify that A x (BuC) = (A x B) u (A x C).

(2)    If the daily cost of production for x units of a manufactured product is given by c(x) = 15x + 15,000. Answer the following :

(i)    If each unit is sold for Rs. 25, determine the minimum number of units that should be produced and sold to ensure no loss.

(ii)    If the selling price is decreased by Rs. 5, per unit what would be the break-even point ?

1

(3) If f (x) = x5 - 2x + x , prove that f(x) + f (- x) = 0.

x3 - 27 x - 3


(i)


lim

x 3


n2 + 2n - 1 (n + 1) (2n + 1)


lim

n ro


2

f(x) =

5 - x , x > 3

(i)    discontinuous from the left at x = 3.

(ii)    Continuous from the right at x = 3.

(3) Differentiate the following w.r.t. x.

e2x

(i)    y = x2 + 2x + 1

(ii)    y = ex [(4x-1)2]

n/2    n/2

,8 .

3. (a) Write the reduction formula of j Sinn x dx. Hence evaluate J sin1 x dx. (4)

0 0 (b) Evaluate the following integrals (any three) :    (6)

rx1/2 + x8 + 1 x5/2

(i)


dx


(ii)    J x log x dx

(iii)    J

1    dx


(x + 1) (x - 2)

(iv) J (? - 7} d

-2

(ii)    In what ratio is the line joining the points A(4, 4) and B(7, 7) divided by P(-1, -1) ?

(iii)    Show that the points (4, -5), (8, 1), (14, - 3) and (10, -9) are the vertices of a square.

5. (a) Obtain the order and degree of the following differential equations (any two) : (4)

3 / \2


(i) +3) dy+=(dy)

5 dx

Sf = 3y

(b) Solve the following differential equations (any two) :    (6)

(i) dx + 5y = e-x

(ii) (2x + 3y + 5) dx + (3x + 5y + 6) dy = 0

,2 _

(iii) (x2 + y2) dx = xy

FBCA-04    7    P.T.O.

1

and 2x - 5y + 3 = 0 and perpendicular to 5x + 4y = 6.







Attachment:

( 0 Votes )

Add comment


Security code
Refresh

Earning:   Approval pending.
You are here: PAPER Gujarat University 2007 B.C.A Computer Application FY s - Question Paper