VB DSEMA-3A Computer Fundamentals, 2020

Visva-Bharati question paper, B.Sc. Mathematics Honours Semester VI, 2020. Computer Fundamentals. Typed in LaTeX, searchable, with a printable PDF.

Open this paper in MathQP

  1. Define algorithm. State four important features of an algorithm.
  2. Write an algorithm to calculate and print the value of a function F given by [F(x)= x 2+9 x<0 x 4+3x 2+7 0 le x<20 12x+7 x ge 20 ]
  3. What do you mean by priority of computation?
  4. (i) Given the values I=3 , J=4 , K=2 , A=3.0 , B=4.0 . Find the value of the expression verb |B + J*K**J/B/I|. par (ii) If A=3.0 , B=2.0 , C=4.0 , D=6.0 , E=5.0 , then find the order of evaluation and the value of the expression verb |((A+B)*C**1.5-D-E-A)/C+B|.
  5. What are the differences between ‘STOP’ statement and ‘END’ statement.
  6. Assuming that I and J are integer variables having the values -6 and 9 respectively and that A , B and C are real variables with values -4.23 , 11.2 and 31.2 respectively. Find the value of the following expressions: (i) NINT(C).EQ.(6*I+3) (ii) .NOT.((I.GT.J).OR.(A.LT.C)).EQV.((I.LE.J).AND.(A.GE.C)) (iii) .NOT.((I.GT.J).AND.(A.LT.C)).NEQV.((I.LE.J).OR.(A.GE.C))
  7. Describe logical ‘IF’ statement.
  8. Write a complete program to compute and print K where K= sum I=1 m sum J=1 n I*J using the logical ‘IF’ statement.
  9. Describe execution of a ‘DO’ statement.
  10. Describe unconditional ‘GOTO’ and computed ‘GOTO’ statements.