User:Neeti m/B.Sc.(H)Chemistry-part-II/House Exam Computer XII-2009
CHEMISTRY-Paper-XII
(Computers and their Applications to Chemistry)
House Examination-2009
1. Write the full form of the following:
(a) EBCDIC (b) BIT (c) CPU (d) DOS (e) RAM
2. Indicate the error in the following program. Write the corrected program.
10 INPUT N
20 FOR I = 1 TO N
30 S = 0
40 P = P* I
50 S = S+ I
60 NEXT J
70 PRINT P, S
80 END
3. Write the output of the following program.
10 A = 5
20 B = 10
30 C = A + B
40 D = C/A
50 C = A
60 PRINT C,D
70 END
4. Convert the following into binary number
(i) 30 (ii) 25.25
5. Convert the following binary numbers into decimal numbers:
(i) 1010 (ii) 110.10
6. Express the following as BASIC expressions:
(i) d = (b2 − 4ac) (ii) y = │x│ (iii) y = {ax3 + (b+ c) x2 − 2x}/ 2a