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 the octal number 1573 8 to Binary number, then convert this binary number to Hexadecimal number.
- Write FORTRAN expression of | cos x| + e - frac x 2 2 .
- Write full form of CPU and ALU.
- Find the final value of texttt K after the following FORTRAN program segment is executed : K = 2 DO 10 I = 3, 8, 2 K = K + I ** 2 10 CONTINUE
- In any Boolean Algebra (B, +, cdot , ') , show that a + ab = a ; forall a, b in B .
- Draw the switching circuit which realises the following Boolean expression : x'y' + zx + yz'
- If I = 2 , J = 5 , K = 1 and N = 6 , then find the value of I * J + (5 + K)/I + N/J .
- Express x + y(x'z)' in CNF.
- Find the errors of the following FORTRAN program : WRITE (*, * 20) A, B 20 FORMAT (IX, F4, 3XF 10.6)
- Write a program in BASIC to find the H.C.F. and L.C.M. of two positive integers.
- Write a program in FORTRAN to find the area of a triangle having two sides a, b and the angle contained by the sides is c .
- Express the Boolean expression (x + y + z)(xy + x'z)' into DNF. Hence determine its CNF.
- Draw a switching circuit which realizes the Boolean expression x[y(z + w) + z(u + v)] .
- Find the number N such that (10110) 2 times (11011) 2 = (N) 10 .
- Compiler and Interpreter
- Source programme and Object programme.
- Write a FORTRAN program to evaluate the value of sin x at x = x 0 from the series sin x = x - frac x 3 3! + frac x 5 5! - frac x 7 7! + cdots
- Write a program in C to find the value of |x| , where |x| = x, if x > 0 0, if x = 0 -x, if x < 0
- Write an algorithm and flowchart to find the sum of the series 1 + x + x 2 + cdots + x n , where n is a positive integer. Also write the corresponding program in C.
- Show how an IF - THEN - ELSE - END IF statement in FORTRAN can be used to express the function f(x) = x 3 + e x for x > 1 5 + cos x for -1 < x le +1 0, elsewhere
- Find the output of the following program : K = 10 I = 1 5 S = 0.0 WRITE (*, *) K, S S = S + I K = K - I I = I + 2 IF (I.LE.9) GO TO 5 STOP
- Simplify the following Boolean function using Karnaugh Map : f(a, b, c) = abc + ab'c + abc' + ab'c' + a'b'c' + a'bc'
- Construct truth table for the following Boolean function f represented by : 10 xz + x'y + zy
- Explain each of the following terms giving their full forms : (i) BIT (ii) BYTE (iii) I/O unit (iv) ALU (v) CPU
- Transform the following expression into an expression in DNF : (x + y' + z)(x + y + z')(x + y' + z')(x' + y + z)(x' + y + z') tag * 10
- Write an efficient FORTRAN programme to evaluate displaystyle int 2 10 frac dx 1 + x 2 by Trapezoidal rule taking 17 ordinates.
- Write a FORTRAN programme to find the roots of the equation ax 2 + bx + c = 0 for arbitrary real numbers a ( neq 0), b, c to be given by the user.
- Show that the series displaystyle sum frac 1 n 2 is convergent.
- Find out the radius of convergence of displaystyle sum n 2 x n .
- Test uniform convergence of the sequence of functions langle f n(x) rangle , where f n(x) = dfrac sin nx n .
- Determine the radius of convergence of the power series x + frac (2!) 2 4! x 2 + frac (3!) 2 6! x 3 + cdots + frac (n!) 2 (2n)! x n + cdots
- Find the particular integral of the differential equation dfrac d 2 y dx 2 - 4y = sin 2x .
- Use the Convolution Theorem to evaluate L -1 left dfrac 1 (s+1)(s-1) right , L -1 is Inverse Laplace Transform Operator.
- Find the particular integral of dfrac d 2 y dx 2 - 7 dfrac dy dx + 6y = (x - 2)e x by the method of undetermined coefficients.
- Find the general solution of xp + yq = z .
- Find : L(e -2t sin 4t) .
- Show that the sequence of functions langle f n(x) rangle , defined as f n(x) = dfrac nx 1 + n 2 x 2 , 0 le x le 1 is not uniformly convergent on [0, 1] .
- Show that the series displaystyle sum n=1 infty frac nx 2 n 3 + x 3 is uniformly convergent on [0, k] for any k > 0 .
- State Abel’s theorems on power series. Determine the radius of convergence of the power series x + frac 2 2 x 2 2! + frac 3 3 x 3 3! + cdots .
- Assuming the expansion log (1 + x) = x - dfrac x 2 2 + dfrac x 3 3 - dfrac x 4 4 + cdots for -1 < x le 1 , prove that int 0 1 frac log (1 + x) x ,dx = 1 - frac 1 2 2 + frac 1 3 2 - frac 1 4 2 + cdots tag * 10
- Solve by the method of variation of parameter, the equation dfrac d 2 y dx 2 - y = dfrac 2 1 + e x .
- Solve : dfrac d 2 y dx 2 - 2 dfrac dy dx + 2y = 5 cos x , given that y = dfrac dy dx = 0 , if x = 0 .
- Find the eigenvalues and eigenfunctions for the differential equation dfrac d 2 y dx 2 + lambda y = 0 which satisfies the boundary conditions : y(0) = 0 and y( pi ) = 0 .
- Solve by the method of undetermined co-efficients dfrac d 3 y dx 3 + 3 dfrac d 2 y dx 2 + 2 dfrac dy dx = x 2 + 4x + 8 .
- Solve by the method of variation of parameters dfrac d 2 y dx 2 + a 2 y = sec ax .
- Solve : (5 + 2x) 2 dfrac d 2 y dx 2 - 6(5 + 2x) dfrac dy dx + 8y = 8(5 + 2x) 2 .
- Solve : frac dx dt + 4x + 3y = t frac dy dt + 2x + 5y = e t
- Eliminate the arbitrary function F from the following equation and find the corresponding p.d.e. F(x - z, , y - z) = 0 .
- Find the general solution of x 2 p + y 2 q = (x + y)z .
- Solve : dfrac dx 1 = dfrac dy 3 = dfrac dz 5z + tan (y - 3x)
- Find : L -1 left dfrac 3s + 7 s 2 - 2s - 3 right .
- Find L -1 left dfrac 4 s + 1 + dfrac 6 (s + 1) 2 + dfrac 3 (s + 1) 4 right and hence solve (D 2 + 2D + 1)y = 3te -t , given y = 4 , Dy = 2 when t = 0 and D = dfrac d dx .
- Using Laplace transformation, solve the differential equation dfrac d 2 y dt 2 - 3 dfrac dy dt + 2y = 4e 2t ; y = -3 and dfrac dy dt = 5 when t = 0 .
- Find L F(t) where L is Laplace transformation operator and F(t) = t, 0 le t le dfrac 1 2 [6pt] t - 1, dfrac 1 2 < t le 1 [4pt] 0, t ge 1 tag * 10
- If n is a positive integer such that n 3 + 1 is a prime, then prove that n = 1 .
- What is the remainder when 6 cdot 7 32 + 7 cdot 9 45 is divided by 4 ?
- Solve the congruence 12x equiv 9 pmod 15 .
- Simplify the Boolean expression : (x + y)(x + z)(x'y)' .
- Construct truth table for the formula (p wedge q) wedge sim (p vee q) .
- Determine true or false : 8 4 equiv 2 pmod 13 .
- Convert ( CDEF ) 16 from hexadecimal to binary.
- State Fermat’s little theorem.
- Prove by Mathematical induction 1 cdot 2 + 2 cdot 3 + 3 cdot 4 + cdots + n(n + 1) = frac n(n + 1)(n + 2) 3
- A man paid Rs. 145 for some cups and glasses. If cups cost Rs. 17 each and glasses Rs. 15 each, how many of each did he buy?
- Determine the integer in the unit place of 17 17 17 .
- Is 073124005089 a correct UPC for some product?
- Set up a Round Robin tournament for 8 teams.
- In a Boolean algebra (B, +, cdot , ') prove that a + (a' cdot b) = a + b and a cdot (a' + b) = a cdot b ; forall a, b in B .
- Transform the following CNF into an expression in DNF : (x + y' + z)(x + y + z')(x + y' + z')(x' + y + z)(x' + y + z')(x' + y' + z)
- Write down the Boolean expression for the logic circuit : fbox parbox 0.85 textwidth [Logic circuit diagram with inputs x, y, z : (1) top AND gate with inputs x and NOT (y) ; (2) middle AND gate with inputs NOT (x) and z ; (3) both AND outputs enter an OR gate followed by a NOT gate; (4) bottom OR gate with inputs y and z followed by a NOT gate; (5) outputs of (3) and (4) enter a final OR gate.]
- Solve for x : 12x equiv 9 pmod 15
- Find the missing digit in the ISBN : 81 - 20 square - 0871 - 9 tag * 10
- Solve the following Diophantine equation to find all integral solutions : 8x - 10y = 42.
- Express the following Boolean function f(x, y, z) = xyz + (x + y)(x + z) into Disjunctive Normal Form (DNF).
- Using generating functions solve the recurrence relation : a n = 2a n-1 ; forall n ge 1 and a 0 = 3 .
- Show that if p and q are distinct primes, then p q-1 + q p-1 equiv 1 pmod pq .
- Draw a switching circuit for the Boolean expression (x + y + z + w)(x + y + w)(x + z) . Obtain a simpler equivalent circuit.
- The first 15 digits of a credit card visa is 456398103862540 . Find the check digit for this card.