Computer Science Daily Agendalogo_columbine_002.png

Computer Science AP Principles and Programming (Gray + Black assignments on this list)

Period 1, 2 & 4 | Bus-4 Lab

Remind Code:

Text a message to 81010

For Computer Science, text hansencs

For Graphic Design, text hansengfx

For Web Design text hansenweb

For Multimedia text hansenmult

For Digital Photo text hansenphot

CODE.org Class Accounts:

Per 1 → use code SPWGVR

Per 2 → use code PRWFCS

Per 4 → use code TCWEZD

Code Combat Class Accounts:

Per 1 → click code StopSleepRun

Per 2 → click code BoatFearRight

Per 4 → click code SideHidePaint

ARE THESE LEARNING HELP LINKS UNBLOCKED YET? Check

www.github.com | www.atom.io | www.emmet.io | www.brackets.io |

Java Quick Reference Sheet

Upon Completion of this Course, students interested in more Computer Science classes should consider one of the following certificated programs at Arapahoe Community College

Code Qwest Registration opens on January 29th. Students should probably sign up right away.  Competition is on April 21st. Teams are 2-3 students plus one coach. Rules are here: https://www.lockheedmartin.com/us/who-we-are/community/codequest/code-quest-official-rules.html.

 

SEMESTER TWO ASSIGNMENTS

Monday, January 8, 2018

Brochure → Who would be good in Computer Science?

Tuesday, January 9, 2018

Brochure → Who would be good in Computer Science?

Wednesday, January 10, 2018

  1. What is the “print” or “println” method in java? What does it do?
  2. 2. What are Java Turtles?
  3. Mix and Match Special Characters Java Functions → Special Characters… mix and match what the following java functions do. copy and complete the chart for today’s assignment and then match the correct letter with the green character description at left.

1. ___ Marks the beginning of a comment

2. ___ Used in a method header

3. ___ Encloses a group of statements, such as the contents of a class or method

4. ___ Encloses a string of characters, such as a message that is to be printed on the screen

5. ___ Marks the end of a complete programming statement.

a. ; Semicolon

b. { } Opening and Closing Braces

c. // - Double Slash

d. ( ) Opening and closing parenthesis

e. “ “ Quotation Marks

Thursday, January 11, 2018

20180111 → 2 Java ?s

1. Mix and Match Special Characters Java Functions → Special Characters… mix and match what the following java functions do. copy and complete the chart for today’s assignment and then match the correct letter with the green character description at left.

2. What are Java Turtles? Turtle is a special Java class that has methods to draw on the (Jurtle) canvas-like Display area.

1. ___ Marks the beginning of a comment

2. ___ Used in a method header

3. ___ Encloses a group of statements, such as the contents of a class or method

4. ___ Encloses a string of characters, such as a message that is to be printed on the screen

5. ___ Marks the end of a complete programming statement.

a. ; Semicolon

b. { } Opening and Closing Braces

c. // - Double Slash

d. ( ) Opening and closing parenthesis

e. “ “ Quotation Marks

INSTRUCTIONS

Copy and paste the ENTIRE Dr Java folder to your H-Drive

Open Dr Java > New > Save as: h-drive/Create For Practice/turtle.java

Download files: Box.java, BorderBox.java, FancyBox.java (help) & place in your Practice Folder with the file you just saved

Tuesday 1/23 AP Program Night at CHS at 6:30 pm → Break out sessions at 7 p.m.

Friday, January 12, 2018

Tuesday, January 16, 2018

How to draw a rectangle in Python Turtles:

  1. Find your Desktop > Python > Python 36-32 Folder that has Python (you have to run thru Idle Shell (aka a program that runs a program))
  2. Go to your Lib folder > idlelib folder and double-click
  3. Click idle in that folder
  4. File > New (to open a new shell)
  5. Save as “boxdrawing.py” in your Create For Practice folder
  6. Try a simple command like Print ‘Hello World’!
  7. Run > Python Shell
  8. Click File > New

There are many great Python resources on the web. Consider using the W3Schools Color Picker or Runestone’s Summary of Turtle Functions

  1. Start with this ref code:

from turtle import*

speed (50)

pencolor(#”0000ff””)

pensize(1)

If the color doesn’t work, consider using “black” or “0,0,0

  1. Save as > Run
  2. Where does this appear? How would you get it to draw within the turtle?
  3. Now, try to create a different shape
  4. How would we create a for loop that continues to draw shapes without us having to add the replicated code

Wednesday, January 17, 2018

How to draw a rectangle in Python Turtles:

  1. Find your Desktop > Python > Python 36-32 Folder that has Python (you have to run thru Idle Shell (aka a program that runs a program))
  2. Go to your Lib folder > idlelib folder and double-click
  3. Click idle in that folder
  4. File > New (to open a new shell)
  5. Save as “boxdrawing.py” in your Create For Practice folder
  6. Try a simple command like Print ‘Hello World’!
  7. Run > Python Shell
  8. Click File > New

There are many great Python resources on the web. Consider using the W3Schools Color Picker or Runestone’s Summary of Turtle Functions

  1. Start with this ref code:

from turtle import*

speed (50)

pencolor(#”0000ff””)

pensize(1)

If the color doesn’t work, consider using “black” or “0,0,0

  1. Save as > Run

  1. Where does this appear? How would you get it to draw within the turtle?

  1. Now, try to create a different shape

  1. How would we create a for loop that continues to draw shapes without us having to add the replicated code

Thursday, January 18, 2018

Term

Definition

At Least 2 Benefits

Function

  •  

Abstraction

  •  

Top Down Design

  •  

Efficiency

  •  

If your name was submitted for JEFFCON, complete the Jeffcon Signup form ASAP!

Friday, January 19, 2018

Term

Definition

List 2 Benefits; How could it help?

Function

  •  

Abstraction

  •  

Top Down Design

  •  

Efficiency

  •  

Monday, January 22, 2018

Today’s Assignment :

Tuesday, January 23, 2018

Wednesday, January 24, 2018

20180124: Post YOUR LINK to your repl. Must include : a square + a circle (or arc) + 2 color minimum + 1 fill

Thursday, January 25, 2018

20180125: Post YOUR LINK to your repl. Must include : a square + a circle (or arc) + 2 color minimum + 1 fill

Friday, January 26, 2018

20180126: What is the difference between coding your repl in code.org versus repl.it? What is the major code difference? List two reasons.

Update grades

Complete your repl. Upload link to previous class Agenda Page (Weds or Thurs)

Monday, January 29, 2018

20180129: Answer the following questions about Algorithms → Answer the 10 ?s, then complete the chart

  1. Why do we need algorithms?
  2. How is designing an algorithm to solve a problem DIFFERENT from other kinds of problem solving?
  3. How do you design a solution for a problem so that is programmable?
  4.  What does it mean to be a "creative" programmer?
  5. How do programmers collaborate?
  6. What is Hexadecimal?
  7. What is a Library?
  8. What is a Parameter?
  9. Multiple Choice: What is an API?
  1. Abstract Programming Inheritance: The idea that abstractions in languages get “passed down” in newer View on Code Studio
  2. Artificial Parameter Intelligence: The idea that function parameters should be intelligent enough to “know” what you want as a programmer
  3. Application Program Interface: A well-documented library of functions provided in a programming language that helps to simplify complex programming tasks.
  4. Abstract Parameter Interface: A high-level description of the parameters a function accepts
  1. Multiple Choice: What is a function parameter? “para-meter” -- a measure of the distance between a function’s conception and implementation.
  1. A way to give input to a function that controls how the function runs.
  2. A collection of commands that can be used in a programming language.
  3. Another name for the purpose of a function.
  4. A named memory location.

Then, complete the chart explaining how do you code the following in JavaScript and Python

Code

arcLeft

arcRight

penWidth

penRGB

turnTo

moveTo

penColor

Call a function with parameters

JavaScript

Python

API - a collection of commands made available to a programmer Documentation - a description of the behavior of a command, function, library, API, etc. Hexadecimal - A base-16 number system that uses sixteen distinct symbols 0-9 and A-F to represent numbers from 0 to 15. Library - a collection of commands / functions, typically with a shared purpose Parameter - An extra piece of information passed to a function to customize it for a specific need Introduced Code arcLeft arcRight penWidth penRGB turnTo moveTo penColor Call a function with parameters

Tuesday, January 30, 2018

20180130: Answer the following questions about Algorithms

1. Why do we need algorithms?

2. How is designing an algorithm to solve a problem DIFFERENT from other kinds of problem solving?

3. How do you design a solution for a problem so that is programmable?

4.  What does it mean to be a "creative" programmer?

5. How do programmers collaborate?

6. What is Hexadecimal?

7. What is a Library?

8. What is a Parameter?

9. Multiple Choice: What is an API?

  1. Abstract Programming Inheritance: The idea that abstractions in languages get “passed down” in newer View on Code Studio
  2. Artificial Parameter Intelligence: The idea that function parameters should be intelligent enough to “know” what you want as a programmer
  3. Application Program Interface: A well-documented library of functions provided in a programming language that helps to simplify complex programming tasks.
  4. Abstract Parameter Interface: A high-level description of the parameters a function accepts

10.  Multiple Choice: What is a function parameter?

  1. “para-meter” → A measure of the distance between a function’s conception and implementation.
  2. A way to give input to a function that controls how the function runs.
  3. A collection of commands that can be used in a programming language.
  4. Another name for the purpose of a function.
  5. A named memory location.

11. Complete the chart explaining how do you code the following in JavaScript and Python

Code

arcLeft

arcRight

penWidth

penRGB

turnTo

moveTo

penColor

Call a function with parameters

JavaScript

Python

Wednesday, January 31, 2018

20180131: JEFFCON CONFERENCE

Thursday, February 01, 2018

20180201: Begin your Construct 2 game. Download. In one paragraph, describe what you were able to create today. In detail, list aspects of the stage, sprites, functions, timing, etc.

Create a game in Construct 2 or 3, Alice 3, HTML 5, www.playcanvas.com, https://code.tutsplus.com/articles/learn-html5-with-this-simple-avoider-game-tutorial--active-9653

Friday, February 02, 2018

20180201: FACT: Computer Science Diversity is important b/c it helps companies find solutions to problems. Diversity brings MANY solutions & error corrections more quickly. The CS Industry thrives on advancement; it cannot innovate if all the people working in it think the same. February is Black History Month. List and describe one Black American who has contributed to Computer Science as a Startup, Programmer or Inventor, or IT. What is their name? What did they do and how has it improved Technology today? Be prepared to share with the class

Monday, February 05, 2018

20180205: Computer Science Students → What is your Explore Performance Task for the AP test? To see how you will be scored, consider chart at the end of the Student Task Directions PDF 

  1. ________________When is it due?
  2. ___ How many hours are you given to make your Explore Performance Task?
  3. ___________________________________________Which language do you have to use?
  4. ___________________________________________What do you have to do?
  5. ___________________________________________How or what might you possibly submit your solution?
  6. ___________________________________________How do you prove it? What do you have to cite?

 20180205: Programming Students ONLY!!! → Create a grading sheet for your game. What does it need to have to be a good game? List 5 elements YOUR game should have that would make it fun for students to play many times over. See the BBC Bitesize & Plural Sight articles as examples.

Tuesday, February 06, 2018

20180206: 1) What is Big Data? 2) What is Moore’s Law? 3) What is the difference between a loop and a for loop?  MEMORIZE THESE for the AP Test!!! What is it? Why do you have to know it? How will you use this info? WHY ARE THESE terms IMPORTANT?

Term

Def

Why should you know?

How will you use it in CS?

Big Data

Moore’s Law

Loop and For Loop

Complete code.org thru Unit 4 Lesson 1 BIG DATA

Wednesday, February 7, 2018

Work on your Game → DUE FRIDAY FOR 100 PTS!!!

20180207: Game Tester Evaluation → Paste in your answers on your Google Assignment page → Either complete your chart here OR take a picture of your handout and then upload the photo

Developer Name →

1 - ___________________

2 - ___________________

3 - ___________________

1) What Platform did they use? Alice 3, Construct 2, HTML 5

2) What type of game was it? FPS? Avoid Maze? Platform? Other___

Rate Low - Mid - High for the following:

3) Rate the objective. How obvious was it?

4) Rate the objective. How easy was it to meet the objective

5) Rate the storyline. Was it clear?

6) Rate the graphics. Were they appropriate with the theme?

7) Fun. How would you rate your level of fun?

8) Difficulty. Is it a good blend of ability, where the user feels they can accomplish the goal but it isn’t too difficult they can never win?

9) Controls. Does it use arrow keys or letter-numbers?

10) Rate the Controls. Are the controls easy to control or too touchy?

Thursday, February 08, 2018

20180208: TWO QUESTIONS →

  1. What is an abstraction? What do abstractions let you modify?
  2. Why is it important to have Diverse Thinking in Computer Science (as opposed to GroupThink, described in 1984?

FILMING in RNN

Friday, February 9, 2018                                                                 COFFEE JAM TONIGHT at 5:30!!!
DUE TODAY: Your game!!!

Copy & paste your chart from Weds and email to Ms H for grade

20180209: REFLECT → What is the hardest part about Game Design? What makes it challenging? As a tester, Who’s game did you enjoy testing the most? Why? Is it a game you feel others would enjoy playing? Why?

Monday, February 12, 2018

Begin with Code.org Complete Unit 4, Lessons 3 & 4

20180212: From AP CS Principles Handbook (190) As we develop technology, we need to be careful to look forward and consider both the potential positive and negative outcomes of new technology. Read the article on Google Contact Lenses. What kind of data could be answered collected through the use of this technology?

Potential Positives

Potential Negatives

1.

4.

2.

5.

3.

6.

Tuesday, February 13, 2018

Work on your Game → DUE FRIDAY FOR 100 PTS!!!

20180213: What do you plan to do to improve your Game Sprites (aka Avatar or Game Characters)?

Wednesday, February 14, 2018

Begin with www.code.org Unit 4. Complete Lessons 5 & 6

20180214: Programming instructions use FOUR basic data types. What is the difference between numbers, Booleans, strings, and lists.

  1. Numbers → a number is ______________. It is different by ...
  2. Booleans → a boolean is ______________. It is different by ...
  3. Strings → a string is ______________. It is different by ...
  4. Lists → a list is ______________. It is different by …
  5. Then, write one paragraph explaining your thoughts on the importance of diversity of thinking in Computer Science video Zach made

Tuesday, February 15, 2018

PARTICIPATION GRADE TODAY → SCALE = 0 - off task, 1 - mostly on task, 2 - on task all period

Work on your Game → DUE FRIDAY FOR 100 PTS!!!

20180215: The Business of Creating Games

1. What is a Game Inventor / Game Designer / Game Developer / Game Author versus a Graphic Designer? How are they different and who does what work for the creation of the game?

2. Like a Book Author, why would you need an Agent to Market your new game? What do you know about getting your game out in the US Gaming Market for app stores? Is this also true for platform gaming?

Friday, February 16, 2018

20180216:

CS PRINCIPLES → Which of the following best explains when a new device is connected to the Internet? Why? Select the best answer and explain.

A. A device driver is assigned to the device

B. An Internet Protocol (IP) address is assigned to the device

C. A packet number is assigned to the device

D. A web-site is assigned to the device

PROGRAMMING → As we develop technology, we need to be careful to look forward and consider both the potential positive and negative outcomes of new technology. Read the article on Google Contact Lenses. What kind of data could be answered collected through the use of this technology? Create a t-chart of Potential Positive and Potential Negative impacts of using smart contact lenses.



https://earsketch.gatech.edu/

REPL.it → https://repl.it/@GamingTimelord19/game

EarSketch

https://docs.sandstorm.io/en/latest/using/security-practices/

https://repl.it/@GamingTimelord19/game

Benefits of functions -- Possible responses:

Functions are examples of Abstraction -- Possible responses:



SEMESTER ONE ASSIGNMENTS

IN CLASS TASKS for Friday, August 18, 2017

Your card should look like this:

Jane Smyth, 9                        Graphic Design

1234567@jeffcoschools.net 

I like to draw but I also play keys

I am involved in _____________ at school (if it hasn’t started yet, list something you’d LIKE to be involved in)

Register for Code.org using your jeffcoschools email

Per 1 - AP Computer Science → use code SPWGVR

Per 2 - Computer Programming → use code VLLKHH

Per 4 - Computer Programming → use code PRWFCS

20170818

Art and Design • Social Networking • Business Operations • Education • Game Development • Medical Technology • Terrorism Detection • Alternative Energy • Video Production • Texting • Media Forensics • Foreign Aid  -What do these have in common?

I think all these types of jobs mean… I think they relate to this class by… Of the items in the list, I am most interested in ___________ because … . I am ALWAYS texting on my phone so I can relate most closely to that and social networking. All together, though, I think my teacher is trying to get me to think about ___________ because ___________.

Monday, August 21, 2017 BLUE DAY 1-3-5-7

I think…

  1. Per 1 - AP Computer Science → use code SPWGVR

Tuesday, August 22, 2017 SILVER DAY 2-4-6

I think…

  1. Per 2 - Computer Programming → use code VLLKHH
  2. Per 4 - Computer Programming → use code PRWFCS
  3. Complete Code.org Unit 1 Lessons 1-3

Many students use Gimp 2 on their computers because it is open-source software (free for the greater good and they still update it for improvements). Chromebook Users, it should already be installed! It is also one of the leading alternatives to PhotoShop (which we will be using in the SS-11 Mac Lab). Create TWO DIFFERENT layers, include text and a photo in your meme. If you got your idea off another site (like iFunny), be sure you have recreated the idea in your own way (i.e. find your own photo, and include your own font or text). Gimp created their own Gimp Tutorials you can read, but you can also view Beginner Tutorials on YouTube.

Wednesday, August 23, 2017  BLUE DAY 1-3-5-7

  1.  

Thursday, August 24, 2017  SILVER DAY 2-4-6

20170824 → Rules of HTML → List 20 HTML functions you are able to create today. (Use the google docs numbering button to complete this ordered list) 

  1.  
  2.  

Friday, August 25, 2017

20170825 → Languages and Deci-Binary

  1. Define + explain HTML
  2. Define + explain CSS
  3. Define + explain JavaScript
  4. How do these 3 scripting languages work with websites?
  5. What are web site “dependent files?”
  6. From earlier this week, why would we need to know how to convert binary numbers?
  7. Convert the following Binary Numbers → Share half a paper with a partner and write out your own powers of 2 chart like the one on the board. Convert each binary number to a decimal number to complete
  1. Decimal = ______________________; Binary = 1001                
  2. Decimal = ______________________; Binary = 100000
  3. Decimal = ______________________; Binary = 1100101101
  4. Decimal = ______________________; Binary = 100001000
  5. Decimal = ______________________; Binary = 10101001
  6. Decimal = ______________________; Binary = 1010000100
  7. Decimal = ______________________; Binary = 1011010111
  8. Decimal = ______________________; Binary = 1010101111
  9. Decimal = ______________________; Binary = 1101111110100
  10. Decimal = ______________________; Binary = 110110101111

Monday, August 28, 2017 → !!!Ms H’s Birthday!!!
YAY!!! SPENDING MY BIRTHDAY WITH MY NEW STUDENTS!!!

Tuesday, August 29, 2017

Wednesday, August 30, 2017

Thursday, August 31, 2017

Friday, September 1, 2017

Monday, September 4, 2017 → NO SCHOOL! LABOR DAY!!!

Tuesday, September 5, 2017 BLUE DAY 1-3-5-7

20170905 → What is a CSS div tag? How are they used?

How do you view the Developer Tools or found out how somebody built a site?

  1. Launch dev tools in CHROME
  2. Launch dev tools in INTERNET EXPLORER
  3. Launch dev tools in FIREFOX
  4. Launch dev tools in SAFARI

Wednesday, September 6, 2017 SILVER DAY 2-4-6

20170906 → What is a CSS div tag? How are they used?

Thursday, September 7, 2017 BLUE DAY 1-3-5-7

20170907 → How do you link the CSS style guide to your HTML document? List what the link should look like and WHERE it should go.

Friday, September 8, 2017 SILVER DAY 2-4-6

20170908 → How do you link the CSS style guide to your HTML document? List what the link should look like and WHERE it should go.

Monday, September 11, 2017 -- Homecoming Spirit Week Begins!!!

QUIDDITCH Sports DAY!!!

Tuesday, September 12, 2017 HERMIONE Nerd DAY!!!

Wednesday, September 13, 2017 INVISIBILITY CLOAK IDK DAY!!!

Thursday, September 14, 2017 TIME-TURNER Throwback Decade  DAY!!!

Game Title

Location

Link

1.

2.

3.

4.

5.

Friday, September 15, 2017 REBEL Class Colors DAY!!!

Game Title

Location

Link

1.

2.

3.

4.

5.

Monday, September 18, 2017 BLUE DAY 1-3-5-7

Tuesday, September 19, 2017 SILVER DAY 2-4-6

Wednesday, September 20, 2017 BLUE DAY 1-3-5-7

Thursday, September 21, 2017 SILVER DAY 2-4-6

Friday, September 22, 2017 REBEL DAY all classes

Monday, September 25, 2017  BLUE DAY 1-3-5-7

Tuesday, September 26, 2017  SILVER DAY  2-4-6

INDEX.HTML

</head>

<body>

  <script>

    alert( 'Hello, world!' );

  </script>

MAKE SURE YOU HAVE CONNECTED YOUR CSS REF FILES

<html>

<head>

<title>Zar’s Website</title>

<link rel=”icon” href=”images/logo.png”>

<link rel=”stylesheet” type=”text/css” href=”ref/sidebar.css”>

<link rel=”stylesheet” type=”text/css” href=”ref/styleguide.css”>

</head>

<body>

<p>NAVIGATION

<ul>

<li><a href=”index.html”>HOME</a>

<li><a href=”about.html”>About</a>

<li><a href=”resume.html”>Resume</a>

<li><a href=”interests.html”>Interests</a>

<li><a href=”contact.html”>Contact</a>

</ul>

<h3>Welcome to Zar’s Website</h3>

<p>Before the script...</p>

  <script>

    alert( 'Hello, world!' );

  </script>

  <p>...After the script.</p>

Wednesday, September 27, 2017  BLUE DAY 1-3-5-7

Thursday, September 21, 2017 SILVER DAY 2-4-6

<div class="dropdown">

  <button class="dropbtn">Dropdown</button>

  <div class="dropdown-content">

    <a href="index.html">Home</a>

    <a href="about.html">About</a>

    <a href="interests.html">Interests</a>

    <a href="resume.html">Resume</a>

    <a href="contact.html">Contact</a>

  </div>

</div>

Step 2) Add CSS: Example

.dropbtn {
        background-color: #4CAF50;
        color: white;
        padding: 16px;
        font-size: 16px;
        border: none;
        cursor: pointer;
}

.dropdown {
        position: relative;
        display: inline-block;
}
.dropdown-content {
        display: none;
        position: absolute;
        background-color: #f9f9f9;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
        z-index: 1;
}


.dropdown-content a {
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
        display: block;
}


.dropdown:hover .dropbtn {
        background-color: #3e8e41;
}

Friday, September 29, 2017 REBEL DAY all classes

SIGN UP FOR CODE COMBAT

PER 1

https://codecombat.com/students?_cc=StopSleepRun 

StopSleepRun-

PER 2

https://codecombat.com/students?_cc=BoatFearRight

BoatFearRight

PER 4

Monday, October 2, 2017  BLUE DAY 1-3-5-7

Tuesday, October 3, 2017 SILVER DAY 2-4-6

Wednesday, October 4, 2017 BLUE DAY 1-3-5-7

  1. What is a var?
    A variable is a numeric value placeholder in math used as an “expression” in JavaScript
  2. What is the script you would use to include the time and date on your web page?  

<p id=”demo”></p>

<script>document.getElementById(“demo”).innerHTML = Date();</script>

  1. What do you have to write in the head of your index.html page  
    <link rel=”script” href=”ref/clock.js”>
  2. Right above where you want to see your clock, you need to add your canvas of the clock. What script would you include?

<canvas id=”canvas” width=”400” height=”400”

style=”background-color:#333>

</canvas>

  1. How do you reference a script file in your HTML? That tells your file where you want to display your clock on your html page
    <script src=”ref/filename.js”> </script>

Thursday, October 5, 2017 SILVER DAY 2-4-6

<p id=”demo”></p>

<script>

document.getElementById(“demo”).innerHTML =

Date();</script>

<canvas id=”canvas” width=”400” height=”400”

style=”background-color:#333”>

</canvas>

Friday, October 6, 2017 REBEL DAY all classes

Monday, October 9, 2017  BLUE DAY 1-3-5-7

Tuesday, October 10, 2017 SILVER DAY 2-4-6

Wednesday, October 11, 2017 BLUE DAY 1-3-5-7

  1. Create snake.html in your Practice Folder
  2. Create snake.js in your Ref folder
  3. Connect both together
  4. Change the appearance of the game to make it your own

Thursday, October 12, 2017 SILVER DAY 2-4-6

Friday, October 13, 2017 REBEL DAY  NO SCHOOL

Monday, October 16, 2017  BLUE DAY 1-3-5-7

  1. What is the Cost of the AP Test?
  2. What link can you visit to find more info?
  3. What are the three parts of the test (2 performance tasks + ________)?
  4. What percentage of the test is scored in each of the three parts?
  5. What are the due dates for each of the three sections?
  1. Draw an 50x50px or 100x100px arrow in Gimp
  2. IN TWO COLORS
  3. Save in your IMAGES folder
  4. Export EACH file as arrow_black.gif and arrow_color.gif 
  5. In Gimp, press CTRL + ALT + O (or File > Open as Layers)
  6. Select your second image as an additional layer (over the top of your previous arrow)
  7. FILE> EXPORT AS arrow_animation.gif
  8. Select the drop down menu as GIF image
  9. Than click EXPORT
  10. AS ANIMATION
  11. Select export and launch your file (it will open in IE browser)
  12. Add your gif to your index.html page
  13. THEN, create a gif with 10 or more layers…
    You may use
    Pivot Animator.net at home if you wish to animate a stick figure (you may use the .exe file)
  14. Upload to your resume page

Tuesday, October 17, 2017 SILVER DAY 2-4-6

Wednesday, October 18, 2017 BLUE DAY 1-3-5-7

  1. After your body starts on your about.html page, create a link tag within an html tag

<a href=”index.html” onmouseover=”document.arrow.src=’images/arrow_red.gif’” onmouseout=”document.arrow.src=’images/arrow_black.gif’”><img src=”arrow_black.gif” width=”50” height=”50” border=”0” name=”arrow” alt=”arrow”/></a>

  1. Then, write a paragraph about who you are for your about.html page and what you hope to learn to do with computer science

  1. Next, place the arrow on your resume.html page using the following JAVASCRIPT code this time to do the same thing

<img src=”images/arrow_red.gif” onmouseover=”rollover(this)” onmouseout=”mouseaway(this)”/>

<script type=”text/javascript”>

function rollover(my_image)

{

my_image.src = ‘images/arrow_black.gif’;

}

function mouseaway(my_image)

{

my_image.src = “images/arrow_red.gif”;

}

</script>

Thursday, October 19, 2017 SILVER DAY 2-4-6

Friday, October 20, 2017 REBEL DAY

Monday, October 23, 2017  BLUE DAY 1-3-5-7

Tuesday, October 24, 2017 SILVER DAY 2-4-6

Wednesday, October 25, 2017 BLUE DAY 1-3-5-7

Thursday, October 26, 2017 SILVER DAY 2-4-6

CODE TO CREATE A LOGIN

<html>

<form>

<center>

<p>

        <input type="text" name="text2">

</p>

<p>

<input type="password" name="text1">

<br>

 <input type="button" value="Login" name="Submit" onclick=javascript:validate(text2.value,"Columbine",text1.value,"Rebels") >

 

 </p>

 

 </center>

 </form>

 

 <script language = "javascript">

 

 

 function validate(text1,text2,text3,text4)

 {

        if (text1==text2 && text3==text4)

        

        load('Congrats.html');

        

        else

        

        {

                load('Loginpage.html');

        }

}

function load(url)

{

        location.href=url;

}

</script>

</html>

Friday, October 27, 2017 REBEL DAY

<script>

alert(“You failed! Try again!”)

</script>

http-equiv=”refresh”

<head>

  <meta http-equiv="refresh" content="30">

</head>

Monday, October 30, 2017  BLUE DAY 1-3-5-7

SAMPLE CODE

<form action="mailto:you@yourdmainhere.com" method="post"enctype="text/plain" >

FirstName:<input type="text" name="FirstName">

Email:<input type="text" name="Email"><input type="submit" name="submit" value="Submit">

</form>

Tuesday, October 31, 2017 SILVER DAY 2-4-6 HALLOWEEN!!!

SAMPLE CODE

<form action="mailto:you@yourdmainhere.com" method="post"enctype="text/plain" >

FirstName:<input type="text" name="FirstName">

Email:<input type="text" name="Email"><input type="submit" name="submit" value="Submit">

</form>

Wednesday, November 1, 2017 BLUE DAY 1-3-5-7

<audio controls=”controls” autoplay=”autoplay”>

                <source src=”file/songname.mp3” type=”audio/ogg”>

                <source src=”file/songname.mp3” type=”audio/mpeg”>

</audio>

If you include several songs and don’t want them to play at the same time, shorten your first line of code to read

<audio controls>

<audio controls=”controls” autoplay=”autoplay”>

                <source src=”music/songname.mp3” type=”audio/ogg”>

                <source src=”music/songname.mp3” type=”audio/mpeg”>

</audio>

Thursday, November 2, 2017 SILVER DAY 2-4-6

Friday, November 3, 2017 REBEL DAY

<meta name="description" content="Vince's Website" />

<meta content="text/html; charset=UTF-8" http-equiv="Content-Type"/>

<meta name="keywords" content="Columbine, High School, Littleton, CO,_______________, _______________, _____________, _________________, _______________">

<title>Vince’s Website</title>

THEN, add the code to view your site on other devices;

<meta name="viewport" content="width=device-width, initial-scale=1">

ON YOUR INDEX PAGE, compose an introduction paragraph similar to the following, but make it your own:

Welcome! I created this website in my 2017-18 Computer Science Class at Columbine High School. The site should share some of the web tools we created in class as we learned how to create websites. It also includes links to everything I built in class as well as some of my favorite games and interests.

Monday, November 6, 2017 BLUE DAY

  1. Record​ ​Your​ ​Arrangement Record your arrangement somehow so you can recall it later. Make a simple drawing, take a photo, etc. You’ll want an exact record, so make sure you pay attention to color! INSERT your photo, here
  2. Next, list your instructions on how to build your six-block structure. Be sure to write a clear and precise set of instructions your classmates could follow to build this arrangement on their own, without diagrams or pictures. That is, your instructions may only use words, so you cannot use pictures to help you.
  3. Test with a partner. GivREFLECT → Were your instructions accurate? Describe what worked or didn’t work, HERE. Did the instructions of your classmates work or not work? Why?

Tuesday, November 7, 2017 SILVER DAY 2-4-6

  1. What are Meta Tags and why do we need them on our web pages? List and explain two reasons.
  2. What is an Algorithm? 
  3. What is a Low level programming language? 
  4. What is a High level programming language? 
  5. List your lego challenge algorithm steps, here. Include a photo
  1. REFLECT. Did your algorithm work? Were your instructions accurate? Describe what worked or didn’t work, HERE. Did the instructions of your classmates work or not work? Why or why not?
  2. Now, using 10 parts of any kind, create a picture-by-picture instruction on your phone. What worked better? Photo Instructions? Or words? Why?
  3. Watch the Ted Talk https://www.youtube.com/watch?v=xfBWk4nw440 According to the video, what do most people do at work? What is the Apollo Guidance computer? How did this invention change for modern day?

Lego Challenge → reproduce a simple arrangement of LEGO® blocks. Create​ a simple ​LEGO​ ​Arrangement using 6 LEGO blocks. Try to choose something interesting or challenging to test your instruction-giving abilities.

  1. Watch the Ted Talk https://www.youtube.com/watch?v=xfBWk4nw440 
  2. According to the video, what do most people do at work? What is the Apollo Guidance computer? How did this invention change for modern day?

Wednesday, November 8, 2017 BLUE DAY

  1. What are Meta Tags and why do we need them on our web pages? List and explain two reasons.
  2. What is an Algorithm? 
  3. What is a Low level programming language? 
  4. What is a High level programming language? 

Thursday, November 9, 2017 SILVER DAY 2-4-6

Friday, November 10, 2017 REBEL DAY

Dear Ms Hansen,

Life, in general, is going pretty...

In general, school is going

This class seems to be going pretty __________ for me. __________ is going well. I wish I could get more help with ________________. I am most looking forward to ___________.

Sincerely,

My Cursive Autographed Name

Monday, November 13, 2017 BLUE DAY

DIRECTIONS FOR THE CARD GAME :

  1. Using playing cards face down on the table to represent a list of items. Start with 8 random cards face down in a row.
  2. Any card on the table must​ be face down.
  3. When acting as the machine, you can pick up a card with either hand, but each hand can only hold one card at a time.
  4. You can look at and compare the values of any cards you are holding to determine which one is greater than the other.
  5. You can put a card back down on the table (face down), but once a card is face down on the table, you cannot remember (or memorize) its value or position in the list. Task: Write​ ​an​ ​algorithm​ ​to​ ​find​ ​the​ ​card​ ​with​ ​the​ ​lowest​ ​value​ ​in​ ​the​ ​row​ ​of​ ​cards.
  6. Goal: The algorithm must have a clear end to it. The last instruction should be to say: “I found it!” and hold up the card with the lowest value.
  7. The algorithm should be written so that it would theoretically work for any number of cards (1 or 1 million).
  8. Write your algorithm out on paper as a clear list of instructions in “pseudocode.” Your instructions can refer to the values on cards, and a person’s hands, etc., but you must invent a systematic way for finding the smallest card. My​ ​Algorithm​ ​To​ ​Find​ ​Minimum​ ​Card Write your algorithm below. We suggest writing it out as a numbered list of instructions to make the sequence clear.

Tuesday, November 14, 2017 SILVER DAY 2-4-6

DIRECTIONS FOR THE CARD GAME :

  1. Using playing cards face down on the table to represent a list of items. Start with 8 random cards face down in a row.
  2. Any card on the table must​ be face down.
  3. When acting as the machine, you can pick up a card with either hand, but each hand can only hold one card at a time.
  4. You can look at and compare the values of any cards you are holding to determine which one is greater than the other.
  5. You can put a card back down on the table (face down), but once a card is face down on the table, you cannot remember (or memorize) its value or position in the list. Task: Write​ ​an​ ​algorithm​ ​to​ ​find​ ​the​ ​card​ ​with​ ​the​ ​lowest​ ​value​ ​in​ ​the​ ​row​ ​of​ ​cards.
  6. Goal: The algorithm must have a clear end to it. The last instruction should be to say: “I found it!” and hold up the card with the lowest value.
  7. The algorithm should be written so that it would theoretically work for any number of cards (1 or 1 million).
  8. Write your algorithm out on paper as a clear list of instructions in “pseudocode.” Your instructions can refer to the values on cards, and a person’s hands, etc., but you must invent a systematic way for finding the smallest card. My​ ​Algorithm​ ​To​ ​Find​ ​Minimum​ ​Card Write your algorithm below. We suggest writing it out as a numbered list of instructions to make the sequence clear.

Wednesday, November 15, 2017 BLUE DAY

  1. What are “if statements?”
  2. What is “branching” or “looping” (aka an ”iteration”)?
  3. What is an “algorithm?”
  4. Why do people write a program? To control & initiate what? The __ __ __ __ __ __ __ ___ __
  5. ___ T / F Different algorithms can be used to solve the same problem.
  6. What is a sequence?
  7. Solve for X. At the end of the program, what is the value of x in the following program? Why? X = ___ because ____________________

x = 2
x = 5
x = x + 1

  1. ___ Yes / No Can algorithms be combined with other algorithms?
  2. ___ T / F Sequencing, selection, and iteration are building blocks of algorithms.
  3. ___ T / F Every algorithm can be constructed using only sequencing, selection, and iteration.
  1. Hello World
  2. Take Two Stones
  3. Alphabet Spam

Thursday, November 16, 2017 SILVER DAY 2-4-6

  1. What are “if statements?”
  2. What is “branching” or “looping” (aka an ”iteration”)?
  3. What is an “algorithm?”
  4. Why do people write a program? To control & initiate what? The __ __ __ __ __ __ __ ___ __
  5. ___ T / F Different algorithms can be used to solve the same problem.
  6. What is a sequence?
  7. Solve for X. At the end of the program, what is the value of x in the following program? Why? Y = ___ because ____________________

x = 2
x = 5
y = x + 1

  1. ___ Yes / No Can algorithms be combined with other algorithms?
  2. ___ T / F Sequencing, selection, and iteration are building blocks of algorithms.
  3. ___ T / F Every algorithm can be constructed using only sequencing, selection, and iteration.
  1. Hello World
  2. Take Two Stones
  3. Alphabet Spam

Friday, November 17, 2017 REBEL DAY FUN FRIDAY!!!

HAPPY THANKS GIVING WEEK!!!

Monday, November 27, 2017 BLUE DAY

  1. What is Object Oriented Programming?
  2. What is a class?

Tuesday, November 28, 2017 SILVER DAY 2-4-6

  1. What is Object Oriented Programming?
  2. What is a class?

Wednesday, November 29, 2017 BLUE DAY

  1. Which program are they using to write Java? _E_ __ __ __ __ __ __ (we will be using a free program that runs this program called Dr Java, you can download it at home)
  2. Like HTML, how do you add a comment in your code?
  3. What is a library? 
  4. How do you connect to it java? __________________________________________
  5. Then, the speaker defines several items in his Animal Library. Define the following specifications:

Thursday, November 30, 2017 SILVER DAY 2-4-6

  1. Which program are they using to write Java? _E_ __ __ __ __ __ __ (we will be using a free program that runs this program called Dr Java, you can download it at home)
  2. Like HTML, how do you add a comment in your code?
  3. What is a library? 
  4. How do you connect to it in java? __________________________________________
  5. Then, the speaker defines several items in his Animal Library. Define the following specifications:

Friday, December 01, 2017 REBEL DAY

You can look up the Eclipse IDE to run on your Chromebook → Click on _____________ to get it from the Google Web Store

  1. When would be a Real World time we might need to find the MINIMUM VALUE?
  2. What code is needed to start running ANY Object-Oriented Programming (OOP) or Java program? _____________ ______________ _____________ ______________
  3. What is an IDE, in Java? ___________ ___________ ___________
    And which one are we using? ______ ____________
  4. What word has to be deleted from the first line of code in OUR program to start running IN THE DR JAVA IDE? __ __ __ __ __ __
  5. What code sorts the string?
  6. What is the purpose of an Array? Determines where the ____________ are going into
  7. Three for loops are listed in this program. What is the purpose of the first for loop?

 {

    for (int i = 0; i < 10; i++)

    {

      listItems[i] = -1;

    }

  1. What is the purpose of the second for loop?

  for (int i = 0; i < 5; i++)

    {

      int value = Character.getNumericValue(inString.charAt(i));

     

      listItems[value] = value;

    }

  1. What is the purpose of the third for loop?

  for (int i = 0; i < 10; i++)

    {

      if (listItems[i] != -1)

      {

        System.out.println(listItems[i]);

        break;

  1. At the end of the program, system.out println tells your computer to do what?

Monday, December 04, 2017 BLUE DAY

A. What is an API?

B. What is a String?

C. What is an Array?

D. What is an Output Value or a Return Value?

E. What is a Stack?

F. What is a Queue?

G. What is a Compiler?

H. What is a Character?

I. What is an Break?

J. Who invented Java? When? How did it get started?

Tuesday, December 05, 2017 SILVER DAY 2-4-6

Wednesday, December 06, 2017 BLUE DAY

Jackson’s

Zach’s

public class StringSorter

{

  static String inString = "48153";

 

  static int[] listItems = new int[10];

 

  public static void main (String[] args)

  {

    for (int i = 0; i < 10; i++)

    {

      listItems[i] = -1;

    }

   

    for (int i = 0; i < 5; i++)

    {

      int value = Character.getNumericValue(inString.charAt(i));

     

      listItems[value] = value;

    }

   

    for (int i = 0; i < 10; i++)

    {

      if (listItems[i] != -1)

      {

        System.out.println(listItems[i]);

        break;

      }

    }

  }

}

import java.util.Random;

 import java.util.Scanner;

  class FindMin {

    public static void main(String[] args){

        System.out.println("Main Method Started");

        Scanner in = new Scanner(System.in);

        System.out.println("Enter the size of the arr");

        int size = in.nextInt();

        System.out.println("Enter the maximum value of the arr");

        int max = in.nextInt();

        int [] arr  = initializeArr(max, size);

        print(arr);

        findMinMax(arr);

        System.out.println("Main Method Ended");

    }

    public static void print(int[] arr){

        for(int val:arr){

            System.out.print(val + " ");

        }

        System.out.println();

    }

    public static int[] initializeArr(int max,int size){

        Random random = new Random();

        int [] arr = new int[size];

        for(int ii=0;ii<arr.length;ii++){

            arr[ii]=random.nextInt(max);

        }

        return arr;

    }

    public static void findMinMax(int[] arr){

        int min=arr[0];

        int max=arr[0];

        for(int ii=0;ii<arr.length;ii++){

            if(arr[ii]<min){

                min=arr[ii];

            }

            else if(arr[ii]>max){

                max=arr[ii];

            }

        }

        System.out.println("The minimum in the arr::"+min);

        System.out.println("The maximum in the arr::"+max);

    }

}

Unique Characteristics of Jackson’s

Same

Unique Characteristics of Zach’s

Thursday, December 07, 2017 SILVER DAY 2-4-6

Unique Characteristics of Jackson’s

Same

Unique Characteristics of Zach’s

Friday, December 08, 2017 REBEL DAY

Monday, December 11, 2017 BLUE DAY

Tuesday, December 12, 2017 SILVER DAY 2-4-6

Wednesday, December 13, 2017 BLUE DAY

Thursday, December 14, 2017 SILVER DAY 2-4-6

Friday, December 15, 2017 REBEL DAY

Monday, December 18, 2017 BLUE DAY FINALS

Dear Ms Hansen,

Life is going pretty ________ for me right now. I am enjoying _________________________. I am most looking forward to _____________ over Winter Break.

In general, my first semester at CHS 2017-18 has gone pretty __________. I like learning about _______________________ but __________________ has been kind of challenging because ________________. I’d like to think I am improving my skills in _______________ by ______________________. I look forward to learning about _________ in the Spring.

One of my favorite things about this class is _____________ because ______________________. My favorite project was _______________ because _____________________________. I wished we had spent more time on __________ because _______________________. I would have liked more time to work on _____________________________ because __________________________.

About the big webpage project… this required a lot of my skills. I felt confident about _____________________ but it got a little confusing when because ____________________. After we got started, I felt ______________________.

When it comes to working on a team, I feel _________________ with my classmates to help me accomplish things I may not yet know how to do. I am definitely comfortable asking ____________________ for help. As far as this class goes, I think my overall grade in here should be a ___ because _____________________. Is there anything else you want to add? Include that here

Sincerely,

Your Name

Tuesday, December 19, 2017 SILVER DAY 2-4-6 FINALS

Dear Ms Hansen,

Life is going pretty ________ for me right now. I am enjoying _________________________. I am most looking forward to _____________ over Winter Break.

In general, my first semester at CHS 2017-18 has gone pretty __________. I like learning about _______________________ but __________________ has been kind of challenging because ________________. I’d like to think I am improving my skills in _______________ by ______________________. I look forward to learning about _________ in the Spring.

One of my favorite things about this class is _____________ because ______________________. My favorite project was _______________ because _____________________________. I wished we had spent more time on __________ because _______________________. I would have liked more time to work on _____________________________ because __________________________.

About the big webpage project… this required a lot of my skills. I felt confident about _____________________ but it got a little confusing when because ____________________. After we got started, I felt ______________________.

When it comes to working on a team, I feel _________________ with my classmates to help me accomplish things I may not yet know how to do. I am definitely comfortable asking ____________________ for help. As far as this class goes, I think my overall grade in here should be a ___ because _____________________. Is there anything else you want to add? Include that here

Sincerely,

Your Name

Wednesday, December 20, 2017 FINALS MAKEUP DAY

HAPPPY WINTER BREAK!!

Search Java Source Code → http://www.javased.com/ 

What is the difference between an API or a SDK?

Popular Python Code Cookbook

https://www.programcreek.com/2012/11/top-10-algorithms-for-coding-interview/ 

1) String/Array/Matrix, 2) Linked List, 3) Tree, 4) Heap, 5) Graph, 6) Sorting, 7) Dynamic Programming, 8) Bit Manipulation, 9) Combinations and Permutations, and 10) Math Problems

What is an array? A given set of numbers



<script src="clock.js"></script>

<!--clock-->

Additional Topics List: