IX Computer Karachi Board of Secondary Education BASIC Removal of Errors

Remove the errors in the following BASIC Statements, if any:




1. 5 REEM ** MARKS SHEET **

2. 5.5 INPUT TAB (90) “NAME” : N$

3. –65 PRINT “MY SCHOOL”

4. 100S$ = MID$(A$5)

5. 99 READ 4, 5, SIX: DATA A, B, C$

6. 25 GOSUB R

7. 10 IF A = 10 TO 50 THEN END

8. 15 LET X “=” A “*” B

9. 80 FOR I = 20 TO 10 STEP –2

10. 18 LOCATE (5, 10): PRINT “ME”

11. 10 LET Z = “PAKISTAN”

12. 06 PRINT RIGHT (8, A$)

13. 20 IF X $ = 6 THEN : GOTO 120

14. 41 DATA 18, CLASS, SCHOOL: READ N, P, C

15. 5.5 INPUT “YOU NAME” N

16. RAM TO CALCULATE NUMBERS

17. –8 ON GOTO CH 100, 200, 300

18. 66 A$ = 5 TO 1 STEP –1

19. PRINT “OK”: TAB (10)

20. 50.5 PRIT “MY SCHOOL”

21. 38 REED A: DATA 40

22. 141 RAM “PRACTICAL EXAM”

23. 80 FOR R = IT 0010: NEXTR

24. 100 PRINT TAB (10); PAKISTAN

25. –32C= 10 TO 20 STEP –2

26. 53 READ A$; B; C$ : DATA AEROPLANE ; 200; CARD

27. 200 INPUT; “WHAT IS YOU NAME?”; A$

28. 10IF A = 100 THEN GOTO R

29. 20 REEM ABC

30. 10 LET A = “Karachi City”

31. 06 PRINT RIGHT (A$, 8)

32. 20 IF X$ = 6 THEN GOTO 120

33. 41 DATA. 18, page, Cat: READ N; P$; C$

34. 50.5 INPUT “What is your age?” A

35. 66 PRINT TAB (2): “ALL”; TAB (7); “The”; TAB (12) “Best”

36. 32 SCREEN 86

37. 706 LINE (40, 80) (300, 150); 3

38. 25 LOCATE 12.30: PRINT “Friendship”

39. 14 PRINT MID$ (A$, 10, 3)

40. 10 For X = 1 TO 5 STEP –1

20 J=X = 10

30 IF J = 80 THEN 100

40 NEXT Y

50 END

41. 10 INPUT

20 B – C = D

30 B = A * 2

40 PRINT E

50 END

42. 10 CLS

20 FOR I = 1 TO 10

30 LET A = 1

40 ? A

60 ? “This is the end of program.”

70 END

43. 10 INPUT A.B

20 LET A = A * 5

30 LET B = B * 2

40 TAB 20, 30: PRINT A;B

50 FINISH

44. 10 LOCATE 75, 10

20 PRINTER “Am I wrong?”;

30 LET T = 25 X 4 + 60

40 PRINTER T

50 END

45. 10 LET A = “KARACHI CITY”

46. 06 PRINT RIGHT (A$, 8)

47. 20 IF X$ = 6 THEN GOTO 120

48. 41 DTA 18, PAGE, CAT: READ N; P$; C$

49. 50.5 INPUT “WHAT IS YOU AGE?” A

50. 66 PRINT TAB (2); “ALI”; TAB (7); “THE” ; TAB (12); “BEST”


51. 32 SCREEN 86]

52. 70.6 LINE (40, 80) – (300 – 150) ;3

53. 25 LOCATE 12, 30 : PRINT “FRIENDSHIP”

54. 14 PRINT MID$ (A$, 10, 3)

55. 10 GOTO 60, 70

56. 20 FOR I=1 10 STEP 2

57. 14 S$ = PAKISTAN

58. 26 READ P$, X: DATA THRE, 3

59. 65 PRINT A = A, B, C

60. 121 IF X = 20: THEN GOTO 20

61. 70 LET X = LAE A + Y

62. 20 “INPUT ENTER YOU NAME”;N

63. 46.5 IF C$= COMPUTER THEN END

64. –25 C$ = A4 + B + C

65. 10 CLS, X = X + 1

66. 55 Z$ = CHR (29)

67. 129 READ 50, 100 :DATA A, B

68. 30 FOR 50 = A TO B

69. 40 GOTO CLS

70. 66 IF X$ = 50THEN GOTO A$ ELSE GOTO 30

71. 55 REM REM

72. 100 LET P$ = X

73. 123 LOCATE 35, 90 : PRINT “PAKISTAN”

74. 999 PRINT TAB (90) STRING$ (120, “-“

75. 50 N$ = RIGHT$ (C$, 3)

76. 7 A = LET M +1

77. 10 LPRINT = A, B, CAT

78. AN INPUT “STUDENT ROLL NUMBER “;SRN

79. 8 SCREEN: COLOUR A, B

80. 41 C = 10 TO 20 STEP 2

81. 100 GOTO 4

82. 265 IF W$ = “YES” THEN STOP

83. 2C LINE (20, 50) – (300, 150) ,2

84. PRINT A$ , B$, C

85. 10 PRINT 5(2 + 7)

86. 20 PRINT 8x8

87. 20 PRINT X = 15

88. 20 PRINT NAME IS =; N$

89. 30 PRINT: PRINT

90. PRINT “PAKISTAN ZINDABAD”

91. 10 PRINT “TEMPERATURE =; T; C

92. 10 INPUT ‘CAPITAL IS =’ C$

93. 30 INPUT ENTER VALUES OF A, B AND C

94. 50 AND “PROGRAM IS FINISH”

Comments :

So far 0 comments on “IX Computer Karachi Board of Secondary Education BASIC Removal of Errors”

Post a Comment

Note: Only a member of this blog may post a comment.

 

© Copyright 2010-2015 Pk-Sites all rights reserved.

A category of .: SitesPk :.