100 This Page Intentionally Blank csc2406 — Web Technology I Page 1 of 4 Examination Period — Semester 2, 2018 csc2406 — Web Technology I Page 1 of 4 Examination Period — Semester 2, 2018 csc2406 —...

1 answer below »
here is the sample paper of the exam. It is 2-hour restricted exam. once you are ready please let me know then I will open my exam.




100 This Page Intentionally Blank csc2406 — Web Technology I Page 1 of 4 Examination Period — Semester 2, 2018 csc2406 — Web Technology I Page 1 of 4 Examination Period — Semester 2, 2018 csc2406 — Web Technology I Page 1 of 4 Examination Period — Semester 2, 2018 Special instructions • There are twenty-five questions in this exam. • All questions are of equal marks. • Please answer all questions. • Answers in point form are acceptable. Question 1 (4 marks) Explain the difference between a “client” and a “server”. Question 2 (4 marks) Explain the difference between the World Wide Web and the Internet. Question 3 (4 marks) What is the difference between HTML and XHTML? Question 4 (4 marks) Draw the nodes of the DOM tree of the following HTML document: Example Document

An
Example
HTML Document



  • An XML document can be represented by a
    tree diagram.

  • All content linked in a tree of nodes

  • The browser's internal representation is a
    DOM
    tree.


Question 5 (4 marks) There are three ways to include CSS markup in a HTML document. Discuss each method and when it should be used. Page 2 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2018 Page 2 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2018 Page 2 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2018 Question 6 (4 marks) Explain the difference between “content” and “style” and why they should be separated? Question 7 (4 marks) Within the context of CSS, what is “responsive design” Question 8 (4 marks) Why is it a good idea to always supply the title attribute to anchor ele- ments? Question 9 (4 marks) In CSS, explain the concept of “floating” boxes. Question 10 (4 marks) Explain why all site pages should be approximately three clicks away from the site home page? Question 11 (4 marks) Explain each line of the following Javascript code: 1 var quote=document.getElementsByTagName("blockquote"); 2 for(var i=0; i

'+$(this).html()+'

'); csc2406 — Web Technology I Page 3 of 4 Examination Period — Semester 2, 2018 csc2406 — Web Technology I Page 3 of 4 Examination Period — Semester 2, 2018 csc2406 — Web Technology I Page 3 of 4 Examination Period — Semester 2, 2018 Question 14 (4 marks) An event propagating through the document tree is said to be in the Capture phase, the Target phase, and the Bubble phase. Explain each one of these phases. Question 15 (4 marks) Explain in detail the code below and its effect: 1 $("a").click(function( event ) { 2 var elem = $( this ); 3 if ( elem.attr( "class" ).match("clicked") ){ 4 event.preventDefault(); 5 } else { 6 elem.addClass( "clicked" ); 7 } 8 }); Question 16 (4 marks) Discuss two usability design strategies that should be used when construct- ing a Web form. Question 17 (4 marks) Within a HTML form, what is the purpose of the fieldset and legend elements? Question 18 (4 marks) What is an “‘interlaced” raster image? Question 19 (4 marks) When defining audio and video resources the “container” and the “codec” must be defined. What are the “container” and the “codec”? Question 20 (4 marks) What are the differences between “raster” and “vector” graphics? Question 21 (4 marks) Why is it a good idea to use the label element, especially with radio buttons and checkboxes? Page 4 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2018 Page 4 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2018 Page 4 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2018 Question 22 (4 marks) Why is it important to validate the form input fields on the client, using either Javascript Events or HTML validation? Question 23 (4 marks) When using the Drag and Drop API what is the reason for specifying the “draggable” and “droppable” attributes of HTML elements? Question 24 (4 marks) When a Web application wishes to use the Media Devices API why is the permission of the user sought by the browser before the application can use the API? Question 25 (4 marks) Why does the input tag have so many values for the type attribute? Most input could be handled by type="text" — a single line of text as input. End of Examination Student Name:   Student Number: Student Signature:   Faculty of Health, Engineering and Sciences Course code: CSC2406 Course Name: Web Technology 1 Campus: Springfield, Toowoomba Mode: On-Campus, Online Examination Period: Semester 2, 2017 Examination Duration: Perusal: Total examination marks: 2 hours 0 minutes 10 minutes 100 Examiner: Leigh Brookshaw Moderator: Stijn Dekeyser Examination:  End of Semester               Deferred                                Supplementary  THIS EXAMINATION PAPER MUST NOT BE REMOVED FROM THE EXAMINATION ROOM Students are advised to use the perusal time to read through the examination paper, but are permitted to commence writing on any part of the examination paper, booklet or answer sheet if they wish. Students must comply with USQ mandatory examination conditions. Special Instructions: This examination is:  Closed  Open  Restricted   The following conditions apply to this examination:   Students may only bring writing and drawing instruments into the exam room.  Permitted un-marked, non-electronic, non-technical, non-diagrammatic language translation dictionary:  No  Yes Permitted un-marked, non-electronic, non-technical, non-diagrammatic language dictionary:  No  Yes   Other permitted printed or written material: No additional materials are allowed in the exam room. OFFICE USE ONLY Questions / Part Result Any non-USQ copyright material used herein is reproduced under the provisions of Section 200 (1) (b) of the Copyright Amendment Act 1980. This Page Intentionally Blank csc2406 — Web Technology I Page 1 of 4 Examination Period — Semester 2, 2017 csc2406 — Web Technology I Page 1 of 4 Examination Period — Semester 2, 2017 csc2406 — Web Technology I Page 1 of 4 Examination Period — Semester 2, 2017 Special instructions • There are twenty-five questions in this exam. • All questions are of equal marks. • Please answer all questions. • Answers in point form are acceptable. Question 1 (4 marks) Explain the various parts of the following URL: https://tau.usq.edu.au:443/courses/CSC2406/SB/WebAPIs.html#GeoAPI Note: These 6 parts must be explicitly declared (loose a halfmark for each one ignored or combined). How they are described do not worry too much about it. More interested they can find the major parts. Question 2 (4 marks) HTTP stands for Hypertext Transfer Protocol. What is a protocol? Question 3 (4 marks) The HTML head element is used to contain the document meta-data. What sort of meta-data is typically placed in the head element. Question 4 (4 marks) HTML elements can be grouped into three types of elements: Grouping, Phrasing and Embedding. With examples, explain each type of element. Question 5 (4 marks) There are three ways to include CSS markup in a HTML document. Discuss each method and when it should be used. Question 6 (4 marks) In CSS, what are “pseudo-elements”? Give examples. Question 7 (4 marks) In CSS, what does it mean to “calculate a selector’s specificity”? Page 2 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2017 Page 2 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2017 Page 2 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2017 Question 8 (4 marks) In CSS, when positioning a box using “absolute positioning” the box is re- moved from the normal flow entirely and assigned a position with respect to a parent “containing block”. Explain this statement. Question 9 (4 marks) Why is it a good idea to always supply the title attribute to anchor ele- ments? Question 10 (4 marks) The Web Accessibility Initiative of the W3C has published a number of sug- gestions to help ensure the accessibility of a site. Discuss at least four of these suggestions. Question 11 (4 marks) Explain each line of the following Javascript code: 1 var quote=document.getElementsByTagName("blockquote"); 2 for(var i=0; i

Bruce Catton
Army of the Potomac trilogy



  • Mr. Lincoln's Army
    (Vol. 1)

  • Glory Road
    (Vol. 2))

  • A Stillness at Appomattox
    (Vol. 3)


csc2406 — Web Technology I Page 3 of 4 Examination Period — Semester 2, 2017 csc2406 — Web Technology I Page 3 of 4 Examination Period — Semester 2, 2017 csc2406 — Web Technology I Page 3 of 4 Examination Period — Semester 2, 2017 Question 13 (4 marks) Explain all of the parts of the following jQuery command: $('section p:first-child').addClass("dropCap").removeClass('justify') Question 14 (4 marks) Explain the effect of the following jQuery code: $('h1').replaceWith('

'+$(this).html()+'

'); Question 15 (4 marks) Explain the concept of “event propogation” as it applies to the Document Object Model (DOM). Question 16 (4 marks) Explain in detail the effect of the following jQuery code: 1 $("input[type*='text']") 2 .blur(function() {$(this).css("color","grey");} ) 3 .focus(function() {$(this).css("color","black");} ); Question 17 (4 marks) Discuss two usability design strategies that should be used when construct- ing a Web form. Question 18 (4 marks) Within a HTML form, what is the purpose of the fieldset and legend elements? Question 19 (4 marks) Why is it considered “bad practice” to include a reset button in a form? Question 20 (4 marks) Why should the JPEG format only be used for photographs? Question 21 (4 marks) When drawing into a HTML canvas element, the canvas’s “graphics con- text” must be used. What is the “graphics context”? Page 4 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2017 Page 4 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2017 Page 4 of 4 csc2406 — Web Technology I Examination Period — Semester 2, 2017 Question 22
Answered Same DayOct 30, 2021

Answer To: 100 This Page Intentionally Blank csc2406 — Web Technology I Page 1 of 4 Examination Period —...

Neha answered on Oct 30 2021
121 Votes
95042 - html exam/qstyle.css
.greenText {color:green;}
#redText{color:red;}
95042 - html exam/question 25.html
Welcome to HTML learning
HTML is the standard markup language for web pages. Tags and attributes are the basis of HTML.

95042 - html exam/question4.html
Header
Paragraph of Text
95042 - html exam/webtec-final-exam-2-hours-dsnsxrbl.docx
Online Final Exam( 2 hours )
Top of Form
Bottom of Form
Question 1
Marked out of 4.00
Question text
What is the difference between HTML and XHTML?
Answer text
HTML stand
s for hypertext markup language and it is generally used for creating the web pages. It allows us to easily create the web pages and link them with one another. It is not the programming language, but it is known as the markup language. All the tags and attributes are not required to be in either lower or upper case. The doctype is not required to write at the top of the file.
The XHTML stands for extensible hypertext markup language. We can consider this as the part of example markup language because it has features of the HTML and examined. It is extended from the example an HTML. We can consider is as the updated version of HTML. Every tag in the attribute should be in its lowercase. It is important to write the doctype at the top of the file.
Answer files
Question 2
Marked out of 4.00
Question text
Explain the difference between “client” and “server”.
Answer text
The major difference between the client and server is that the server is a machine order program which can provide services to the clients as per their request and the client is the machine or the program which can request for the services through the web. The client device can be defined as the machine which is used by the end users to access the web. The examples of such devices are laptops, smartphones, desktops or the tablets. The client program will allow the user to make request through the web. A user will be able to request for the web page through the web browser.
The server can be the device which can provide services to the client request. These devices will run the server programs. The single server is able to provide services to the multiple clients simultaneously. The servers generally run continuously. We can have multiple servers for the single machine. We can have web server and the file server running at the same time to serve different clients. It is possible to have the client server using the same machine.
Answer files
Question 3
Marked out of 4.00
Question text
Explain the various parts of the following URL:
http://tau.usq.edu.au:8080/courses/CSC2406/StudyBook/01Introduction.html
Answer text
The URL consists of five basic parts which are ski, sub domain, top level domain, second level domain and the sub directory. The scheme will inform us about the web servers which protocol will follow when it is accessing the page on the website. The given URL has HTTP which is the hypertext transfer protocol.
The subdomains are like this specific rooms in the house if the house is website. The sub domain in the URL shows the particular page of the website to which the web browser should serve up. The sub domain for the given URL is tau.
the second level domain is the name of the website. It will help us to know that they are visiting the certain site of the brand. The second level domain of the given URL is usq.
The top-level domain will specify wild what type of entity the organization registers as over the Internet. The URL shows that it has the education as the organization we're just present in Australia. It has two different top-level domains.
The 8080 Is the 4th number presented the URL.
The sub directory is the last part which is presenting the it is known as the sub folder. It helps the people and the web crawlers to understand which particular section of the webpage they are present on. As we can see in the given URL it has the path for the given file which is presenting a particular folder. it shows the complete path for the file which is present in the third level of the folder.
Answer files
Question 4
Marked out of 4.00
Question text
Construct the equivalent HTML for the following document tree:
Answer text



MyDocument


Header


Paragraph of Text




Answer files
Question 5
Marked out of 4.00
Question text
How will you link an external style sheet to your HTML document? In which part of the HTML document should this information be placed?
Assume that the name of your external style sheet is examstyle.css.
 
Answer text
The external stylesheet is linked in the HTML document in its head tag.



Answer files
Question 6
Marked out of 4.00
Question text
CSS style rules follow the form:
selector {property: value;}
Explain the terms “selector”, “property”, and “value” with an example.
Answer text
The selector will allow us to select system defined tag in the code. it will allow us to select elements with the specified property and the value.
a[target="_blank"] {
  background-color: black;
}
In the given example a is the selector, target is the property and blank is the value.
Answer files
Question 7
Marked out of 4.00
Question text
In CSS, what are...
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here