Grade 11 Assignments


N

Date

Assignment Topic

File Name

Due Date

Drop Off Folder

Notes to read Homework

131/1Inroduction. Java Installation Install Notepad ++, jdk, and Eclipse on your home computer 01. Java Installation on Gr 11 Demos webpage
23/2Java, First program, Printing ICS3U_01_Assignment1_print_2019.docx February 4 01_Assgn1_Name Java Booklet: pages 11-13
Website Demos:
Demo 03. System.out.print
Demo 04. Escape sequences
3, 44/2, 5/2Variables and Datatypes. Addition and concatination.format() method ICS3U_02_Assignment2_format.doc
Format_handout.docx
February 6 02_Assgn2_Timetable Java Booklet: pages 14-20
Website Demos: 06. System.out.format
07. Advanced: System.out.format
56/2Calculations, Math class, random Calculation Exercises


Calculation Exercises (Practice)

Answer Key

Feb. 7 03_Assgn3_Var_Calc Read:Java Booklet: pages 29-34
67/2Scanner. Increment/Decrement. Type of Errors. Booklet. Questions 7, 10 on pages 44 and 45.Feb. 12 04_Scanner Booklet: pages 35-36, 35A- 35B, 37-38, 40-41
Website Demos:
12. Scanner (integer & String)
13. Scanner (several integers)
14. Scanner (Double and Int)
15. Scanner (go from numbers to Strings)
710/2If statemnets. ICS3U_08_IfWorkSheet1.doc Feb. 13 04_IfWordDocument Booklet: pages 35-39
811/2
If statements, Boolean operators
Booklet: pages 47-55
Website Demo:
17. If simple Demo

19. Boolean Expressions 1

20. Boolean Expressions 2

912/2Quiz 1. JOptionPane. parseInt(), parseDouble() Example in the pick up folder. Booklet: pages 40A-40B
Website Demo:
16. JOptionPane

1013/2
Nested If statements
10 questions from Logic 1 on codingbat.com
https://codingbat.com/java/Logic-1

Feb. 18 05_CodingBat_Logic Booklet: pages 47-55
Website Demo:
17. If simple Demo

19. Boolean Expressions 1

20. Boolean Expressions 2

21. Nested Structures

1118/02Simple DMOJ questions DMOJ.ca questions
Question 1: CCC '11 J1 - Which Alien?
Question 2: CCC '12 J2 - Sounds fishy!
Question 3: CCC '04 J1 - Squares

1219/02If exercises If practice:
a_20_exercisesIfStatement_4.doc

1320/02Jeopardy. Review. Review for the test
Booklet: pages 9-63,
after page 70 pages go to lower values again.
Chapter 5: pp. 45-55
1827/02String methods ICS3U_String_Exercises_1.doc
ICS3U_String_Exercises_1.pdf
Feb.28 07_Strings1 Booklet: Unit2: pages 57-59
Website example: 26. Simple string example
213/03For and While loops LoopExercises_1.pdf
March 3 09_Loops1 Booklet: Unit 2 pages 65-68, 71-75
Website example:
22. While Loop Demo
23. For Loop Demo
22 4/03For and While loops. Accumulators. Loop_Exercises_2.doc
LoopExercises_2.pdf
Mar.7 10_Loops2 Booklet: Unit 2. pages 65-68, 71-75
Website example: 24. Simple Loops
235/03Strike
246/03More Loops
Website example: 24. Simple Loops
259/03Loops. Work period
Website example: 24. Simple Loops
26 10/03Strings and loops. String Exercises 2.doc
String Exercises 2.pdf
Mar.11 11_Loops_Strings Booklet: Unit 2. pages 65-68, 71-75
Website example: 24. Simple Loops
27 11/03Strings and Palindroms Ask the user for a string, check and print if it is a palindrom. Remember, that you need to remove all non-letter characters first. You should create 3 version of this program. Mar.13 11_Loops_Strings
26 12/03Break and continue. Efficiency of prime number check ICS3U_Loop_Exercises_3.doc
ICS3U_Loop_Exercises_3.pdf
Mar.25 12_Loops_3 Booklet: Unit 2. pages 65-68, 71-75
Website example:
22. While Loop Demo

23. For Loop Demo

27 13/03String Exercises. String game assignment CodingBat exercises. Any 10 from "Strings2" and any 2 from "Strings3".

ICS3U_acad__String_game_assignment.doc
ICS3U_acad__String_game_assignment.pdf
April 6
Website example:

27. Reading files (vegetables or fruits)
28. Pick a random word from file


297/04Arrays Watch the following tutorials. They are short 4-7min videos.
Java Programming Tutorial - 27 - Introduction to Arrays

Java Programming Tutorial - 28 - Creating an Array Table

Java Programming Tutorial - 29 - Summing Elements of Arrays



Read your booklet: pages 105-106

Send email to Ms. S with the responses to the follwong questions ( in the email body):

1. Using the first methods described in the tutorial, create an array of 6 doubles. Name it val.

2. Populate this array with the values 3.5, 4.5, 6.6, 7.7, 9.1, 10.0.

3. Using the second methods described in the tutorial, create an array of 6 doubles. Name it myVal and populate it with the values in quesion 2.

4. What would be printed: System.out.print(val[2]);

5. What would be printed: System.out.print(myVal[6]);

6. What would be printed: System.out.print(val);
April 7- at the end of the day
Website example:

31. Array declare/populate/print simple Demo

308/04Arrays 2 1. Watch the following tutorials. They are short 4-7min videos.
Java Programming Tutorial - 30 - Array Elements as Counters

Java Programming Tutorial - 31 - Enhanced for Loop

Java Programming Tutorial - 32 - Arrays in Methods



2. Read your booklet: pages 106-107

3. Do exercises Review: StudentRoaster and Review: Squares on page 107.

Website example:

31. Array declare/populate/print simple Demo

319/04Arrays 3 1. Watch the following tutorial:Java: Loop and Array Examples Barry Brown.
Java: Loop and Array Examples Barry Brown



2. From 0:00 to 20:20 minutes the teacher goes though codingBat questions: Array1 fistLast6, sum3, sum2, makePi, middleWay

3. Do any other 5 questions from CodinBat Array 1. Make screenShots to submit the assignment next week.
April 14th. CodingBat_Arrays
Website example:

31. Array declare/populate/print simple Demo

3213/04Arrays 4 1. Watch the following tutorial:Java: Loop and Array Examples Barry Brown.
Java: Loop and Array Examples Barry Brown



2. From 2:20 to end end the teacher goes though codingBat questions: Array2 countEven, more14, has22, sumArray, sumTogether, multShorter

3. Do any other 5 questions from CodinBat Array 2. Make screenShots to submit the assignment on April 14th ( together with 6 questions from the Arrays1).
April 15th. CodingBat_Arrays
Website example:

31. Array declare/populate/print simple Demo

3416/04Arrays 5 1. Watch the following tutorials. They are short 4-7min videos.
Java Programming Tutorial - 33 - Multidimensional Arrays

Java Programming Tutorial - 34 - Table for Multi Arrays

2D Arrays in Java Tutorial



2. Read your booklet: pages 103-105 and 106-107.

3. Write the follwing java program:
Create a 2-dimential 6x5 array if integers.
Populate it with random numbers ( pick any range you like).
Print it in a table look form.
Find and print the max and min value.

For example:
14 11 36 29 57
45 31 10 21 25
22 74 39 65 18
23 27 97 46 16
34 86 26 57 62
96 81 16 27 36
Min is 10
Max is 96

4. Email the program to me in the email body.
April 16th.
Website example:

32. click to see more Array examples (reverse, max, min, median, average, sort, populate)

3822/04Array sorting algoriths 1. Watch the following tutorials.
Java: Insertion Sort sorting algorithm

Java: SelectionSort animated demo with code

Java: BubbleSort algorithm

Visualization and Comparison of Sorting Algorithms



These are not the fastes algorithms, but you need to remember them. They are on Grade 12 exam, all univercity CS courses, and so on. 2. If you need more explanation, this is the link to my handout.
SortingAlgorithms.docx

3. Do the follwing exercise:
assgn11/ICS3U_Arrays_SortingExercise_2020.pdf

4. Read booklet pages: 115-118

April 24th 16_SortingArrays


4024/04Quiz 1 and Quiz 2: Arrays.
4127/04Methods We need to cover the unit "Methods" it 7 school days. You can learn at your own pace.
My recommendations:


Monday 27.04 - section 3.1

Tuesday 28.04 - section 3.2

Wednesday 29.04 - section 3.3 & 3.4

Thursday 30.04 - section 3.6

Friday 1.05 - section 3.7 & 3.8

Monday 4.05 continue section 3.8

Tuesday 5.05 quiz. This will be like a quiz practice.

Quiz which I will use for marks will be on Wednesday, 6.05 on Quizziz.com




508/05Quiz 3 : Methods. 12:30 By now you suppose to finish sections 3.1-3.8 on codeHS.Quiz will be on Quizizz.com at 12:30.
5111/05Object-Oriented Programming We need to cover the 6 lessons of the unit "Object-Oriented Porgramming" it 4 school days. You can learn at your own pace.
My recommendations:


Monday 11.05 - section 4.1, 4.2, 4.3

Tuesday 12.05 - section 4.4

Wednesday 13.05 - section 4.5

Thursday 14.05 - section 4.12




5719/05Graphical User Interface(GUI) Programming 1) Read Chapter 36: Beginning Graphics
GUI. Part 7: Graphics Chapter 36: Beginning Graphics




2) Do exercise 1 on the Exercise section
Chapter 36 Programming Exercises

I am going to collect this exercise later together with other GUI exercises


5921/05Graphical User Interface(GUI) Programming 1) Read Chapter 37: Beginning Graphics
GUI. Part 7: Graphics Chapter 37: Graphics Examples




2) Do exercise 6 on the Exercise section
Chapter 36 Programming Exercises

3)Go through chapters:

Chapter 55 Introduction to GUI Programming

Chapter 56 JFrames

Chapter 57 Adding Buttons to a Frame

You don't need to learn an actions yet. Just add buttons without any functionality.

4) The following website has a good examples of components and layouts:

https://www.javatpoint.com/java-swing

I am going to collect this exercise later together with other GUI exercises Due date: Monday 25.05


5820/05Graphical User Interface(GUI) Programming 1) Read Chapter 36: Beginning Graphics
GUI. Part 7: Graphics Chapter 36: Beginning Graphics




2) Do exercise 1 on the Exercise section
Chapter 36 Programming Exercises

I am going to collect this exercise later together with other GUI exercises


6125/05Graphical User Interface(GUI) Programming 1)Go through chapters:

Chapter 55 Introduction to GUI Programming

Chapter 56 JFrames

Chapter 57 Adding Buttons to a Frame

You don't need to learn an actions yet. Just add buttons without any functionality.

2) Create 3 applications: You should use 3 different layouts and 9 different components.
Layouts example:Flow, Border, Grid, Box, Card, and so on
Component example: JLabel, JTextField, JButton, JComboBox, JTextArea, and so on.
For this assignment you can consider JButton with text and JButton with an image - 2 different components.
The same applies to JLabels. JLabel with text and JLabel with an image could be 2 different components.

The following website has a good examples of components and layouts:

https://www.javatpoint.com/java-swing

Layouts examples are also in our pick-up folder in a zip document.

I am going to collect this exercise later together with other GUI exercises Due date: Wednesday 27.05


694/06Final Project 1)Requiremnets and rubrics are sent to you via email

2) You need to submit 3 versions. Version 1 is due on 8th of June

Version 2 is due on 15th of June

Final Version is due on 20nd of June.(10AM in the morning)

3)Make sure your project is approvedin.

I have created a folder 19_FinalProject_v1.




















Semester 1 2019 year

N

Date

Assignment

File Name

Due Date

Drop Off Folder

Notes to read

14/09Inroduction
25/09Java, First program, Printing ICS3U_01_Assignment1_print.docx September 7 01_Assignment_01 Java Booklet: pages 11-13
Demo 03. System.out.print
Demo 04. Escape sequences
36/09Output (continue) continue working on ICS3U_01_Assignment1_print.docx Java Booklet: pages 11-13
Demo 03. System.out.print
Demo 04. Escape sequences
47/09 Format Exercises ICS3U_02_Assignment2_format.doc Sptember 10 02_Assignment_02 Booklet: pages 14-19
510/09Math methods, Calculations continue working on ICS3U_02_Assignment2_format.doc
Format_handout.docx
Booklet: pages 14-19
611/09Calculations, Math class. Supply teacher Calculation Exercises (Practice)

Answer Key

Booklet: pages 29-35
712/09Java Installation Install Notepad ++, jdk, and Eclipse on your home computer Sptember 12 Bring screen shot for java installation Demo web page 01. Java Installation
02. java and bat files
813/09Data Casting, Random numbers, Variables ICS3U_03_VariableExercises.doc September 17 03_Assgn3_time_tickets Booklet: pages 21-28
914/09Scanner ICS3U_05_ScannerExercises September 20 04_Assgn_4_5_coins_math Booklet: pages 35-39 Demo: 12. Scanner (integer & String)
13. Scanner (several integers)
14. Scanner (Double and Int)
1017/09Camp.Calculations, Math class, random ICS3U_04_CalculationExercises.doc September 20 04_Assgn_4_5_coins_math Booklet: pages 21-35
Demo: 08. Simple variable
09. Display digits of 2-digit number
10. Using Math class
11. Random Numbers
1118/09Camp. Scanner programming exercises from the booklet on pages 43-46. Exercises: 1, 2, 7, 10, 11, and 12. September 24 05_Booklet_43_46 Booklet: pages 35-39 Demo: 12. Scanner (integer & String)
13. Scanner (several integers)
14. Scanner (Double and Int)
1219/09Camp. Scanner continue continue working on exercises: 1, 2, 7, 10, 11, and 12. Booklet: pages 35-39 Demo: 12. Scanner (integer & String)
13. Scanner (several integers)
14. Scanner (Double and Int)
1320/09Programm Structure, Comments Continue working on exercises: 1, 2, 7, 10, 11, and 12. Booklet: pages 15-17, 37
1421/09Scanner (numbers to strings) ICS3U_07_ScannerExercises2 Only #1 September 21 06_Scanner2_average Booklet: pages 35A, 35B, 40-41
Demo: 15. Scanner (go from numbers to Strings)
1524/09If worksheet ICS3U_08_IfWorkSheet1.doc September 26 08_09_IF_Practice_word Booklet: pages 35-39
1625/09Quiz 1, Constant variable, Flowchart, Types of errors Binary and Java Calcualtions
1726/09If worksheet2 ICS3U_09_IfWorkSheet2.doc
Homework Worksheet_Booleans.doc
September 26 08_09_IF_Practice_word Booklet: pages 35-39
1827/09If programming Exercises ICS3U_10_Progr_exercisesIfStatement2019.doc October 1 10_if_ProgrammingExercises Booklet: pages 47-51
1928/09If programming Exercises(Cont.) work period Booklet: pages 47-51
201/10Review For Test 1 Booklet: pages 11-63
212/10Rock Paper Scissors ICS3U_11_Rock_Paper_Scissors.doc October ?? 11_RPS Booklet: pages 52-63
2203/10If Assignment Analysis. Rock Paper Scissors( cont.) Review for Test 1. Booklet: pages 11-63
2304/10Test 1
2409/10Strings. Test 1 returned marked.
2510/10String Exercises 1 ICS3U_12_String_Exercises_1.doc October 12 12_Strings1 Booklet: pages 71-75
Website example: 25. Simple string example
2712/10Loops ICS3U_13_Loop_Exercises.doc October ?? 13_Loops1 Booklet: pages 78-79
Website example: 23. For Loop Demo
28, 2915,16/10More Loops Booklet: pages 80-84
Website example: 24. Simple Loops
30, 31, 3217,18,19/10Nested Loops ICS3U_14_Loop_Exercises_2.doc October 19 14_Loop_Exercises_2 Booklet: pages 80-84
3423/10Practice for DMOJ competition DMOJ.ca questions
Question 1: Ship
Question 2: RTE '16 J1 - Board Game

35, 36, 37, 3824,25,26, 29/10String and Files reading, String Game intro, methods, practice for DMOJ competition
3930/10DMOJ competition
40,41,42,43,4431/10, 1, 2, 5, 6/11String games November 6 18_StringGame
457/11Encryption, Caesar Cipher, ASCII code
46,478,9/11Encryption, Caesar Cipher, ASCII code 18_ASCII_Assignment.doc November 13 18_ASCII
4812/11Test 2 Strings quiz practice
49-5113-15.11Arrays 1D and 2D Array practice November 16 19_1DArrays
5622/11Methods Examples 20_NimGame.doc
57Methods review methods practice at w3schools

Array - at CodingBat