TORONTO KIDS COMPUTER CLUB | admin
1

## 16 JulAurora Saturday 13:00 Python Practice 20.07.11.

Question: A soccer team is looking for girls from ages 10 to 12 to play on their team. Write a program to ask the user’s age and if male or female (using “m” or “f”). Display a message indicating whether the person is eligible to play on the team....

## 16 JulMarkham Saturday 9:30 Python Homework 20.07.11.

Question You supervise a small parking lot which has N parking spaces. Yesterday, you recorded which parking spaces were occupied by cars and which were empty. Today, you recorded the same information. How many of the parking spaces were occupied both yesterday and today? Input Specification:The first line of input contains the...

## 16 JulPMCA Friday 19:00 Python Homework 20.07.10.

Question: The Logging Company cuts a lot of trees. For management reasons, they want to produce a table of the total amount of wood cut every day. They have hired you, to help them produce the table. They've kept a log of trees logged, and they...

## 16 JulTuesday Thursday 15:00 Python Practice 20.07.14.

Question 1. Use EasyGui to write a program to convert temperatures from Fahrenheit to Celsius. The formula for that is: Celsius = 5 / 9 * (Fahrenheit – 32). Use GUI input and output. You need to create a easygui enterbox to ask Fahrenheit, then use...

## 14 JulMonday Wednesday 10:00 Python Practice 20.07.13.

Question: Write a program that helps the user add up her change. The program should ask: “How many quarters?” “How many dimes?”  “How many nickels?” Then it should give the total value of the change. Hint: You should create 3 variables to assign to the number of quarters, dimes and...

## 10 JulTuesday Thursday 15:00 Python Practice 20.07.09.

You can do Question 1~ 3 in Python IDLE: Question 1. Use float() to create a number from a string like ‘12.34’. Make sure the result is really a number! Question 2. Try using int() to create an integer from a decimal number like 56.78. Did the answer get rounded up...

## 10 JulPMCA Sunday 12:00 Java Homework 20.07.05.

Question: Use the sieve of eratosthenes approach to find all the prime numbers between 0 and 100...

## 10 JulPMCA Saturday 18:30 Python Homework 20.07.04.

Question: Continue with the code from the previous class, create a new sprite called Enemy2 with any color you like. Make sure when the new enemy collide with the player, the enemy should be destroyed...

## 10 JulMarkham Saturday 14:00 Java Homework 20.07.04.

nput N numbers using scanner and find the Kth Smallest number in the array Sample Input 1: 10  (Hint: Value of N) 12 22 32 1 23 3 4 5 11 100 5 (Hint: Value of K) Sample Output 1: 11 (Hint: Sorted order is 1,3,4,5,11,12,22,23,32,100 so the 5th smallest number is 11) Sample Input 2: 5 (Hint: Value of N) 12 5 2 66 7 3 (Hint: Value...

## 09 JulMonday Wednesday 10:00 Python Practice 20.07.08.

You can do Question 1~ 3 in Python IDLE shell: Question 1. Use float() to create a number from a string like ‘12.34’. Make sure the result is really a number! Question 2. Try using int() to create an integer from a decimal number like 56.78. Did the answer get rounded...