TORONTO KIDS COMPUTER CLUB | admin
1

## 26 AprPMCA Friday 19:00 Python Homework 21.04.23.

Question 1:As the name implies, Googol Drive stores a vast amount of documents. So vast, in fact, that it would be impractical to manually search which documents are “shared with you” (and unfortunately, Googol does not support this operation yet). Given a list of N people numbered...

## 26 AprFriday 17:00 Python Practice 21.04.23.

Question 1: As the name implies, Googol Drive stores a vast amount of documents. So vast, in fact, that it would be impractical to manually search which documents are "shared with you" (and unfortunately, Googol does not support this operation yet). Given a list of N...

## 25 AprAurora Wednesday 18:30 Python Practice 21.04.21.

Question: Modify the program we made in the class. Add starting screen as below, the real game will start when play click the mouse in the range of the “PLAY” button. (Scroll down for more hint) You can download the background images from below: The size of the...

## 25 AprMarkham Saturday 14:00 Java Homework 21.04.24.

Question: Given an array as below [6,7,1,3,4,2,9,5] Sort the above array using selection Sort. The steps of the selection sort are as below: arr[] = 64 25 12 22 11 // Find the maximum element in arr[0...

## 25 AprPMCA Saturday 18:30 Python Homework 21.04.24.

Question 1: Given a dictionary as below fruitDict = {'Apple': 10, 'banana': 5,'orange':4,'Guava':6} Find the multiplication of all the values in the dictionary Question 2: Given a dictionary  as below which contains the mapping between an employee and their salary(in \$) : empdict = {'Jack': 12000, 'Max': 20000, 'Hack':25000,'Nack':80000} Print all the...

## 25 AprPMCA Sunday 14:00 Python Homework 21.04.25.

Question： Create a PWD(Password) class it will contain the following methods: __init__ to create a password object by passing one argument into it validate to check the validity of password input by users. it need to use the following method: checkLetter: At least 1 letter between [a-z] and...

## 22 AprPMCA Saturday 18:30 Python Homework 21.04.17.

Question1: Ask user to give name and marks of 10 different students. Store them in dictionary. Question 2: The below dictionary contains the mapping of item name in a store and the price of the item in the store. {'item1': 45.50, 'item2':35, 'item3': 41.30, 'item4':55, 'item5': 24} Write a python...

## 22 AprMarkham Saturday 14:00 Java Homework 21.04.17.

Question 1: Thuc likes finding cyclic shifts of strings. A cyclic shift of a string is obtained by moving characters from the beginning of the string to the end of the string. We also consider a string to be a cyclic shift of itself. For example,...

## 22 AprPMCA Sunday 14:00 Python Homework 21.04.18.

Question： Create a Tank class which have the attributes of: name direction(use ‘up’, ‘down’, ‘left’ or ‘right’) x position and y position The class also have the following method: move (direction, steps) method can change the x or y position base on the direction and steps. it will...

## 21 AprTuesday 17:30 Python Homework 21.04.20.

Question： 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 can use...