TORONTO KIDS COMPUTER CLUB | admin
1

## 23 JanMarkham Saturday 14:00 Java Homework 20.01.18.

Question: Write a method  to check the validity of password input by users. Validation : At least 1 letter between [a-z] and 1 letter between[A-Z]. At least 1 number between [0-9]. At least 1 character from [\$#@]. Minimum length 6 characters. Maximum length 16 characters. ...

## 23 JanAurora Saturday 14:30 Python Homework 20.01.18.

Question: Modify the program we made in the class to: Create Missile class Add one missile to your program missile will automatically move from your spaceship to the top of the screen once missile reach the top of the screen, it will re-appear from the location of your fighter Hint: speed has...

## 23 JanAurora Monday 18:30 Python Homework 20.01.20.

Question 1： Write a program to ask the user for five names. The program should store the names in a list, and print them all out at the end. It should look something like this: Sample input： Enter 5 names: Tony Paul Nick Michel Kevin Sample output： The names are Tony, Paul, Nick, Michel, Kevin Hint: You...

## 23 JanAurora Saturday/Tuesday Python Homework L1-02

Question 1 Make a variable and assign a number to it (any number you like). Then display your variable using print. Question 2 Modify your variable, either by replacing the old value with a new value, or by adding something to the old value. Display the new value using print. Question 3 Make another...

## 20 JanPMCA Sunday 10:00 Practice -34.

Question 1: A common problem in mathematics is to determine which quadrant a given point lies in. There are four quadrants, numbered from 1 to 4, as shown in the diagram below: For example, the point A, which is at coordinates (12, 5) lies in quadrant 1...

## 16 JanAurora Monday 18:30 Python Homework 20.01.13.

Question ： write a program to ask user about the date(year, month and day), then calculate the day of the year. Sample input： Year: 2016 Month: 6 Day: 23 Sample output： Day of the year: 175 Hint: You need consider leap years and non leap years, in order to do easier calculation, you may...

## 16 JanAurora Saturday 14:30 Python Homework 20.01.11.

Question: Write a function luckySum(a, b, c) to calculate sum of given 3 int values, a b c. The function will have a return value of their sum. However, if one of the values is 13 then it does not count towards the sum and values to its...