Uploaded by FRANCISCO TUN

Quiz#3 - Image & Text Font

advertisement
9/28/21, 4:43 PM
Quiz#3 - Image & Text_Font(Sept.27.21): Attempt review
Dashboard / My courses / CMPS2151 / COURSE INFORMATION, TEST, CLASS WORK & QUIZZES
/ Quiz#3 - Image & Text_Font(Sept.27.21)
Started on Monday, 27 September 2021, 2:51 PM
State
Finished
Completed on Monday, 27 September 2021, 3:10 PM
Time taken
Marks
19 mins 23 secs
38.00/40.00
Grade 95.00 out of 100.00
Question 1
Correct
Mark 2.00 out of 2.00
Select the code below that uses CSS to configure an id named "example" that configures small, italic text.
Select one:
a. #exampe{ font-size: small; font-weight: italic; }
b. .example { font-size: small; font-style: italic; }
c. #example { font-size: small; font-style: italic; }

d. .example { font-size: small; font-weight: italic; }
Question 2
Correct
Mark 2.00 out of 2.00
Select the best reason to include height and width attributes on an <img> tag.
Select one:
a. to help the browser render the page faster because it reserves the appropriate space for the image

b. they are required attributes and must always be included
c. to help the browser display the image in its own window
d. none of the above
https://doit.ub.edu.bz/mod/quiz/review.php?attempt=30604&cmid=4530
1/9
9/28/21, 4:43 PM
Quiz#3 - Image & Text_Font(Sept.27.21): Attempt review
Question 3
Correct
Mark 2.00 out of 2.00
Choose the item that creates an image link to the school.htm page when the school.gif graphic is clicked.
Select one:
a. <a href="school.html"><img src="school.gif" alt="school"></a>

b. <a href="school.html" src="school.gif" alt="school"></a>
c. none of the above
d. <img src="school.gif" href="school.htm" alt="school">
Question 4
Correct
Mark 2.00 out of 2.00
Use the ________ property to resize or scale the background image.
Select one:
a. background-clip
b. background-size

c. background-image
d. background-origin
Question 5
Correct
Mark 2.00 out of 2.00
Select the code below that will configure a background image called parchment.gif for a web page using CSS.
Select one:
a. document {background:parchment.gif; }
b. None of the above
c. body {background-image:url(parchment.gif); }

d. body {background:parchment.gif'}
https://doit.ub.edu.bz/mod/quiz/review.php?attempt=30604&cmid=4530
2/9
9/28/21, 4:43 PM
Quiz#3 - Image & Text_Font(Sept.27.21): Attempt review
Question 6
Correct
Mark 2.00 out of 2.00
Choose the preferred tag pair to use when emphasizing text that is displayed in italic font style.
Select one:
a. <i>…</i>
b. <strong>…</strong>
c. <em>…</em>

d. <italic>…</italic>
Question 7
Correct
Mark 2.00 out of 2.00
Which CSS property configures the font typeface?
Select one:
a. font-type
b. font-face
c. font-style
d. font-family

Question 8
Correct
Mark 2.00 out of 2.00
Select the code below that uses CSS to configure a class called "offer" with blue text that uses the Arial or sans-serif font
typeface.
Select one:
a. #offer { text:blue; font-family:Arial,sans-serif;}
b. .offer { color:blue; font-family:Arial,sans-serif;}

c. #offer { color:blue; font-family:Arial,sans-serif;}
d. .offer { text:blue; font-family:Arial,sans-serif;}
https://doit.ub.edu.bz/mod/quiz/review.php?attempt=30604&cmid=4530
3/9
9/28/21, 4:43 PM
Quiz#3 - Image & Text_Font(Sept.27.21): Attempt review
Question 9
Correct
Mark 2.00 out of 2.00
Select the code below that uses CSS to configure a background color of #eaeaea for a web page.
Select one:
a. document {background-page:#eaeaea; }
b. body {background-color:#eaeaea; }

c. body {bgcolor:#eaeaea; }
d. none of the above
Question 10
Correct
Mark 2.00 out of 2.00
Select the code below that configures a background image to repeat horizontally across a web page.
Select one:
a. hspace="10"
b. background-repeat: repeat-x;

c. background-repeat: repeat-y;
d. valign="left"
Question 11
Correct
Mark 2.00 out of 2.00
A type of graphic that can be made transparent and is commonly used on the Web is:
Select one:
a. jpg
b. gif

c. bmp
d. photo
https://doit.ub.edu.bz/mod/quiz/review.php?attempt=30604&cmid=4530
4/9
9/28/21, 4:43 PM
Quiz#3 - Image & Text_Font(Sept.27.21): Attempt review
Question 12
Correct
Mark 2.00 out of 2.00
Select the tag used to place an image on a web page.
Select one:
a. <img>

b. <image>
c. <graphic>
d. <a href>
Question 13
Correct
Mark 2.00 out of 2.00
Choose the attribute used to provide accessibility by configuring a text alternative that is available to browsers and other user
agents that do not support graphics.
Select one:
a. text
b. src
c. alt

d. none of the above
Question 14
Correct
Mark 2.00 out of 2.00
Use the ________ property to configure bold text using CSS.
Select one:
a. font-weight

b. bold
c. font-style
d. You cannot configure bold text with CSS.
https://doit.ub.edu.bz/mod/quiz/review.php?attempt=30604&cmid=4530
5/9
9/28/21, 4:43 PM
Quiz#3 - Image & Text_Font(Sept.27.21): Attempt review
Question 15
Correct
Mark 2.00 out of 2.00
Which CSS property configures the size of text?
Select one:
a. text-size
b. font-size

c. font-weight
d. size
Question 16
Correct
Mark 2.00 out of 2.00
A type of graphic that is best-suited to photographs is:
Select one:
a. gif
b. none of the above
c. photo
d. jpg

Question 17
Correct
Mark 2.00 out of 2.00
The declaration property used to set the text color on a web page is:
Select one:
a. text-color
b. color

c. none of the above
d. bgcolor
https://doit.ub.edu.bz/mod/quiz/review.php?attempt=30604&cmid=4530
6/9
9/28/21, 4:43 PM
Quiz#3 - Image & Text_Font(Sept.27.21): Attempt review
Question 18
Correct
Mark 2.00 out of 2.00
The ________ is the area between the content and the border.
Select one:
a. spacing
b. border
c. None of the above
d. padding

Question 19
Correct
Mark 2.00 out of 2.00
Select the code below that uses CSS to eliminate the default border on an image configured as an image link.
Select one:
a. a {border: 0; }
b. img {border-style: none; }
c. img {border: 0; }

d. None of the above
Question 20
Incorrect
Mark 0.00 out of 2.00
Use the ________ property to configure multiple backgrounds on an element.
Select one:
a. background
b. multiple
c. multiple-background
d. backgrounds

◄ QUIZ#2 - CSS (SEPT.13.21)
Jump to...
LAB#1 - HTML ►
https://doit.ub.edu.bz/mod/quiz/review.php?attempt=30604&cmid=4530
7/9
9/28/21, 4:43 PM
Quiz#3 - Image & Text_Font(Sept.27.21): Attempt review
The Information Technology Program prepares students for work, further study and research in the Information Technology field locally,
regionally and globally. The program provides knowledge, skills and the discipline that will enable graduates to make a positive impact
on the working environment and be able to function as entrepreneurs in the community.
Quick Links
About UB
About FST
Faculty and Staff
UB Virtual Tour
UB Student Portal
UB ACM Student Chapter
Follow Us

https://doit.ub.edu.bz/mod/quiz/review.php?attempt=30604&cmid=4530

8/9
9/28/21, 4:43 PM
Quiz#3 - Image & Text_Font(Sept.27.21): Attempt review
Contact
Hummingbird Avenue, City of Belmopan
 Phone: (501) 822-1000/ 822-3680
Copyright © 2020 - Developed by UB MPIT-IT. Powered by Moodle
Data retention summary
Department of Mathematics, Physics, and Information Technology (MPIT) - Faculty of Science and Technology - University of Belize
https://doit.ub.edu.bz/mod/quiz/review.php?attempt=30604&cmid=4530
9/9
Download