VB DSEMA-3A Computer Fundamentals, 2024
Visva-Bharati question paper, B.Sc. Mathematics Honours Semester VI, 2024. Computer Fundamentals. Typed in LaTeX, searchable, with a printable PDF.
Open this paper in MathQP
- What do you mean by a flowchart? Using standard symbols, draw a flowchart to calculate and print the value of S , where S= displaystyle sum J=1 100 sum I=1 30 I times J .
- Name different types of variables with appropriate examples which are recognised, by FORTRAN 77.
- Write down the FORTRAN expression of the following mathematical expression: [ sinh left ( frac a 3+3d 2- log 10 d tan (b 2+c 2)e -|x 3y| right )+ frac x+n cos -1 x sqrt 2024+x 3y 3 ]
- Given the logical variables X,Y and Z , write a logical expression that is true if and only if X and Y are true and Z is false.
- What values will be printed for the variables after execution of the following program: INTEGER D LOGICAL B COMPLEX A CHARACTER*8 C READ*, X, Y, Z, A, B Y = Y * Y Z = X + Y + Z X = Y + Z C = 'HEATWAVE' B = .FALSE. D = A + X PRINT*, X, Y, Z, C, B, D STOP END The input data/line is given as verb |2.0, 3.0, 5.0, (-1., 3.0), .TRUE.| par (You must mention all the necessary steps)
- Design an algorithm to compute the factorial of a positive integer n .
- Write a FORTRAN 77 program to arrange a sequence of n real numbers ( n le 2024 ) in ascending order.
- Write a FORTRAN 77 statement to carry out the following actions: par If n=1,2,8 , transfer control to statement 20, if n=3,7 , transfer control to the statement 21, if n=4,5,6 transfer control to the statement 22.
- Point out errors (if any) in the following. Justify your answer. (i) GO TO(1,2,3,4), VALUE (ii) READ*, X, Y + 3, Z, Z5 (iii) TAN = TAN(X) * X ** 0.5
- Rewrite the following FORTRAN 77 segment using IF statements. DO 10 I = 1, 100 DO 20 J = 1, 25 WRITE(*,1) I, J 20 CONTINUE 10 CONTINUE
- State (with examples) two important differences between ARITHMETIC IF statement and LOGICAL IF statement.
- Write the FORTRAN 77 program segment for the following flowchart using LOGICAL IF statement. includegraphics [width=.7 linewidth ] BSc VI 2024 DSEMA3A Q6b.png