Computer Science > EXAM > University of the People CS 2205 Final Exam (Proctored). CS2205 Web Programming 1. All 46 Questions  (All)

University of the People CS 2205 Final Exam (Proctored). CS2205 Web Programming 1. All 46 Questions and Answers.

Document Content and Description Below

1/20 Home ► My courses ► CS 2205 - AY2019-T5 ► Final Exam (Days 1 - 4) ► Final Exam (Proctored) Information Question 1 1.00 Question 2 1.00 Part 1: Web Design Principles 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 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 CS 2205 Web Programming 1 2/20 Question 3 1.00 Question 4 1.00 Question 5 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. 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. 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 3/20 Information Question 6 1.00 Question 7 1.00 Part 2: HTML HMTL headings are deÕned a) With the <h1> to <h6> tags. b) with the <h0> to <h6> tags. c) with the <h1> to <h5> tags. d) with the <h1> to <h7> tags. Select one: a. b. c. d. Which of the following is true a) HTML links are deÕned with the <a> tag and HTML images are deÕned with the <imge> tag. b) HTML links are deÕned with the <al> tag and HTML images are deÕned with the <img> tag. c) HTML links are deÕned with the <a> tag and HTML images are deÕned with the <img> tag. d) HTML links are deÕned with the <at> tag and HTML images are deÕned with the <img> tag. Select one: a. b. c. d. 4/20 Question 8 1.00 Question 9 1.00 Which of the following is true a) The <p> element deÕnes a paragraph in the HTML document. The element has only a start tag <p>; also the <br>tag deÕnes a line break, and does not have a closing tag b) The <p> element deÕnes a paragraph in the HTML document. The element has a start tag <p> and an end tag </p>. The <br>tag deÕnes a line break, and has also the closing tag </br>. c) The <p> element deÕnes a paragraph in the HTML document. The element has only the start tag <p> however the <br> tag which deÕnes a line break has also the closing tag </br> d) The <p> element deÕnes a paragraph in the HTML document. The element has a start tag <p> and an end tag </p>. The <br>tag deÕnes a line break, and does not have a closing tag Select one: a. b. c. d. In XHTML, XML, and future versions of HTML, HTML elements with no end tag (closing tag) are not allowed. Select one: True False 5/20 Question 10 1.00 Question 11 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 Which one of the following is correct a) The <meta> tag provides metadata about the HTML document. Metadata will be displayed on the page, and will be machine parsable. b) The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page and will not be machine parsable. c) The <meta> tag provides metadata about the HTML document. Metadata will not be displayed on the page, but will be machine parsable. d) The <meta> 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. 6/20 Question 12 1.00 Question 13 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. 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 7/20 Question 14 1.00 Question 15 1.00 Question 16 1.00 Question 17 1.00 You can add names to each frame window using which setting ? Select one: a. name b. src c. ur Which of the following will NOT be found in the <head> section ? Select one: a. Metatags b. Title c. Table 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 <a href="sendmailtoyouraddress"> c) Add <a href="mailto:youraddress"> Select one: a. b. c. A Õle that speciÕes how the screen is divided into frames is called a __________ Select one: a. frameset b. frametable c. tablelink 8/20 Question 18 1.00 Information Question 19 1.00 What is the correct HTML for creating a hyperlink? a)<a name="http://www.uopeople.org">University of People</a> b) <a href="http://www.uopeople.org"> University of People </a> c) <a>http://www.uopeople.org</a> d) <a url="http://www.uopeople.org"> University of People </a> Select one: a. b. c. d. Part 3: CSS 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 9/20 Question 20 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 "@". 10/20 Question 21 1.00 Question 22 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 <link> tag. The <link> 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 <ref> tag. The <ref> 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 <link> tag. The <link> 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 <link> tag. The <link> tag goes inside the head section. Select one: a. b. c. d. In CSS A:link deÕnes the style for Select one: a. active links b. visited links c. Virtuallinks d. normal unvisited links 11/20 Question 23 1.00 Question 24 1.00 <link rel=stylesheet href="whatever.css" type="text/css"> 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 <body>-section of the page. c) No d) none Select one: a. b. c. d. What is the correct HTML for referring to an external style sheet? a) <stylesheet>mystyle.css</STYLESHEET> td <> b) <link rel="stylesheet" type="text/css" href="mystyle.css"> c) <style src="mystyle.css"> d) none Select one: a. b. c. d. 12/20 Question 25 1.00 Question 26 1.00 Question 27 1.00 Information How do you insert a comment in a CSS Õle? Select one: a. ' this is a comment b. /* this is a comment */ c. // this is a comment // d. // this is a comment Which property is used to change the background color? Select one: a. bgcolor: b. background-color: c. color: What is the correct CSS syntax for making all the <p> elements bold? Select one: a. p {text-size:bold} b. p {font-weight:bold} c. style:bold d. p{font:bold} Part 4: JAVASCRIPT 13/20 Question 28 1.00 Which of the following sentences is true (all items should be true) and more complete ? Select one: a. JavaScript was designed to add interactivity to HTML pages. JavaScript is a scripting language. A scripting language is a lightweight programming language. JavaScript is an interpreted language (means that scripts execute without preliminary compilation). Everyone can use JavaScript without purchasing a license. b. JavaScript was designed to add interactivity to HTML pages. JavaScript is a scripting language. A scripting language is a lightweight programming language. JavaScript is usually embedded directly into HTML pages. JavaScript is an interpreted language (means that scripts execute without preliminary compilation). c. JavaScript was designed to add interactivity to HTML pages. JavaScript is a scripting language. A scripting language is a heavyweight programming language. JavaScript is usually embedded directly into HTML pages. JavaScript is an interpreted language (means that scripts execute without preliminary compilation). Everyone can use JavaScript without purchasing a license. d. JavaScript was designed to add interactivity to HTML pages. JavaScript is a scripting language. A scripting language is a lightweight programming language. JavaScript is usually embedded directly into HTML pages. JavaScript is an interpreted language (means that scripts execute without preliminary compilation). Everyone can use JavaScript without purchasing a license. 14/20 Question 29 1.00 Question 30 1.00 Question 31 1.00 Which of the following sentences is true (all items should be true) and more complete? Select one: a. A cookie is a variable that is stored on the visitor's computer. Each time the same computer requests a page with a browser, it will send the cookie too. With JavaScript, you can create but not retrieve cookie values. b. A cookie is a variable that is stored on the visitor's computer. Each time the same computer requests a page with a browser, it will send the cookie too. c. A cookie is a variable that is stored on the visitor's computer. Each time the same computer requests a page with a browser, it will send the cookie too. With JavaScript, you can both create and retrieve cookie values. d. A cookie is a variable that is stored on the visitor's computer. Each time the same computer requests a page with a browser, it will send the cookie too. With JavaScript, you can not create but only retrieve cookie values. What is the correct JavaScript syntax to write "Hello World"? Select one: a. response.write("Hello World") b. document.write("Hello World") c. ("Hello World") d. echo("Hello World") How do you call a function named "myFunction"? Select one: a. call function myFunction b. myFunction() c. call myFunction() 15/20 Question 32 1.00 Question 33 1.00 Question 34 1.00 How do you write a conditional statement for executing some statements only if "i" is equal to 5? Select one: a. if i==5 then b. if i=5 then c. if (i==5) d. if i=5 How do you write a conditional statement for executing some statements only if "i" is NOT equal to 5? Select one: a. if (i <> 5) b. if (i != 5) c. if =! 5 then d. if <> 5 How does a "for" loop start? Select one: a. for (i = 0; i <= 5) b. for (i = 0; i <= 5; i++) c. for i = 1 to 5 d. for i = 1 to 5 e. for (i <= 5; i++) 16/20 Question 35 1.00 Question 36 1.00 Information Question 37 1.00 What is the correct JavaScript syntax for opening a new window called "window5" ? Select one: a. new("http://www.ex-designz.net","window5") b. window.open("http://www.ex-designz.net","window5") c. open.newwindow("http://www.ex-designz.net","window5") d. new.window("http://www.ex-designz.net","window5") You deÕne an array using Select one: a. var myarray = new Array(); b. var myarray = array new; c. var new Array() = myarray; d. var new array = myarray; Part 5: XML What does XML stand for? Select one: a. eXtensible Markup Language b. X-Markup Language c. Example Markup Language d. eXtra Modern Link 17/20 Question 38 1.00 Question 39 1.00 Question 40 1.00 Which statement about XML is true? Select one: a. Elements may nest but not overlap b. Quoting attributes is optional c. Elements may have multiple attributes with the same name what is the correct declaration syntax for the version of XML document? a) <?xml version="1.0" /> b) <?xml version="1.0"?> c) <xml version="1.0" /> Select one: a. b. c. Every XML document must be well formed Select one: True False 18/20 Question 41 1.00 Question 42 1.00 Question 43 1.00 What is a correct way of referring to a stylesheet called "style.xsl"? a) <stylesheet type="text/xsl" href="style.xsl" /> b) <link type="text/xsl" href="style.xsl" /> c) <?xml-stylesheet type="text/xsl" href="style.xsl" ?> Select one: a. b. c.. What does DTD stand for? Select one: a. Document Type DeÕnition b. Dynamic Type DeÕnition c. Direct Type DeÕnition Unlike most other markup languages, including HTML, XML allows you to do what? Select one: a. Create new tags b. Exchange information over the Web c. Put your tags in any order, with closing tags optional 19/20 Question 44 1.00 Question 45 1.00 Question 46 1.00 ◄ Review Quiz Jump to... 44) The following XML documents is correct: <?xml version="1.0" encoding="ISO-8859-1"?> <note> <to>Tove</to> <from>Jani</Ffrom> <heading>Reminder</heading> <body>Don't forget me this weekend!</body> </note> Select one: True False With the XMLHttpRequest object the developer can update a web page without reloading the page. Request data from a server after the page has loaded. Receive data from a server after the page has loaded. Send data to a server in the background Select one: True False All modern browsers have a built-in XML parser. An XML parser converts an XML document into an XML DOM object - which can then be manipulated with a JavaScript Select one: True False [Show More]

Last updated: 1 year ago

Preview 1 out of 20 pages

Reviews( 0 )

Recommended For You

 Computer Science> EXAM > University of the People CS 2205 Review Quiz Final. Grade 98.00 out of 100.00 (All)

preview
University of the People CS 2205 Review Quiz Final. Grade 98.00 out of 100.00

Home ► My courses ► CS 2205 - AY2019-T5 ► Final Exam (Days 1 - 4) ► Review Quiz Question 1 Started on Thursday, 8 August 2019, 1:23 PM State Finished Completed on Thursday, 8 August 2019, 2:52 PM...

By TESTBANKS , Uploaded: Dec 16, 2021

$9.5

 Computer Science> EXAM > University of the People CS 2301 Graded Quiz Unit 3.- 100 Percent Grade (All)

preview
University of the People CS 2301 Graded Quiz Unit 3.- 100 Percent Grade

True or False: When a program runs, the primary goal is to make the system easy to use. Select one: True False The correct answer is 'True'. Why did Linus Torvalds borrow UNIX concept, but not...

By d.occ , Uploaded: Sep 23, 2021

$12

 Computer Science> EXAM > University of the People CS 2301 Graded Quiz Unit 6- 100 Percent Grade (All)

preview
University of the People CS 2301 Graded Quiz Unit 6- 100 Percent Grade

True or False: There are usually two types of locality, temporal and spatial. Select one: True False True or False: Fragmentation does not occur in a paging system. Select one: True False...

By d.occ , Uploaded: Sep 23, 2021

$9

 Computer Science> EXAM > University of the People CS 2301 FINAL EXAM OS1-- 100 Percent Grade (All)

preview
University of the People CS 2301 FINAL EXAM OS1-- 100 Percent Grade

Q1. True or False: Fragmentation does not occur in a paging system. Select one: True False //Correct Q2. Consulting the following figure, jobs A and B as at the highest priority thus the scheduler...

By d.occ , Uploaded: Sep 23, 2021

$12

 Computer Science> EXAM > University of the People CS 4404:Exam final (All)

preview
University of the People CS 4404:Exam final

 Final Exam Question 1 Answer saved Marked out of 1.00 Flag question Question text During phase 1 of the Life-cycle management approach based on the review, the AO should decide on all of the...

By Cheryshev , Uploaded: Aug 06, 2021

$11

 Computer Science> EXAM > University of the People CS 2205/ CS2205. Web Programming. FINAL EXAM-Proctored.. Includes 46 Questions and Answers. (All)

preview
University of the People CS 2205/ CS2205. Web Programming. FINAL EXAM-Proctored.. Includes 46 Questions and Answers.

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-t...

By PAPERS UNLIMITED™ , Uploaded: Dec 15, 2021

$7.5

 Health Care> EXAM > Fundamentals of Nursing 10th Edition by Taylor, Lynn, Bartlett Test Bank Chapter 1-46 Questions And Answers| Answers Key (All)

preview
Fundamentals of Nursing 10th Edition by Taylor, Lynn, Bartlett Test Bank Chapter 1-46 Questions And Answers| Answers Key

Fundamentals of Nursing 10th Edition by Taylor, Lynn, Bartlett Test Bank Chapter 1-46 Questions And Answers| Answers Key

By Tutorsammy , Uploaded: Aug 07, 2023

$12

 Health Care> EXAM > Epic Bridges Exam Study Guide Latest Updated/46 Questions and Answers (All)

preview
Epic Bridges Exam Study Guide Latest Updated/46 Questions and Answers

Epic Bridges Exam Study Guide Latest Updated/46 Questions and Answers

By Filbert , Uploaded: May 07, 2023

$10

 Law> EXAM > Louisiana Notary Exam | 146 Questions And Answers (All)

preview
Louisiana Notary Exam | 146 Questions And Answers

Louisiana Notary Exam | 146 Questions And Answers

By Mariebelle , Uploaded: Oct 23, 2022

$10

 *NURSING> EXAM > Fundamentals Test 2 ADPIE - 146 Questions and Answers (All)

preview
Fundamentals Test 2 ADPIE - 146 Questions and Answers

Fundamentals Test 2 ADPIE - 146 Questions and Answers

By Ajay25 , Uploaded: Mar 21, 2023

$16

$9.50

Add to cart

Instant download

Can't find what you want? Try our AI powered Search

OR

GET ASSIGNMENT HELP
540
0

Document information


Connected school, study & course



About the document


Uploaded On

Dec 15, 2021

Number of pages

20

Written in

Seller


seller-icon
PAPERS UNLIMITED™

Member since 2 years

482 Documents Sold


Additional information

This document has been written for:

Uploaded

Dec 15, 2021

Downloads

 0

Views

 540

Document Keyword Tags

THE BEST STUDY GUIDES

Avoid resits and achieve higher grades with the best study guides, textbook notes, and class notes written by your fellow students

custom preview

Avoid examination resits

Your fellow students know the appropriate material to use to deliver high quality content. With this great service and assistance from fellow students, you can become well prepared and avoid having to resits exams.

custom preview

Get the best grades

Your fellow student knows the best materials to research on and use. This guarantee you the best grades in your examination. Your fellow students use high quality materials, textbooks and notes to ensure high quality

custom preview

Earn from your notes

Get paid by selling your notes and study materials to other students. Earn alot of cash and help other students in study by providing them with appropriate and high quality study materials.

WHAT STUDENTS SAY ABOUT US


What is Browsegrades

In Browsegrades, a student can earn by offering help to other student. Students can help other students with materials by upploading their notes and earn money.

We are here to help

We're available through e-mail, Twitter, Facebook, and live chat.
 FAQ
 Questions? Leave a message!

Follow us on
 Twitter

Copyright © Browsegrades · High quality services·