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

  1. Convert the number (23.45) 8 to its equivalent decimal number.
  2. If A = -145.731 , I = 65 , describe the output of the following FORTRAN statements : texttt WRITE (*, 5) A, I texttt 5 FORMAT (X, F 10.2, I 2) (Use symbol flat to denote each blank space)
  3. Draw a switching circuit that realizes the switching function given by the following table : | x | y | f(x,y) | |1|1|1| |1|0|1| |0|1|0| |0|0|0|
  4. Write the full form of ASCII and FORTRAN.
  5. Write the dual statement of the statement “ a = 0 and b = 0 if and only if a + b = 0 ” in a Boolean algebra.
  6. If A = 7.5 , B = 1.9 , C = 2.0 , D = 0.8 , I = 7 , J = 13 , K = 5 , evaluate the following arithmetic expression in FORTRAN 77 : texttt U = A/C + (C - B)/D + J/I * K .
  7. State the Huntington Postulates which define a Boolean Algebra (B, +, cdot , ', 0, 1) .
  8. Write FORTRAN expression of dfrac sqrt a + log e b c + d sin x .
  9. Point out the errors (if any) in the following FORTRAN program segment : texttt WRITE (*, 2) L, X, Y texttt 2 FORMAT (I 4.2, 2E 6.3)
  10. Perform the following subtraction using 2’s complement : (110011.101) 2 - (10110.001) 2
  11. Find the octal equivalent of the following Hexadecimal number : ( AB.C4 ) 16
  12. Draw a switching circuit for the following Boolean function : f(x, y, z) = xz + y'(x' + x(y + z')) Draw an equivalent simpler circuit of this circuit.
  13. Write a FORTRAN 77 program to find the factorial of a natural number N .
  14. A committee consisting the three members approves any proposal by majority vote. Each member can approve a proposal by pressing a button attached to his/her seat. Design a simple switching circuit that will allow current to pass when and only when a proposal is approved.
  15. Draw a flowchart for sorting the following list of real numbers in descending order : 91, ; 34, ; 28, ; 102, ; 55, ; 3, ; 19, ; 78, ; 10, ; 47
  16. Simplify the following Boolean function using Karnaugh Map : f(x, y, z) = x'yz' + xy'z + xyz' + x'y'z tag * 10
  17. Given the quadratic equation ax 2 + bx + c = 0 , ( a neq 0 ), draw a flowchart to compute the roots of the equation.
  18. Draw a flowchart to print the first ‘ n ' terms of the Fibonacci sequence : 0, 1, 1, 2, 3, 5, 8, 13, 21, ldots Where n geqslant 1 and also print the sum of the terms.
  19. sin x is defined by the following infinite series : sin x = x - frac x 3 3! + frac x 5 5! - cdots Design an algorithm to evaluate the value of sin x for a given value x = x 0 with error < 10 -6 .
  20. Design an algorithm to find the value of f(x) at x = x 0 where, f(x) = 0, x le 0, x 2 - sin x, 0 < x le pi , sin x - x 2, pi < x le 2 pi , 0, elsewhere and pi = 22/7 .
  21. Find the logic circuit that represents the following Boolean function. Find also an equivalent simpler circuit : | x | y | z | f | |1|1|1|1| |1|1|0|0| |1|0|1|1| |1|0|0|0| |0|1|1|1| |0|1|0|0| |0|0|1|1| |0|0|0|0|
  22. Simplify the following Boolean function using Karnaugh Map : 10 f(x, y, z) = x'yz + xy'z' + xyz' + xyz
  23. Write an efficient FORTRAN 77/90 programme to evaluate displaystyle int a b x 2 e tan -1 x ,dx by Trapezoidal rule with 8 ordinates where a = 1.0 and b = 2.3 .
  24. Write a FORTRAN 77 program to compute nC r using a subroutine subprogram.
  25. Write a FORTRAN 77/BASIC/C programme to find a real root of the equation x 3 - 4x - 9 = 0 correct up to 6D by Newton-Raphson method.
  26. Find the Boolean function represented by the following truth table in Conjunctive Normal Form : | x | y | z | f | |1|1|1|0| |1|1|0|1| |1|0|1|0| |1|0|0|1| |0|1|1|0| |0|1|0|0| |0|0|1|1| |0|0|0|0|
  27. Write a program in BASIC/FORTRAN 77/90 to find the H.C.F. and L.C.M. of two given positive integers.
  28. Test the convergence of the sequence of functions f n where f n(x) = dfrac x 1 + nx ; n in mathbb N ; forall x > 0 .
  29. State Dirichlet’s conditions for convergence of a Fourier series.
  30. Form the partial differential equation by eliminating a and b from z = (x 2 + a)(y 2 + b) .
  31. Find : L sin (7t + 5) .
  32. Verify that the equation (2x 2 + 3x)y 2 + (6x + 3)y 1 + 2y = (x + 1)e x is exact.
  33. State sufficient conditions for the existence of Laplace transform.
  34. Find the particular integral y p , by the method of undetermined coefficient : frac d 2 y dx 2 + 3 frac dy dx + 2y = 2e 3x .
  35. Determine the radius of convergence of the power series x + dfrac (2!) 2 4! x 2 + dfrac (3!) 2 6! x 3 + cdots + dfrac (n!) 2 (2n)! x n + cdots
  36. Find the following inverse Laplace transformation : L -1 left dfrac 1 S 2 + 9 right .
  37. Show that log e(1 + x) = x - dfrac x 2 2 + dfrac x 3 3 - dfrac x 4 4 + cdots and find its radius of convergence.
  38. Expand in a Fourier series of the periodic function f(x) with period 2 pi defined as f(x) = -1, for - pi < x < 0 1, for 0 le x le pi Hence, show that 1 - dfrac 1 3 + dfrac 1 5 - cdots = dfrac pi 4 .
  39. Show that the series displaystyle sum frac x (nx + 1) (n - 1)x + 1 is uniformly convergent on any interval [a, b] , 0 < a < b , but only pointwise on [0, b] .
  40. Show that the series displaystyle sum frac (-1) n n |x| n is uniformly convergent in |x| le 1 .
  41. Solve : (D 3 - D 2 + 4D - 4)y = 68e t sin 2t , given y = 1 , Dy = -19 , D 2 y = -37 at t = 0 and D = dfrac d dx .
  42. Solve : p + q = x + y + z where p = dfrac partial z partial x , q = dfrac partial z partial y .
  43. Solve, by method of variation of parameters dfrac d 2 y dx 2 + y = tan x .
  44. Find the eigenvalues and eigenfunction for the differential equation 10 frac d 2 y dx 2 + lambda y = 0 ;( lambda > 0), quad y 1(0) = 0, ; y 1(1) = 0
  45. Solve for y : frac dx dt + 5x + y = e t frac dy dt + 3y - x = e 2t
  46. Find : L -1 left dfrac 1 S(S 2 + 1) right
  47. Solve by Laplace transformation : frac d 2 y dx 2 + 6 frac dy dx + 10y = 0, quad y(0) = 1, ; y ! left ( frac pi 4 right ) = sqrt 2 tag * 10
  48. 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
  49. Solve the partial differential equation : y 2 p - xyq = x(z - 2y) .
  50. Form partial differential equation by eliminating the arbitrary function from z = f ! left ( dfrac xy z right ) .
  51. Find : L -1 ! left ( dfrac 1 s(s 2 + w 2) right )
  52. Solve : x 2 dfrac d 2 y dx 2 - 3x dfrac dy dx + 5y = sin ( log x)
  53. Find the remainder when 16! is divided by 17 .
  54. Find the correct check digit for the following incomplete ISBN 81-85392-68-
  55. Construct a truth table for ‘AND’ logic gate.
  56. Express the Boolean expression xy + x'y + x'y' in conjunctive normal form.
  57. Find a recurrence relation that define the sequence 2, 4, 8, 14, 22, 32, ldots
  58. If gcd (a, b) = 1 , then show that gcd (a + b, ab) = 1 .
  59. If n be an even positive integer, prove that phi (2n) = 2 phi (n) where phi is the Euler’s phi function.
  60. For any Boolean algebra B , if x, y in B , then show that x + y = 1 and xy = 0 implies y = x' .
  61. Show that (62.625) 10 = (111110.101) 2 .
  62. Find a Round-Robin Tournament schedule for 5 teams.
  63. The identification number of some particular company in India is 890102 . The identification number of some product of that company is 300090 . Write down U.P.C. for this product.
  64. Show that if p and q are two distinct primes then p q-1 + q p-1 equiv 1 pmod pq .
  65. Applying division algorithm find the g.c.d. of 315 and 4235 . Then find integers s and t such that gcd (315, 4235) = 315s + 4235t .
  66. Prove that phi (5n) = 5 phi (n) if and only if 5 divides n .
  67. Find the check digit of a Master card 5546-1997-2335-500-
  68. State ‘Chinese Remainder Theorem’ and use it to solve the following system : x equiv 2 pmod 3 , quad x equiv 3 pmod 4 , quad x equiv 4 pmod 5
  69. Find the number of positive integers less than n and prime to n when n takes the value 256 .
  70. Find the generating function for the sequence 1, -1, -1, 1, -1, -1, 1, -1, -1, 1, ldots
  71. Prove that for every positive integer n , (n 3 - n) is divisible by 6 .
  72. If N = a m 10 m + a m-1 10 m-1 + cdots + a 1 10 + a 0 , then show that N is divisible by 5 if and only if a 0 = 0 or 5 .
  73. Convert (2 FB 5) 10 from hexadecimal to binary.
  74. Solve the following difference equation with given initial condition : a n = a n-1 + a n-2 for n ge 3, where a 1 = 1, ; a 2 = 3.
  75. What is the remainder when 1! + 2! + 3! + 4! + cdots + 100! is divided by 15 ?
  76. Prove that there are infinitely many prime numbers.
  77. Find digit in unit place in the sum : 1! + 2! + 3! + cdots + 49!