• Homework
  • Thirds
  • Upper Thirds
  • Fourth
  • Divisions
    • ICT
    • Computer Science
  • Fifth
  • Lower Sixth
  • Upper Sixth
    • Upper Sixth Theory
  • Blog
  • Careers
  • Unity
  • Networking
computinglesson.com

The Revision Master - a proper programming project

Objective

We're going to create a proper computer program to help you with your revision for the end of year exams.  

You'll provide the data for a series of multiple choice questions. To begin with we'll create a simple text file that will contain the questions and answers.    However, once we've got that working, we will use an Access Database to store the question material.

The program should keep track of the player's score and prompt with the correct answer if they answer wrongly.
Picture

How are we going to do it?

All programming problems can look intimidating at first.  The trick is to divide the problem into simple steps - each of which is not so hard. 
Here's a suggestion as to the steps involved:

  • Create a basic form on which we can put the text elements
  • Figure out how our file is going to work
  • Set up the variables and arrays that we'll need
  • Make a simple starter question file
  • Read the file into the program and display it
  • Break up the lines of the file into questions and answers
  • Put the questions into one part of the form and the answers into a clickable list
  • Add the buttons and scoreboard
  • Complete the logic of the program
  • Result!
  • Convert the program to use an Access database


Find more help by clicking on these topics

Creating a form and adding a diagnostic window
Setting up our variables and arrays
Designing our answer file
Reading the file into the form and displaying it

Breaking the lines into sections

Powered by Create your own unique website with customizable templates.