(Click "View", then "Source" for the code)
1. (40 points)
Using VBScript write ONLY the sub named p1. Show NO HTML.
2. (40 points) Two strings mr_str and ms_str are defined as:
mr_str="120,129,115,112,113,127,138,110,114,116,118,126,128,130,140,150,180,170,160";
ms_str="24,32,36,44,44,44,44,66,66,66,66,66,66,66,66,246,246,285,365";
The string named mr_str contains the numbers of 19 rooms in this building. The ms_str is the number of seats in each room. So, the mr_str has the number of each classroom and ms_str contains the room capacity. Shown below is a button labelled "go" that cause the javascript function named p2 to be executed. Below the button is a DIV block with id="out2" (usage is: out2.innerHTML=some_string;).
When the user clicks "go", draw graphs for each of the room. The output should be a table with 19 columns with two rows. The first row contains 19 cells. Each cell contains a gif image for a classroom that represents the size of the classroom. For each of the 19 classrooms this vertical bar is 32 pixels wide. Its height is the same as the room capacity (e.g., if a room has 66 seats the bar is 66 pixels tall).Draw a picture of the classroom size using only the file named "g1x1.gif" which is a 1 pixel by 1 pixel gif file that is gray. (use valign="bottom" for all cells)
The second row also contains 19 cells. Each cell contains two numbers. The first is the room number (from the mr_str string) and on the next line the size of the room (from the ms_str string). Display the table in the DIV block with id="out2". Show only the javascript for the p2 function. Show no HTML.
3. (20 points)
(a) SHARE was a user group for what product line?
1. CSC
2. IBM
3. RAND
4. SDC
5. Honeywell
(b) SABRE was developed by American Airlines and...?
1. SAGE
2. CDC
3. SDC
4. IBM
5. CSC
(c) ADP specialty?
1. banking
2. accounting
3. manufacturing
4. airline reservations
5. telecommunications
(d) The author of "Romance of Programming?
1. Knuth
2. Mock
3. Kernigan
4. Jacobs
5. Kurtz
(e) UCC founder Sam Wylie used computers housed at?
1. Texas Tech
2. TCU
3. UT
4. TAMU
5. SMU
(f) Mark IV inventor?
1. Postley
2. Bauer
3. Day
4. Backus
5. Yates
(g) Thomson and Rictchie wrote?
1. ManMan
2. Flowmatic
3. Adabse
4. Unix
5. ASK
(h) MSA founder ?
1. Smith
2. Sheldon
3. Goetz
4. Hayes
5. Imlay
(i) The orgnization that supported FORTRAN's development?
1. CDC
2. EDS
3. ADR
4. IBM
5. ADP
(j) IBM's most successful interactive system?
1. OS 360
2. MARK III
3. COBOL
4. CICS
5. Flowmatic