Quiz for Chapter 9
Now, I assume all of you understand the theory.
I hate theorems. I'm sure you do too. Therefore, from now one, I will give you
practical quizzes only. Theory quiz will be given ONLY if I feel it is necessary.
(150 minutes)
- Make a database. The record tag, TStudent consists of these fields :
Field | Length |
Name | 20 |
Address | 40 |
Phone | 15 |
Quiz | number, from 1 to 100 |
Midtest | number, from 1 to 100 |
Finaltest | number, from 1 to 100 |
User could : - add new student
- edit existing student
- view student in a
list
- delete the record
- sort the record according to :
- Quiz
- Midtest
- Finaltest
- Overall value
(Overall value = 0.1*Quiz + 0.4*Mid + 0.5*Final)
You must :
- Provide a menu-driven feature, using arrow key.
- Make use of up and down arrow with PgUp and PgDown.
- At least be able to handle 200 students.
- Apply quick sort for at least one key-sort.
- Provide 'Quit to OS' feature.
- Apply search for student name first before editing the data.
Tip : Use array of records.
If you are done this correctly within 100 minutes, you are superior to
others. 100 to 120 minutes, you are average programmer. 120 to 150 minutes,
you are slow programmer.
(40 minutes)
- Change your Space Invader enemy array into array of records, containing
the x, y position of each enemy and whether it is died already or not.
That's all for this time.
Where to go ?
Back to chapter 9
Advance to chapter 10, about complex data structure.
To lesson 1 contents
My main tutorial homepage
My programming links
Contact me here
By : Roby Joehanes, © 1997, 2000