1 / 18

V2012.13

V2012.13. Agenda. Old Business Delete Files New Business Week 16 Topics: Intro to HTML/CSS Questions? Tech Club Forums Introduction to Programming 2 (Review) Introduction to Programming 3. HTML/CSS Class. QUESTIONS?. Tech Club Forums.

orsen
Download Presentation

V2012.13

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

  2. Agenda • Old Business • Delete Files • New Business • Week 16 Topics: • Intro to HTML/CSS • Questions? • Tech Club Forums • Introduction to Programming 2 (Review) • Introduction to Programming 3

  3. HTML/CSS Class QUESTIONS?

  4. Tech Club Forums • Ask questions, offer suggestions, share info • Check it out: • http://ahstechcrew.org/forums/

  5. Intro to Programming 2 Review • API • Algorithm • Array • Boolean • Character • Code/Source • Constant • Data Types • Debug • Floating Point • Git • GUI • Integer • Literal • Object Oriented • Scripting Language • SDK • String • User Interface • Variable • Virtual Machine

  6. Intro to Programming 3 • Additional Key Concepts • Intro to Scratch • Write First Program

  7. Intro to Programming 3 • Intro to Scratch • Additional Key Programming Concepts • Write First Program(s)

  8. Intro to Scratch • Scratch is a programming language that makes it easy to create your own interactive stories, animations, games, music, and art -- and share your creations on the web. • Develop important design and problem-solving skills • Learning how to think creatively • Reason systematically • Work collaboratively • http://beta.scratch.mit.edu/

  9. Intro to Scratch

  10. Intro to Scratch • Statement • Simply a directive that tells the computer to do something. Think of it as a command or an instruction. • Boolean Expression • Either true or false • Condition • Something that must be true in order for something to happen

  11. Intro to Scratch • Loops • Induce multiple executions of statements • Variables • Placeholder for some value, much like x and y are popular variables in algebra • Thread • A mini-program within a program that can execute at the same time as other threads

  12. Intro to Scratch • Event • Multiple threads can communicate with each other by signaling events and handling events • An event, then, is like a message from one thread to another • Signalers • Handlers

  13. Steps to Writing a Program • Gather requirements • Choose a programming language • Writea program • Compilethe program* • Runor Executethe program • Debugthe program • Repeatprocess until the program is completed *Depending on the language, you may not need to compile your program.

  14. Let’s Write a Program! Write a program that outputs “Hello World!” • Gather requirements • What approach should I take? • What do I need for this program?

  15. Let’s Write a Program! Write a program that asks for the users name, the displays it. • Gather requirements • What approach should I take? • What do I need for this program?

  16. Let’s Write a Program! Write a program that adds two numbers • Gather requirements • What approach should I take? • What do I need for this program?

  17. Let’s Write a Program! Write a program that prompts the user for his/her name, display the name, then adds two numbers the user inputs, display the results. • Gather requirements • What approach should I take? • What do I need for this program?

  18. Let’s Write a Program! Write a program that prompts the user for his/her name, display the name, then adds two numbers the user inputs, display the results. Then ask if the user wants to add more numbers, if yes, add more numbers, if no, quit. • Gather requirements • What approach should I take? • What do I need for this program?

More Related