CU Paper IV Computer Science and Programming, Calculus and Discrete Mathematics, 2020
University of Calcutta question paper, B.Sc. General Part III, 2020. Computer Science and Programming, Calculus and Discrete Mathematics. Typed in LaTeX, searchable, with a printable PDF.
Open this paper in MathQP
- Convert ( C5A ) 16 to its decimal equivalent and (9826) 10 to its hexa-decimal equivalent.
- In a Boolean algebra (B, +, cdot , /) prove that a + a = a , forall a in B .
- Write the function f(x, y, z) = xy + xz in full disjunctive normal form.
- Construct the truth table for the Boolean function f = xy' + y(x' + z) .
- Find the Boolean function which represent the following circuit : fbox parbox 0.85 textwidth [Switching circuit with two parallel branches between the terminals: (1) upper branch has switches x' , y , z in series; (2) lower branch has switch z' in series with a parallel block containing switch x (upper) and switch y' (lower).]
- What will be the output of the following FORMAT statement? Indicate blank space by flat . X = 283.567 WRITE (6,200) X 200 FORMAT (3X, F 7.2)
- What will be the output of the following FORTRAN programme? INTEGER X, Y, Z X = 20 Y = 15 X = X + Y Y = X + Y Z = X + Y PRINT*, 'X =', X, 'Y =', Y, 'Z =', Z STOP END
- Write FORTRAN expression of cosec -1 (1 + x + x y) .
- Convert the octal number (1573) 8 to binary number, then convert it to hexa-decimal number.
- Subtract the binary numbers 100001 2 from 111111 2 using 2’s complement.
- Construct the truth table of the following Boolean function : f(x, y, z) = xy'z + x'(y + z') Hence, write the function in disjunctive normal form.
- Reduce the following Boolean function to its conjuctive normal form : f(a, b, c) = abc + (a + b)(a + c)
- Obtain the circuit for the following function using AND and NOR gates : f(a, b) = a + b cdot c
- Minimize the following Boolean expressions in POS form using K-maps : 10 alpha (x, y, z) = x'yz + xyz' + xyz
- Draw a flowchart to find the smallest of three distinct real numbers among X, Y, Z .
- Write a FORTRAN 77/90 programme which will print the first N even integers and also find their sum.
- Write a programme in FORTRAN 77/90 to evaluate the function f(x) defined below for a given value of x by using Arithmetic IF statement. f(x) = x 2 - 5x, x < 3 x 3, x = 3 x 2 + 5, x > 3.
- Design an algorithm to compute the sum of first 100 natural numbers and their mean.
- Explain the following terms giving their full form (any two) :
- Write a programme in FORTRAN 77/90 to evaluate the sum of the infinite series 1 + dfrac x 1! + dfrac x 2 2! + dfrac x 3 3! + cdots with an error < 10 -5 for some given value of x .
- Write a programme in BASIC to evaluate the integral displaystyle int a b f(x) ,dx by Trapezoidal rule, using 10 sub-intervals where f(x) = dfrac 1 sqrt 1 + x 2 , a = 1 , b = 2 .
- Write a programme in FORTRAN 77/90/BASIC to compute the value of nC r for a given positive integral value of r and n . ( r < n )
- Find the value of I that will be generated after the execution of the following programme segment (with proper justification) : I = 3 DO 50 J = 5, 20, I I = I + J 50 CONTINUE
- Software and Hardware
- Compiler and Interpreter
- Source programme and Object programme.
- Draw a flow chart for sorting, using bubble sort, the following numbers in ascending order : 75, ; 82, ; 91, ; 34, ; 28, ; 102, ; 55
- Write a programme in FORTRAN 77/90 or BASIC to find a real root of the equation 3x 2 + 2x - 9 = 0 by Newton-Raphson method correct to six decimal places.
- dfrac sqrt x + tan x y + z log e x
- sec -1 ! left ( sqrt x 2 + 1 right )
- | cos x| + e - frac x 2 5
- sin ! left ( log 10 ! left ( sqrt x 2 + a 2 right ) right )
- Write a FORTRAN 77/90/C programme to find the HCF of two given positive integers.
- Find the radius of convergence of the power series displaystyle sum n=0 infty frac 2n! n!n! x n .
- Test the convergence of f n where f n(x) = dfrac nx 1 + n 2 x 2 , n in mathbb N , forall x > 0 .
- Show that displaystyle sum n=1 infty frac 1 n 2 + sin 2 x is uniformly convergent on mathbb R .
- Find Particular Integral (P.I.) of dfrac d 2 y dx 2 + y = 2 , by the method of undetermined coefficients.
- Find : L sin 2 2t - cos 2 2t
- Find Particular Integral (P.I.) of dfrac d 2 y dx 2 + y = sin x .
- Form a partial differential equation by eliminating a and b from z = ax + a 2 y 2 + b .
- If f(-x) = -f(x) for all x in [- pi , pi ] , show that for the function f , the Fourier coefficients a n = 0 , for all n = 0, 1, 2, ldots
- Find p.d.e from z = f ! left ( dfrac xy z right ) , by eliminating f .
- Let f n(x) = dfrac x 1 + nx 2 , x in mathbb R . Show that the sequence of functions f n is uniformly convergent for all x in mathbb R .
- Show that the sequence f n where f n(x) = dfrac 1 1 + x n is not uniformly convergent on [0, 1] .
- Show that the series x 4 + dfrac x 4 1 + x 4 + dfrac x 4 (1 + x 4) 2 + cdots is not uniformly convergent on [0, 1] .
- Assuming the power series expansion for (1 + x) -1 as (1 + x) -1 = 1 - x + x 2 - x 3 + cdots (-1 < x < 1) . Obtain the power series expansion of log e(1 + x) .
- Solve by method of undetermined coefficient dfrac d 2 y dx 2 = 2x 2 .
- Find the eigenvalues and eigenfunction for the differential equation : frac d 2 y dx 2 + lambda y = 0 ;( lambda > 0), quad y 1(0) = 0, ; y 1(1) = 0. tag * 10
- Solve by the method of variation of parameters, dfrac d 2 y dx 2 + 9y = cosec 3x .
- Solve : 10 frac dx dt = x - 2y frac dy dt = 4x + 5y
- Solve by Lagrange’s Method : x(y 2 - z 2)p + y(z 2 - x 2)q = z(x 2 - y 2) .
- Form a p.d.e by eliminating arbitrary function phi where phi (x + y + z, , x 2 + y 2 - z 2) = 0 .
- If L F(t) = f(s) , prove L F(at) = dfrac 1 a f ! left ( dfrac s a right ) , a > 0 .
- L t cos at
- L sin at
- L t cos at - sin at
- Solve by the method of undetermined coefficients : dfrac d 2 y dx 2 - y = e x sin 2x
- Solve : dfrac d 4 y dx 4 - y = x sin x .
- Form partial differential equation by eliminating the arbitrary function from z = f ! left ( dfrac xy z right ) .
- Solve the partial differential equation y 2 p - xyq = x(z - 2y) .
- Find the fourier series for the function f(x) = |x| , x in [- pi , pi ] Hence, deduce 1 + dfrac 1 3 2 + dfrac 1 5 2 + cdots = dfrac pi 2 8 .
- Find phi (72) where phi is the Euler’s Phi function.
- Convert ( E 874) 16 from hexa-decimal to binary number.
- Let m and n be integers > 0 and gcd (m, n) = d . If m = dp and n = dq then prove that gcd (p, q) = 1 .
- Show that the number of the form dfrac a(a 2 + 2) 3 is an integer where a is an integer.
- Find the remainder when 9 342 is divided by 10 using congruence.
- In a Boolean algebra (B, +, cdot , /) , prove that a + b = a + c and a' + b = a' + c to b = c , forall a, b, c in B .
- Construct truth table for the statement formula : (p to q) to ( neg q to neg p)
- Prove that if x and y are odd integers then x 2 + y 2 is an even integer but not divisible by 4 .
- Find the remainder when 16! is divided by 17 .
- Construct a Round Robin Tournament Schedule for 7 teams using congruences of integers.
- A student spends Rs. 321 to buy some books and pens. The cost of each book is Rs. 12 and that of each pen is Rs. 7. Find the possible integral solution by forming a Diophantine equation.
- Solve the difference equation : 2a n = 7a n-1 - 3a n-2 , n ge 2 , a 0 = 1 , a 1 = 1
- Determine whether the ISBN 3 - 540 - 19102 -X is valid.
- Find the logic circuit of the Boolean expression xyz + xy'z + x'y .
- Form a truth table for a NAND gate. Draw a logic circuit using NAND gate only that realizes the truth function f(x, y, z) = x + yz .
- Show that p q-1 + q p-1 equiv 1 pmod pq , where p, q are distinct prime numbers.
- Determine the correct check digit for the incomplete UPC : 0 ,5 ,0 ,0 ,0 ,0 ,3 ,0 ,0 ,4 ,3 .
- Show that n 2 < 2 n ; forall n ge 5 , n is positive integer.
- Solve the following Diophantine equation : 8x - 14y = 16 .
- Verify by means of truth table that for a, b, c in B , a cdot (b + c) = a cdot b + a cdot c where B is a Boolean Algebra.
- Prove using mathematical induction 1 cdot 2 + 2 cdot 3 + 3 cdot 4 + cdots + n(n + 1) = dfrac n(n + 1)(n + 2) 3 .
- Solve the system of linear congruence equations : x equiv 2 pmod 3 , quad x equiv 3 pmod 5 , quad x equiv 1 pmod 7
- Find the digit in unit place in the sum : 1! + 2! + 3! + cdots + 49!
- Prove that there are infinitely many prime numbers.
- Check whether 0 ,0 ,5 ,0 ,0 ,0 ,3 ,0 ,0 ,4 ,2-6 is a correct UPC.