TORONTO KIDS COMPUTER CLUB | admin
1

## 16 SepAurora Monday 18:30 Python Homework 20.09.14.

Problem Description Ken is working for the secret agency. He is going to send a secret message that encodes UPPERCASE words by shifting their letters forward. Shifting a letter by S positions means to go forward S letters in the alphabet. For example, shifting B by S = 3 positions gives E. However,...

## 16 SepAurora Saturday 16:30 Python Homework 20.09.12.

Question 1: Ask user to give name and marks of 10 different students. Store them in dictionary. Question 2: Count the number of occurrence of each letter in word “MISSISSIPPI”. Store count of every letter with the letter in a dictionary....

## 16 SepAurora Saturday 13:00 Python Practice 09.12.

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...

## 15 SepAurora Saturday 14:30 Python Practice 20.09.12.

Question:When moving, ants form rows so that each ant except the first is behind another ant. It is not widely known what happens when two rows of ants moving in opposite directions run into each other in a passage too narrow for both rows to...

## 15 SepPMCA Friday 19:00 Python Homework 20.09.11.

Question:Write a program to print out a calendar for a particular month given the day on which the first of the month occurs together with the number of days in the month. Your program should take as input an integer representing the day of the week...

## 11 SepAurora Wednesday 18:30 Python Practice – 03 20.09.09.

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...

## 11 SepPMCA Sunday 14:00 Python Homework 20.09.06.

Question 1: Input a string and print the string 5 times Sample program run ---------------------------- Enter a string: Apple AppleAppleAppleAppleApple Sample program run ---------------------------- Enter a string: Orange OrangeOrangeOrangeOrangeOrange Question 2: Write a program to find the simple interest for an amount (P) for the rate (R ) and for the number of years (Y). The formula...

## 11 SepPMCA Sunday 12:00 Java Homework 20.09.06.

Question: You will be given two arrays A and B of positive integers. The number of values in both the arrays will be the same say N. Your task is to find the maximum sum of products of their elements. Each element in A has to...

## 10 SepPMCA Saturday 18:30 Python Homework 20.09.05.

Question: Input a number (N) , reverse a number and add the reversed number to the number. For e.g. given a number 23 you need to add 23 and 32 (which is the reverse of 23) is 55. Below is the code to reverse a string in...

## 10 SepMarkham Saturday 14:00 Java Homework 20.09.05.

Question: Count the number of cars passing each other on the street. The goal is to count passing cars. We say that a pair of cars (P, Q), where 0 ≤ P < Q < N, is passing when car P is traveling to the east and car Q is traveling to the...