University of the People CS 2205/ CS2205. Web Programming. University of the People CS 2205: FINAL EXAM Information Part 1: Web Design Principles Question 1 Answer saved Marked out of 1.00 Three-tier architecture has the
...
University of the People CS 2205/ CS2205. Web Programming. University of the People CS 2205: FINAL EXAM Information Part 1: Web Design Principles Question 1 Answer saved Marked out of 1.00 Three-tier architecture has the following three tiers: Select one: a. Presentation tier, Control Tier and Data tier b. Presentation tier, Application tier and Data tier c. Application tier, Control Tier and Data tier d. Presentation tier, Application tier and Network tier 6 Felix Kaboto Home My courses CS 2205 - AY2020-T3 Final Exam (Days 1 - 4) Final Exam (Proctored) / Question 2 Answer saved Marked out of 1.00 Which one of the following is true? Select one: a. In HTML Shorthand can not be used for certain attributes. b. In XHTML Attribute values must not be enclosed by quotes. c. In HTML Certain elements don’t need a closing tag, in XHTML all elements must be explicitly closed. d. In CSS you can not have more than one of the same class on each page Question 3 Answer saved Marked out of 1.00 The home page should, at least provide the following: Select one: a. deÕne the main goal of the site and provide an overview, lead people further into the site, show what’s new. b. deÕne the main goal of the site and provide an overview, show what’s new, introduce the brand, provide navigation to other areas of the site. c. deÕne the main goal of the site and provide an overview, show what’s new, introduce the brand. d. show what’s new, introduce the brand, provide navigation to other areas of the site. / Question 4 Answer saved Marked out of 1.00 Which of the following is true Select one: a. The primary colours consist of red, green and blue, and they’re called primary colours because you don’t need to mix colours to make these three hues. b. The primary colours consist of red, yellow and blue, and they’re called primary colours because you don’t need to mix colours to make these three hues. c. The primary colours consist of red, black and blue, and they’re called primary colours because you don’t need to mix colours to make these three hues. d. The primary colours consist of red, white and blue, and they’re called primary colours because you don’t need to mix colours to make these three hues. Question 5 Answer saved Marked out of 1.00 When designing a website, the golden rule is that "content is king!" No matter how Öashy and colorful a website is, it is virtually useless without organized, accessible content. This means that a person searching for information must be able to quickly Õnd it on your website. If not, they will leave. Select one: True False Information Part 2: HTML / Question 6 Answer saved Marked out of 1.00 HMTL headings are deÕned a) With the to tags. b) with the to tags. c) with the to tags. d) with the to tags. Select one: a. b. c. d. Question 7 Answer saved Marked out of 1.00 Which of the following is true a) HTML links are deÕned with the tag and HTML images are deÕned with the tag. b) HTML links are deÕned with the tag and HTML images are deÕned with the tag. c) HTML links are deÕned with the
tag and HTML images are deÕned with the tag. d) HTML links are deÕned with the tag and HTML images are deÕned with the tag. Select one: a. b. c. d. / Question 8 Answer saved Marked out of 1.00 Which of the following is true a) The
element deÕnes a paragraph in the HTML document. The element has only a start tag
; also the
tag deÕnes a line break, and does not have a closing tag b) The
element deÕnes a paragraph in the HTML document. The element has a start tag
and an end tag
. The
tag deÕnes a line break, and has also the closing tag
. c) The
element deÕnes a paragraph in the HTML document. The element has only the start tag
however the
tag which deÕnes a line break has also the closing tag
d) The
element deÕnes a paragraph in the HTML document. The element has a start tag
and an end tag
. The
tag deÕnes a line break, and does not have a closing tag Select one: a. b. c. d. Question 9 Answer saved Marked out of 1.00 In XHTML, XML, and future versions of HTML, HTML elements with no end tag (closing tag) are not allowed. Select one: True False / Question 10 Answer saved Marked out of 1.00 With HTML, you cannot change the output by adding extra spaces or extra lines in your HTML code. The browser will remove extra spaces and extra lines when the page is displayed. Any number of lines count as one line, and any number of spaces count as one space. Select one: True False Question 11 Answer saved Marked out of 1.00 Which one of the following is correct a) The tag provides metadata about the HTML document. Metadata will be displayed on the page, and will be machine parsable. b) The tag provides metadata about the HTML document. Metadata will not be displayed on the page and will not be machine parsable. c) The tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. d) The tag provides metadata about the HTML document. Metadata will be displayed on the page, and will be machine parsable. Select one: a. b. c. d. / Question 12 Answer saved Marked out of 1.00 Which of the following is true and more complete How does the WWW work? Select one: a. Web information is stored in documents called web pages. Web pages are Õles stored on computers called web clients. Computers reading the web pages are called web servers. Web clients view the pages with a program called a web browser. Popular browsers are Internet Explorer and Firefox. b. Web information is stored in documents called web Õles. Web Õles are stored on computers called web servers. Computers reading the web pages are called web clients. Web clients view the pages with a program called a web browser. Popular browsers are Internet Explorer and Firefox. c. Web information is stored in documents called web pages. Web pages are Õles stored on computers called web servers. Computers reading the web pages are called web clients or customers. Web clients or customers view the pages with a program called a web browser. Popular browsers are Internet Explorer and Firefox. d. Web information is stored in documents called web pages. Web pages are Õles stored on computers called web servers. Computers reading the web pages are called web clients. Web clients view the pages with a program called a web browser. Popular browsers are Internet Explorer and Firefox. Question 13 Answer saved Marked out of 1.00 DNS stands for Domain Name System. A DNS server is responsible for informing all other computers on the Internet about the domain name and the web site address. Select one: True False / Question 14 Answer saved Marked out of 1.00 You can add names to each frame window using which setting ? Select one: a. name b. src c. ur Question 15 Answer saved Marked out of 1.00 Which of the following will NOT be found in the section ? Select one: a. Metatags b. Title c. Table Question 16 Answer saved Marked out of 1.00 How do you add a link which will allow the visitor to send an email from your page ? a) Add an image of an envelope b)Add
c) Add Select one: a. b. c. / Question 17 Answer saved Marked out of 1.00 A Õle that speciÕes how the screen is divided into frames is called a __________ Select one: a. frameset b. frametable c. tablelink Question 18 Answer saved Marked out of 1.00 What is the correct HTML for creating a hyperlink? a)University of People b) University of People c) http://www.uopeople.org d) University of People Select one: a. b. c. d. Information Part 3: CSS / Question 19 Answer saved Marked out of 1.00 Which of the following statements is true Select one: a. CSS stands for Cascading Style Sheets. Styles deÕne how to display XTML elements. Styles were added to HTML 5.0 to solve a problem. External Style Sheets can save a lot of work. External Style Sheets are stored in CSS Õles b. CSS stands for Cascading Style Sheets. Styles deÕne how to display HTML elements. Styles were added to HTML 5.0 to solve a problem. External Style Sheets can save a lot of work. External Style Sheets are stored in CSS Õles c. CSS stands for Cascading Style Sheets. Styles deÕne how to display HTML elements. Styles were added to HTML 4.0 to solve a problem. External Style Sheets can save a lot of work. External Style Sheets are stored in CLSS Õles d. CSS stands for Cascading Style Sheets. Styles deÕne how to display HTML elements. Styles were added to HTML 4.0 to solve a problem. External Style Sheets can save a lot of work. External Style Sheets are stored in CSS Õles Question 20 Answer saved Marked out of 1.00 Which of the following statements is true Select one: a. a) In addition to setting a style for a HTML element, CSS allows you to specify your own selectors called "id" and "object". The id selector is used to specify a style for a single, unique element. The id selector uses the id attribute of the HTML element, and is deÕned with a "&". b. b) In addition to setting a style for a HTML element, CSS allows you to specify your own selectors called "id" and "reference". The id selector is used to specify a style for a single, unique element. The id selector uses the id attribute of the HTML element, and is deÕned with a "#". c. c) In addition to setting a style for a HTML element, CSS allows you to specify your own selectors called "id" and "class". The id selector is used to specify a style for a single, unique element. The id selector uses the id attribute of the HTML element, and is deÕned with a "#". d. d) In addition to setting a style for a HTML element, CSS allows you to specify your own selectors called "id" and "class". The id selector is used to specify a style for a single, unique element. The id selector uses the id attribute of the HTML element, and is deÕned with a "@". Question 21 Answer saved Marked out of 1.00 Which of the following is true a) An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one Õle. Each page must link to the style sheet using the tag. The tag goes inside the body section. b) An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one Õle. Each page must link to the style sheet using the tag. The tag goes inside the head section. c) An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one Õle. Each page must link to the style sheet using the tag. The tag goes after the head section. d) An external style sheet is ideal when the style is applied to many pages. With an external style sheet, you can change the look of an entire Web site by changing one Õle. Each page must link to the style sheet using the tag. The tag goes inside the head section. Select one: a. b. c. d. Question 22 Answer saved Marked out of 1.00 In CSS A:link deÕnes the style for Select one: a. active links b. visited links c. Virtuallinks d. normal unvisited links Question 23 Answer saved Marked out of 1.00 is used for adding CSS to the entire site ? a) Yes - if present on all pages in the site. b) Only if written in the -section of the page. c) No d) none Select one: a. b. c. d. Question 24 Answer saved Marked out of 1.00 What is the correct HTML for referring to an external style sheet? a) mystyle.css td <> b) c)