Evaluation: 65%
Friday, 6 June 2014
Coding: Quiz #3
On this handwritten, closed-book quiz, I did not succeed very well. I didn't do too well since I misunderstood how Switch blocks function.
Labels:
11e année,
Coding (ICS3U)
Wednesday, 4 June 2014
English: Poem2 (Dangerous Shoes)
For our second poem, our teacher had us read a novelette called The House on Mango Street by Sandra Cisneros. This novelette was composed of vignettes and we each had to choose one from which were to base our poems. The one which I chose was The Family Of Little Feet on page 39. I was supposed to present this during the year's final extravaganza 2014, but since there are some mature content I was asked to not perform it, and instead post a recording on this blog. Thus here is a copy of my poem and two recordings of me reading it. I hope you enjoy.
Poem:
Recordings:
1)
2)
Poem:
Recordings:
1)
2)
Labels:
11e année,
English (ENG3U)
Monday, 26 May 2014
Coding: Assignment #3
The third assignment has to do with reverse engineering and code enhancement. You have to take an existing program, understand it and add enhancements to it. Third Assignment Due May 26rd.
I have given you a banking program that takes only 2 customers and allows each user to have passwords that are 4 characters long. Extend it to do the following.
1. Change the code so that the bank can have 10 customers.
2. The password is 6 characters long and has at least one of the following (capital letters, small letters, numbers and special characters which are ~!@#$%\^&*()\-_=+\|\[{\]};:'", <.>/?
3. Add a short comments to each logical code block. e.g if statement
4. Comment each of the try-catch blocks.
5. Change the programme to be Bank + your initials. eg. mine would be BankEB.java
5. Write the list of requirements of the program.
a) This bank has X numbers,
b) Each customer has Y accounts,
c) The bank gives each customer z dollars when they open an account etc..
d) Passwords have to be h length and must contain a, b, c,
=============
Evaluation:
Good introductory comment at the top of the program.
Good comments for each block.
One problem:
1) A weak 5 character password is rejected but a weak 6 character password is accepted. See yellow the highlighted text below.
9 out of 10.
=============
Would you like to do some banking? (y)es or (n)o?
y
Who are you?
eb
Could not find you in our database. We are currently opening some new accounts for you.
Guess what! We opened 2 new accounts for you with $100 in each!
Now you need to create a PIN. It must be of a length of 6 characters. Please enter a PIN now
qwert
You need 6 characters.
Invalid response. Deleting accounts. Goodbye
Would you like to do some banking? (y)es or (n)o?
y
Who are you?
ew
Could not find you in our database. We are currently opening some new accounts for you.
Guess what! We opened 2 new accounts for you with $100 in each!
Now you need to create a PIN. It must be of a length of 6 characters. Please enter a PIN now
qwerty
You should include capitals.
Welcome to BankDJ.ew
Would you like to (1) deposit, (2) withdraw, (3) transfer, (4) check balances, (5) finish
5
Would you like to do some banking? (y)es or (n)o?
y
Who are you?
ea
Could not find you in our database. We are currently opening some new accounts for you.
Guess what! We opened 2 new accounts for you with $100 in each!
Now you need to create a PIN. It must be of a length of 6 characters. Please enter a PIN now
Q!1wer
Accepted. A very strong PIN
Welcome to BankDJ.ea
Would you like to (1) deposit, (2) withdraw, (3) transfer, (4) check balances, (5) finish
Labels:
11e année,
Coding (ICS3U)
Coding: Khan Academy - SpinOffs
To help with learning coding our teacher gives us homework on Khan Academy. This way we are learning Java in Eclipse as well as JavaScript. We are learning both in a visual and entertaining way, always getting more difficult by the assignment (for me at least). The following link is to what Khan academy calls "Spin-off". They are my saved work or tutorial videos which I refer to. They show the progress which I have made, to my teacher who monitors.
https://www.khanacademy.org/profile/Greenpop/programs
https://www.khanacademy.org/profile/Greenpop/programs
Labels:
11e année,
Coding (ICS3U)
Wednesday, 21 May 2014
English: 1rst poem
We have recently just begun our unit on poetry, in both French and English. This first assignment was given after reading multiple different poems and the last being focused on the phrase, "I shall not live in vain". Thus our teacher assigned us to write a short poem using the phrase or something very similar to it. The only set criteria, apart form the usage of that particular phrase, was that the poem needed to finish with the phrase. Below is what I have written.
While today ends,
While today ends,
It brings us tomorrow.
Today is tomorrow.
It is a fresh face.
One which has not yet been tainted,
With many memories and mistakes.
One which we must live, create,
And experience its’ exhilarating and extraordinary things.
One which we must believe and fight for,
So that they may
have a future or even a present.
Thus one must not live nor die in vain.
That they might not live nor die in vain.
That I might not live nor die in vain,
Today, tomorrow, not ever.
I shall not live nor die in vain.
Labels:
11e année,
English (ENG3U)
Friday, 16 May 2014
Subscribe to:
Posts (Atom)