260 likes | 408 Views
Real World Programming. BBrewer Fall 2013. Programming - Bellwork. Log on Go to edmodo Open & Save Vocabulary Graphic Organizer and Analaysis Document Keep edmodo OPEN – just minimize. Programming - Activator. Superpower Video!
E N D
Real World Programming BBrewer Fall 2013
Programming - Bellwork • Log on • Go to edmodo • Open & Save Vocabulary Graphic Organizer and Analaysis Document • Keep edmodo OPEN – just minimize
Programming - Activator Superpower Video! http://www.youtube.com/watch?v=dU1xS07N-FA&edufilter=oSb3mzqNjRLVa-k_WUo0PA&safe=active
Key Learning Knowing how to read a computer program and translate it into English is an essential programming practice.
Unit Essential Question What are the elements of a basic computer program?
Lesson Essential Question How is a basic computer program structured?
Lesson Essential Question What type of commands are used in a basic computer program?
Lesson Essential Question How can I determine if there is an error in the computer program?
Vocabulary Source Code Algorithm Variables Comments String Syntax Debugger Bugs Iteration Program Boolean Function Condition Constant Loop If Statements Pseudocode
Bellwork To Be Turned In: • Polices and Procedures PowerpointBbrewer Shared Folder • Get to Know You Document Bbrewer Shared Folder • Quiz edmodo – Policies and Procedures
Activate…Can you translate in English??? <!DOCTYPE html> <html> <body> <p>Click the button to display a confirm box.</p> <button onclick="myFunction()">Try it</button> <p id="demo"></p> <script> function myFunction() { var x; var r=confirm("Press a button!"); if (r==true) { x="You pressed OK!"; } else { x="You pressed Cancel!"; } document.getElementById("demo").innerHTML=x; } </script> </body> </html>
Let’s Test your Theories… http://www.w3schools.com/js/tryit.asp?filename=tryjs_confirm
Program: Collection of instructions that can process input and produce output when run by a computer.
Syntax: Rules of how code is ordered in programming language.
Algorithm: Series of instructions to compute something.
Pseudocode: Brief explanation of code in plain English
Comments: Part of code that explains the process.
String: Values made up of text.
If Statement: code that asks questions which are only run by the computer if the statement is true.
Summary 1. Compare and Contrast different types of code: Details, Patterns, Generalizations 2. Label Comments, Algorithms, If Statements 3. Write Pseudocode for one of the programs.
Bellwork - Vocabulary Review • Comments • Algorithm • Source Code • Syntax • If Statement • String • Program • Pseudocode • Collection of instructions that can process input and produce output when run by a computer. • Rules of how code is ordered in programming language. • Text you type to write a program. • Series of instructions to compute something. • Brief explanation of code in plain English. • Part of code that explains the process. • Values made up of text. • Code that asks questions which are only run by the computer is the statement is true.
Bellwork - Vocabulary Review • Comments • Algorithm • Source Code • Syntax • If Statement • String • Program • Pseudocode • Collection of instructions that can process input and produce output when run by a computer. • Rules of how code is ordered in programming language. • Text you type to write a program. • Series of instructions to compute something. • Brief explanation of code in plain English. • Part of code that explains the process. • Values made up of text. • Code that asks questions which are only run by the computer is the statement is true.
Karel the Dog… CodeHS.com Sign Up! Individual Use ‘home’ email – write in class folder! Password – write in class folder!