pdf, 274.58 KB
pdf, 274.58 KB
zip, 50.45 KB
zip, 50.45 KB
docx, 20.92 KB
docx, 20.92 KB

Create quiz questions and answers in a spreadsheet, export to a CSV file, and write a Python program to use the CSV files for a multiple-choice quiz. Printable student instructions; stretch / challenge tasks; and example files for teachers, this makes a great revision or end-of-unit activity! Students can re-visit the CSV file and add more questions as the year progresses.

Teaches:

  • CSV (comma-separated value) files
  • Python file-handling; two-dimensional lists; variables; iteration

Stretch / challenge activities:

  • Add a scoring system
  • Accept upper and lower case inputs
  • Fix a ‘bug’ where the same question may appear multiple times
  • Add a graphic interface

Files included:

  • Printable PDF worksheet (copy and paste is restricted so students must type their code
  • Sample CSV file with six questions and answers
  • Python file of the completed activity
  • Python file containing stretch / challenge solutions (except the GUI)

This is a great one or two lesson activity – ideal for a spare lesson at the end of term. Download for free.

Creative Commons "Sharealike"

Reviews

Something went wrong, please try again later.

This resource hasn't been reviewed yet

To ensure quality for our reviews, only customers who have downloaded this resource can review it

Report this resourceto let us know if it violates our terms and conditions.
Our customer service team will review your report and will be in touch.