Web Development and Unix Fundamentals

A quiz covering basic HTML tags and web development concepts, along with fundamental Unix/Linux command-line operations.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

What is the command to find the differences in the lines containing "1999" between the files orig.txt and copy.txt, and add the result to file result.1999?

  1. diff orig.txt -d copy.txt | grep 1999 > result.1999
  2. diff orig.txt copy.txt | grep 1999 >> result.1999
  3. grep 1999 *.txt >> result.1999
  4. diff orig.txt copy.txt | grep 1999 << result.1999
Question 2 Multiple Choice (Single Answer)

How do you tell the server to use your local display (197.42.197.67) for X-windows?

  1. set display local
  2. setenv DISPLAY 192.42.197.67:0.0
  3. setdsp x 192.42.197.67
  4. set display 192.42.197.67:0.0
Question 3 Multiple Choice (Single Answer)

How do you uncompress and untar an archive called "lot_of_thing.tar.Z"?

  1. tar lot_of_thing.tar.Z | decomp
  2. zcat lot_of_thing.tar.Z | tar xvf -
  3. tar xvf lot_of_thing.tar.Z
  4. tar lot_of_thing
Question 4 Multiple Choice (Single Answer)

Create a new file "new.txt" that is a concatenation of "file1.txt" and "file2.txt"?

  1. cat file1.txt file2.txt > new.txt
  2. make new.txt=file1.txt+file2.txt
  3. tail file1.txt | head file2.txt > new.txt
  4. cat file1.txt file2.txt
Question 5 Multiple Choice (Single Answer)

What does HTML stand for?

  1. Hypertext Markup List
  2. Happytext Markup Language
  3. Hypertext Mark Language
  4. Hypertext Markup Language
Question 6 Multiple Choice (Single Answer)

How do you add a comment into HTML?

  1. <-Comment->
  2. <--Comment-->
  3. <!--Comment-->
  4. <Comment/>
Question 7 Multiple Choice (Single Answer)

What tag is used to create an unordered list?

  1. <ul>
  2. <ol>
  3. <li>
  4. <ulist>
Question 8 Multiple Choice (Single Answer)

What is the correct tag for the smallest heading?

  1. <h6>
  2. <h7>
  3. <h1>
Question 9 Multiple Choice (Single Answer)

What is the correct HTML for creating a hyperlink?

  1. <a url="http://www.webdesignerhelp">Web Designer Help</a>
  2. <link="http://www.webdesignerhelp"/>Web Designer Help</a>
  3. <a link="http://www.webdesignerhelp">Web Designer Help</a>
  4. <a href="http://www.webdesignerhelp">Web Designer Help</a>
Question 10 Multiple Choice (Single Answer)

What is the correct HTML for inserting an image?

  1. <img display="image.gif" />
  2. <img image="image.gif" />
  3. <img src="image.gif" />
  4. <img ="image.gif" />
Question 11 Multiple Choice (Single Answer)

What is the correct tag for the largest heading?

  1. <h6>
  2. <large>
  3. <bigh>
  4. <h1>
Question 12 Multiple Choice (Single Answer)

Which input type would allow a reader to select several options from a list of possibilities?

  1. Radio Buttons
  2. Checkboxes
  3. Form
  4. Text Field
Question 13 Multiple Choice (Single Answer)

What does XHTML stands for?

  1. eXtra Hypertext Markup Language
  2. eXtension Hypertext Markup Language
  3. eXtensible Hypertext Markup Language
  4. eXtended Hypertext Markup Language
Question 14 Multiple Choice (Single Answer)

What character code would be used to create a < symbol?

  1. & gt ;
  2. & lt ;
  3. & lessthan ;
  4. & lesst ;
Question 15 Multiple Choice (Single Answer)

What character code would be used to create a / symbol?

  1. & slash;
  2. & #47;
  3. & frsl;
  4. & frsla;
Question 16 Multiple Choice (Single Answer)

What is the correct HTML for referring to an external style sheet?

  1. <link rel="stylesheet" type="text?css" href="style.css" />
  2. <link href="style.css" />
  3. <link style.css />
  4. <link stylesheet="style.css" />
Question 17 Multiple Choice (Single Answer)

What tag is used to create a Definition list?

  1. <dt>
  2. <dd>
  3. <dl>
  4. <di>
Question 18 Multiple Choice (Single Answer)

What tag is used to define abbreviated words?

  1. <abbr>
  2. <abr>
  3. <abbreviation>
  4. <ab>
Question 19 Multiple Choice (Single Answer)

Which of the following is the correct use of the tag?</p>

  1. <title="Web Designer Help"></title>
  2. <title=Web Designer Help/>
  3. <title="Web Designer Help"/title>
  4. <title>Web Designer Help</title>
Question 20 Multiple Choice (Single Answer)

Keyboard Shortcut for Deleting a row in MS Excel

  1. Ctrl +
  2. Ctrl -
  3. Shift +
  4. Shirt -