Computer Science 11

About This Course:

​ Grade 11 Computer Science is a course that is designed to introduce the concepts of computer programming utilizing Java and an online emulator as the design environment. Students this year have the opportunity to start the AP portion of the course which will prepare them to take the exam at the end of their grade 12 year. Depending on their level of success on this exam they may be eligible for college/university credits in Computer Science. For those students who are interested in a career in computers, be it working as a programmer, designer, animator, in the game industry etc. this is a great place to start. Additionally, students may choose to work with Arduino boards to develop electronic projects that are programmed through the computer. This is a good introduction to hardware design.

Course outcomes:

The student is expected to develop skills in the following areas:

Graphic manipulation- students will need to develop skills in creating game graphics for backgrounds and objects.

Programming-

Students will work primarily in Java through a series of online exercises designed to prepare them for the AP exam.

Students will complete quizzes and tests that will gauge their understanding of the concepts of programming in Java

Students will modify existing assignments to create new outcomes for their programs.

Projects-

Students will design new projects that they can code independently.

Students will be able to design new programs with a programming chart to layout all required/desired features and components.

Evaluation: In this course you will be evaluated on project work, and tutorial assignments. Some work will be marked based on completion (assignment work) and other work will be assessed based on individuated criteria. The breakdown of the marks is as follows:

Methods #8 Quiz

Netbeans assignments

Follow the tutorial above to create a functional calculator.Note, the explanation at the end of section 10 for your equals button is slightly wrong and should look like the last image on the page which I have copied below:

Concatenate assignment

Create a form that includes the following:

First Name Label (text above textbox)

Last Name Label (text above textbox)

First Name textbox (textbox for user to input a first name)

Last Name textbox (textbox for user to input a last name)

Button (Labelled concatenate)

Textbox that prints out first and last name (user defined) with a space in between.

Tic Tac Toe

Create a functioning tic tac toe game that registers who wins the game. Use buttons as the squares. Read document above for instructions.​Bonus: keep score over a number of different games.

Age Calculator

Create a calculator that takes user input for date of birth and time, and present date and time. Include fields for time zone that the user was born in and time zone that they are currently in. Allow for leap years over the user's life span. Output age in years, months, days, hours, minutes and seconds.

Concert Hall Seating Program

Using Netbeans, create a form that displays a seating chart for a concert hall with 35 seats. The user needs to be able to select a seat and reserve it so that no-one else can reserve the same seat. Either the button for the seat disappears, or for bonus marks it changes colour. You need an undo button to return the seat to the unchecked state so that a person can change their mind.

This is 50% of your Robocode mark.​Battle Royal: You vs. the class and most of the sample robots (robots not included are: Interactive, Interactive_v2, Alien, AlienComposition, Master and Slave, ProxyOfGreyEminence, Slave, BorderGuard and all sampleteams). Field size is 2000 x 2000.

If you place above every sample robot: 100%If you place below one sample robot: 90%If you place below two sample robots: 80%If you place below three sample robots: 70%If you place below four sample robots: 60%If you place below sitting duck or target: 40%

Scores are averaged out over 100 battles.

This is the other 50% of your Robocode mark.

For a list of functions that are available to you, check the following website: http://robocode.sourceforge.net/docs/robocode/ Under Packages on the left side select robocode, under all classes below that select Robot.

You may use some portions of sample robots to improve the functionality of your own. If you use more than 15 lines of sample code or code that is not your own, your robot will be disqualified and you will receive a zero for the project.

Robocode is worth 20% of second term!

​Good Luck!​

Data Structures #3 Using Arrays

Due by end of week 13

Data Structures #7 Hashmaps

Due by the end of week 14

Poetry

Using the sandbox mode of CodeHs, create a poem generator following these instructions, then recreate an exe in netbeans