📄 pasq1013.html
字号:
<HTML>
<HEAD><LINK href="../style.css" rel="stylesheet" type="text/css">
<TITLE>Pascal Lesson 1 : Quiz 14, Final Exam</TITLE></HEAD>
<BODY background="../tile01.jpg">
<P><CENTER><H1>Quiz for Chapter 14 (Final Exam)</H1></CENTER></P>
<p>Don't continue if you have not yet understand the <a href="pasl1013.html">
lesson</a></p><h3>Time : 30 min for number 1 to 3</h3><ol>
<li>Make a function to detect whether it is a text file or not. Return
true if it does.</li>
<li>Make a simulation for <tt>dir</tt> command in DOS.</li>
<li>Make a simulation for <tt>copy</tt> command in DOS.</li></ol>
<h3>This number : 3 hours.</h3><p>
Modify your database in chapter 9 so that it can safe data into disk.
All features remains the same, except :<ol>
<li>Re-design your menu as pull-down menu.</li>
<li>Your program has File menu, that has options :<br>
New, Save, Load, Save As, and Exit</li>
<li>Make a security option, i.e. input passwords before entering.<br>
User can modify the password as they like.</li></ol></p>
<h3>This number : 5 whole days.</h3><p>
Make a text editor, just like DOS that has feature :</p><ol>
<li>Pull-down menu.</li>
<li>File menu MUST have : New, Save, Load, Save As, and Exit.</li>
<li>You may limit the maximum number of lines that can be edited : 500 lines.</li>
<li>You MUST provide at least 4 Edit functions : Cut, Copy, Paste, and Clear.</li>
<li>You MUST provide the shortcut keys for each menu.</li>
<li>You MUST provide at least 3 Search functions : Find, Find-and-Replace, and Repeat.</li>
<li>You MUST warn user if their files hasn't been saved when quitting or loading other file.</li></ol>
<h3>This number : 1 hour.</h3>
<p>Modify your Space Invader so that it could save top 10 high scorer.</p>
<h3>Challenge : 10 days</h3><p>
Make a file manager or Explorer. You must be able to do :</p><ol>
<li>Shows the directory tree, can be collapsed or expanded.</li>
<li>Select/Unselect files.</li>
<li>Copying, renaming, and moving single/multiple selected files and directory.</li>
<li>Change, create, and remove directory</li>
<li>Deleting files and directories (like <tt>deltree</tt>).</li>
<li>Perform a Hexadecimal view of any selected file.</li>
<li>Sort filenames according : name, extension, date/time of creation and filesize.</li>
<li>Can display files of certain attribute. User is asked what attribute does he/she want to view at.</li>
<li>Perform an error handler so that whenever error occurs, it just
never quits, but asked user what to do (Retry, Ignore or Cancel).</li></ol>
<p>Formatting disks will be discussed in lesson 2, so don't bother doing it.</p>
<p>That's all folks ! Good luck !</p><hr>
<P><H3>Where to go ?</H3>
<A HREF="pasl1013.html">Back to chapter 14</A><BR>
<A HREF="pasles02.html">To lesson 2 contents</A><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 + -