Skip to main content

Web Technology



-->

Lect  1:    Question Bank:Internet and Web Technology


1. Discuss the various methods available for connecting to Internet?

2. What is the difference between Client server mode and peer to peer network?

3. What do you understand by Domain Name System? Discuss the architecture and
functionality of DNS in detail.

4. How IP addressing is done? Discuss the various IP address classes in detail.

5. Discuss the TCP/IP model and its services in detail.

6. What o you understand by OSI reference model? Explain briefly advantages of
layered approach?

7. What do you understand by web Server? Discuss its functionality in detail.

8. What is the difference between following?

a. Paired tag and Singular tag
b. Absolute URL and relative URL

9. Discuss the difference between Static and Dynamic IP
10. Discuss briefly following terms:

a. Internet Server
b. Internet Service Provider
c. Internet Access Provider
d. Gateway
e. UDP
f. TCP
g. Telnet
h. FTP
i. E-Mails
j. Ping

11. What is the W3C and what does it do?
12. What is HTML validation? Do you ever validate your HTML? Why?
13. What are the factors we need to keep in mind while designing website for the
client.
14. Correct the errors in the following HTML mark up:
15. What is HTML?How is HTML interpreted?
16. What is the difference bet
17. Develop HTML code for the following :

a. How do I add midi music to my web page
b. How do I make a picture as a background on my web pages?
c. How do I make it so that someone can mail me by just clicking on text?
d. How do I add floating text to my page?
e. How to add multiple colour text to a webpage?
f. How to make a hyperlink on a picture
g. How can I make my link not have this ugly border?
h. How to align pictures on a webpage?
i. How to make a link to another webpage
j. How to create links to sections on the same page in HTML.
k. Opening new web page window when clicking on a link.
l. Creating a new window in HTML for a single image.
m. How do I create multicolor links in HTML?
n. How to create a fixed background image on a web page.
o. Creating a web page with a single background image not a tiled background. 8.
Can a HTML document be one long line of tags and still be valid.
p. Can HTML tag-pairs be nested inside each other? Explain with example.
Demonstrate a link from one page to specific point in another page.


18. Provide short answers for following:

a. Can a page include more than one set of tags?
b. What is the software required to create and edit JavaScript programs
c. How data is stored in a JavaScript?
d. How browsers recognize JavaScript code?
e. What is the difference between Java and JavaScript?
f. Can we use HTML tags with JavaScript?
g. How to insert comments in a JavaScript?
h. A script that executes when the user clicks the mouse button is called?
i. What is the purpose of enclosing a script with in html comments?
j. What you understand by local and global variables?

19. Which of the following is not a valid JavaScript variable name?
a. 2names
b. _first_and_last_names
c. firstandlast

20. What will be the result of the JavaScript expression 31 + “ angry
polarbears”? f
unctionality of DNS in detail.[6] 




Lect 2: Sample  Question Paper

1. What do you understand by Domain Name System? Discuss the architecture and
2. Provide short answers for following: [1*6=6]

a. Can a page include more than one set of script tags?
b. What is the software required to create and edit JavaScript programs
c. How data is stored in a JavaScript?
d. How browsers recognize JavaScript code?
e. What is the difference between Java and JavaScript?
f. How browser differentiates between HTML doc and a server side script?

3 (a) What do you understand by IP address in detail? Discuss the various IP address
classes in detail. [3]
(b)What is the difference between Static and Dynamic IP addressing? Explain with
example.[3]
4 (a) Write a Java Script code to enter n integers from user and print them in
sorted order?[3]
(b) Write HTML code for following:[1.5*2=3]
       a. How to align pictures on a webpage?
       b. How to create links to sections on the same page in HTML.
5 (a) Discuss the three basis type of objects available in JavaScript? Explain with
proper examples?[4]
(b) Create a JavaScript code to manipulate window status line when a user clicks
on an image in a html language. [2]

6(a) What do you understand by Event handler? When is an Event Handler Invoked?
Explain with e.g.?[3]
(b) Create a HTML webpage containing 2 horizontal frames occupying 30%,70%
screen area respectively. In the first frame embed an Image or logo of the
company such that browser displays a “Welcome” message as user puts mouse on
it. Divide the second frame again in 30%,70% ratio. Color the first of these
frame red and create two hyperlink each of which opens in the other frame.[3]

Lect  3: Breif  About HTML Colors






Black #000000 rgb(0,0,0)
Red #FF0000 rgb(255,0,0)
Green #00FF00 rgb(0,255,0)
Blue #0000FF rgb(0,0,255)
Yellow #FFFF00 rgb(255,255,0)
Light #00FFFF rgb(0,255,255)
Pink #FF00FF rgb(255,0,255)
Grey #C0C0C0 rgb(192,192,192)
white #FFFFFF rgb(255,255,255)




Lect 4:   XML Attributes
http://lecture-notes-forstudents.blogspot.com/2010/10/xml-attributes.html


From HTML you will remember this: < IMG SRC="comp.gif" >. The SRC attribute provides additional information about the IMG element. In HTML (and in XML) attributes provide additional information about elements:

< img src="computer.gif" >
< a href="demo.asp" >

Attributes often provide information that is not a part of the data. In the example below, the file type is irrelevant to the data, but important to the software that wants to manipulate the element:

< file type="gif" > computer.gif < /file >
Students now u know abt basic XML, its scripting rules. Lets understand XML attributes which can be understood as property of an element.

Here are simple rules for XML elements 

Quote Styles, "female" or 'female'?
Attribute values must always be enclosed in quotes, but either single or double quotes can be used. For a person's sex, the person tag can be written like this:

< person sex="female" > or like this:
< person sex='female' >

Note: If the attribute value itself contains double quotes it is necessary to use single quotes, like in this example:

< Inspector name='George "Rain" Abslum' >

Note: If the attribute value itself contains single quotes it is necessary to use double quotes, like in this example:

< Inspector name="George 'Rain' Abslum" >

Use of Elements vs. Attributes: Data can be stored in child elements or in attributes.

E.g. Take a look at these examples:

< firstname > Anna < /firstname >
lastname > Smith < /lastname >
< /person >
< person >
< sex > female < /sex >
< firstname > Anna > /firstname >
< lastname > Smith > /lastname >
< /person >

In the first example sex is an attribute. In the last, sex is a child element. Both examples provide the same information. There are no rules about when to use attributes, and when to use child elements. My experience is that attributes are handy in HTML, but in XML you should try to avoid them. Use child elements if the information feels like data.

E.g.Storing data in child elements.

The following three XML documents contain exactly the same information:
A date attribute is used in the first example:
< note date="12/11/2002" >
< to > Tove < /to >
< from>Jani < /from >
< heading>Reminder < /heading >
< body>Don't forget me this weekend! < /body >
< /note >

A date element is used in the second example:

< note >
< date > 12/11/2002 < /date >
< to > Tove < /to >
< from>Jani < heading>Reminder < /heading >
< body>Don't forget me this weekend! < /body >
< /note >
An expanded date element is used in the third: (THIS IS MY FAVORITE):

< note >
< date >
< day > 12 < /day >
< month > 11 < /month >
< year > 2002
< /date >
< to > Tove < /to >
< from > Jani < /from >
< heading > Reminder < /heading >
< body >Don't forget me this weekend! < /body >
< /note >

Lect 5:  Element naming

XML elements must follow these naming rules:

  • Names must not start with a number or punctuation character
  • Names must not start with the letters xml (or XML, or Xml, etc)
  • Names cannot contain spaces
  • Names can contain letters, numbers, and other characters

Take care when you "invent" element names and follow these simple rules:
Any name can be used, no words are reserved, but the idea is to make names descriptive. Names with an underscore separator are nice.

Examples: < stud_name >, < stud_age > .


Avoid "-" and "." in names. For example, if you name something "first-name," it could be a mess if your software tries to subtract name from first. Or if you name something "first.name," your software may think that "name" is a property of the object "first." Element names can be as long as you like, but don't exaggerate. Names should be short and simple, like this:

< Thesis_title > not like this: < the_title_of_the_book >.
XML documents often have a corresponding database, in which fields exist corresponding to elements in the XML document. A good practice is to use the naming rules of your database for the elements in the XML documents. Non-English letters like éòá are perfectly legal in XML element names, but watch out for problems if your software vendor doesn't support them. The ":" should not be used in element names because it is reserved to be used for something called namespaces (more later).


Lect 6: XML SCRIPTING

 http://lecture-notes-forstudents.blogspot.com/2010_09_01_archive.html

XML Language can be understood as a generic language used to describe other markup languages. You need to understand that XML makes a clear distinction between the markup and the content of the webpage. Here markup implies tags and attributes that are being used in the XML document and content refers to the information being presented in the document.


E.g.
< p > XML is used to store data in a structured way < /p >


In this example < p >….
refers to the markup being used in the document and the text written between these tags refer to the content of the document.


You can say that markup is actually used to describe the presentation of the content. This is done using standard tags and attributes that are available in HTML. You will find that the XML markup is generally used to describe the content of the document and is not related with the appearance of the document.


E.g. < quiz answer=”Qutab Minar” > Can you name a famous monument in delhi?< /quiz >


In this example < quiz > tag is being used to describe the type of content and the answer attribute specifies the answer for this question.


To start using XML effectively you need to learn about the terminology used in XML and understand the structure of a XML file. Consider following example:


< catalog >
< movie >
< title > Jung < >
< duration > 3 hrs < /duration >
< /movie >
< /catalog >


As you can see XML files have hierarchical structure. Each tag used in XML defines an element. Each element defined should have an opening as well as a closing tag. E.g. < catalog > has opening as well as closing tag. You will find that some of the elements are self-contained. You do not need to enclose any information in them. These tags can be considered empty element. Such tags can be made self-closing by adding "/ > >" at the end of the opening tag. The hierarchical structure enables easy parsing of the document. As in above example catalogue contains information about movie which ultimately contains detail about title and duration of the movie.


XML Syntax


Check out the following example:


Line 1: < ?xml version="1.0" ? >
Line 2: < library >
Line 3: < type="Operational Research" year="1992" >
Line 4: < book1 > Linear Programming < /book >
Line 5: < book2 > Non Linear Programming < /book >
Line 6: < book3 > Mathematical Programming < /book >
Line 7: < /book >
Line 8: < /library >


The first line is a processing Instruction. Processing Instruction is used to define the XML version of the document. From Line 1 you will find that the example written conforms to the 1.0 specification of XML:
< ?xml version=”1.0”? >


2 defines the first element of the document which is the root element:
< library >
next lines define child elements of the root i.e. Book which further has child elements (book1, book2, book3).


You can see that an XML documents use a self-describing syntax which is very simple to understand. Before you read further about xml scripting you need to be aware of the major components of an xml document. XML mark-up document can be broadly divided into a set of components which describe the makeup of a XML document. These components can be defined as follows:


1. Element Tag: An element can be understood as a piece of information that corresponds to a tag or a set of tags in a XML document. In other words element can be understood as a logical piece of markup that is represented as a tag in a XML document. E.g. In above example ‘quiz’ is an element which has been used as < quiz > &lgt; /quiz > tag in the document.




Note that an element need to have both starting and ending tags like < quiz > …< /quiz > ,< p > …< /p > or a simple empty tag like < img/ >. While coding in HTML empty tag < br > do not need to have end tag. However with XML be careful you need to close every tag.


2. Processing Instruction: Apart from markup and content you will find processing instructions written in a XML document which is the first statement in the document. A processing instruction can be understood as a special command passed along to the program which will process the document. Processing instruction written in < ?.....? > .
E.g. < ?xml version="1.0"? >


This processing instruction is the first statement of a XML document. You will find that the processing instruction is similar to a tag. It includes name and attribute/value pair. This processing instruction tells that the document adheres to the standard of xml version 1.0.


3. Comments in XML:


In a XML document comments can be written using following syntax:


< !-- In this document you are learning about xml -->


Note: You can write comments in XML in the same way as you write in HTML.


4. Document Type Declaration: It is used for describing the structure of an XML document. It identifies the external DTD that defines the structure of an xml document. The external DTD( DTD stands for Document type definition) is created for describing the structure of the xml document. You need to put the ‘Document Type declaration’ on the top of the xml document. It is written just below the processing instruction. Its use is to perform three basic tasks:


1. Document Type Declaration is used to identify the root element of the document. In an xml document there is a root element such that all other elements are the children of the root element.


2. Identifies the external DTD of the file. An xml file is created according to the document structure defined in the DTD.


E.g. Check out the XML below which describes audio/video collection


< ? xml version="1.0"? >
< !DOCTYPE entertainment SYSTEM entertainment.dtd >
< entertainment >
< Audio >
< track1 > Tara Rampam < >
< track2 > Let's go for party < /track2 >
< /Audio >
< Video >
< track1 > Jumanji < /track1 >
< track2 > Home Alome < /track2 >
< /Video >
< /entertainment >


In above example first line is a processing instruction which shows that this document should be processed according to the xml version 1.0 standards. In second line is the document type declaration which states that the root element for this xml file is ‘entertainment’. Further it identifies that the document need to be verified according to the external DTD namely “entertainment.dtd”. While processing this file browser needs to look for “entertainment.dtd” and then validate the document structure according to this file. 


Lect  7: Just quick recap

http://lecture-notes-forstudents.blogspot.com/2010_09_01_archive.html
I am sure you must be able to answer following questions:
1. How XML differs from HTML?
2. What is advantage of XML?

Lect 8: Difference between HTML and  XML



You need to understand that you will not use XML for replacing HTML. Both XML and HTML have been designed for different goals which can be summarized as follows: 

a. XML is designed specifically for describing and structuring the data where as HTML is used for formatting and displaying the data.

b. XML is focused on defining data with its attributes. It basically tells what data is all about. HTML is focused on presentation of data and is used to customize looks of data.

c. In case of HTML Document tags to be used and the structure of the documents are predefined. While using HTML you can only use tags which are pre-defined in the HTML standards. In case of XML you can define your own tags and develop your own document structure.

d. An XML document is saved with an extension .XML whereas an HTML document is saved as .HTML.

E.g. The following example is an e-mail from Ram to Shyam stored as XML

< email >
< to > Ram
< from > Shyam < /from >
< subject > Hi how are you?
< content > Let’s go for a New Year party
< /email >

In above example e-mail has been stored using XML markup language. You can see that own tags have been created to store the names of sender and receiver. Similarly different tags have been created to store the subject and content of the web page.

Lec 9: CHARACTERISTICS OF XML

http://lecture-notes-forstudents.blogspot.com/2010/09/characteristics-of-xml.html


XML stands for ‘Extensible Markup Language’. It is a general-purpose specification which is commonly used for creating custom markup languages. It is an extensible language as it provides its users an ability to define their own elements. Thus it enables users to create custom tags that suit their requirement. XML has been primarily developed to information systems share their structured data online. It can be used to encode documents as well as to serialize data so that it can be efficiently used. Some of the features of XML have been summarized below:
1. XML can be understood as an extensible language which is freely available.
2. XML tags are user made tags. They are not predefined tags. In case of HTML predefined tags are used (like < p >, < h1 > etc.). While using XML users can define custom tags and develop document structure as per their requirement.
3. XML is not a replacement for HTML. It is actually a complement to HTML. Both scripting languages have their own purpose. As web is developing XML is being popularly used to describe and structure the data where as HTML is being be used for formatting and displaying the data.

4. XML has been inherited from SGML


Let us define SGML

SGML:SGML implies Standard Generalized Markup Language. SGML is an ISO standard that defines an extremely powerful markup language. It is popularly used in the publishing industry and large manufacturing companies. It is a meta language used for creating other markup languages such as HTML. It marks the origin of XML.


XML

XML can be understood as markup language like the Hypertext Markup Language (HTML) which is commonly used for scripting web page. XML is specifically designed to describe data so that it can be effectively stored online. Web today contains such vast information. XML enables structuring of data so that it can then be mined to get suitable information. In case of XML unlike HTML there are no predefined tags. XML can also be called as self-descriptive markup language as users need to define their on tags.

For better understanding check out the example below:

Suppose you are storing information about a set of books. You may store the information in html as follows:

Book.html

< html >
< head > < title > Storing Information < /title >
< body >
< p > Linear Programming by A.S. Bajaj

< p > Marketing Research by Kotler

< /body >
< /html >

Book.xml

< catalog >
< book >
< title > Linear Programming < title >
< author > A.S Bajaj
< /book >
< book >
< title >

Popular posts from this blog

Advantages and Disadvantages of EIS Advantages of EIS Easy for upper-level executives to use, extensive computer experience is not required in operations Provides timely delivery of company summary information Information that is provided is better understood Filters data for management Improves to tracking information Offers efficiency to decision makers Disadvantages of EIS System dependent Limited functionality, by design Information overload for some managers Benefits hard to quantify High implementation costs System may become slow, large, and hard to manage Need good internal processes for data management May lead to less reliable and less secure data

Inter-Organizational Value Chain

The value chain of   a company is part of over all value chain. The over all competitive advantage of an organization is not just dependent on the quality and efficiency of the company and quality of products but also upon the that of its suppliers and wholesalers and retailers it may use. The analysis of overall supply chain is called the value system. Different parts of the value chain 1.  Supplier     2.  Firm       3.   Channel 4 .   Buyer

CONCEPTUAL VIEW OF MIS

The concept is a blend of principles, theories and practices of management, information and system giving rise to a single product called MANAGEMENT INFORMATION SYSTEM . The concept of management gives high regard to the individual and his ability to use the information. MIS gives information through data analysis. While analyzing the information, it relies on many academic disciplines like management science, OR, organization behavior, psychology, etc. The foundation of MIS is the principles of management and its practices. MIS uses the concept of management control in its design and relies heavily on the fact that the decision maker is a human being and is a human processor of information. A MIS can be evolved for a specific objective it is evolved after systematic planning and design. It calls for an analysis of business, management views and policies, organization culture and the management style. The MIS,therefore relies heavily on systems theory.The systems theory offers soluti