Python

Moderators: None (Apply to moderate this forum)
Number of threads: 473
Number of posts: 1172

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
QUESTION HELP!!! Posted by nnekymoe on 21 Nov 2012 at 2:19 PM
Would anyone know how to solve these questions? I dont care which one!! THANK YOU!!!

1. Write a program that reads in student marks until –1 is entered then display the highest mark, the lowest mark, and the class median. save as A3Q1.py (4 marks)

2. Setting up matches for a single elimination tournament is fairly straightforward. All you need to do is randomly assign the first round of games and the rest is all deterministic (there are no more choices to make) Create a program that allows the user to enter as many names as he or she wants and display the random pairings for the first round. If there are an odd number of players then add in a player called "Bye" Your program should display the results in a nice neat table.
save as A2Q2.py (4 marks)

3. I re-played all of your trivia programs for about eight hours last weekend and I just don't feel that much smarter (maybe a little smarter with Pokemon). I want you to make another trivial program, but this time I want the information to be more useful. Since Canada's Confederation in 1867 there have been 28 terms of office for Prime Minister, and some of the prime ministers have served multiple terms. Create a program that quizzes the user's knowledge of Canadian prime ministers. Ten times your program will give the user the term number, and the dates of the term and the user will give the last name of the prime minister. Tell them what percentage they got right and give a comment that reflects their level of knowledge.



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.