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

  Maintaining current employers connection to internet

Assume you are responsible for selecting and maintaining your current employers connection to the Internet. Take some time to research routing protocols

  Write three big problems with m-m-s process

Then he asks you if they require to make any modifications to their software development process. Write down name three big problems with M. & M.'s process. How would you fix those problems?

  Explaining role of antennas in transmitting radio waves

Explain role of antennas in transmitting radio waves. What kind of antenna is typically used in wireless LAN?

  Why you think dynamically assigning ip addresses are useful

Is the IP address 192.168.12.254 a valid address for use by a computer connected directly to the Internet? Explain your answer. c) Is it possible to divide a class C network into 14 subnets with 15 computers connected to each sub network? Explain..

  Explain how to upgrade bus topology lan

You are asked to upgrade bus topology LAN at a friend's house to a star topology LAN. your friend wishes to connect three computers and printer and use Ethernet access method.

  Does node refrain from transmitting its scheduled time

Assume nodes A and B are on same 10 Mbps Ethernet bus, and propagation delay between two nodes is 245 bit times. Does B refrain from transmitting at its scheduled time?

  How many trace elements are shown

What objects and counters are displayed in the right pane by default and what are the first five counters listed? What instances are listed?

  Determining size of ethernet mac addresses

Determine the size of Ethernet MAC addresses?

  Determine maximum number of ip addresses assigned

Determine the smallest size subnet which can be utilized to fulfil this requirement? _______. Determine the maximum number of IP addresses which can be assigned in this size subnet?

  How to use the encrypting file system

You will learn how to use the Encrypting File System in this activity. You will create a folder, copy a file to the folder, and then encrypt the folder's contents

  Explain how you installed the cryptmount package

She wants to also use the ash disk for transporting unencrypted les. Files that can be read on machines apart from her work and home machines.

  Depict network topology graphical model initial environment

Depict a network topology graphical model of the initial environment of 10 employees using Visio or its open source alternative software. Note: The graphically depicted solution is not included in the required page length.

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