User:Neeti m/Temp/COMP-11.doc

'''B.Sc. (Hons.)/II-(NS)'''

CHEMISTRY-Paper-XII(a)

(Computers and their Applications to Chemistry)

House Examination-2011

Acharya Narendra Dev College

Time: 1HourMaximum Marks :25


 * 1) Write the full form of the following:

(i) VDU(ii) MOS(iii) PDF(iv) LCD(v)BASIC

(1x5)

2.Write the DOS command for each of the following:

(i)Viewing all files in drive D page wise

(ii)Copying a file named HELLO from drive C to drive D

(1x2)

3.Explain the following commands

(i)RND(ii)LEN(A$)(iii)DIM A(3,3)

(iv)DEF FNA(x)

(1x4)

4.Write the output of the following program

10 DIM A$(6), A(6)

20 FOR I= 1 TO 6

30 READ A$(I), A(I)

40 NEXT I

50 FOR I= 6 TO 1 STEP -1

60 PRINT A(I); A$(I)

70 NEXT I

80 DATA AJAY, 17, SANJAY, 22, RANI, 23, RAMESH,19, VIBHA, 21, MAYA, 22

90 END

(2)

5.Write the BASIC expression for:

(i)x3+Cax2−(Ka +Ca.Kw)x +KaKw

(ii)

(1x2)

6.Distinguish between the following:

(i) Data and information

(ii) Low level language and High level language

(1x2)

7.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(5)

8.Which of the following cannot be used as file name in BASIC. Give reason.

(i) New(ii) 1Max(iii) Boltzman1(iv) add1(v) hello

(3)