Question 1a identify and describe the different component

Assignment Help Computer Networking
Reference no: EM13349600

QUESTION 1

(a) Identify and describe the different component parts of the following

URL: https://cn.xyz1.ac.uk:8799/~nk/WMS/details.html?name=mark&x=25

(b) List and explain five steps you need to take to migrate from HTML to XHTML on an existing website.

(c) Draw an annotated diagram explaining how data is transmitted to web servers during a standard form submit event.

(d) How does HTML allow you to:

(i) create a thumbnail

(ii) control the appearance of hyperlinks in a Web Page

(iii) insert a background graphic in a Web Page.

Note: write appropriate code extracts.

QUESTION 2

(a) Name two image formats used on the web and explain when it is most appropriate to use each format.

(b) Explain what you understand by the following as used in CSS:

(i) Contextual Selector and Group Selector

(ii) Relative and Absolute positioning

Illustrate your answer using extract codes.

(c) An HTML file "autodetection.html" uses an external Cascading Style Sheet file name "layout.css". Users are viewing the Web page making use of different browsers. The version for those browsers may also vary. Give the appropriate Browser Sniffer codes which enable you to use the file "layout.css" only if the browser is Internet Explorer 6 or above.

(d) Show how JQuery allows you to:

(i) select a DIV element using css class or ID and retrieves its value

(ii) change the foreground colour and the size of text for all first level heading

(iii) change the attribute values of all anchor tags in a web page

QUESTION 3

(a) Explain briefly the two ways used to create image maps.

(b) Describe the three approaches to accessing XHTML elements through JavaScript and write the corresponding JavaScript to access the "Cancel" button element defined through the XHTML script shown below

<form name="buttonForm">

<input type="button" name="OK" id="OKid">

<input type="button" name="Cancel" id="CancelId">

</form>

(c) Write a JavaScript program that allows a user to enter a sentence in a TextArea to test the following conditions

(i) the sentence should be in lower case

(ii) provide a message if the TextArea is empty

(iii) provide a message if the sentence contains the letter „s?

(iv) provide a message if the 6th character is not letter „w?

(v) provide a message if the sentence contains less than 15 characters

(vi) provide a congratulatory message if all of the above conditions are satisfied.

(vii) The program should respond when the control is taken away from the TextArea element.

QUESTION 4

(a) Outline the difference between an intranet and an extranet.

(b) Give five factors that affect the download speed of a web page.

(c) DHTML combines HTML, JavaScript, Document Object Model and Style Sheets. List four key features of DHTML with regard to its use in web sites.

(d) A programmer is trying to produce an applet with the display shown in Figure 1 below such that whenever one of the checkboxes is selected the label changes to indicate correctly what has been ordered. However the code (shown below) contains errors and omissions Make the necessary corrections and additions to the following program-

159_Outline the difference between an intranet and an extranet.png

import java.awt.*;

import java.applet.*;

public class Question7 extends Applet {

Checkbox cola, burger, fries;

String s

public void init {

cola = new Checkbox("Cola");

burger = new Checkbox("Burger");

fries = new Checkbox("Fries");

}

public void ItemStateChanged() {

// User has clicked one of the check boxes

// This routine says which ones are checked

s = "You chose";

if (cola.getState()= true) s += cola.getLabel;

if (burger.getState()= true) s += burger.getLabel;

if (fries.getState()=true) s += fries.getLabel;

repaint();

}

public void paint(Graphics)

{

g.setColor(red);

g.drawString(s,50,120);

}//end paint

}

Reference no: EM13349600

Questions Cloud

Question 26 pepsico inc the parent company of frito-lay : question 26 pepsico inc. the parent company of frito-lay snack foods and pepsi beverages had the subsequent current
Question taxes are 35 percent of pretax income and are paid : question taxes are 35 percent of pretax income and are paid in the quarter incurred. 50 percent of sales are collected
Question 1 tony bush 2003 proposed five models of : question 1 tony bush 2003 proposed five models of educational management namely collegial political subjective
Question 1 a essentially analyse merit of education policy : question 1 a essentially analyse merit of education policy as a scholarly study in educational administration and
Question 1a identify and describe the different component : question 1a identify and describe the different component parts of the followingurl
Qestion 1 a what is the sustainable development b : question 1 a what is the sustainable development? b examine the implications of sustainable development for-i
Question problem : question problem 1nbspnbspnbspnbspnbspnbspnbspnbspnbspnbsppart ain late 2010 the nicklaus corporation was produced. the
Question 1a what is the sustainable developmentb examine : question 1a what is the sustainable development?b examine the principles of sustainable development.question 2a
Question 1product development costs are a material cost for : question 1product development costs are a material cost for various companies. they are either written off as a

Reviews

Write a Review

Computer Networking Questions & Answers

  Weigh in on the debate between gsm and cdma

The first student to post will respond to the last student to post. In addition, you should comment on at least one other person's response.

  Cloud computing like elastic scalability and outsourcing

It also help business to use the best features of cloud computing like, elastic scalability and outsourcing. what are your toughts on the above statement? Do you agree or disagree?

  Genome4u is a scientific research project at a large

genome4u is a scientific research project at a large university in the united states. genome4u has recently started a

  Explain subnet mask information for departments and routers

Write a 1-2 page paper listing configuration changes to present to the manager, who has technical background, which details the plan and your timeline for implementation.

  What ip range would an isp provide to a customer

Using the IP ranges below: 245.0.0.0/8 225.113.9.0/25 169.254.137.0/25 192.168.0.0/16 172.16.0.0/24 10.0.0.0/8 245.125.1378.0/24 215.154.10.0/24 225.113.8.0/24 127.0.0.0/8 10.0.0.0/24 a)

  Technique to create tcp connection without nat configuration

Try to devise a technique that will allow Arnold to establish a TCP connection with Bernard without application-specific NAT configuration. If you have difficulty devising such a technique, discuss why.

  One-way to solidify the concepts of clientserver computing

one-way to solidify the concepts of clientserver computing and interprocess communication is to develop the

  What to make sure network infrastructure is more secured

The CIO has asked you to explain why you recommend it is so important to secure your Windows and Unix/Linux servers from known shortcomings/vulnerabilities, explain to your CIO what you can do to make sure your network infrastructure is more secur..

  Benefits of authentication scheme

An example of when a failure may occur is if the clinet's MAC address is explicitly excluded in the AP/router configuration. What are the benefits of this authentication scheme?

  Security in bluetooth and other mobile devices

Analyze the factors that business managers must consider when determining if wireless and mobile devices are appropriate in their business environment.

  Explain approach to defeating the tiny fragment attack

Thus, an intermediate fragment may pass through the filter before the initial fragment is rejected. How can this situation be handled?

  Suggest network design to support requirements of company

Suggest network design to support requirements of Silfinate Company following this move. Give your colleagues with feedback on their designs.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd