CSCI 101: Intro to Computer Science

Sample Midterm Exam I.

  1. (25 points)  
    Write a short essay (at least 10 lines) on the contribution of Allan Turing to Computer Science. Save it as a plain text file.

    Name your file ex1_1.txt

  2. (25 points)  
    The following HTML does not match completely the result shown below the stars on the white background.
    Correct and complete HTML to achieve matching.

    <TABLE BORDER="5">
    <TR><TD colspan=3>Some unordered list instructions:</TH></TR>
    <TR><TD>opening unordered list:</TD><TD>&nbsp;</TD><TD><OL></TD>
    <TH><TD>* new item:</TD><TD>&nbsp;</TD><TD>&lt; LI&gt;</TD></TR>
    <TR><TD># another new item:</TD><TD>&nbsp;</TD><TD>&lt; LI &gt;</TD></TR>
    <TR><TD>closing list:</TD> <TD></UL></TD></TR>
    </TABLE>
    

    *****************************************************************

    Note: the HTML instructions for the symbols "<" and ">" are "&lt;" and "&gt;" respectively.

    Name your file ex1_2.html

  3. (25 points)  
    Write HTML script for producing the following table output.

    See the note on entities in the previous problem.

    Name your file ex1_3.html

  4. (25 points)
    Write HTML for the following layout by using nested tables.

    Make sure that

    Use the following colors: lightblue, orange, and yellow.

    Name your file ex1_4.html