VB DSEMA-3B Computer Laboratory, 2021
Visva-Bharati question paper, B.Sc. Mathematics Honours Semester VI, 2021. Computer Laboratory. Typed in LaTeX, searchable, with a printable PDF.
Open this paper in MathQP
- Write an algorithm to calculate the monthly telephone bill at the following rates: par First 300 calls: no charges par Call between 301 and 501: at the rate Rs. 3.00 per call par Call between 501 and 1000: at the rate Rs. 3.50 per call par Call more than 1000: at the rate Rs. 4.50 per call par and rental charges of Rs. 450 per month.
- Write a FORTRAN 77 program to find the sum of the first N terms of series in Geometric Progression (G.P), with first term A and common ratio R .
- Draw a flowchart to convert a positive decimal integer to its binary equivalent.
- Find the output of the following program. par (You must mention all the necessary steps to find the output.) INTEGER X(6) DO 100 K=1, 6, 2 X(K)=3*K X(K+1)=K+2 100 CONTINUE DO 200 J=1, 6, 3 X(J)=X(J)+X(J+1) 200 CONTINUE IF(X(2) .LT. 7) X(2)=X(3) WRITE(6, 20) X 20 FORMAT(1X, 6I8)
- A palindrome is a number, a word, a phrase or a sentence that reads the same backwards and forwards (e.g., 12321, LEVEL, WOW). Draw a flowchart to decide if a string of characters is a palindrome or not.
- Write a FORTRAN 77 program to evaluate displaystyle sum I=1 5 I K+ sum I=1 5 IK , where K= 1, 2, 3, 4, 5.
- Write a FORTRAN 77 program to find the root of the equation 3(2-px) 2+x cos x(2+px)-2=0 using Regula-Falsi Method correct upto five decimal places, where p=1.5+ frac R 10 , R is the last digit of your registration number. (For example if someone's registration number is VB-123765, then R=5 )
- Write a FORTRAN 77 program to solve the following system of equations by Gauss-Seidal iterative method correct up to four decimal places. [ 8.77 2.99 1.16 2.23 0.69 9.22 2.48 1.12 3.10 0.89 9.11 2.38 1.87 1.36 1.94 7.89 x 1 x 2 x 3 x 4 = 2.12 4.15 6.29 3.16 ]
- Write a FORTRAN 77 program to evaluate the following integral by Weddle's rule correct up to four decimal places and taking 18 sub-intervals. [ int 10 circ 40 circ frac sin (1+x+e -x ) sqrt 1+x ,dx ]