📄 pasq1008.html
字号:
<HTML>
<HEAD><LINK href="../style.css" rel="stylesheet" type="text/css">
<TITLE>Pascal Lesson 1 : Quiz 9</TITLE></HEAD>
<BODY background="../tile01.jpg">
<P><CENTER><H1>Quiz for Chapter 9</H1></CENTER></P>
<p>Now, I assume all of you understand the <a href="pasl1008.html">theory</a>.
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.</p>
<h3>(150 minutes)</h3><ol>
<li>Make a database. The record tag, <tt>TStudent</tt> consists of these fields :
<center><table border=2><tr><th>Field</th><th>Length</th></tr>
<tr><td>Name</td><td><center>20</center></td></tr>
<tr><td>Address</td><td><center>40</center></td></tr>
<tr><td>Phone</td><td><center>15</center></td></tr>
<tr><td>Quiz</td><td>number, from 1 to 100</td></tr>
<tr><td>Midtest</td><td>number, from 1 to 100</td></tr>
<tr><td>Finaltest</td><td>number, from 1 to 100</td></tr></table></center>
User could : <ul><li>add new student</li><li>edit existing student</li><li>view student in a
list</li><li>delete the record</li><li>sort the record according to :<ul>
<li>Quiz</li><li>Midtest</li><li>Finaltest</li><li>Overall value<br>
(Overall value = 0.1*Quiz + 0.4*Mid + 0.5*Final)</li></ul></ul>
You must :<ul>
<li>Provide a menu-driven feature, using arrow key.</li>
<li>Make use of up and down arrow with <tt>PgUp</tt> and <tt>PgDown</tt>.</li>
<li>At least be able to handle 200 students.</li>
<li>Apply quick sort for at least one key-sort.</li>
<li>Provide 'Quit to OS' feature.</li>
<li>Apply search for student name first before editing the data.</li></ul>
Tip : Use array of records.<br>
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.</ol>
<h3>(40 minutes)</h3><ol start=2>
<li>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.</li></ol>
<p>That's all for this time.</p><hr>
<P><H3>Where to go ?</H3><p>
<A HREF="pasl1008.html">Back to chapter 9</A><BR>
<A HREF="pasl1009.html">Advance to chapter 10</A>, about complex data structure.<BR>
<A HREF="pasles01.html">To lesson 1 contents</A><BR>
<A HREF="../news.html">My main tutorial homepage</A><BR>
<A HREF="../mylink.html">My programming links</A><BR>
<A HREF="../faq.html">Contact me here</A>
</P><hr><P class="cpy">By : Roby Joehanes, © 1997, 2000</P>
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -