Ask Computer Network & Security Expert

QUESTION 1

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

URL: http://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

(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

}

Computer Network & Security, Computer Science

  • Category:- Computer Network & Security
  • Reference No.:- M9133965

Have any Question?


Related Questions in Computer Network & Security

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Security challenges in emerging networksassignment

Security Challenges in Emerging Networks Assignment Description The purpose of this assignment is to develop skills to independently think of innovation. In this assignment students will first learn how to develop knowle ...

Advanced network design assessment - human factors in

Advanced Network Design Assessment - Human factors in network analysis and design Purpose of the assessment - This assignment is designed to assess students' knowledge and skills related to the following learning outcome ...

Advanced network design assessment - human factors in

Advanced Network Design Assessment - Human factors in network analysis and design Purpose of the assessment - This assignment is designed to assess students' knowledge and skills related to the following learning outcome ...

Assignment descriptionproject scope a typical network

Assignment Description Project Scope: A typical network layout diagram of a firm is given below for illustrative purposes only. The service requirements are enclosed. Figure. Network layout of a firm Service requirements ...

Assignment descriptionproject scope a typical network

Assignment Description Project Scope: A typical network layout diagram of a firm is given below for illustrative purposes only. The service requirements are enclosed. Figure. Network layout of a firm Service requirements ...

After reading this weeks materials please respond to two 2

After reading this week's materials, please respond to TWO (2) of the following questions. AND PROVIDE CITATION IN APA 1. Describe the differences between bus, ring, star and mesh topologies. 2. Explain the TCP/IP Model ...

The abstract should not be more than 250 words describe

The abstract should not be more than 250 words. Describe your project, focusing on research questions and research method for next stage of the project. 1. Introduction [The introduction should describe what the project ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As