home *** CD-ROM | disk | FTP | other *** search
/ ftptest.leeds.ac.uk / 2015.02.ftptest.leeds.ac.uk.tar / ftptest.leeds.ac.uk / bionet / mcq_etc / phys_mcq.exe / MCQ2.TBK (.txt) < prev    next >
Asymetrix ToolBook File  |  1993-06-18  |  102KB  |  1,902 lines

  1. MCQ SB 1X
  2. MCQ SB 1
  3. MCQ SB 1
  4. setup
  5. 4answers,branches
  6. "Stem" 
  7. sp) + 420 
  8. sp) + 100 
  9. "12345" 
  10. randomize(
  11. "Position" & 
  12. x & ","& y + 630*i
  13. "Score"
  14. B"OK" 
  15. B"OK"
  16. setup
  17. setup
  18. -----
  19. 12345
  20. randomize
  21. Position
  22. Score
  23. answers
  24. branches
  25. s,omit,defaultpage
  26. B"Next" 
  27. "Searching" 
  28. setup 
  29. buttonUp
  30. buttonUp
  31. buttonUp
  32. Searching
  33. setup
  34. setup
  35. newpage
  36. defaultpage
  37. Searching
  38. Feedback
  39. 4answers,correct,questions,MCQFile,nticks,ncrosses,ndontknows
  40. "OK" 
  41. "EXPLAIN"
  42. feedback
  43. buttonUp
  44. buttonUp
  45. EXPLAIN
  46. <feedback
  47. answers
  48. correct
  49. questions
  50. MCQFile
  51. nticks
  52. ncrosses
  53. ndontknows
  54. Position1
  55. Branch1
  56. True1
  57. answer
  58. buttonUp
  59. buttonUp
  60. answer
  61. fillcolour
  62. 120,50,100
  63. False1
  64. answer
  65. buttonUp
  66. buttonUp
  67. answer
  68. fillcolour
  69. 120,50,100
  70. FALSE
  71. cross1
  72. tick1
  73. Dontknow1
  74. buttonUp
  75. buttonUp
  76. cancel
  77. Position5
  78. Branch5
  79. True5
  80. answer
  81. buttonUp
  82. buttonUp
  83. answer
  84. fillcolour
  85. 120,50,100
  86. False5
  87. answer
  88. buttonUp
  89. buttonUp
  90. answer
  91. fillcolour
  92. 120,50,100
  93. FALSE
  94. cross5
  95. tick5
  96. !y    s#
  97. Dontknow5
  98. buttonUp
  99. buttonUp
  100. cancel
  101. Position4
  102. Branch4
  103. True4
  104. answer
  105. buttonUp
  106. buttonUp
  107. answer
  108. fillcolour
  109. 120,50,100
  110. False4
  111. answer
  112. buttonUp
  113. buttonUp
  114. answer
  115. fillcolour
  116. 120,50,100
  117. FALSE
  118. cross4
  119. tick4
  120. Dontknow4
  121. buttonUp
  122. buttonUp
  123. cancel
  124. Position3
  125. Branch3
  126. True3
  127. answer
  128. buttonUp
  129. buttonUp
  130. answer
  131. fillcolour
  132. 120,50,100
  133. False3
  134. answer
  135. buttonUp
  136. buttonUp
  137. answer
  138. fillcolour
  139. 120,50,100
  140. FALSE
  141. cross3
  142. tick3
  143. Dontknow3
  144. buttonUp
  145. buttonUp
  146. cancel
  147. Position2
  148. Branch2
  149. True2
  150. answer
  151. buttonUp
  152. buttonUp
  153. answer
  154. fillcolour
  155. 120,50,100
  156. False2
  157. answer
  158. buttonUp
  159. buttonUp
  160. answer
  161. fillcolour
  162. 120,50,100
  163. FALSE
  164. cross2
  165. tick2
  166. Dontknow2
  167. buttonUp
  168. buttonUp
  169. cancel
  170. Button
  171. Level
  172. Group
  173. Number
  174. No more
  175. This is the last question.  If you would like more questions then choose Topics from the Actions menu.
  176. Inform
  177. Border
  178. Information
  179. Remove
  180. "Info"
  181. buttonUp
  182. buttonUp
  183. Score
  184. Scores
  185. buttonUp
  186. buttonUp
  187. NoScores
  188. "Score"
  189. buttonUp
  190. buttonUp
  191. Score
  192. 4message -- Message may contain parameters 
  193. 4leavewindows
  194. -4, -24, 644, 484
  195. disableReaderMenus
  196. createReaderMenu "Actions","Topics,Quit"
  197. (Information","About MCQ,Score,Question File"
  198. YHelp","Using 
  199. 'electing Questions,Answering 
  200. dvice"
  201. grey "Advice,
  202. +Selecting 
  203. )Author
  204. e"Restart" 
  205. "Pick" 
  206. "Start"
  207. "Groups" 
  208. begin
  209. -- No 
  210. visited
  211. ("Give 
  212. "Subject"
  213. "Display"
  214. k32767
  215. ReadControlFile
  216. 4MCQControl,typenames,path,
  217. N,weights,recordname
  218. "Files" 
  219. sysErrorNumber 
  220. ReportError "Tried 
  221. " && 
  222.  && "
  223. %control file" && "-" && 
  224. x":" 
  225. : Line has no :" & CRLF & l
  226. "C" -- comment
  227. znothing
  228.  identifier
  229. N<10 
  230. N&"." && 
  231. "F" -- 
  232.  list
  233. : No 
  234.  defined 
  235. U:" & 
  236. : Too few files 
  237. U:" & 
  238. "G" -- Target 
  239. ":" -- 
  240. : Illegal 
  241. U:" & 
  242. readLine 
  243. 4MCQFile
  244. newline
  245. exact
  246. 1 -- Skip 
  247. :" && 
  248.  && "expected 
  249. " && l
  250. (l) > 2 
  251. ansitoChar(24) & LF & l 
  252. l -- 
  253. l-x => 
  254. ffont
  255. setsize fd,pg,ld,x
  256. tp + (ld*textlineCount(
  257. pg)) + x 
  258. findnext 
  259.             -- eof
  260. 1 -- 
  261. randomize seq
  262. sequence
  263. (l-1) 
  264. nnumber n
  265.     -- Returns 
  266. a natural 
  267. "0123456789" 
  268. skip 
  269.  t,c,d
  270. t+c+d 
  271. 100*(t*(
  272. O    ) + c*(
  273. ^    ) + d*(
  274. m    )) 
  275. y(t+c+d)
  276. wipe n
  277. 4totalticks,totalcrosses,totaldontknows
  278.     -- syntax 
  279.  leavewindowsonexit
  280. recordpath,
  281. , -- => 
  282. 7 on 
  283. t-- To prevent 
  284.  changing 
  285. l+ ->
  286. -- To 
  287. l+ <-
  288. -4, -24, 750, 550
  289. -4, -24, 644, 484
  290. 9792,7200
  291. , Edit, Text, Page, 
  292. , RecordFile, 
  293.  -- In 
  294. Cannot 
  295. Name given 
  296. " && 
  297. "MCQ Student 
  298.     -- Exit ToolBook
  299. sysSuspendMessages 
  300.         linkDLL"user.exe"
  301.             INT ExitWindows(DWORD,
  302.      FindWindow(
  303. STRING)
  304. 5ShowWindow(
  305. hWnd 
  306. 40,"Program Manager")
  307. u0,0)
  308. usingMCQ
  309. aboutMCQ
  310. selectingQuestions
  311. begin
  312. createReaderMenu
  313. previous
  314. Author
  315. ReadControlFile
  316. Reader
  317. disableReaderMenus
  318. leaveBook
  319. Restart
  320. setsize
  321. Advice
  322. usingMCQ
  323. enterBook
  324. aboutMCQ
  325. ReportError
  326. selectingQuestions
  327. Information
  328. readLine
  329. randomize
  330. nnumber
  331. findnext
  332. Score
  333. enterBook
  334. disableReaderMenus
  335. createReaderMenu
  336. Actions
  337. Topics,Quit
  338. createReaderMenu
  339. Information
  340. About MCQ,Score,Question File
  341. createReaderMenu
  342. Using MCQ,Selecting Questions,Answering Questions,Advice
  343. Advice,Answering Questions,Selecting Questions,Question File,Score,Topics
  344. Actions
  345. Author
  346. Actions
  347. Restart
  348. Actions
  349. Start
  350. Groups
  351. Start
  352. begin
  353. leavewindows
  354. message
  355. createReaderMenu
  356. begin
  357. Reader
  358. Give Message
  359. Subject
  360. Display
  361. Groups
  362. seconds
  363. message
  364. A    ReadControlFile
  365. Files
  366. Topics
  367. Groups
  368. Start
  369. Topics
  370. ReportError
  371. Tried to open
  372. as control file
  373. ReportError
  374. Control File: Line has no :
  375. Display
  376. Start
  377. Subject
  378. Topics
  379. Subject
  380. Start
  381. Topics
  382. Topics
  383. ReportError
  384. Control File: No path defined before line:
  385. ReportError
  386. Control File: Too few files in line:
  387. Files
  388. Topics
  389. Groups
  390. Start
  391. ReportError
  392. Control File: Illegal code at start of line:
  393. MCQControl
  394. typenames
  395. topics
  396. weights
  397. recordname
  398. leaveBook
  399. readLine
  400. ReportError
  401. MCQ File Error:
  402. expected in
  403. Error
  404. exact
  405. newline
  406. MCQFile
  407. setsize
  408. findnext
  409. MCQFile
  410. randomize
  411. sequence
  412. nnumber
  413. 0123456789
  414. ReportError
  415. Error
  416. Error
  417. message
  418. Score
  419. weights
  420. totalticks
  421. totalcrosses
  422. totaldontknows
  423. false
  424. MCQControl
  425. recordpath
  426. leavewindows
  427. previous
  428. Author
  429. Reader
  430. disableReaderMenus
  431. File, Edit, Text, Page, Help
  432. Start
  433. Topics
  434. increment
  435. ReportError
  436. Cannot create record file.  Name given is
  437. MCQ Student Record File
  438. user.exe
  439. ExitWindows
  440. FindWindow
  441. ShowWindow
  442. Program Manager
  443. FindWindow
  444. ShowWindow
  445. ExitWindows
  446. MCQFile
  447. RecordFile
  448. totalticks
  449. totalcrosses
  450. totaldontknows
  451. leavewindows
  452. Restart
  453. Start
  454. begin
  455. Advice
  456. Information
  457. Advice
  458. usingMCQ
  459. Information
  460. Using MCQ
  461. aboutMCQ
  462. Information
  463. About MCQ
  464. selectingQuestions
  465. Information
  466. Selecting Questions
  467. Information
  468. Author
  469. Information
  470. MCQ SB
  471. Author
  472. DisplayText n
  473. DisplayText
  474. DisplayText
  475. "!v%w
  476. Author control panel - students should not see this.
  477. Selecting questions
  478. DisplayText "Selecting questions"
  479. buttonUp
  480. buttonUp
  481. DisplayText
  482. Selecting questions
  483. Selecting questions
  484. Using MCQ
  485. DisplayText "Using MCQ"
  486. buttonUp
  487. buttonUp
  488. DisplayText
  489. Using MCQ
  490. Using MCQ
  491. About MCQ
  492. DisplayText "About MCQ"
  493. buttonUp
  494. buttonUp
  495. DisplayText
  496. About MCQ
  497. About MCQ
  498. Textssssss
  499. Advice
  500. DisplayText "Advice"
  501. buttonUp
  502. buttonUp
  503. DisplayText
  504. Advice
  505. Advice
  506. Format Help
  507. MCQ SB 1
  508. DisplayText "MCQ SB 1"
  509. buttonUp
  510. buttonUp
  511. DisplayText
  512. MCQ SB 1
  513. MCQ SB 1
  514. MCQ SB 1X
  515. DisplayText "MCQ SB 1X"
  516. buttonUp
  517. buttonUp
  518. DisplayText
  519. MCQ SB 1X
  520. MCQ SB 1X
  521. Close
  522. 4MCQFile,MCQControl
  523. buttonUp
  524. buttonUp
  525. MCQFile
  526. MCQControl
  527. Close MCQ File
  528. File scripts
  529. Restart
  530. Restart
  531. buttonUp
  532. buttonUp
  533. NRestart
  534. Restart
  535. Clear
  536. cleartext "Start","Groups,Subject,Display,Information"
  537. 6Topics","Menu,Scores,Files,Types,
  538. (Report,How many,
  539. K,Number"
  540. Error","
  541. MCQ SB 1","
  542. UStem,Feedback,Branch1,Branch2,Branch3,Branch4,Branch5"
  543. h,Name,Code,Level,
  544. hX","
  545. ~X","
  546. "Page" 
  547. "Clearing 
  548. " && f && "on 
  549. " && p
  550.         -- 
  551. buttonUp
  552. cleartext
  553. buttonUp
  554. cleartext
  555. Start
  556. Groups,Subject,Display,Information
  557. cleartext
  558. Topics
  559. Menu,Scores,Files,Types,Subject,Group
  560. cleartext
  561. Topics
  562. Report,How many,Information,Number
  563. cleartext
  564. Error
  565. Error
  566. cleartext
  567. MCQ SB 1
  568. Scores,Stem,Feedback,Branch1,Branch2,Branch3,Branch4,Branch5
  569. cleartext
  570. MCQ SB 1
  571. Inform,Information,Number,Name,Code,Level,Group
  572. cleartext
  573. MCQ SB 1X
  574. Scores,Stem,Feedback,Branch1,Branch2,Branch3,Branch4,Branch5
  575. cleartext
  576. MCQ SB 1X
  577. Inform,Information,Number,Name,Code,Level,Group
  578. cleartext
  579. Clearing field
  580. on page
  581. Clear redundant text
  582. Author Actions
  583. Author level
  584. Author
  585. buttonUp
  586. buttonUp
  587. Author
  588. Author level
  589. Author
  590. buttonUp
  591. buttonUp
  592. Author
  593. Go to page
  594. Start
  595. Start
  596. Topics
  597. Topics
  598. Error
  599. Error
  600. MCQ SB 1
  601. MCQ SB 1
  602. MCQ SB 1X
  603. MCQ SB 1X
  604. Selecting questions
  605. SELECTING QUESTIONS
  606. Choose your topic by clicking on its name using the left button of the mouse.
  607. If there are different types of question within the topic you may have to make some more choices.
  608. When you are asked to indicate how many questions you want click on the screen keypad with the mouse.
  609. Click OK when the number is right.  Click CLEAR to cancel your selection and begin by selecting a topic again.
  610. Using MCQ
  611. USING THE MCQ SYSTEM
  612. To operate the MCQ System you use the mouse to pull down and select from memus and to click on buttons or on items in a list.
  613. Always use the left button of the mouse.
  614. The menus are across the top of the screen.  To select from a menu place the mouse pointer on the name of the menu, HOLD DOWN the left button of the mouse, and  move the mouse pointer down the menu until the option you wish to select is highlighted THEN RELEASE the mouse button.  Grey menu items are inappropriate in your current situation and cannot be used.
  615. You may have to indicate to which group of students you belong.
  616. The MCQ System keeps records of your scores.  These performance records are for your benefit and can be erased if you choose to do so when the list of topics is displayed.g
  617. About MCQ
  618. ABOUT MCQ
  619. This MCQ System was developed  at the University of Leeds by Ken Tait of the Computer Based Learning Unit in collaboration with Ian Hughes of the Department of Pharmacology.  Earlier versions of the same system were implementent for VMS using the FOAL language which is a part of of the CBLU's GALTS authoring system.
  620. This system is written in Asymmetrix ToolBook 1.5 and runs under Microsoft Windows 3.0 or 3.1.
  621. This system still being tested.  In particular the Pharmacology and Microbiology MCQ files have been taken directly from VMS and reprocessed.  No systematic attempt has yet been made to ensure that the text is always correctly laid out.  Ken Tait (4628) will be pleased to receive any information which can be used to improve this version of the MCQ System or the questions.
  622. Advice
  623. CHOOSING HOW MANY QUESTIONS
  624. If there are a large number of questions in a topic do not repeatedly ask for a small number.  It is quicker to ask once for a larger number but it is inadvisable to ask for more than half of the available questions.  You will also see a greater variety of questions this way.
  625. HOW TO BE GUIDED BY YOUR SCORES
  626. Concentrate on those topics for which your performance is poor.
  627. Occasionally clear an individual score or wipe all the scores so that you can assess your current performance.
  628. FREQUENCY OF USE
  629. A short period (say an hour) every week is better than several hours in the last few days before the examinations.
  630. s before the examinations.
  631. MCQ SB 1
  632. HOW TO ANSWER QUESTIONS
  633. Each question consists of a STEM and a number of BRANCHES.
  634. Each branch when added to the stem makes a statement.
  635. You are asked to decide which of the statements are true and which are false.
  636. Click on the appropriate button for each sentence: it will change colour to record the choice you have made.  You may cancel your choice by clicking on the question mark.  Leaving neither TRUE nor FALSE selected indicates that you do not know the answer.
  637. When you have made all your decisions then click on OK.  An explanation will become available after you have done this.
  638. (If a bar appears at the right hand side of the explanation then the text is too big to fit in the window.  You can click in the bar or on the arrows to move the text up and down.)
  639. Choose Score from the Information menu to see your score for the current set of questions.
  640. To return to the list of Topics select Topics from the Action menu
  641. To leave the MCQ System choose Quit from the Actions menu. 
  642. MCQ SB 1X
  643. HOW TO ANSWER QUESTIONS
  644. Each question consists of a STEM and a number of BRANCHES.
  645. Each branch when added to the stem makes a statement.
  646. You are asked to decide which of the statements are true and which are false.
  647. Click on the appropriate button for each sentence: it will change colour to record the choice you have made.  You may cancel your choice by clicking on the question mark.  Leaving neither TRUE nor FALSE highlighted indicates that you do not know the answer.
  648. When you have made all your decisions then click on OK.  An explanation will become available after you have done this.
  649. (If a bar appears at the right hand side of the explanation then the text is too big to fit in the window.  You can click in the bar or on the arrows to move the text up and down.)
  650. Choose Score from the Information menu to see your score for the current set of questions.
  651. To return to the list of Topics select Topics from the Action menu
  652. To leave the MCQ System choose Quit from the Actions menu. 
  653. Author
  654. MCQ SB
  655. Ql,s,c
  656. Author
  657. rightButtonDoubleClick
  658. rightButtonDoubleClick
  659. Author
  660.  1992 Computer Based Learning Unit, The University of Leedsss
  661. :PHYSSIZE
  662. MCQ SB 1X
  663. setup
  664. 4answers, branches
  665. "Stem" 
  666. sp) - 400 
  667. "12345" 
  668. randomize(
  669. "Position" & 
  670. x & "," & y + 1185*(i-1)
  671. "Scores"
  672. B"OK" 
  673. B"OK"
  674. setup
  675. setup
  676. -----
  677. 12345
  678. randomize
  679. Position
  680. Scores
  681. answers
  682. branches
  683. (R0R0R0R0R0
  684. Feedback
  685. 4answers,correct,questions,MCQFile,nticks,ncrosses,ndontknows
  686. "OK" 
  687. "EXPLAIN"
  688. feedback
  689. buttonUp
  690. buttonUp
  691. EXPLAIN
  692. <feedback
  693. answers
  694. correct
  695. questions
  696. MCQFile
  697. nticks
  698. ncrosses
  699. ndontknows
  700. Position5
  701. Branch5
  702. True5
  703. answer
  704. buttonUp
  705. buttonUp
  706. answer
  707. fillcolour
  708. 120,50,100
  709. False5
  710. answer
  711. buttonUp
  712. buttonUp
  713. answer
  714.     fillcolour
  715. 120,50,100
  716. FALSE
  717. cross5
  718. tick5
  719. Dontknow5
  720. buttonUp
  721. buttonUp
  722. cancel
  723. Position4
  724. Branch4
  725. True4
  726. answer
  727. buttonUp
  728. buttonUp
  729. answer
  730. fillcolour
  731. 120,50,100
  732. False4
  733. answer
  734. buttonUp
  735. buttonUp
  736. answer
  737. fillcolour
  738. 120,50,100
  739. FALSE
  740. cross4
  741. tick4
  742. Dontknow4
  743. buttonUp
  744. buttonUp
  745. cancel
  746. Position3
  747. Branch3
  748. True3
  749. answer
  750. buttonUp
  751. buttonUp
  752. answer
  753. fillcolour
  754. 120,50,100
  755. False3
  756. answer
  757. buttonUp
  758. buttonUp
  759. answer
  760. fillcolour
  761. 120,50,100
  762. FALSE
  763. cross3
  764. tick3
  765. Dontknow3
  766. buttonUp
  767. buttonUp
  768. cancel
  769. Position2
  770. Branch2
  771. True2
  772. answer
  773. buttonUp
  774. buttonUp
  775. answer
  776. fillcolour
  777. 120,50,100
  778. False2
  779. answer
  780. buttonUp
  781. buttonUp
  782. answer
  783. fillcolour
  784. 120,50,100
  785. FALSE
  786. cross2
  787. tick2
  788. Dontknow2
  789. buttonUp
  790. buttonUp
  791. cancel
  792. Position1
  793. Branch1
  794. True1
  795. answer
  796. buttonUp
  797. buttonUp
  798. answer
  799. fillcolour
  800. 120,50,100
  801. False1
  802. answer
  803. buttonUp
  804. buttonUp
  805. answer
  806. fillcolour
  807. 120,50,100
  808. FALSE
  809. cross1
  810. tick1
  811. Dontknow1
  812. buttonUp
  813. buttonUp
  814. cancel
  815. Button
  816. s,omit,defaultpage
  817. B"Next" 
  818. "Searching" 
  819. setup 
  820. buttonUp
  821. buttonUp
  822. buttonUp
  823. Searching
  824. setup
  825. setup
  826. newpage
  827. defaultpage
  828. Click here for a question
  829. No more
  830. This is the last question.  If you would like more questions then select Topics from the Actions menu.
  831. buttonUp
  832. buttonUp
  833. Each question consists of a STEM and a number of BRANCHES.
  834. The stem together with each branch makes a statement.
  835. You are asked to decide which of the sentences are true and which are false.
  836. Click on the appropriate button for each sentence: it will change colour to record the choice you have made.
  837. You may cancel your choice by clicking on the question mark.
  838. When you have made all your decisions then click on OK.  An explanation will become available after you have done this.
  839. If a bar appears at the right hand side of the explanation then the text is too big to fit in the window.  You can click in the bar or on the arrows to move the text up and down.
  840. To return to the Menu of Topics click on the MENU button.
  841. To leave the MCQ System return to the menu and click on STOP.  You may click on the STOP button here but it could mean that your records are not accurate.
  842. Click on SCORE to see your current score.
  843. TO REMOVE THIS HELP CLICK ANYWHERE IN THIS WINDOWW
  844. Scores
  845. buttonUp
  846. buttonUp
  847. Remark
  848. Question not found - Please click on MENU
  849. Inform
  850. Score
  851. Scores
  852. buttonUp
  853. buttonUp
  854. Branches answered     : 0
  855. Branches correct      : 0
  856. Branches incorrect    : 0
  857. Branches not answered : 0
  858. SCORE                 : 0%
  859. CLICK HERE TO REMOVE 
  860. NoScores
  861. "Score"
  862. buttonUp
  863. buttonUp
  864. Score
  865. Level
  866. Group
  867. Number
  868. Border
  869. Information
  870. Remove
  871. "Info"
  872. buttonUp
  873. buttonUp
  874. System
  875. gD|D|
  876. gD|D|
  877. gD|D|
  878. urier
  879. gD|D|
  880.     Q v 0.81
  881. Tms Rmn
  882. gD|D|
  883. gD|D|
  884. gD|D|
  885. gD|D|
  886. rminal
  887. gD|D|
  888. gD|D|
  889. Leeds MCQ System
  890. System
  891. gD|D|
  892. Terminal
  893. gD|D|
  894. Courier
  895. gD|D|
  896. s Rmn
  897. gD|D|
  898. 04,1st July 1992
  899. System
  900. gD|D|
  901. Tms Rmn
  902. gD|D|
  903. iuSjoNqyA
  904. Courier
  905. gD|D|
  906. s Rmn
  907. gD|D|
  908. System
  909. gD|D|
  910. 08,4th December 1992
  911. System
  912. gD|D|
  913. expected in
  914. Error
  915. exact
  916. newline
  917. MCQFile
  918. findnext
  919. Error in file
  920. - end of file
  921. MCQFile
  922. MCQ System
  923. "Page :" && 
  924. enterPage
  925. leaveBackground
  926. enterPage
  927. Page :
  928. leaveBackground
  929. Ql,s,c
  930. Author
  931. Reader -- Re-establish 
  932. context
  933. rightButtonDoubleClick
  934. rightButtonDoubleClick
  935. Author
  936. Reader
  937.  1992 Computer Based Learning Unit, The University of Leeds, UK
  938. :PHYSSIZE
  939. Page : Author
  940. Start
  941. Indicate which group you belong to by clicking on one of themmhemmmm
  942. Groups
  943. 4MCQFile,targetgroupname
  944. "Group" 
  945. "Topics"
  946. buttonUp
  947. buttonUp
  948. Group
  949. Topics
  950. Topics
  951. MCQFile
  952. targetgroupname
  953. Subject
  954. Display
  955. :PHYSSIZE
  956. lyneStyle
  957. Border
  958. Information
  959. Remove
  960. "Info"
  961. buttonUp
  962. buttonUp
  963. Version 2.09, 4th March 1993
  964. Topics
  965. 4MCQFile,lastline,questions,typenames,topicnumber,topicclick,topicname
  966. "Report"
  967. selectedTextlines 
  968. sysLockcreen 
  969. ) <=1 
  970. filename 1
  971. "Types"
  972. CRLF 
  973. 2*y > 
  974. "CBLU" 
  975. x,(y - (
  976. "Down"
  977.  > 9000 
  978.  - 9000 
  979. x-d,y
  980. buttonUp
  981. buttonDown
  982. buttonUp
  983. Report
  984. textFromPoint
  985. eSfilename
  986. Types
  987. Types
  988. Types
  989. Types
  990. Types
  991. Types
  992. Types
  993. Types
  994. Types
  995. Types
  996. Types
  997. Types
  998. Types
  999. sysLockcreen
  1000. MCQFile
  1001. lastline
  1002. questions
  1003. typenames
  1004. topicnumber
  1005. topicclick
  1006. topicname
  1007. buttonDown
  1008. setup
  1009. ccancel
  1010. update
  1011. "Selecting questions" 
  1012. "Advice" 
  1013. "Number"
  1014. "Please"
  1015. "Reconsider"
  1016. filename l
  1017. 4MCQFile,path,topicnumber,topiclevel,typenames
  1018. "Locating"
  1019. "Files" 
  1020. files
  1021.  & "\" & 
  1022.  & ".
  1023. untidy 
  1024. sysErrorNumber 
  1025. ReportError "Tried 
  1026. " && 
  1027.  && "-" && 
  1028. sample
  1029. lastline,
  1030. ,topicclick,qlist,targetgroupname,
  1031. Header
  1032. Groups
  1033. QInformation
  1034. "There are no" && 
  1035.  && "
  1036.  suited 
  1037. " && 
  1038.  && "available 
  1039. "Types" 
  1040. 2*y > 
  1041. "CBLU" 
  1042. "Names" 
  1043. x,(y - (
  1044.  > 9000 
  1045.  - 9000 
  1046. x-d,y
  1047. " && q && 
  1048.  && "
  1049. " && 
  1050.  & ". How many would you like?" 
  1051. begin
  1052. 4itemstyle
  1053. MCQInfo,
  1054. thisline
  1055. 1 -- Skip 
  1056. E)>2 
  1057. CRLF 
  1058. x"I" 
  1059.  error: Code I expected 
  1060.  filegroup, 
  1061. 1 -- 
  1062. x"G" 
  1063. MCQ FILE ERROR 
  1064. " && 
  1065. "**" 
  1066. 1 -- 
  1067. readLine("Q")
  1068. "**" 
  1069. F-- No matching 
  1070.  " && 
  1071.  && "does 
  1072. xcater 
  1073. " && 
  1074. opiccode
  1075. x"T" 
  1076. " && 
  1077. topiccode
  1078. 1 -- 
  1079. x"L" 
  1080. " && 
  1081. 1 -- 
  1082. nticks,ncrosses,ndontknows
  1083. 4totalticks,totalcrosses,totaldontknows
  1084. : > 0 
  1085. 6     -- In 
  1086. V & ",0" 
  1087. h     -- In 
  1088.  & ",0" 
  1089.      -- In 
  1090.  & ",0" 
  1091. scores
  1092. Score(
  1093. "Scores"
  1094. pick s
  1095. s>=q 
  1096. y & "Y" 
  1097. n & "N" 
  1098. randomize(y&n) 
  1099. Jclass 
  1100. selectedTextlines 
  1101. "Menu" 
  1102. ncancel -- 
  1103. zinput
  1104. h    eSv
  1105. enterPage
  1106. Header
  1107. setup
  1108. Groups
  1109. filename
  1110. QInformation
  1111. increment
  1112. leavePage
  1113. update
  1114. sample
  1115. ccancel
  1116. begin
  1117. ncancel
  1118. enterPage
  1119. setup
  1120. ccancel
  1121. increment
  1122. update
  1123. Selecting questions
  1124. Advice
  1125. leavePage
  1126. setup
  1127. Selecting questions
  1128. Advice
  1129. setup
  1130. Number
  1131. Please
  1132. Reconsider
  1133. filename
  1134. Locating
  1135. Files
  1136. ReportError
  1137. Tried to open
  1138. Locating
  1139. sample
  1140. files
  1141. MCQFile
  1142. topicnumber
  1143. topiclevel
  1144. typenames
  1145. sample
  1146. Header
  1147. x&Groups
  1148. )QInformation
  1149. There are no
  1150. questions suited to
  1151. available from this topic.
  1152. Report
  1153. Report
  1154. Report
  1155. ccancel
  1156. Types
  1157. Types
  1158. Types
  1159. Number
  1160. Names
  1161. Names
  1162. Number
  1163. Number
  1164. Number
  1165. Number
  1166. Number
  1167. Number
  1168. There are
  1169. questions available for
  1170. . How many would you like?
  1171. How many
  1172. Number
  1173. Number
  1174. Please
  1175. Reconsider
  1176. MCQFile
  1177. lastline
  1178. questions
  1179. topicclick
  1180. qlist
  1181. targetgroupname
  1182. topiclevel
  1183. begin
  1184. Report
  1185. Types
  1186. Please
  1187. Reconsider
  1188. Number
  1189. itemstyle
  1190. Header
  1191. ReportError
  1192. MCQ File error: Code I expected in
  1193. thisline
  1194. MCQFile
  1195. lastline
  1196. MCQInfo
  1197. itemstyle
  1198. Groups
  1199. ReportError
  1200. MCQ FILE ERROR in
  1201. readLine
  1202. ReportError
  1203. File 
  1204. does not cater for
  1205. thisline
  1206. MCQFile
  1207. lastline
  1208. targetgroupname
  1209. filegroup
  1210. qlist
  1211. QInformation
  1212. ReportError
  1213. MCQ FILE ERROR: T expected in
  1214. MCQ FILE ERROR: L expected in
  1215. Error
  1216. MCQFile
  1217. qlist
  1218. topiccode
  1219. increment
  1220. totalticks
  1221. totalcrosses
  1222. totaldontknows
  1223. topicnumber
  1224. nticks
  1225. ncrosses
  1226. ndontknows
  1227. update
  1228. Score
  1229. Scores
  1230. scores
  1231. totalticks
  1232. totalcrosses
  1233. totaldontknows
  1234. randomize
  1235. qlist
  1236. questions
  1237. ccancel
  1238. Types
  1239. ncancel
  1240. Types
  1241. Please
  1242. Reconsider
  1243. Number
  1244. ccancel
  1245. MCQFile
  1246. Topics
  1247. Subject
  1248. Group
  1249. Instructions
  1250. Choose a topic by clicking on itich you belong
  1251. Percentage
  1252. Scores
  1253. 4totalticks, totalcrosses, totaldontknows
  1254. click
  1255. update 
  1256. buttonUp
  1257. buttonUp
  1258. textFromPoint
  1259. update
  1260. click
  1261. totalticks
  1262. totalcrosses
  1263. totaldontknows
  1264. Types
  1265. Types
  1266. click
  1267. n -- 
  1268. filename n
  1269. buttonUp
  1270. buttonUp
  1271. textFromPoint
  1272. eSfilename
  1273. click
  1274. Choose the type of question by clicking on it
  1275. Cancel Class
  1276. ccancel 
  1277. buttonUp
  1278. buttonUp
  1279. ccancel
  1280. Cancel
  1281. Report
  1282. Report
  1283. Files
  1284. 4totalticks
  1285. wipe 
  1286. update 
  1287. buttonUp
  1288. buttonUp
  1289. 0,0,0
  1290. 0,100,0
  1291. update
  1292. totalticks
  1293. Click here to set ALL your scores to zero.
  1294. You can clear the score of a single topic by clicking on the score itself.
  1295. Zero scores are shown as blanks.
  1296. Border
  1297. Information
  1298. Remove
  1299. "Info"
  1300. buttonUp
  1301. buttonUp
  1302. Locating
  1303. You may have to wait while the question file is located and loaded.
  1304. Number
  1305. Number
  1306. 4qlist
  1307. done()
  1308. "Reconsider"
  1309. pick 
  1310. begin 
  1311. "Number"
  1312. "Please"
  1313. nnumber(
  1314. Reconsider
  1315. begin
  1316. Number
  1317. Please
  1318. qlist
  1319. nnumber
  1320. Please
  1321. Please
  1322. Please
  1323. Please key in a number
  1324. keypad
  1325. digit
  1326. "Number"
  1327. buttonUp
  1328. buttonUp
  1329. Number
  1330. digit
  1331. Cancel
  1332. ncancel
  1333. buttonUp
  1334. buttonUp
  1335. D%ncancel
  1336. Cancel
  1337. "Number"
  1338. buttonUp
  1339. buttonUp
  1340. Number
  1341. How many
  1342. Reconsider
  1343. Reconsider
  1344. Choosing such a large proportion of the questions is likely to result in you seeing a large number of questions that you have already met.
  1345. rcancel
  1346. "Number"
  1347. "Reconsider"
  1348. buttonUp
  1349. buttonUp
  1350. Number
  1351. Reconsider
  1352. CANCEL
  1353. rcontinue
  1354. "Number"
  1355. pick 
  1356. begin 
  1357. buttonUp
  1358. buttonUp
  1359. Number
  1360. begin
  1361. CONTINUE
  1362. MCQ System
  1363. 4scriptfile
  1364. "c:\ken\cbl\scripts.mcq" 
  1365. "*** BOOK" && 
  1366. 8&& "***" & CRLF 
  1367. /ID" && b 
  1368. o(12) & "*** BACKGROUND" && n && "***" & 
  1369. writescripts i
  1370. o(12) & "*** PAGE" && 
  1371. p && "***" & 
  1372. o && n
  1373. "CAPTION 
  1374. " && o && 
  1375. & n & 
  1376. " && 
  1377. "SCRIPT 
  1378. " && o && 
  1379. & n & 
  1380. y" && 
  1381. " && i && "
  1382. & "TEXT..." & 
  1383. " && i && "
  1384. " && i 
  1385. buttonUp
  1386. writescripts
  1387. buttonUp
  1388. c:\ken\cbl\scripts.mcq
  1389. *** BOOK
  1390. *****
  1391. background ID
  1392. *** BACKGROUND
  1393. Bwritescripts
  1394. Bwritescripts
  1395. *** PAGE
  1396. *****
  1397. Bwritescripts
  1398. scriptfile
  1399. writescripts
  1400. button
  1401. CAPTION of
  1402. SCRIPT of
  1403.  is null
  1404. writeFile script of
  1405. to scriptfile
  1406. field
  1407. TEXT...
  1408. writeFile text of
  1409. to scriptfile
  1410. *****
  1411. group
  1412. get objects of
  1413. Bwritescripts
  1414. scriptfile
  1415. 4omit,
  1416. s,defaultpage,sfcolour,sscolour,ufcolour,uscolour
  1417. 240,50,100 -- 
  1418. 180,50,100 -- lightblue
  1419. "Topics" 
  1420. "Score" 
  1421. "Answering Questions" 
  1422.  File" 
  1423. 4MCQInfo
  1424. 4nticks,ncrosses,ndontknows
  1425. 4questions,topicname,topiccode,topiclevel,targetgroupname,
  1426. initialize
  1427. "Number"
  1428. "Name"
  1429. "Code"
  1430. "Level"
  1431. "Group"
  1432. "Inform"
  1433. B"Next" 
  1434. "Click here 
  1435. 4MCQFile,
  1436. ReportError "System 
  1437. : Null 
  1438.  list"
  1439. readMCQ
  1440. setbutton b
  1441. unsetbutton b
  1442. "Stem" 
  1443. "Branch" & i 
  1444. hideButtons
  1445. "True" & i 
  1446. "False" & i 
  1447. "Dontknow" & i 
  1448. hidemarks
  1449. "Tms Rmn"
  1450. "Position" & i 
  1451. "No more"
  1452. B"OK"
  1453. "Feedback" 
  1454. "Helv"
  1455. " & i 
  1456. " & i 
  1457. answer
  1458. 4answers,picked,notpicked
  1459. B"OK" 
  1460. "EXPLAIN" THEN
  1461. (n)-1 
  1462. "TRUE" 
  1463. "FALSE" 
  1464. other
  1465.  & i 
  1466. B"OK" 
  1467. 4targetgroups, correct, 
  1468.  branches, 
  1469. nextquestion
  1470.     -- QUESTION NUMBER
  1471. readLine("#")
  1472. ) = 2 
  1473. thisquestion
  1474. findnext("#")
  1475. signal error
  1476. ("Can't 
  1477. fdifferent 
  1478.     -- TARGET GROUPS
  1479. suitable
  1480.     -- STEM
  1481. lines
  1482. o(24) 
  1483. "Terminal"
  1484. && "" 
  1485.     -- BRANCHES
  1486. x"N" 
  1487. N expected 
  1488. " && 
  1489. i && "
  1490. " && 
  1491. ansitoChar(24) 
  1492.             -- 
  1493. exactly
  1494. && " " 
  1495.         -- This 
  1496. tchunk might look better 
  1497. %a subroutine
  1498. " & i 
  1499. " & i 
  1500. feedback
  1501. "0,75,0"
  1502.         -- 
  1503. && " " 
  1504. E    > 0 
  1505. E") -- 
  1506. CRLF 
  1507. "Scores"
  1508. "Branches answered
  1509. :" && 
  1510. :" && 
  1511. Kincorrect
  1512. :" && 
  1513. m :" && 
  1514. & "SCORE
  1515.  :" && 
  1516. ) & "%" & 
  1517. AnsweringQuestions
  1518. Information 
  1519. QuestionFile
  1520. unsetbutton
  1521. initialize
  1522. hideButtons
  1523. enterPage
  1524. clear
  1525. enterBackground
  1526. hidemarks
  1527. answer
  1528. cancel
  1529. leavePage
  1530. readMCQ
  1531. setbutton
  1532. feedback
  1533. Score
  1534. leaveBackground
  1535. Topics
  1536. AnsweringQuestions
  1537. QuestionFile
  1538. enterBackground
  1539. 0,100,0
  1540. 0,0,0
  1541. Topics
  1542. Score
  1543. Answering Questions
  1544. Question File
  1545. newpage
  1546. defaultpage
  1547. sfcolour
  1548. sscolour
  1549. ufcolour
  1550. uscolour
  1551. leaveBackground
  1552. Topics
  1553. Score
  1554. Answering Questions
  1555. Question File
  1556. enterPage
  1557. initialize
  1558. Number
  1559. Level
  1560. Group
  1561. Inform
  1562. Click here for a question
  1563. questions
  1564. topicname
  1565. topiccode
  1566. topiclevel
  1567. targetgroupname
  1568. nticks
  1569. ncrosses
  1570. ndontknows
  1571. MCQInfo
  1572. leavePage
  1573. Score
  1574. MCQFile
  1575. clear
  1576. ReportError
  1577. System Error: Null question list
  1578. -readMCQ
  1579. questions
  1580. newpage
  1581. defaultpage
  1582. setbutton
  1583. sfcolour
  1584. sscolour
  1585. unsetbutton
  1586. ufcolour
  1587. uscolour
  1588. initialize
  1589. Branch
  1590. hideButtons
  1591. clear
  1592. hideButtons
  1593. False
  1594. Dontknow
  1595. clear
  1596. hidemarks
  1597. Branch
  1598. 240,50,100
  1599. Tms Rmn
  1600. unsetbutton
  1601. unsetbutton
  1602. False
  1603. Position
  1604. No more
  1605. Tms Rmn
  1606. Feedback
  1607. Feedback
  1608. Feedback
  1609. hidemarks
  1610. cross
  1611. answer
  1612. EXPLAIN
  1613. setbutton
  1614. FALSE
  1615. unsetbutton
  1616. other
  1617. answers
  1618. picked
  1619. notpicked
  1620. cancel
  1621. EXPLAIN
  1622. unsetbutton
  1623. unsetbutton
  1624. False
  1625. answers
  1626.     readMCQ
  1627. readLine
  1628. findnext
  1629. ReportError
  1630. Can't go to page with different background.
  1631. Number
  1632. readLine
  1633. readLine
  1634. readLine
  1635. Terminal
  1636. readLine
  1637. ReportError
  1638. N expected at 3 of
  1639. Branch
  1640. readLine
  1641. expected at 3 in
  1642. readLine
  1643. Terminal
  1644. False
  1645. Dontknow
  1646. j:to1
  1647. lines
  1648. targetgroup
  1649. suitable
  1650. thisquestion
  1651. nextquestion
  1652. targetgroups
  1653. correct
  1654. questions
  1655. branches
  1656. newpage
  1657. Dontknow
  1658. False
  1659. 240,50,100
  1660. cross
  1661. 300,50,100
  1662. colour
  1663. answers
  1664. correct
  1665. nticks
  1666. ncrosses
  1667. ndontknows
  1668. branches
  1669. feedback
  1670. Branch
  1671. 0,75,0
  1672. readLine
  1673. hideButtons
  1674. hidemarks
  1675. readLine
  1676. Feedback
  1677. Terminal
  1678. Feedback
  1679. Feedback
  1680. Feedback
  1681. Next question
  1682. readLine
  1683. No more
  1684. lines
  1685. questions
  1686. branches
  1687. correct
  1688. Score
  1689. Scores
  1690. Branches answered     :
  1691. Scores
  1692. Branches correct      :
  1693. Scores
  1694. Branches incorrect    :
  1695. Scores
  1696. Branches not answered :
  1697. Scores
  1698. SCORE                 :
  1699. Score
  1700. Scores
  1701. Score
  1702. branches
  1703. nticks
  1704. ncrosses
  1705. ndontknows
  1706. Topics
  1707. Topics
  1708. AnsweringQuestions
  1709. Information
  1710. QuestionFile
  1711. Inform
  1712. Inform
  1713. Error
  1714. Start
  1715. Restart
  1716. buttonUp
  1717. buttonUp
  1718. NRestart
  1719. RESTART
  1720. Error
  1721. Instructions
  1722. An error has occurred due to some problem with the MCQ System.  Please inform Ken Tait (ext 4628), giving the message displayed in the red box and a description of what you did just before the error occurred. 
  1723. Start
  1724. 4RecordFile
  1725. ReadControlFile
  1726. initialize
  1727. setup
  1728.  -- needed?
  1729. "Groups"
  1730. "Pick"
  1731. "Info"
  1732. 4targetgroupname,typenames,skip,
  1733. 4totalticks, totalcrosses, totaldontknows
  1734. 4nticks, ncrosses, ndontknows
  1735. loadscores 
  1736. setsize "
  1737. ,"Start",240,100
  1738. Menu","Topics", 240,100
  1739. "Scores" 
  1740. textlineCount(
  1741. ) > 1 
  1742.  -- under development
  1743. 4recordpath,recordname,
  1744. ,MCQControl
  1745. ReportError "No 
  1746. P specified 
  1747. e files."
  1748.  & "\" & 
  1749.  & ".SRF" 
  1750. sysErrorNumber 
  1751.         -- No 
  1752.  so zeroise
  1753.         -- This could be the place 
  1754. offer 'First 
  1755. Ihelp'
  1756. wipe 
  1757. x"MCQ Student 
  1758. " && 
  1759.  && "
  1760. correct 
  1761. ePage
  1762. enterPage
  1763. setup
  1764. initialize
  1765. leavePage
  1766. loadscores
  1767. enterPage
  1768. ReadControlFile
  1769. initialize
  1770. RecordFile
  1771. leavePage
  1772. setup
  1773. setup
  1774. Groups
  1775. initialize
  1776. loadscores
  1777. Psetsize
  1778. Groups
  1779. Start
  1780. Psetsize
  1781. Topics
  1782. Topics
  1783. Scores
  1784. Topics
  1785. Scores
  1786. Topics
  1787. Group
  1788. Topics
  1789. Groups
  1790. Groups
  1791. Groups
  1792. Groups
  1793. Group
  1794. Topics
  1795. Topics
  1796. nticks
  1797. ncrosses
  1798. ndontknows
  1799. totalticks
  1800. totalcrosses
  1801. totaldontknows
  1802. targetgroupname
  1803. typenames
  1804. topics
  1805. loadscores
  1806. ReportError
  1807. No path specified for record files.
  1808. ReportError
  1809. No name specified for record files.
  1810. MCQ Student Record File
  1811. ReportError
  1812. Record file
  1813. is not in correct format.
  1814. recordpath
  1815. recordname
  1816. RecordFile
  1817. MCQControl
  1818. totalticks
  1819. totalcrosses
  1820. totaldontknows
  1821. topics
  1822. Error
  1823. #$%W#
  1824. #k$&$;$I$    $g$
  1825.     s(N    q(
  1826. #q    &#
  1827. %E    U%
  1828. #[    U%
  1829. 'B    i''    
  1830. "3.    "b.
  1831. $C-H$
  1832. #N)S#D)
  1833. "I)~"Q)V"`)'"t)
  1834. !A*s!
  1835. #x*7#
  1836. *v#    +
  1837. )W(1)
  1838. (J).)C)])4)
  1839. (-(M(A( (S(
  1840. 'v(d'v(7's(
  1841. &?(y&
  1842. &6&U&w&
  1843. %_'o%
  1844. &U&~&
  1845. '['P'V'{'J'
  1846. '"(    'O(
  1847. '7*O'Z*
  1848. (u*N(d*
  1849. )u)])
  1850. 4scriptfile
  1851. ~(".",
  1852. & "SCR" 
  1853. "*** BOOK" && 
  1854. 8&& "***" & CRLF 
  1855. /ID" && b 
  1856. o(12) & "*** BACKGROUND" && n && "***" & 
  1857. writescripts i
  1858. o(12) & "*** PAGE" && 
  1859. p && "***" & 
  1860. o && n
  1861. "CAPTION 
  1862. " && o && 
  1863. & n & 
  1864. " && 
  1865. "SCRIPT 
  1866. " && o && 
  1867. & n & 
  1868. y" && 
  1869. " && i && "
  1870. & "TEXT..." & 
  1871. " && i && "
  1872. " && i 
  1873. buttonUp
  1874. writescripts
  1875. buttonUp
  1876. *** BOOK
  1877. *****
  1878. background ID
  1879. *** BACKGROUND
  1880. Bwritescripts
  1881. Bwritescripts
  1882. *** PAGE
  1883. *****
  1884. Bwritescripts
  1885. scriptfile
  1886. writescripts
  1887. button
  1888. CAPTION of
  1889. SCRIPT of
  1890.  is null
  1891. writeFile script of
  1892. to scriptfile
  1893. field
  1894. TEXT...
  1895. writeFile text of
  1896. to scriptfile
  1897. *****
  1898. group
  1899. get objects of
  1900. Bwritescripts
  1901. scriptfile
  1902.