1 / 16

programmieren des c asio FX-7400GII

programmieren des c asio FX-7400GII. Von Benjamin Altmayer. Gliederung. Was ist ein Programm? Syntax des GTR Eingaben (?) Ausgaben (Text) Übungen (Rechnen mit Variablen) Eventuell: (1) Textdisplay ( Locate ) Übung: ( Getkeyanzeige )

Télécharger la présentation

programmieren des c asio FX-7400GII

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. programmierendescasio FX-7400GII Von Benjamin Altmayer

  2. Gliederung • Was ist ein Programm? • Syntax des GTR • Eingaben (?) • Ausgaben (Text) • Übungen (Rechnen mit Variablen) Eventuell: (1) • Textdisplay (Locate) • Übung: (Getkeyanzeige) • Übung: (Laufender Ball) Eventuell (2): (Ohne Powerpoint) • Grafikdisplay (Draw) • Übung (Kreise und Linien) • Spiel: Thron(Snacke)

  3. Was ist ein Programm?

  4. Was ist ein Programm ? • Software • Folge von Anweisungen in einer Programmiersprache Code -> Programmiersprache -> Maschinencode

  5. Syntax des GTR

  6. Syntax des GTR Nur 28 Variablen (A-Z + 2 Sonderzeichen) Variablen können nur Zahlen beinhalten Variablen setzen: 100->A (Pfeil über AC/ON) Übertragen in andere Varaible: A->B Programmiermenü: SHIFT -> VARS -> COM

  7. Syntax des GTR While-Befehle brauchen kein „Then“

  8. Eingaben Benutzereingabe einer Variable mit ?->[] Einfügen eines Fragetextes ist möglich „Anzahl:“?->Z

  9. ÜbungZahlenrechner Schreibe ein Programm, welches eine Zahl vom Benutzer abfrägt und zu ihr 100 addiert

  10. ÜbungNotenrechner Schreibe ein Programm, welches den Durchschnitt vom Benutzer eingegebener Zahlen ausrechnet.

  11. Zufallsgenerator OPTN -> PROB -> RAND -> Int RanInt#( A = MIN B = MAX RanInt#(A,B)

  12. Eingaben Knopfdrücke: Jeder Knopf hat eine eigene Nummer Getkey->[] (I/O -> Gtky) (Wenn kein Knopf gedrückt: Getkey = 0)

  13. ÜbungTaster Schreibe ein Programm, um die geradegedückte Taste auf dem Dsiplay auszugeben

  14. Textdisplay Locate(I/O -> Lcte) Locate X,Y,Z Textdisplay: X = 21 Zeichen Y = 7 Zeilen (Eigentlich 8)

  15. ÜbungBall Lasse mithilfe von Getkey und Locate einen Ball über den Bildschirm laufen

  16. Danke für eure Aufmerksamkeit!

More Related