Place - HTML and Web Programming - Exam, Exams of Web Programming and Technologies

These are the Exam of HTML and Web Programming which includes Measurement, Cell Phone Turned, Measurement, Overflow Property, Chop Off, User Scrolls, Margin, Padding, Content-Spacing etc.Key important points are: Place, Property, Normally, Web Page, Elements, No-Scroll, Relative, Absolute, Fixed, Position

Typology: Exams

2012/2013

Uploaded on 03/28/2013

rohit-sharma
rohit-sharma 🇮🇳

4.3

(11)

200 documents

1 / 5

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
1. What is the name of the CSS property that can be used to move elements on a web page from where
they normally would appear?
A. move
B. place
C. layout
D. offset
E. position
2. What is the value of the property in Question 1 that would cause an element stay in one place when
the user scrolls the page, like the vertical menu for Assignment 7?
A. no-scroll
B. no-repeat
C. relative
D. absolute
E. fixed
3. What is the value of the property in Question 1 that would cause an element to occupy a particular
coordinate position within the space of an element that encloses it, like the horizontal menu for
Assignment 7?
A. position
B. relative
C. absolute
D. fixed
E. coordinate
4. What is the name of one of the properties that could be used in conjunction with the property in
Question 1 to specify exactly where on an element is to appear on a page?
A. x-coordinate
B. placement
C. y-value
D. top
E. where
5. What is the name of the property that can be set to the value none in order to remove the bullets or
numbers from the items in a list?
A. include-bullets
B. bullet-number-style
C. list-style-type
D. list-bullets-and-numbers
E. bullet-number-type
First Name Last Name!CS-081 Exam 2!May 18, 2009
Student ID: Student ID!Exam ID: Exam ID
Instructions: For multiple choice questions, circle the letter of the one best choice
unless the question explicitly states that it might have multiple correct answers. There
is no penalty for guessing.
Unless otherwise indicated, all questions count equally.
pf3
pf4
pf5

Partial preview of the text

Download Place - HTML and Web Programming - Exam and more Exams Web Programming and Technologies in PDF only on Docsity!

  1. What is the name of the CSS property that can be used to move elements on a web page from where they normally would appear? A. move B. place C. layout D. offset E. position
  2. What is the value of the property in Question 1 that would cause an element stay in one place when the user scrolls the page, like the vertical menu for Assignment 7? A. no-scroll B. no-repeat C. relative D. absolute E. fixed
  3. What is the value of the property in Question 1 that would cause an element to occupy a particular coordinate position within the space of an element that encloses it, like the horizontal menu for Assignment 7? A. position B. relative C. absolute D. fixed E. coordinate
  4. What is the name of one of the properties that could be used in conjunction with the property in Question 1 to specify exactly where on an element is to appear on a page? A. x-coordinate B. placement C. y-value D. top E. where
  5. What is the name of the property that can be set to the value none in order to remove the bullets or numbers from the items in a list? A. include-bullets B. bullet-number-style C. list-style-type D. list-bullets-and-numbers E. bullet-number-type Student ID: Student ID Exam ID: Exam ID

Instructions: For multiple choice questions, circle the letter of the one best choice

unless the question explicitly states that it might have multiple correct answers. There

is no penalty for guessing.

Unless otherwise indicated, all questions count equally.

  1. What is the name of the property that can be set to “left” or “right” to cause an element to be taken out of the normal layout and placed placed on the left or right side, with elements following it wrapping around it? A. drift B. set C. position D. float E. place
  2. What is the name of the property that causes an element to appear below any elements that have been positioned using the property named in Question 6? A. drop B. below C. clear D. re-place E. re-set
  3. What is the intrinsic size of an image? A. Its height and width, specified in an tag B. Its height and width, specified in a CSS rule C. Its height and width, determined by the viewerʼs screen resolution D. Its height and width, specified in the image file E. Its height and width, specified by the aspect ratio
  4. What is the advantage of reducing the size of an image file? A. It can be transferred from the server to the browser faster B. Smaller files have sharper edges C. Smaller files have better colors D. Smaller files are more transparent E. Smaller files are less transparent
  5. What selector can be used to declare the background an anchor () element is to have when the user moves the mouse cursor over it? A. :mouse-over B. :hover C. :cursor-over D. :first-child E. :link-over
  6. Which of the following properties can be made to change dynamically when the user moves the mouse over an anchor? (Circle each of the correc t choices if there is more than one.) A. background-color B. background-image C. color D. font-family E. font-weight Student ID: Student ID Exam ID: Exam ID
  1. What is the layering order of the parts of an element? That is, what will obscure what? A. background-color -> color -> background-image B. background-image -> background-color -> color C. color -> background-color -> background-image D. background-color -> background-image -> color E. This is a trick question: nothing ever gets obscured by anything else.
  2. How can you create a drop shadow around the letters of some text? A. text-effect: drop-shadow B. letters { drop-shadow: on; } C. text-style { drop-shadow: on; } D. p { drop-shadow: 3px; } E. You canʼt do it using CSS, but you could do it with a layer style in Photoshop.
  3. What should be the value of the alt attribute of an img tag used for a decorative image? A. A description of the picture, so it will validate B. An empty string (""), so it will validate but not be read by screen readers C. Omit the alt attribute so screen readers will not read it D. The name of the picture file E. The altitude of the picture file
  4. What element is used to define a row of a table? A. B. C. D. E.
  5. What elements can be used to define the cells in a table? (Circle all correct choices.) A. B. C. D. E.
  6. What are the two required attributes of a element? (Circle two choices.) A. row B. col C. method D. action E. data Student ID: Student ID Exam ID: Exam ID

Questions 24-27 are all based on this URL: http://example.com?last_name=Last Name&id=Student ID

  1. last_name is an example of (Choose the one best answer): A. The name attribute of an input element B. The value attribute of an input element C. The id attribute of an input element D. The class attribute of an input element E. The action attribute of the form F. The method attribute of the form
  2. How many input elements are there in the form? (Pick the most likely answer from the choices given; do not include the submit button in your count.) A. 1 B. 2 C. 3 D. 4 E. 5
  3. What was the value of the formʼs method attribute? A. GET B. POST C. SUBMIT D. RESET E. FORM
  4. What was the value of the formʼs action attribute? A. "last_name=Last Name" B. "id=Student ID" C. "Last Name" D. "Student ID" E. http://example.com
  5. Which statement is true about the for attribute of a label? A. It is optional B. It has to match the class of the form C. It has to match the id of an other element D. It must not have textual content E. It must use a mixture of upper and lower-case letters
  6. What type of input element can be used to present the user with a list of options to choose from? A. option-list B. choice C. select D. drop-down-list E. pick-list
  7. Have you completed the online course evaluations yet, or if not, will you do so before Friday? A. Yes Student ID: Student ID Exam ID: Exam ID