ICS4U Assignments
MAC USERS!!!! Watch this video on how to export your netbeans projects to a ZIP file you can submit! DO IT!!!! DO IT NOW!!!!! :-)
PLEASE LOG OUT OF GAPPS!!!!!!
Recursion Assignment - Due Friday June 12th, 2:45pm submitted to Google Classroom.
Searching/Sorting/Big O/2D Arrays/Recursion Quiz - TUESDAY June 9th
Big O considerations when designing algorithms
Basic Big O concepts
Different types - mathematical properties (ie. Constant, Linear, Quadratic, Logarithmic, Exponential)
Which type most likely to outrun the computer's ability to deal with the problem?
Bubble Sort - characteristics, detriments, best performance when?
Characteristics of Selection Sort
Binary Search - major concepts and process
Recursion - main features and requirements, know the basic examples we covered in class
2D arrays - basic structure, how to use in practice, how to declare
Assignment - Searching and Sorting assignment - Due Friday May 22 2:45pm
Passing An ArrayList to a Method that returns an ArrayList
Here's the Data Input File - put it in your project folder
File IO Test - Thursday May 14th during regular class time
you'll find all content in the FileIO and Searching/Sorting sections of the hausOfPayne
What is unit testing? What are it's limitations?
What is the difference(s) between binary and text files
Look at a piece of code and explain why the expected outcome is not occurring. Suggest a small change to make it work
Statements to create new file, scanner and printwriter objects given a file name.
structure of try-catch exception handling. Why do we use it?
command to close a file
Where in your project's file structure do you put your files that you will read/write?
Why do we use file delimiters?
Use of StringTokenizer and .nextToken() for file delimiters
What is the term for converting text data to binary data?
What is the term for converting binary data to text data?
What is an EOFException?
Advantage of arraylist over array
Statement to create an arrayList
Statement to add an item to an arrayList
statement to delete an item from an arrayList
loop statement for looping through an arrayList
What does FileInputStream object do?
What does ObjectInputStream object do?
What does the java.io.Serializable library do?
What is an encryption key?
What is the advantage of one-way encryption?
What is a message 'digest'?
Why was MD5 abandoned in 2005?
What replaced MD5?
What is gitHub? What is a repository? What does gitHub allow you to do?
In a debugger, what is a 'breakpoint'? What happens to your program's execution when the execution reaches a breakpoint?
Assignment - File I/O And Encryption - Due Tuesday Monday April 27th, 2:45pm. Knowledge and Thinking responses to be EMAILED to [email protected] by Thursday April 23 at 2:45pm.
Your 'badPasswords.txt' file should contain:
1234
password
today
hello
computer
login
Building a Graphical User Interface in Netbeans GUI Builder
AND! Your video guided tour of this tutorial with Mr. Payne himself!
Unit Test - Object Oriented Programming - Wednesday April 15
See this document for topics of the test. There will be a programming component to this test. You will need to budget your time.
Assignment - KoffeeKlatch due by Wednesday April 8th, 2:45pm. DO NOT RENAME THE PROJECT!!!
This is an example run of the CoffeeKlatch program.
Assignment - Caesar Cipher due by Monday March 9th, 2:45pm. Project name is 'CaesarCipher' in your ICS4U folder (ONE COMMUNICATIONS MARK DEDUCTED IF NOT PROPER PROJECT NAME)
Review Unit Test - Thursday February 27 - Hints are here
DON'T BLOW THIS OFF
Assignment - Learning Java 0-5 Due Tuesday Feb 25, 2:45pm
Store in your H:/ICS4U folder with project names SPECIFIED
'RockPaperScissors' pseudocode GOOGLE DOC - due Feb 24 SHARED WITH [email protected]
FIVE SEPARATE PROJECTS - named EXACTLY 'PC0', 'PC1', 'PC2' ,'PC3' ,'PC4' ,'PC5'
NHS Pseudocode Standards and Guidelines
HINT: How to use Tokenizer to parse out individual values from a line of input
Clarification on Program PC4 - the Mountain Climber
If you look in the Notes section, you see the statment, "If the fatigue factor drops Nicholas' climbing distance below zero, he does not climb at all on that attempt."
that means his distance climbed is ZERO on that attempt.
The next point says, "Regardless of how far he has climbed, HE ALWAYS SLIDED D feet after a fall."
So on each term even if he climbs zero, he still falls.
So for the input of 25 10 1 50, the correct output is:
25 10 1 50
d=25.0
c=10.0
s=1.0
f=50.0
Attempt: 1 0.0 10.0 10.0 9.0
Attempt: 2 9.0 5.0 14.0 13.0
Attempt: 3 13.0 0.0 13.0 12.0
Attempt: 4 12.0 0.0 12.0 11.0 notice that since the climbing distance is now negative, he does not climb but he still falls.
Attempt: 5 11.0 0.0 11.0 10.0
Attempt: 6 10.0 0.0 10.0 9.0
Attempt: 7 9.0 0.0 9.0 8.0
Attempt: 8 8.0 0.0 8.0 7.0
Attempt: 9 7.0 0.0 7.0 6.0
Attempt: 10 6.0 0.0 6.0 5.0
Attempt: 11 5.0 0.0 5.0 4.0
Attempt: 12 4.0 0.0 4.0 3.0
Attempt: 13 3.0 0.0 3.0 2.0
Attempt: 14 2.0 0.0 2.0 1.0
Attempt: 15 1.0 0.0 1.0 0.0
Attempt: 16 0.0 0.0 0.0 -1.0
FAILURE ON ATTEMPT 16
-----------------------------------
When handing in an assignment, any diagnostic code that prints to the console should be removed prior to submission. It looks messy and unfinished. For any GUI projects, all console print statements should be removed prior to submission. An assignment is an opportunity for you to show your BEST work. Professional look and feel is part of that presentation. Communications marks will be deducted for diagnostic statements in submitted work.
Your projects/assignments will be TESTED on a Room 305 Windows workstation. You are responsible for assuring that your program runs as you expect it, on a Room 305 Windows workstation. Your teacher will not inform you if they are unable to run your program. DO TESTING LONG BEFORE YOUR PROJECT/ASSIGNMENT is due!
MySchoolDrive does not handle uploads of your Java project. DO NOT TRY TO UPLOAD YOUR JAVA PROJECTS FROM MySchoolDrive.
ENCRYPTED assignments are not accepted as submitted by due date. Only NON-ENCRYPTED assignments will be accepted. Encrypted assignments will be OPENED AS TEXT in Word, and printed off. It's gibberish, but it's YOUR WORK THAT YOU SUBMITTED. It will get a ZERO (0).
Your teacher should be able to OPEN the projects DIRECTLY from your ICS3U folder. No conversions or other rearrangements will be attempted.
If the projects are not immediately openable from the associated programs/IDE, you will NOT receive full marks.
If you are doing a project at home and/or on your laptop, it is YOUR RESPONSIBILITY to get it into your H:ICS4U folder in proper executable format prior to the due date.
PLEASE LOG OUT OF GAPPS!!!!!!
Recursion Assignment - Due Friday June 12th, 2:45pm submitted to Google Classroom.
Searching/Sorting/Big O/2D Arrays/Recursion Quiz - TUESDAY June 9th
Big O considerations when designing algorithms
Basic Big O concepts
Different types - mathematical properties (ie. Constant, Linear, Quadratic, Logarithmic, Exponential)
Which type most likely to outrun the computer's ability to deal with the problem?
Bubble Sort - characteristics, detriments, best performance when?
Characteristics of Selection Sort
Binary Search - major concepts and process
Recursion - main features and requirements, know the basic examples we covered in class
2D arrays - basic structure, how to use in practice, how to declare
Assignment - Searching and Sorting assignment - Due Friday May 22 2:45pm
Passing An ArrayList to a Method that returns an ArrayList
Here's the Data Input File - put it in your project folder
File IO Test - Thursday May 14th during regular class time
you'll find all content in the FileIO and Searching/Sorting sections of the hausOfPayne
What is unit testing? What are it's limitations?
What is the difference(s) between binary and text files
Look at a piece of code and explain why the expected outcome is not occurring. Suggest a small change to make it work
Statements to create new file, scanner and printwriter objects given a file name.
structure of try-catch exception handling. Why do we use it?
command to close a file
Where in your project's file structure do you put your files that you will read/write?
Why do we use file delimiters?
Use of StringTokenizer and .nextToken() for file delimiters
What is the term for converting text data to binary data?
What is the term for converting binary data to text data?
What is an EOFException?
Advantage of arraylist over array
Statement to create an arrayList
Statement to add an item to an arrayList
statement to delete an item from an arrayList
loop statement for looping through an arrayList
What does FileInputStream object do?
What does ObjectInputStream object do?
What does the java.io.Serializable library do?
What is an encryption key?
What is the advantage of one-way encryption?
What is a message 'digest'?
Why was MD5 abandoned in 2005?
What replaced MD5?
What is gitHub? What is a repository? What does gitHub allow you to do?
In a debugger, what is a 'breakpoint'? What happens to your program's execution when the execution reaches a breakpoint?
Assignment - File I/O And Encryption - Due Tuesday Monday April 27th, 2:45pm. Knowledge and Thinking responses to be EMAILED to [email protected] by Thursday April 23 at 2:45pm.
Your 'badPasswords.txt' file should contain:
1234
password
today
hello
computer
login
Building a Graphical User Interface in Netbeans GUI Builder
AND! Your video guided tour of this tutorial with Mr. Payne himself!
Unit Test - Object Oriented Programming - Wednesday April 15
See this document for topics of the test. There will be a programming component to this test. You will need to budget your time.
Assignment - KoffeeKlatch due by Wednesday April 8th, 2:45pm. DO NOT RENAME THE PROJECT!!!
This is an example run of the CoffeeKlatch program.
Assignment - Caesar Cipher due by Monday March 9th, 2:45pm. Project name is 'CaesarCipher' in your ICS4U folder (ONE COMMUNICATIONS MARK DEDUCTED IF NOT PROPER PROJECT NAME)
Review Unit Test - Thursday February 27 - Hints are here
DON'T BLOW THIS OFF
Assignment - Learning Java 0-5 Due Tuesday Feb 25, 2:45pm
Store in your H:/ICS4U folder with project names SPECIFIED
'RockPaperScissors' pseudocode GOOGLE DOC - due Feb 24 SHARED WITH [email protected]
FIVE SEPARATE PROJECTS - named EXACTLY 'PC0', 'PC1', 'PC2' ,'PC3' ,'PC4' ,'PC5'
NHS Pseudocode Standards and Guidelines
HINT: How to use Tokenizer to parse out individual values from a line of input
Clarification on Program PC4 - the Mountain Climber
If you look in the Notes section, you see the statment, "If the fatigue factor drops Nicholas' climbing distance below zero, he does not climb at all on that attempt."
that means his distance climbed is ZERO on that attempt.
The next point says, "Regardless of how far he has climbed, HE ALWAYS SLIDED D feet after a fall."
So on each term even if he climbs zero, he still falls.
So for the input of 25 10 1 50, the correct output is:
25 10 1 50
d=25.0
c=10.0
s=1.0
f=50.0
Attempt: 1 0.0 10.0 10.0 9.0
Attempt: 2 9.0 5.0 14.0 13.0
Attempt: 3 13.0 0.0 13.0 12.0
Attempt: 4 12.0 0.0 12.0 11.0 notice that since the climbing distance is now negative, he does not climb but he still falls.
Attempt: 5 11.0 0.0 11.0 10.0
Attempt: 6 10.0 0.0 10.0 9.0
Attempt: 7 9.0 0.0 9.0 8.0
Attempt: 8 8.0 0.0 8.0 7.0
Attempt: 9 7.0 0.0 7.0 6.0
Attempt: 10 6.0 0.0 6.0 5.0
Attempt: 11 5.0 0.0 5.0 4.0
Attempt: 12 4.0 0.0 4.0 3.0
Attempt: 13 3.0 0.0 3.0 2.0
Attempt: 14 2.0 0.0 2.0 1.0
Attempt: 15 1.0 0.0 1.0 0.0
Attempt: 16 0.0 0.0 0.0 -1.0
FAILURE ON ATTEMPT 16
-----------------------------------
When handing in an assignment, any diagnostic code that prints to the console should be removed prior to submission. It looks messy and unfinished. For any GUI projects, all console print statements should be removed prior to submission. An assignment is an opportunity for you to show your BEST work. Professional look and feel is part of that presentation. Communications marks will be deducted for diagnostic statements in submitted work.
Your projects/assignments will be TESTED on a Room 305 Windows workstation. You are responsible for assuring that your program runs as you expect it, on a Room 305 Windows workstation. Your teacher will not inform you if they are unable to run your program. DO TESTING LONG BEFORE YOUR PROJECT/ASSIGNMENT is due!
MySchoolDrive does not handle uploads of your Java project. DO NOT TRY TO UPLOAD YOUR JAVA PROJECTS FROM MySchoolDrive.
ENCRYPTED assignments are not accepted as submitted by due date. Only NON-ENCRYPTED assignments will be accepted. Encrypted assignments will be OPENED AS TEXT in Word, and printed off. It's gibberish, but it's YOUR WORK THAT YOU SUBMITTED. It will get a ZERO (0).
Your teacher should be able to OPEN the projects DIRECTLY from your ICS3U folder. No conversions or other rearrangements will be attempted.
If the projects are not immediately openable from the associated programs/IDE, you will NOT receive full marks.
If you are doing a project at home and/or on your laptop, it is YOUR RESPONSIBILITY to get it into your H:ICS4U folder in proper executable format prior to the due date.