Programming 12 - 

Welcome to Computer Programming 12 

This fast paced course has been designed to build off of the structure introduced in Programming 11. We will revisit familiar units of study but with an entire new level of depth. For example, in Programming 11, we studied HTML and CSS; in Programming 12 we delve into JavaScript (the behaviour side of web development). Everything in this course is unique but relates to a larger whole. We endevour to keep the units covered in the course practical with the goal of giving you the skills to bring your own creative ideas to life. Practicing, building, reverse engineering, iterations and add on's are all strategies we deploy to help you innovate. Although there is some theory in this course, the guiding principles are practical and useful. I do hope that you enjoy this course and that you have a lot of fun along the way! 

Drop Box - Programming 12 - Block 3 (spreadsheet only) 

Drop Box - Programming 12 - Block 4 (spreadsheet only)

Create a one Drive share link - create an 'on line' spreadsheet for sharing course assignments 

Create and Share links in ONE drive - A 'how to' guide

Example - T Linburg - (using Google Sheets - but you could use your Microsoft version of Excel) 

T Linburg - grade and assessment link spreadsheet (adjust the share permissions to allow Mr. Linburg to edit) 

Meeting with Grade 12's - Re: JavaScript Portfolio - FRIDAY THIS WEEK!

Block 3 - Programming 12 (Friday) - Please have your spreadsheet updated and be prepared to share out your portfolio of work. 

Skylar 

Odgen 

Block 4 - Programming 12 Friday - Sharing your project portfolio (be sure your spreadsheet links are fully updated and accessable! 

Lucas 

Bosco 

Kanamu

Junho

Daniel 

Module # 3    Java Textbook  

In  this unit we will complete our knowledge of classical programming before moving on to BOOK TWO in which we start to learn about how to use coding 'snippets' within an Object Oriented Context. This first segment will allow us to learn more about 

In this follow up assignment, you are now tasked with scripting a collection of text based programs using "our coding textbook friend" Learn Java the Hard way (end of book one). They use "netbeans' but you should use Visual Studio. 

Click on this one drive link and download the textbook resource

How to use Visual studio for Java

Part I  Write output programs in Visual Studio (second half of book one)

(*) please do ONE study drill at the end of each of these exercises.- only submit the exercise AFTER you have done the study drill (in other words the MODIFIED one) - add a developer comment to make sure I know WHICH study drill you completed.


The Key difference between While Loops and Do...While loops is...


The do...while loop is similar to while loop. However, the body of do...while loop is executed once before the test expression is checked

This is as opposed to the 'While loop" which... 

Java while loop is used to run a specific code until a certain condition is met. The syntax of the while loop is: 




Part II - Making a Diverse range of Apps with Java 

We will now pause and try to find practical uses and application for the Java related skills that we have learned so far. What sort of things can we make with our new found skill set. Take a look at some of these links. Hopefully you might find ONE project you have an interest in making. If not, then you could search for one to your liking. These links have a diverse range of options. Have fun and happy coding!

(*) Some of the above links aren't tutorials per se but rather guides or examples of what your project might look like


Module # 2 - Using JavaScript to make your own games - 

We are now moving on from 'studying' other peoples exceptional coding projects and transitioning to our role as developers. You will use this guide to help you write your own game of 'Hangman'. You are, of course, encouraged to personalize it and change its look and design AFTER you have finished the basic constructions steps. Happy coding! :) At the end of this, we will submit these to peer assessment and get a chance to try everyone else's creations! 

Part I (Choose either A or B) 

A) Create your very own game of 'Hangman' - the classic work guessing game! (*) This one is different...based on Alerts! Try to make 5 changes to how the game functions or appears! 

A student version modified hangman game - check it out! ) / Student project II (download folder) / Student Project III 

Or 

B) Game of 'Breakout' - Destroy the bricks 

 Take a look at this link! Please feel free to adopt it for your own purposes. You might want to build this game on Visual Studio (Community edition - free) download! (Try to personalize with FIVE changes or modifications. 

Part II 

Make a guessing game based on the GitHub version - FIVE modifications min.   

MODULE # 1  - Introduction to JavaScript     

Part ONE and TWO 

JavaScript - one of the world's most popular computer language   

Unit Description

We will be starting this unit by completing some structured introductory tutorials to help you learn the language structures; then we will give you actual working JavaScript made by developers for you to break, modify and then improve. 

Finally, we will invent our own apps based upon the skills of other developers. 

History of JavaScript - an interesting read! 

JavaScript intro 1  / JavaScript intro 2

Section # 1 - JavaScript 'sandbox' 

(# 1 - Spreadsheet) Due: Friday February 16th 

W 3 Schools Introduction to Java script structures 

In our very first introduction we will be using the W 3 for schools site to learn more about the history of JavaScript and to learn how its constructed. Please load the web site and do one or two 'try this' for each segment. Please try to 'break the code' and change it up anyway you see fit....and see what happens? Be sure to read through each of the segments but the threshold for completing exercises here is not very high. Think of this as an 'interactive' intro. 

Please share your insights from THREE of the exercises (you should include some specific script reference). (half a page or more) (Please try to look through 12 sections) 

Section # 2    JavaScript Practice - Code Academy (# 2 - Spreadsheet)

Due: Friday February 16th

Sequential Code Academy lessons (free lesson segments - see below) 

 Introduction /  conditionals /  functions /  arrays /  loops /  classes  / objects

Please complete this introductory work on JavaScript:   Code Academy site. Please be sure you have completed the lessons as described above. PLEASE complete all the "free" segments. ITERATORS IS NO LONGER REQUIRED FOR CODE ACADEMY. You will submit a screen shot of your 'progress' and your account name put on a word document!

Section # 3   JavaScript "Reinvents"   Utilize existing JavaScript projects to improve their function and design Due:

Please put your final renditions into Visual Studio (add the JavaScript extension) Please add a developer comment outlining the specific changes you made to the clock. 

In this segment of JavaScript, we'll be working with CODE PEN and other resources to experiment with novel and creative uses for JavaScript. 

Resource Guides 

(*)Note: please write a specific developer comment in the 'redo' explaining what you actually did to improve the function and design!

Project ONE - Reinvent -JavaScript Clock Due: March 8th, 2024

(# 3 Spreadsheet) - Analogue clock one, Digital Clock one  

(*) Note: One option is to set up your own Code Pen Account and put your edited projects right on that hosted platform and then send me the link to your finished "reinvent". There are other methods we could discuss in class. 

(*) Note: you may want to move your clock code over to either Visual Studio OR Code Pen if you have your own account. If you just edit it off of the W3 school's site there is NO save as function!

Edit in W 3 Schools - 

A JavaScript clock - Please make all your changes right on the W 3 browser. Try to make a minimum of FIVE changes to its look / function / and design. 

Take a look at these 'far out examples' - that you could use for your inspiration and edits! Go crazy and have fun (look below at the video for links to the ACTUAL coding samples!) - Have fun! 

Here is another cool clock example!

 (NOTE: we might use a different platform for this project - stay tuned) 

Additional activity resources

Project TWO -Reinvent - Edit HTML / CSS / JavaScript together (# 4 - Spreadsheet) Due: March 8th, 2024

Take this dreadful looking clock and related message boxes and make TEN changes to the look and behaviour. This could include ONE HTML change / ONE CSS change / and SEVEN JavaScript modifications (i.e. modify a function or change an array)  

Project THREE - Reinvent - Modify the Code Pen version of the game hangman - (# 5 - Spreadsheet)

Experiment and make 10 to 15 changes

A JavaScript game of hangman - Experiment with this JavaScript version of Hangman. Use the reference guides provided. Try to read through the ENTIRE JavaScript, experimenting and changing it as you go. You are only using this for practice, so break it in all ways that you can think of. All your changes will show in the display at the bottom of the page.

Here is a useful 'textbook' help guide that helps walk you through the code for this game!