Wednesday, May 5, 2010

COMPARISON ROUTER AND SWITCH

Router Switch
  • Basically, a router is used to connect computers belonging to one network with those belonging to another or other networks. Thus, a router connects two or more different networks.
  • A switch on the other hand, connects different computers within one network.
  • As per the OSI model, a router is a Network Layer device, i.e. it operates at Layer 3.
  • Unless it is a multi-layer switch, a network switch operates at Layer 2 (Data Link Layer).
  • Routers are much more sophisticated and intelligent network devices, as compared to switches.
  • In comparison with routers, switches are less sophisticated and less intelligent.
  • A router works on the principle of IP addresses.
  • A switch works on the basis of MAC addresses.
  • A router's inbuilt hardware makes use of routing algorithms to compute the best possible path for routing data packets across different computer networks.
  • A switch does not perform any such activities.
  • Routers have their own inbuilt operating systems and they need to be configured before use.
  • Most switches do not require any prior configuration and are usually 'ready-to-use'.

COMPARISION BETWEEN SWITCH AND HUB

Switch Hub
  • As per the OSI model, network switches are classified as Data Link Layer devices, i.e. they operate at Layer 2. However, certain multi-layer switches can operate at higher layers as well.
  • As per the OSI model, a hub is a Physical Layer device, i.e. it operates at Layer 1.
  • A switch is a more sophisticated network device and is more expensive than a hub.
  • A hub is a very primitive device and is comparatively much cheaper.
  • A switch is an intelligent device, it transmits the data packets from the source computer to only those network computers to which the data packets are originally intended.
  • A hub is a 'dumb' device to say the least. It broadcasts the data packets to each and every networked computer, and not just the target computer or set of computers to which the data packets were originally intended to be sent.
  • There is optimum utilization of network bandwidth in case of switches, and bandwidth wastage is minimal.
  • Due to their broadcast mechanism of data transmission, there is unnecessary wastage of network bandwidth which results in slow operation and data transfer speeds.
  • Switches are full-duplex devices, i.e. both, data transmission and reception can take place simultaneously.
  • Hubs are half-duplex devices, i.e. both, data transmission and reception cannot take place simultaneously.
  • Thanks to its broadcast mechanism, network security becomes a big issue and a loophole in the case of a hub.

Wednesday, April 28, 2010

Which benefits will CSS give me?

CSS was a revolution in the world of web design. The concrete benefits of CSS include:

  • control layout of many documents from one single style sheet;
  • more precise control of layout;
  • apply different layout to different media-types (screen, print, etc.);
  • numerous advanced and sophisticated techniques.

What is the difference between CSS and HTML?

HTML is used to structure content. CSS is used for formatting structured content.

What can I do with CSS?

CSS is a style language that defines layout of HTML documents. For example, CSS covers fonts, colours, margins, lines, height, width, background images, advanced positions and many other things. Just wait and see!

HTML can be used to add layout to websites. But CSS offers more options and is more accurate and sophisticated. CSS is supported by all browsers today.

Friday, April 23, 2010

ASSIGNMENT QUESTIONS

Note :
1. Do assignments in your own folder.
2. every page of assignment should have following information

3. Method of submission :
zip the folder and mail it to shehla786sultan@gmail.com
or submit it in classroom/lab via a CD/DVD


Theory Questions
1. What is HTML, why it is used?
2. What is XHTML? Difference between html and xhtml tags.?
3. What is w3c?
4. What is difference between internet and intranet?
5.DWhat is the difference between
6. Define the terms : website, homepage, webpage
7. Difference between static website and dynamic website?
8. What are meta tags?


Practical Questions
1. Create an HTML Page with title myclassroom, and provide information
about your classroom in the page. Search for relevant images from google
and use them in your page. The page must be well formatted.
Must use b, i , u , pre , img ,ol ,ul tag
2. Create a folder vehicles, create pages for any 5 vehicles with information
about them and there images, create a homepage with images of all 5
vehicles. The pages must be linked to each other via text/graphical link
Must use <a> ,<img> tags
3. Create an Table for your college Time-table, use cellspacing, cellpadding,
colspan, rowspan attributes as required. Write meta tags as required.
Must use table , <b>,< i>,<u> tags
4. Create a Swastik in HTML using Table
Hint: create a table with 5 rows and 5 cols
border=0 and keep background color as orange in required cells
5. Create an HTML form for information on Identity card
6. Create a COLLEGE ADMISSION form in HTML.
7. Create HTML Frames and display 2 different pages using them
8. Create an HTML page and display another page inside it using Iframe tag
9. Create an HTML page with a group photograph. Click on face of a person
must open his individual page.
10. Create an HTML page with name of 5 players clicking on the name , must
open the information about the player(on same page)




Difference between static website and dynamic website?

A static website is one that is written in HTML only. Each page is a separate document and there is no database that it draws on. What this means functionally is that the only way to edit the site is to go into each page and edit the HTML - so you'd either have to do it yourself using a web page editor or we can edit the site each time you wanted something changed.

A dynamic website is written using more complex code and can do a lot more. For instance, we can make an area where you can log in and change various parts of the website, such as adding information or products or changing existing products. eCommerce websites, news websites are some examples of dynamic websites. This is because each page is constructed based on the information in a database, and the information in that database can be changed via another interface.

Dynamic websites can reduce ongoing maintenance costs if you don't want to change things yourself with a web page editor or with the HTML. They usually cost more to develop, as they require more complex coding and a content management utility needs to be developed to help you manage your website information.

Another benefit of dynamic websites is that they allow you to change only the content of the website and not the design, so you will not be able to accidentally break the visual style of the website. They have other benefits when websites start to get very large, as they make data management much more efficient and your website more expandable.

Many clients do a combination, having some dynamic areas such as a product catalog where they have to change information or pictures regularly, and leave other pages such as contact information as static pages.


What are meta tags?

Meta tags are HTML codes that are inserted into the header on a web page, after the title tag. In the context of search engine optimization, when people refer to meta tags, they are usually referring to the meta description tag and the meta keywords tag.

The meta description tag and the meta keywords tag are not seen by users. Instead, these tags main purpose is providing meta document data to user agents, such as search engines. In addition to the well-known meta description and meta keywords tags, there are other useful meta tags, including the meta http-equiv tag, meta refresh tag, the meta robots tag, the meta copyright tag, and the meta author tag, etc. These tags are used to give web browsers and search engine spiders directions or data on various information.


They are information inserted into the "head" area of your web pages. Other than the title tag (explained below), information in the head area of your web pages is not seen by those viewing your pages in browsers. Instead, meta information in this area is used to communicate information that a human visitor may not be concerned with.

Define the terms : website, homepage, web-page.
Ans.
@WEBSITE :- A website is a collection of related web-pages, images, videos or other digital assets that are hosted on one web server; usually assessable via the Internet.

@HOMEPAGE :- The main page of a Web site. Typically, the home page serves as an index or table of contents to other documents stored at the site.


@WEB-PAGE :- A block of data available on the {World-Wide Web}, identified by a {URL}. In the simplest, most
common case, a web page is a file written in {HTML}, stored on the {server}. It may refer to {images}
which appear as part of the page when it is displayed by a {web browser}. It is also possible for the
server to generate pages dynamically in response to a request, e.g. using a {CGI} script. A web page
can be in any format that the browser or a {helper application} can display. The format is transmitted
as part of the headers of the response as a {MIME} type, e.g. "text/html", "image/gif". An HTML web
page will typically refer to other web pages and {Internet} resources by including {hypertext} links. A
{web site} often has a {home page} (usually just the host-name, e.g. http://www.foldoc.org/). It may
also have individual home pages for each user with an account at the site. (1999-03-21)

@WEB HOST :- A web host is where your web site is stored so that when someone types in your domain name your
website appears on their computer.
What is HTML, why it is used?

Ans. HTML, an acronym for Hyper Text Markup Language , is the predominant markup language for web pages.
It provides a means to describe the structure of text-based information in a document—by denoting certain text as links, headings, paragraphs, lists, etc.—and to supplement that text with interactive forms, embedded images, and other objects. HTML is written in the form of "tags" that are surrounded by angle brackets.
What is w3c?

Ans. One Line Definitions :-
  • The World Wide Web Consortium (W3C) is the main international standards organization for the World Wide Web

[World Wide Web Consortium] - Established in October 1994 to lead the World Wide Web to its full potential by
developing common protocols that promote its evolution and ensure its interoperability.

An International consortium that develops WWW standards

An organization developing interoperable specifications, software, and tools for the WWW.

The WWW Consortium. This has been set up at MIT, modelled after the X Consortium that promotes X Windows.
W3C is a not-for-profit organization that provides sample code and co-ordinates standardization.

The international association of companies and organizations that oversee the development, formulation, maintenance
and issuance of common standards for the World Wide Web including the standards governing HTML, XML and CSS
to "promote its evolution and ensure its interoperability."

World Wide Web Consortium. The W3C is the group that coordinates the protocols and standards used on the Web,
such as HTTP, HTML, and XML.

A standards body based in the United States, European Union, and Japan. The W3C is dedicated (in part) to encouraging
the development of open Web ...

The organization responsible for the development of Web protocols.

International industry consortium, jointly hosted by
the Massachusetts Institute of Technology Laboratory for Computer Science [MIT/LCS]

Worldwide Web Consortium, which develops industry standards for XML and other areas.

Worldwide Web Consortium - a group of people who are charged with setting the standards for the evolving internet .

International group that sets the standards for web applications.

An organization consisting of representatives from member companies and responsible for making rules for
the World Wide Web.

Friday, February 26, 2010

BCA4th sem

Blog is a type of website.
It is an electronic diary.