11.07.2015 Views

Here - 1000 BiT

Here - 1000 BiT

Here - 1000 BiT

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Run <strong>1000</strong>0 REM ::: CLOCK :::10020TI$="120000":REM NOON10025 PRINT "clr"10029 PRINT "hm dn dn rt rt11;10030 PRINT LEFT$(TI$,2);II:";MID$(TI$,3,2);":";RIGHT$(TI$,2)10035 GOTO 10029You set the clock with an INPUT TI$. We used large line numbers so you can put theselines into programs which need a time of day clock. The clock runs off the "jiffy clock"and will stop during the time you do tape LOAD and SAVE.Assignment 26:1. Write a secret cipher making program. You give it a sentence and it finds how long itis. Then it switches the first letter with the second, third with the forth, etc. Example:THIS IS A TEST. becomes:HTSIISAETTS.2. Write a question answering program. You give it a question starting with a verb and itreverses verb and noun to answer the question. Example:ARE YOU A TURKEY?YOU ARE A TURKEY.3. Write a PIG LATIN program. It asks for a word. Then it takes all the letters up to thefirst vowel and puts them on the back of the word, followed by AY. If the word startswith a vowel, it only adds LAY. Examples:TURKEY becomes URKEYTAYADAM becomes ADAMLAY4. Write a program which speaks "double dutch." It asks for a sentence, then removesall the vowels and prints it out.5. Write a program which uses GET to get a letter A to C to use in a menu. Change theletter to a number 1 to 3. Then use the ON... GOTO command to pick which menuitem to do.6. Add to the clock program so the user can set it. You need anINPUT Tl$statement. Don't forget to help the user with PRINTed instructions.150

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!