Skip to main content

Posts

Showing posts with the label Computer IX Note

True and False (Computer Note IX Class)

Write True or False for the following sentences: 1. The central processing Unit (C.P.U) is the brain of computer system. 2. Logical errors are caused by faulty program designs. 3. Diamond-shaped symbol in program flow chart is used for decision points. 4. Dot Matrix printers are non-impact printers. 5. Data stored in ROM can be changed. 6. Impact printers work by hitting an inked ribbon against the paper, 7. High level language is used to convert the source program into object program. 8. Mark-1 is the first Digital Computer. 9. ROM stores data or program permanently and RAM stores data or program temporarily. 10. A set of bits considered as a unit, normally consisting of 8 bits is known as Byte. 11. Abacus is an early Electro-Mechanical device for counting. 12. Software comprehends computers programming languages; translates application programs and operating systems programs. 13. Mark-I is the first digital computer. 14. First microprocessor chip I...

BASIC Removal of Errors (Computer Note IX Class)

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 ...

Output of BASIC Programs (Computer Note IX Class)

Write down the output of the following BASIC Programs: 1. 10 READ J, K, L 20 FOR I = J TO K STEP L 30 PRINT I 40 NEXT I 50 DATA 2, 10, 3 60  END 2. 10 CLS 20 FOR I = 1 TO 10 30 PRINT I, “MY NAME” 40 NEXT I 50  END 3. 10 READ A, B, C 20 FOR I = A TO B STEP C 30 PRINT I 40 NEXT I 50 DATA 2, 10, 2 60  END 4. 10 CLS 20 INPUT U, V 30 LET W = U + V 40 LET Y = W * V 50 LET Z = Y/U 60 PRINT U, V 70  PRINT  W, Y, Z 80  END 5. 10 CLS 20 LET R = -2 30 FOR T = 2 TO 15 40 LET R = R + 1 50 PRINT R 60 NEXT T 70  END 6. 10 A = 5: B = 13: C = 931 20 C = 5 * A Ù B + B Ù 2/2 30 PRINT C 40  END 7. 10 FOR I = 1 TO 100 STEP 10 20 PRINT I 30 IF I = 10 THEN I = 100 40 NEXT I 50  END 8. 10 CLS 20 N$ = “ABDUS-SAMAD” 30 N1$ = LEFT$ (N$, 1) 40 N2$ = MID$ (N$, 5, 1) 50 N3$ = MID$ (N$, 8, 1) 60 N4$ = RIGHT$ (N$, 1) 70 NN$ = N1$ + N2$ + N3$ + N4$ 80 PRINT N...

Decimal to Binary (Computer Note IX Class)

Convert the following decimal numbers into their binary equivalents: 1. 211 2. 222 3. 333 4. 444 5. 0014 6. 1024 7. 100 8. 786 9. 909 10. 898 11. 386 12. 221 13. 116 14. 8 15. 19 16. 0418 17. 29 18. 333 19. 936 20. 0410 21. 312 22. 217 23. 111 24. 826 25. 999 26. 995 27. 894 28. 402 29. 25 30. 408 31. 1024 32. 001122 33. 801 34. 312 35. 235 36. 211 37. 765 38. 111 39. 0100 40. 26 41. 0 42. 55555 43. 6666 44. 3368 45. 765 46. 1750 47. 826 48. 12 49. 100 50. 1023 51. 4587 52. 69523 53. 8776 54. 328 55. 496 56. 507