AHS-TechClub-041613x - Avon High School Tech Crew

nostalgicisolatedΛογισμικό & κατασκευή λογ/κού

4 Νοε 2013 (πριν από 4 χρόνια και 4 μέρες)

60 εμφανίσεις

V2012.13

2

Avon High School Tech
Club

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

Avon High School Tech
Club

HTML/CSS Class

QUESTIONS?

4

Avon High School Tech
Club

Tech Club Forums


Ask questions, offer suggestions, share info


Check it out:


http
://ahstechcrew.org/forums
/

5

Avon High School Tech
Club

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

Avon High School Tech
Club

Intro to Programming
3


Additional Key Concepts


Intro to Scratch


Write First Program

7

Avon High School Tech
Club

Intro to Programming
3


Intro to Scratch


Additional Key
Programming Concepts


Write First Program(s)

8

Avon High School Tech
Club

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


R
eason systematically


Work
collaboratively


http://beta.scratch.mit.edu/

9

Avon High School Tech
Club

Intro to Scratch

10

Avon High School Tech
Club

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

Avon High School Tech
Club

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

Avon High School Tech
Club

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

Avon High School Tech
Club

Steps to Writing a Program

1.
Gather
requirements

2.
Choose
a programming
l
anguage

3.
Write

a
program

4.
Compile

the
program
*

5.
Run

or
Execute

the program

6.
Debug

the
program

7.
Repeat

process
until the program
is completed

*Depending on the language, you may not need to compile your program.

14

Avon High School Tech
Club

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

Avon High School Tech
Club

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

Avon High School Tech
Club

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

Avon High School Tech
Club

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

Avon High School Tech
Club

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?