ICS3U Assignments
ALL your PROGRAMMING projects will be put in your ICS3U folder in your H drive. The exceptions are Google Docs assignments specified by your teacher.
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!
About the 'Eleven'
At the top of your primary class in your ISU, you will list what you did for your 'Eleven' so that your teacher knows what to look for. Thanks.
November 20, 2019 - When handing in any assignment/ISU, all 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.
Whats on the Exam Mr. Payne?
This exam is based on the Ontario Curriculum for ICS3U. There is NO AP content, no object-oriented programming, no graphics content on this exam.
There is no manual converting between number bases on this exam.
We covered all chapters in the textbook except for Chapters 6(Classes) and 8(Robot). There will be NO Chapter 6 or 8 content on this exam.
There is no Chapter 1 content on this exam outside of what has been previously tested.
Do not concern yourself with the 'printf' command.
Parts A and B - Definitions/Short Answers/Multiple Choice
-Know methods like Math.pow, Math.min, Math.max, Math.round
-Know how to do calculations with the various operators including %
-Know the int, double, long, String, char, boolean types the differences between them and how to use them coding Java.
-Know and describe the differences between Actual and Formal parameters in method calls and method definitions
General concepts on Java, order of operations
'camel' format for variable names - look it up!
Characters that are legal in variable names
facts about pseudo-code - most general
---------------
Part C - Interpretation of Java Code
Produce the EXACT output from the given segments
of Java code
---------------
Part D - Write programs for specifications
1 Java Program
1 pseudocode
1 Java method
ISU - Due Friday January 17th, 2020
Monopoly Hints
Pseudocode Exemplar and extensions - this documents will be amended as students ask for clarifications
A WORKING Slings and Arrows framework
Detecting and Handling Mouse Events
Heeeeeeeeeere's the RUBRIC!
File Input/Output is NOT required.
Java Concepts Quiz- Tuesday December 17th
This will consist of writing ONE pseudocode solution and ONE java program.
The java program will be focused on STRING OPERATIONS and LOOP structures.
You will NOT be permitted to use a computer to test your code. You must just write it out by hand LEGIBLY.
Arrays Test - Friday December 6th
all these concepts are in the moodle notes or in the textbook
General concepts about 'what is an array'?
what does an index do?
know how to declare an array of a given type for a given size
how to declare an array dynamically
When an array is declared, all the locations contain: (given in note)
Arrays of strings contain....
what is the term for setting a value when an array is declared
What are parallel arrays?
terms like index, subscript, element, cell etc.
reason for errors in given code
what does 'zero-indexed' mean?
given some code, provide the EXACT output
Correct a segment of code.
How is a string like an array?
Graphing Calculator Assignment - Due Wednesday November 27, 2:45pm
Assignment is here - It's 50% if completed as required
Newton's Approximation of real roots functionality - The additional 50%. You MUST research and use
Newton's Method of Approximating Real Roots. No use of built in methods or libraries. No use of Quadratic
Formula or Remainder Theorem or Functional Long Division.
You only need to look for REAL ROOTS for -10.0 <=x<=10.0
When they're determined, just display all the determined real roots on the jPanel in a clear way.
The algorithm DOES NOT REQUIRE CALCULUS! It is an iterative process of looking for a sign change in y-values as
you progress from xMin to xMax.
It is also known as Newtonian Bisection.
Video - How to draw a line in a jPanel
Setting Colours
Drawing Text on a jPanel (for your scales)
Forcing a screen redraw using a timer
Explore Performance Task due on November 22nd at 2:45pm. It is to be SHARED with [email protected]
Past AP Submissions, with Exemplars and Comments here
Here is the Explore Performance Task specification.
Report Rubric
"A computational artifact is a visualization, a graphic, a video, a program, or an audio recording that you create using a
computer. For the Explore performance task, you will create a computational artifact of your choosing to represent or
illustrate the intended purpose, function, or effect of a computing innovation using any computational tool(s) you wish."
You should use your presentation to answer the Prompt Questions from the AP Explore Performance Task specification.
Namely,
2a. Provide information on your computing innovation and computational artifact.
Name the computing innovation that is represented by your computational artifact.
Describe the computing innovation’s intended purpose and function.
Describe how your computational artifact illustrates, represents, or explains
the computing innovation’s intended purpose, its function, or its effect.
2b. Describe your development process, explicitly identifying the computing tools
and techniques you used to create your artifact. Your description must be
detailed enough so that a person unfamiliar with those tools and techniques will
understand your process.
Computing Innovation
2c. Explain at least one beneficial effect and at least one harmful effect the
computing innovation has had, or has the potential to have, on society, economy,
or culture.
2d. Using specific details, describe:
the data your innovation uses;
how the innovation consumes (as input), produces (as output), and/or
transforms data; and
at least one data storage concern, data privacy concern, or data security
concern directly related to the computing innovation.
References
2e. Provide a list of at least three online or print sources used to create your
computational artifact and/or support your responses through in-text citation to
the prompts provided in this performance task.
Methods Test - November 18th.
Definitions, creating void and return value methods
Difference between actual and formal parameters
What are Static/class methods? What are instance methods? - read the textbook!
Look at a method declaration and identify the data type received and the data type returned
Create a short method that returns a value of a certain type
Arduino Assignment - Rock, Papers, Scissors- Due Friday November 15th, 2:45pm
Base Convert Assignment Due Tuesday October 23, 2:45pm
You are NOT permitted to use BUILT-IN java base conversion methods, commands or other facilities.
You must write your own base conversion methods from scratch.
Hangman Assignment Due - October 11th 2:45pm
NON GUI version - 95% maximum mark
GUI version with icons - 100% maximum mark
GUI Hangman Hints
GUI Hangman Icons in .zip file - Download from the link at the bottom of this page
Recommended GUI Display
Tutorial for building a GUI application using GUIBuilder
Hint: When working through the tutorial,
ie. For Exercise 1-3, use 'HangmanGraphic' instead of 'NumberAddition' for the project name.
For Exercise 2-3, use HangmanGraphicUI' instead of 'NumberAdditionUI' for the class name.
For Exercise 2-4, 'my.hangmanGraphic' iinstead of 'my.numberAddition' for the package.
You will put your gallows picture files in the /src/my/ folder for your Hangman Graphic project.
October 22nd - Online Twizt - String Operations
Purpose and use of: string.valueOf(), string.parseInt(), string.equals(), string.length(),
string.indexOf(), string.charAt(),string.compareTo(), string.substring(),
use the substring() method to concatenate parts of a bigger string into a new string
October 11th - Online Twizt - Chapter 3 content
Loops and Decision Structures Test
Given a segment of code, produce the EXACT output
Create a properly formatted loop based on the specifications given
Produce the output for a given condition
Look at condition and state if true or false
Know the comparison operators
Create a decision structure in Java given the specifications
Look at two program structures. Which is more efficient and why?
October 4th - Online Twizt - Chapters 1 and 2 and HARDWARE Concepts presentation content
You are responsible for the material on slides 1 TO 15 of the Hardware Presentation.
Please read and understand PDF 6 to 16 in Java textbook.
Topics to Study:
what is Assembler?
What is a method? A class? a Project?
Two ways you indicate a comment in Java
How do you indicate the end of a statement?
How what characters do you use to enclose a block of code?
What is the difference between programs run with an Interpreter rather
than a Compiler?
What does 'JVM' stand for? What does it do? How is it advantageous to different
operating systems?
What does 'IDE stand for'? What does it do?
The main Primitives specified on PDF17
Why is a STRING not a primitive?
How do you declare a variable?
What is 'camelFormat'?
When do you use 'long' versus 'int'?
When do you use 'char' versus a String?
how do different arithmetic operators work?
How to use some of the 'Math.' class functions (pow,random, abs, max, min, sqrt,round etc)
How do you define a CONSTANT variable?
Difference between System.out.print and System.out.println
Given an arithmetic expression, work out what the result would be.
Given a section of code, produce the EXACT output. (see PDF 34 question 13)
HiLo Assignment Due Tuesday September 24, 2:45pm
Pseudocode for HiLo is due Friday Sept 20th. SHARED with [email protected]
ONE ASSIGNMENT, ONE PROJECT, ONE CLASS Your program should run via the GREEN TRIANGLE Run Project Button. Your teacher will not be doing a 'Run File' operation.
.ZIP or other compressed files WILL NOT BE ACCEPTED.
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:ICS3U folder in proper executable format prior to the due date.
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!
About the 'Eleven'
At the top of your primary class in your ISU, you will list what you did for your 'Eleven' so that your teacher knows what to look for. Thanks.
November 20, 2019 - When handing in any assignment/ISU, all 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.
Whats on the Exam Mr. Payne?
This exam is based on the Ontario Curriculum for ICS3U. There is NO AP content, no object-oriented programming, no graphics content on this exam.
There is no manual converting between number bases on this exam.
We covered all chapters in the textbook except for Chapters 6(Classes) and 8(Robot). There will be NO Chapter 6 or 8 content on this exam.
There is no Chapter 1 content on this exam outside of what has been previously tested.
Do not concern yourself with the 'printf' command.
Parts A and B - Definitions/Short Answers/Multiple Choice
-Know methods like Math.pow, Math.min, Math.max, Math.round
-Know how to do calculations with the various operators including %
-Know the int, double, long, String, char, boolean types the differences between them and how to use them coding Java.
-Know and describe the differences between Actual and Formal parameters in method calls and method definitions
General concepts on Java, order of operations
'camel' format for variable names - look it up!
Characters that are legal in variable names
facts about pseudo-code - most general
---------------
Part C - Interpretation of Java Code
Produce the EXACT output from the given segments
of Java code
---------------
Part D - Write programs for specifications
1 Java Program
1 pseudocode
1 Java method
ISU - Due Friday January 17th, 2020
Monopoly Hints
Pseudocode Exemplar and extensions - this documents will be amended as students ask for clarifications
A WORKING Slings and Arrows framework
Detecting and Handling Mouse Events
Heeeeeeeeeere's the RUBRIC!
File Input/Output is NOT required.
Java Concepts Quiz- Tuesday December 17th
This will consist of writing ONE pseudocode solution and ONE java program.
The java program will be focused on STRING OPERATIONS and LOOP structures.
You will NOT be permitted to use a computer to test your code. You must just write it out by hand LEGIBLY.
Arrays Test - Friday December 6th
all these concepts are in the moodle notes or in the textbook
General concepts about 'what is an array'?
what does an index do?
know how to declare an array of a given type for a given size
how to declare an array dynamically
When an array is declared, all the locations contain: (given in note)
Arrays of strings contain....
what is the term for setting a value when an array is declared
What are parallel arrays?
terms like index, subscript, element, cell etc.
reason for errors in given code
what does 'zero-indexed' mean?
given some code, provide the EXACT output
Correct a segment of code.
How is a string like an array?
Graphing Calculator Assignment - Due Wednesday November 27, 2:45pm
Assignment is here - It's 50% if completed as required
Newton's Approximation of real roots functionality - The additional 50%. You MUST research and use
Newton's Method of Approximating Real Roots. No use of built in methods or libraries. No use of Quadratic
Formula or Remainder Theorem or Functional Long Division.
You only need to look for REAL ROOTS for -10.0 <=x<=10.0
When they're determined, just display all the determined real roots on the jPanel in a clear way.
The algorithm DOES NOT REQUIRE CALCULUS! It is an iterative process of looking for a sign change in y-values as
you progress from xMin to xMax.
It is also known as Newtonian Bisection.
Video - How to draw a line in a jPanel
Setting Colours
Drawing Text on a jPanel (for your scales)
Forcing a screen redraw using a timer
Explore Performance Task due on November 22nd at 2:45pm. It is to be SHARED with [email protected]
Past AP Submissions, with Exemplars and Comments here
Here is the Explore Performance Task specification.
Report Rubric
"A computational artifact is a visualization, a graphic, a video, a program, or an audio recording that you create using a
computer. For the Explore performance task, you will create a computational artifact of your choosing to represent or
illustrate the intended purpose, function, or effect of a computing innovation using any computational tool(s) you wish."
You should use your presentation to answer the Prompt Questions from the AP Explore Performance Task specification.
Namely,
2a. Provide information on your computing innovation and computational artifact.
Name the computing innovation that is represented by your computational artifact.
Describe the computing innovation’s intended purpose and function.
Describe how your computational artifact illustrates, represents, or explains
the computing innovation’s intended purpose, its function, or its effect.
2b. Describe your development process, explicitly identifying the computing tools
and techniques you used to create your artifact. Your description must be
detailed enough so that a person unfamiliar with those tools and techniques will
understand your process.
Computing Innovation
2c. Explain at least one beneficial effect and at least one harmful effect the
computing innovation has had, or has the potential to have, on society, economy,
or culture.
2d. Using specific details, describe:
the data your innovation uses;
how the innovation consumes (as input), produces (as output), and/or
transforms data; and
at least one data storage concern, data privacy concern, or data security
concern directly related to the computing innovation.
References
2e. Provide a list of at least three online or print sources used to create your
computational artifact and/or support your responses through in-text citation to
the prompts provided in this performance task.
Methods Test - November 18th.
Definitions, creating void and return value methods
Difference between actual and formal parameters
What are Static/class methods? What are instance methods? - read the textbook!
Look at a method declaration and identify the data type received and the data type returned
Create a short method that returns a value of a certain type
Arduino Assignment - Rock, Papers, Scissors- Due Friday November 15th, 2:45pm
Base Convert Assignment Due Tuesday October 23, 2:45pm
You are NOT permitted to use BUILT-IN java base conversion methods, commands or other facilities.
You must write your own base conversion methods from scratch.
Hangman Assignment Due - October 11th 2:45pm
NON GUI version - 95% maximum mark
GUI version with icons - 100% maximum mark
GUI Hangman Hints
GUI Hangman Icons in .zip file - Download from the link at the bottom of this page
Recommended GUI Display
Tutorial for building a GUI application using GUIBuilder
Hint: When working through the tutorial,
ie. For Exercise 1-3, use 'HangmanGraphic' instead of 'NumberAddition' for the project name.
For Exercise 2-3, use HangmanGraphicUI' instead of 'NumberAdditionUI' for the class name.
For Exercise 2-4, 'my.hangmanGraphic' iinstead of 'my.numberAddition' for the package.
You will put your gallows picture files in the /src/my/ folder for your Hangman Graphic project.
October 22nd - Online Twizt - String Operations
Purpose and use of: string.valueOf(), string.parseInt(), string.equals(), string.length(),
string.indexOf(), string.charAt(),string.compareTo(), string.substring(),
use the substring() method to concatenate parts of a bigger string into a new string
October 11th - Online Twizt - Chapter 3 content
Loops and Decision Structures Test
Given a segment of code, produce the EXACT output
Create a properly formatted loop based on the specifications given
Produce the output for a given condition
Look at condition and state if true or false
Know the comparison operators
Create a decision structure in Java given the specifications
Look at two program structures. Which is more efficient and why?
October 4th - Online Twizt - Chapters 1 and 2 and HARDWARE Concepts presentation content
You are responsible for the material on slides 1 TO 15 of the Hardware Presentation.
Please read and understand PDF 6 to 16 in Java textbook.
Topics to Study:
what is Assembler?
What is a method? A class? a Project?
Two ways you indicate a comment in Java
How do you indicate the end of a statement?
How what characters do you use to enclose a block of code?
What is the difference between programs run with an Interpreter rather
than a Compiler?
What does 'JVM' stand for? What does it do? How is it advantageous to different
operating systems?
What does 'IDE stand for'? What does it do?
The main Primitives specified on PDF17
Why is a STRING not a primitive?
How do you declare a variable?
What is 'camelFormat'?
When do you use 'long' versus 'int'?
When do you use 'char' versus a String?
how do different arithmetic operators work?
How to use some of the 'Math.' class functions (pow,random, abs, max, min, sqrt,round etc)
How do you define a CONSTANT variable?
Difference between System.out.print and System.out.println
Given an arithmetic expression, work out what the result would be.
Given a section of code, produce the EXACT output. (see PDF 34 question 13)
HiLo Assignment Due Tuesday September 24, 2:45pm
Pseudocode for HiLo is due Friday Sept 20th. SHARED with [email protected]
ONE ASSIGNMENT, ONE PROJECT, ONE CLASS Your program should run via the GREEN TRIANGLE Run Project Button. Your teacher will not be doing a 'Run File' operation.
.ZIP or other compressed files WILL NOT BE ACCEPTED.
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:ICS3U folder in proper executable format prior to the due date.
hangmanicons.zip | |
File Size: | 47 kb |
File Type: | zip |