Principles of Computer Science Daily Lessons - syllabus

January 2018
Date Warm-up Class Activities Objectives. SWBAT:
Go to second semester
  • Develop an original project that uses GUI elements with multiple listeners.
23 What is a global variable?
  1. Discuss imports with * and global variables.
  2. Finish your original GUI program. Check the rubric
22 True or false: An actionlistener responds to a click event.
  1. Look at 2 GUI button programs together and identify the structure and algorithms.
  2. Work on your original GUI program to be finished tomorrow. Check the rubric for points.
       
19 Describe the GUI elements on this app
  1. What are some elements of the code for the app in the warmup?
  2. Review elements on page 11 with this crossword.
  3. Start your original GUI program.
  • Identify common classes and methods
  • Begin design of an original program
18 How is a link on a web page like a button on a GUI panel?
  1. Look at a free online app maker. (appy, bobile, buildfire, or others) Try it out. Grab a screen shot of what you can create, put it on OneNote Class Notes and describe how it uses labels, images, text areas, buttons, etc. as part of the app.
  • Identify GUI features in mobile apps.
  • Use modern app development tools
17 What is the difference between instantiate and declare?
  1. Complete page 11: Lab02 multiple buttons
  2. Work alone or with a partner to create an original multi-button program.
  • Create program that uses multiple buttons and listeners.
16 How is a JTextArea different from a Jlabel?
  1. Review page 9: multiple buttons.
  2. Match GUI madlib code to pseudocode
  3. Finish GUI madlib
  4. Plan an original multi-button program on paper using Lab02 page 10 in the handout as a starting point. Do as homework if needed. Describe your program, draw the interface, Submit plan tomorrow.
  • Complete multi-textField program.
  • Plan a program that uses mutliple buttons.
       
12 Where should you go to find new features of Java?
  1. See how a textArea is different from a label.
  2. Finish GUI madlib.
  • Use a text area for multi-line output
11 Which is input and which is output of getText and setText?
  1. Remember madlib? How different would it be as a GUI program? Use the starter files in the GUI_Yourname folder to create your own Madlib GUI program.
  • Design a GUI program that uses mutliple textFields and string concatenation.
10 What does x.setText(""); do if x is a JLabel on a panel in a GUI?
  1. Hand in preprinted class notes.
  2. QUIZ. You can use your notebook.
  3. Copy the starter files from Handout/OC/PCS to your H: drive in a GUIYourName folder.
  • Demonstrate basic Java GUI concepts.

Does anybody have a parent who'd like to be part of the county CS PAC? It's next week 1/18, tell them to email me if they're interested.

~ * ~ * ice day * ~ * ~

8 Where does the actionPerformed method go?
  1. More about random numbers. random questions
  2. One more quiz review. Review GUI notes. Kahoot.
  3. Copy any notes you want into your notebook. Hand in notes done in class.
  • Review for quiz tomorrow.
~ * ~ * snow days * ~ * ~
3 What range of values will Math.random()*10 give?
  1. Do the GUI quiz review for the quiz on Friday.
  2. Do this interactive GUI matching exercise and show for points
  3. Use the API to complete the questions at the bottom of the square root worksheet
  4. Finish your square root program or try out this Challenge program:, you'll need to go to FinchRobot and find out where to download the .jar file to make the robot work.
  • Review frames, panels, labels, textfields, and buttons.
2 What is the difference between a GUI label and a text field?
  1. Review GUI elements. do the square root worksheet
  2. Create the square root program together.
  • Use text fields for input
  • Convert between different variable types
  • Print code with comments.

happy new year

December 2017
Date Warm-up Class Activities Objectives. SWBAT:
22 What color is rgb(255,0,0)?
  1. Look at text fields
  2. How to convert from numbers to text
  3. Show what you know about GUI elements.
  4. Preview The square root program.
  5. Add comments with your name and at least 3 meaningful comments then PRINT out your fortune telling Panel.
  • Use text fields for input
  • Convert between different variable types
  • Print code with comments.

 

21 What is a Listener?
20 How do you get a random number in Java?
  1. Complete the fortune telling program. (7/10 to select from 5 fortunes, +1 to add the smile/frown, +2 to add your own 5 unique pictures to match each fortune.)
  • Change pictures to match words.
  • Use random choices.
19 How is making multiple buttons different from making multiple frames?
  1. Review key elements in the random button program.
  2. Create the fortune telling program. Use incremental design.
  • Create labels with pictures on them.
  • Choose a random fortune from 5 choices.
18 What 3 steps will make a working button?
  1. Match GUI terms. (use your notes and repeat until all are correct)
  2. Look at how to add a random color button that will pick one of 3 possible different colors for the panel background.
  3. Finish the random button program. (8/10 to get random button working, 10/10 with the additional color button)
  • Choose color based on a random number generator.
  • Create multiple listeners for multiple buttons
       
15 What does GUI stand for?
  1. Discuss constructors, events, listeners and random numbers in this game example. Connect to Java.
  2. Fill in notes about buttons, GUI components and events.
  3. Create the random button program
  • Create a program with a button, event and listener that uses random numbers.
14 What is the rgb code for yellow?
  1. Look at processing commands from the viewpoint of the computer. Follow the steps given by pressing the arrow keys on your keyboard. How far can you get? Paste a screenshot onto the ComputeIT page in Class Notes in OneNote
  2. Finish graffiti programs (on paper) and window panes.
  • Complete programs
  • Step through coding directions from a computer perspective.
13 What color is rgb(0,0,255)?
  1. Review code for GUI graffiti.
  2. Learn about constructors and parameters.
  3. Create window panes with GUI frames.
  • Create a class with a constructor
  • Create multiple frames at different positions with different background colors
12 Which is true: a frame is in a panel or a panel is in a frame?
  1. Match the modifications to the results.
  2. Predict what will happen in this program:
  3. Learn about color codes in programming. Fill in notes.
  4. Complete the GUI graffiti program. If finished, make a pop up program and experiment with the settings for a JFrame. (use the Java API)
  • Change font, style, color of GUI elements.
  • Create custom colors.
11

Which is true: a panel creates a driver or a driver creates a panel?

  1. Create the GUI graffiti program in Dr. Java or the IDE of your choice. Copy and modify your Panel00 and Driver00
  • Modify a GUI interface
  • Use GUI terms
       
8 How many numbers will this loop print out?
for ( int x = 50; x >32 ; x -=10 )
  1. Go over and finish the countdown and cheer programs in a local IDE. Save - Compile - Run
  2. What is a GUI? look at panels and drivers.
  3. Create the GUI program with the Panel and Driver
  • Create a GUI interface
  • Define GUI terms
7 How many numbers will this loop print out?
for ( int x = 5; x < 22 ; x +=5 )

HOUR OF CODE

  1. Create an original 3d design using loops in BlocksCAD. (2nd period only) American flag with code, fence, brick wall, flowerpot with flower , modern designs to modify (Project, load blocks)
  • Use code and loops to create objects in 3D
6 Put these 3 steps in the right order:
Compile, Save, Run
  1. Look at the odd/even program together. Finish yours.
  2. Quiz
Tomorrow: Hour of Code
5 What is the output of this loop?
for ( int j = 10;  j >5; j-- ) { 
    k = j /2; 
    System.out.print( j + " " + k + " " ); 
  1. Review for tomorrow's quiz.
  2. Create the countdown program in a local IDE.
  3. Go over the odd/even loop program.
  • Code, compile and run a program in a local IDE
4 What are all the possible results of x % 5?
  1. Fill in these notes in OneNote to review together tomorrow to get ready for the for loop and equation quiz on Wednesday
  2. Finish the odd/even loop program in repl.it. Use your sheet on pseudocode to the code and the step by step instructions
  • Review for loops and equations
       
1 Write the code that says if x is an even number print "even".
  1. Match the pseudocode to the code.
  2. Work on the odd/even loop program in repl.it.
  3. Challenge: create the triangle in repl.it
  • Match code to pseudocode
November 2017
Date Warm-up Class Activities Objectives. SWBAT:
30 What is System.in?
  1. Review the basics of Java code. (show for points)
  2. Do this interactive exercise on loops (show for points)
  3. Create the odd/even loop program in repl.it. Translate the pseudocode into code using these step by step instructions if you want help..
  4. Challenge: create the triangle in repl.it
  • Use loops with initializer, increment and conditions
29 Write a loop to print 5 stars.
  1. Review practice loops feedback from yesterday.
  2. Look over details on loops together up through question 7
  3. Finish a name tag using input, loops and output in repl.it
  4. Create the odd/even loop program in repl.it
  5. Challenge: create the triangle in repl.it
  • Identify initializer, increment and condition needed for various for loops.
28 Write the code to create a whole number variable called age that is equal to 15
  1. Complete notes on arithmetic expressions
  2. Evaluate some practice loops
  3. Create a name tag using input, loops and output in repl.it
  4. Challenge: create the triangle in repl.it
  • Use input/output/processing and loops in Java
27 Write the statement to print out "hello" in Java
  1. Complete the CodeHS Hour of Code in Java. Show your Mad lib.
  • Use print, variables and concatenation in Java
       
21 Many thanks for the good feedback from yesterday. If you didn't submit any feedback yesterday, why not?

Help get ready for the hour of code in December. Complete and review at least 2 complete Hour of Code activities over the next 2 days. Fill out the feedback form for each one. Keep track of how long it takes to finish each activity.

  1. Virtual reality worlds (VR goggles will be available Tuesday)
  2. Climate science code
  3. MATLAB shortest distance challenge (engineering and math)
  4. JavaScript Hero
  5. Compose music with code
  6. Develop apps with React native
  7. 7 features of C++ for cool code
  8. Code Strikers: Code a bot
  9. Build an arcade game
  10. Could you code with your eyes closed? Quorum is a language for blind students, Try this hour of code using headphones and find out. (also a Quorum astronomy activity)
  11. Coding in Java with CodeHS
  12. The physics of video games
  13. Manipulating images
  14. Simulate a solar eclipse
  15. Game Builder
  16. Counter Hack game
  17. Code in the news
  18. Karel in Spanish
  19. Multi-lingual introduction to coding.(intro video is in English, switch languages for coding at the bottom left)
  • Evaluate interactive activities that use coding.

 

Fill out a feedback form for each one you try.

20 What happens when you print out "\t"?
       
17 What method do Java programs start with?
  1. Review Java printing and escape sequences. Create a mug with a handle using at least 2 escape characters with your name on it in repl.it
  2. Add notes about Java variables , input and loops.
  • Create Java programs that print using escape sequences.
  • Write code to declare variables, accept input, and produce output.
16 What is different between Java and JavaScript translating code to machine language?
  1. Join the repl.it class. Username= LastnameFirstname, Use your school email @ccboe.com and password, Use your real name.
  2. Create a program that says "Hello world". Include at least 1 comment.
  3. Run this "Hour of Code" activity with Robbie the robot. Look for differences between Java and JavaScript. Enter your feedback on this form.
  • Create a printing Java program.
15 What possible numbers could come from Randomize(5,7)?
  1. Compare the first 10 features of Differences between JavaScript and Java.
  2. Put all your color designs, house and balloons in OneNote to turn in for points. Inlcude code for the color design and house.
  • Compare language features
  • Document project work
14 How do you create animation using the function anim that changes four times each second.
  1. Match code to comments to create an ever-changing boquet of balloons.
  2. Houses with original features and animation in OneNote with colorful code designs are due today.
  • Match code to comments to create a working program.
13 What are the coordinates of the line that will complete this star?star
  1. Review code to create designs. Code and add color to one of the designs in a JavaScript Graphics Sandbox program in CodeHS ( Clever )
  2. Review animation and getter/setter functions.
  3. Animate 2 features of your house (change color, move, setPosition)
  4. Screenshot and paste pictures of your colorful design and animated house with the code on the OneNote Colorful Designs page in Unit 1.
  • Add color and animation to calculated designs.
  • Document designs and code in OneNote
       
8 & 9

8: What code will put the word "Excellent" in the middle of the Canvas using setText? 

 

9:  What code will draw a line from the top left corner of the canvas to the bottom right corner of the canvas?

  1. Complete the code to create these designs. (see the 2 exercises below, papers are on the front desk)  Put the papers in your folders.
  2. Use the documentation in CodeHS to see how to draw a line. Make a new JavaScript Graphics Sandbox program named HOUSE. Follow the directions to draw a house by filling in the missing numbers in the JavaScript Graphics Sandbox
  3. Add at least 3 extra features to your house: window, fence, tree, etc. 
  • Combine text, shapes, and lines to create designs using JavaScript graphics.
7 What does the number 25 represent in
var c = new Circle(25);
  1. Finish the review of JavaScript Graphics. (side 2)
  2. Complete the code to create these designs.
  3. Finish CodeHS ( Clever ) In Javascript and Graphics on using Graphics in JavaScript. (Last assignments for quarter 1)
  • Combine shapes created with code
6 What code will create a square that is 100 pixels across?
  1. Review JavaScript Graphics. (side 1)
  2. Evaluate MadLib projects. Complete reflections.
  • Create designs with multiple shapes.
  • Evaluate projects with functions, loops, conditionals, input and output
       
3 What function is used to find out how wide the drawing screen is?
  1. Finish the lesson in CodeHS ( Clever ) In Javascript and Graphics on using Graphics in JavaScript
  • Use JavaScript graphics to create designs.
2 Why are global variables used?
  1. Do lesson in CodeHS ( Clever ) In Javascript and Graphics on using Graphics in JavaScript
  • Create simple graphics using shapes in JavaScript
1 What does if(answer==1) mean?
  1. Use these notes to help finish your MadLib program. Be sure to complete everything in OneNote on the planning sheet
  • Use functions, loops, conditions, input and output to create a working program.
October 2017
31 What function is used to input words?
  1. Review the flowchart for a MadLib program that lets you play as long as you want and have a choice of different sentences.
  2. Finish the planning sheet in One Note for the MadLib program.
  3. Work on the MadLib program with your partner. If you are collaborating you can submit one program together, else you'll each have to create your own. See an example
Mr Wathen will be here for the next 3 days while I am at a meeting. All work will be on OneNote and mrs-o-c.com each day and will be due the day it is assigned unless otherwise noted.
30 What function is used to input a whole number?
  1. New seats. Look at a demo of input/output.
  2. Pair programming activity Mad Libs Phase 1. Create a program that asks for words and then fills them into sentences to make funny stories. (multi-day project) start by filling out the planning sheet in One Note (each person fills out a MadLib sheet)
  • Plan and develop a program that uses input, processing and output.
       
27 What is a variable in JavaScript?
  1. Complete notes on JavaScript input/output and variables. Look at how digits and characters are stored in binary ASCII code.
  2. Work on input in CodeHS ( Clever ) in the Javascript and Graphics section. Discuss this example of input and output
  • Document JavaScript code for input, output and variables.
26 What classwork did you complete yesterday?
  1. Either complete yesterday's classwork below or do the virtual reality in training current event reflection.
  • Describe connections to technology and current events in virtual reality.
25 What 2 objects are in all animation programs in CodeHS JavaScript?
  1.  Change of plans. Work on CodeHS ( Clever ) section on Javascript and Graphics, hello world and variables. Watch the videos too.
  • Create text JavaScript programs with output and variables.
24 What is a global variable?
  1. Review OOP terminology in the growing circle program
  2. Complete the growing circle program.
  • Identify OOP vocabulary
  • Complete code that uses conditionals and animation
23 How do you get a random number to represent the roll of a die?
6 sided die
  1. Copy down object vocabulary, circle functions, random functions, color functions and timer code in notebooks.
  2. Read the documentation to see how lines are drawn in JavaScript graphics.
  3. Analyze the Spinner example 7.2.4 together. Mark up the code and experiment.
  4. Complete the growing circle working in pairs. Modify it to shrink and grow in the sandbox.
  • Document object oriented vocabulary
  • Draw lines in graphics
       
20 How often will the function update be called?
setTimer(update,500);
  1. Explore Random circles together.
  2. Do Animation and Games Random Circlesup to 7.2.3 in CodeHS ( Clever )
  • Use getter and setter functions for objects like Circle, Timer, Color
  • Use random values with animation

19

What could have a positive effect on jobs of the future?

  1. Explore sample code using a timer and animation.
  2. Do Animation and Games Timers in CodeHS ( Clever )
  • Create animation with timers

18

Rewrite this code with proper indents:
while(ballsPresent){
takeBall();
if(frontIsClear())
move();}

  1. Watch the TED talk about the future of work. Fill in the notes in OneNote in the Class Notes section.
  • Consider how technology could change the workforce of the future.
17 What are the 3 parts of a for statement?
  1. Quiz
  2. Finish How to indent your code in CodeHS ( Clever )
  • Demonstrate understanding of JavaScript code in Karel
  • Indent code to improve readability
16 What kind of loop is represented by this flowchart?
loop
  1. Quiz review for tomorrow:
  2. Finish More examples in CodeHS ( Clever )
  • Draw flowcharts for code
  • Write code for flowcharts
  • Code examples of loops
       
13 What is the difference between while and for loops?
  1. Plan a solution together for 1.13.4 Random Hurdles considering edge conditions.
  2. Plan a solution together for 2.1.3 Towers considering edge conditions.
  3. Change the 1.14.3 move tennis ball program to put down 2 balls for each ball that was there originally.
  • Consider edge cases
  • Choose the right loop for a problem
12 Write a loop to move until you reach a wall.
  1. Fill in these notes from the Control structures lesson.
  2. Finish the control structures lesson.
  • Combine control structures for problem solving.
11 for(var i=0;i<2;i++)
  if you took the PSAT today write PSAT
  else write in class
  1. PSAT testing.
  2. Complete this while loop puzzle program together with pair programming.
  3. Complete while loops in CodeHS
  • Solve a puzzle with loops using pair programming.
  • Program using while loops
10
if you're happy write good
     else write OK
if you're looking forward to 
     tomorrow write great
else write hanging in there.
  1. Complete examples of flowcharts to code.
  2. Compare for loops to while loops in code and flowcharts.
  3. Check that your CodeHS ( Clever ) is complete, if not, what help or support do you need?
  4. Visit the history of computers in VR
  • Experience a VR field trip.
  • Draw flowcharts to match code, write code to match flowcharts
  • Compare different iteration structures.
       
6
if today is Friday
     if you're happy write good
     else write OK
else 
     if you're looking forward to 
        tomorrow write great
     else write hanging in there.
  1. Investigate some advances in VR and how Java can create VR worlds, as well as new 3d scanners.
  2. Review flowcharts.
  3. Copy down examples of flowcharts to code.
  4. Work on while loops in CodeHS ( Clever ). .
  5. Find missing work for the original programming project.
  • Discuss current applications in VR
  • Translate flowcharts into code
  • Use while loops
5
if today is Friday write good
    else write great.
  1. Notebook: Write down examples of loops with conditionals.
  2. Review conditional statements in JavaScript.
  3. Complete the section on if/else statements in CodeHS ( Clever ). [do as homework if necessary]or continue to work ahead.
  • Write loops with conditions
4 What symbols mark the beginning of a comment?
  1. Notebook: Write down examples of common, useful, loops.
  2. Review, offer suggestions, and write reflections on original programs while taking a Gallery Walk.
  3. Complete the section on if statements in CodeHS ( Clever ). [do as homework if necessary]
  4. Original programming product due today. Check the rubric for points.
  • Write conditional statements.
  • Review and reflect on coding project
3 What is skeleton code?
  1. With partners: Arrange this code so it will work to solve the problem.
  2. Complete the code for your Original function and loop project. Paste as text onto OneNote PRODUCT page. Check the rubric for points.
  • Complete efficient code using FOR loops and functions

YOU WILL NEED YOUR NOTEBOOK TOMORROW

2 What is a precondition for the move() command?
  1. Review: Lots of Hurdles with for loops and functions.
  2. PRODUCT: Work with an elbow partner, as assigned, to design a reasonably complex world with a solution that includes at least 3 functions and 2 for loops. Hand in a paper plan with a sketch of the world, description of the program and functions.
  3. Create your world in CodeHS ( Clever ). Create skeleton code with only comments and empty functions. Screen shot and place in OneNote :: Unit 2:: PRODUCT functions and for loops.
  4. If you want to earn back quiz points: Do these JavaScript tutorials on your own and show me that you completed it. (CounterHack)
  • Use the design process to plan a program
  • Create skeleton code with comments
  • Document the design process
  • Collaborate on a design
September 2017
Date Warm-up Class Activities Objectives. SWBAT:
29 What will this code do?
for (int i=0;i<4;i++)
    turnLeft( );
  1. Practice writing pre and post conditions.
  2. Use for loops to solve the Long Stairs - program
  3. Review quiz.
  • Use for loops to solve problems
  • Write pre and post conditions
28 What are comments in code for?
  1. Review quiz by creating a climb the stairs program using at least 3 well named functions.
  2. Design an original world.
  3. Finish SuperKarel and do the lesson on for loops in CodeHS ( Clever )
  • Write loops that repeat a fixed number of times
  • Create an original World in Karel
27 Describe a way that you demonstrate integrity.
  1. QUIZ: commenting, top down design and functions.
  2. When finished, start the SuperKarel lesson in CodeHS ( Clever )
  • Demonstrate understanding of top down design, commenting and functions.
26 According to the syllabus, how much is an asssignment worth if it is one day late?
  1. Review yesterday's work.
  2. Review commenting code, functions, start function and top down design for the quiz tomorrow.
  • Review commens, top down design, and functions for tomorrow's quiz.
25 According to the syllabus, what percent of the class grade is based on product?
  1. Do the lesson on CodeHS ( Clever ) about Commenting Your Code
  2. Fill in the answers to the questions in OneNote Unit 2 Java: Commenting practice
  3. Read the article about commenting code and answer questions in OneNote Unit 2 Java: Commenting Article
  • Add comments to code
  • Distinguish useful comments from distracting comments.
       
22 Which function executes first in a Karel JavaScript program?
  1. Return signed syllabi.
  2. Review Karel JavaScript commands.
  3. Do the last problem on the function worksheet. Discuss top down design and program efficiency.
  4. Finish the first 6 lessons in CodeHS ( Clever ) Karel.
  • Develop using top down design.
21 Name a computer language we will learn in this class.
  1. Review the syllabus.Take home and return signed.
  2. Do this function worksheet together.
  3. Complete the start function and top down design with CodeHS ( Clever ) Karel.
  • Develop flexible functions
  • Include all code in functions
20 Why is the CS traveling problem hard to solve?

County Pre-Test

  1. When finished, log in to Office 365 and find the CodeHS page in your Class Notes in the OneNote notebook. Respond to any questions there.
county pretest
19 What is computational thinking?
  1. Summarize the example algorithms and reflect in OneNote class notebook.
Overview
 CS: Traveling - Add a screenshot of your best route through South Africa
 Humanities: Words Over Time - Add a screenshot of a comparison of 3 similar terms with your analysis.
 Math: Cellular Automata - Design a pattern that lasts at least 5 clicks. Add a screenshot.
 Science: Genomics
  • Capture examples of algorithms at work.
  • Explain the value of solving complex algorithms

Pretest will be tomorrow

18 How can you earn warm-up points for a day you were absent?
  1. What is computational thinking? How does it apply to different areas?
  2. Explore algorithms and reflect in OneNote class notebook.
  • Define computational thinking
  • Experiment with examples of algorithms.

Pretest will be Wednesday 9/20

       
14 How can Karel reverse direction?
  1. Consider a logic challenge together. Bebras Challenge. and the Congressional App Challenge,
  2. Log in through CodeHS or Clever and continue work.
  • Apply logic to problem solving
  • Consider challenges
  • Write code for JavaScript .
13 List 2 of the 4 Karel commands
  1. Apple just announced facial recognition and AR on screen for the new Apple phone. What algorithms might be involved?
  2. Look over the Karel Javascript language summary.
  3. Review Make a Tower together.
  4. Log in through CodeHS or Clever
  • Describe algorithms in new technology.
  • Use JavaScript to create repeated commands.
12 Define a recursive procedure.
  1. Join the CodeHS classroom
  2. Do the introduction, quiz and first program.
  3. Discuss features that are the same/different from LightBot to Karel JavaScript.
  • Use JavaScript to call methods to move an object on screen.

Pretest will be Wednesday 9/20

11 What makes a solution efficient?
  1. Define recursion.
  2. Discuss solutions to LightBot loops together 3-1 and 3-3
  3. Solve Lightbot Loops
  • Define recursion
  • Write algorithms to describe recursive solutions
  • Code recursive solutions
 
8 In what way is a computer literal?
  1. Review problem solving for medal winners
  2. Write pseudocode for Lightbot puzzles. Work through a simple U turn and a zig zag together. Compare solution efficiency
  • Express an algorithm as pseudocode
  • Evaluate solutions for efficiency

Class assemblies today

7 Define algorithm
  1. Solve the problem together about medal winners.
  2. See how many puzzles you can solve in LightBot (on Handout Drive in PCS). Document the concepts and vocabulary that are covered.
  • Apply logic to problem solving.
  • Use symbolic code to control a virtual robot using sequence and functions.

Events today during 2nd(fire drill) and 6th (PRIDE fair)

6 Describe something using a computer that is NOT computer science
  1. Write your first name on your name tent in large print. (Use the name you want to be called: first name or nick name)
  2. Write and decorate your first name on your folder
  3. Design and compare algorithms to create a secure password for any website.
  4. Solve one logic puzzle together, then solve one on your own or with a partner
  • Design a useful algorithm
  • Use logic to step through a solution
5 Define Computer Science in your own words.
  1. Fill out index card with your schedule
  2. Introduction to class presentation
    Save notes for tomorrow.
  3. Oveview of what is covered in Principles of Computer Science
  • Describe basic class structure and rules
  • Describe basic classroom procedures

 

Plan a GUI program together to play a shell game and keep score. Use this multi-button program as an example

 

random help help with lab 5

random exercises for lab 5

look at great examples of javascript houses and java mugs.

Repeat a fixed number of times
for ( var i = 0; i< limit ; i++){     statements; }
 
Math + - * / %
28 Why do you think there are different languages for coding?
  1. Take notes on Java : math, methods and OOP
  2. practice more math. math in loops. create a program using math i/o/p.
  • Use input/output/processing and loops in Java

How to use the Java API

 

use calendar14q3 Jan 13 onward

Program using different types of variables,math, integer division and mod.

 

math shortcuts https://mrs-o-c.com/jh/mathShortcuts.html

 

Quick interactives

put countdown and cheer programs in repl.it

for loops in java interactive notes page https://mrs-o-c.com/jh/forLoops.html *** Friday

calendar13q4 has GUI as does calendar14q3.

quiz on java variables, types of variables i/o/if/loop/basic math. coach packet W3 quiz 1 offline
review for java test with video and notes

 

 

Java GUI

online textbook https://www3.ntu.edu.sg/home/ehchua/programming/java/j4a_gui.html starts with AWT and goes to Swing

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Join the CodeHS class.

Work as a row team to draw out the flowchart that decides your morning personality