SHARE
TWEET

1HGJ quiz

a guest Oct 12th, 2019 85 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. You'll have to type the program in just like the eighties :)
  2. Type every line beginning with a number in this emulator and then type run.
  3. Use the LIST [line number] to retype lines in case of syntax error.
  4. https://virtualconsoles.com/online-emulators/c64/
  5.  
  6. 10 PRINT "WHAT IS YOUR NAME?"
  7. 20 INPUT A$
  8. 30 PRINT "WELCOME TO THE C64 QUIZ, " A$
  9. 40 PRINT "WHAT YEAR WAS THE COMMODORE 64 RELEASED?"
  10. 50 INPUT B$
  11. 60 IF B$="1982" GOTO 70
  12. 65 GOTO 500
  13. 70 PRINT "GOOD!"
  14. 80 PRINT "WHAT PROCESSOR NUMBER DID THE C64 USE?"
  15. 81 PRINT "6510"
  16. 82 PRINT "9905"
  17. 83 PRINT "6502"
  18. 84 PRINT "8086"
  19. 90 INPUT B$
  20. 100 IF B$="6510" GOTO 110
  21. 105 GOTO 500
  22. 110 PRINT "GOOD!"
  23. 120 PRINT "HOW MUCH KB RAM DID THE C64 HAVE?"
  24. 130 PRINT "128"
  25. 140 PRINT "64"
  26. 150 PRINT "69 (NICE)"
  27. 160 INPUT B$
  28. 170 IF B$="64" GOTO 180
  29. 175 GOTO 500
  30. 180 PRINT "GOOD!"
  31. 190 PRINT "YOU HAVE WON THE QUIZ. CONGRATULATIONS " A$
  32. 200 STOP
  33. 500 PRINT "YOU FAILED, TRY AGAIN"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top