DISC 3371 MIDTERM FALL 2005 Parks |
1. (40 points) The VBScript function now returns the current date and time in the form of a string in the format: mm/dd/yyyy hh:mm:ss followed by "AM" or "PM" (e.g., "11/3/2005 11:31:25 AM").
Write the VBScript code that will place a graphical presentation of the current date/time in a SPAN block when the page is loaded. This graphical representation is created by placing a sequence of gif files that represent the characters in the date/time string into the SPAN block. The 15 possible gif files that may be used are named: e0.gif, e1.gif, e2.gif, ... , e9.gif, eslash.gif, ecolon.gif, eam.gif, epm.gif and eblank.gif. The gif files are shown below:
The Current Date and Time is: |
Assume that the BODY tag contains: onLoad="p1" and the SPAN block has: id="dt_span". Show NO HTML -- just the VBScript for p1.
3. (20 points)
Companies/Organizations | Products/Services | People |
SDC | SABRE | John Imlay |
RAND | SAGE | John Backus |
CSC | FORTRAN | Dennis Ritchie |
ADR | COBOL | Walter Bauer |
IBM | FLOWMATIC | H. Ross Perot |
SHARE | 701/704 | John F. Jacobs |
AT&T (Bell Labs) | OS/360 | Sam Wyly |
ADP | AUTOFLOW | Gene Amdahl |
EDS | SYNCSORT | Ken Thompson |
ACT | CICS | Grace Hopper |
MSA | MARK IV | John Cullinane |
Informatics | UNIX | Sandra Kurtzig |
UCC | MANMAN/ASK | Fletcher Jones |
1.Founder of EDS | H. Ross Perot | |
2. Wrote MANMAN/ASK | Sandra Kurtzig | |
3. Company that sold MARK IV | Informatics | |
4. Programming Manager at SAGE who developed "waterfall" | Fletcher Jones | |
5. Co-author with UNIX with Ritchie | Ken Thompson | |
6. Saved MSA | John Imlay | |
7. CICS | IBM | |
8. AUTOFLOW | ADR | |
9. Wrote FORTRAN | John Backus | |
10. MARK IV | Informatics |