Friday 7 December 2012

lecture 3: SEARCHING THE INTERNET


SEARCHING THE INTERNET

 

The Web and the Internet

  

The two are sometimes used interchangeably but there is a difference.

ž  The Internet connects computers

¡  File transfer, involving a variety of protocols (e.g. ftp) 

ž  The web connects pages

¡  Hyperlinks: the http at the beginning of the URL of every web page

 

The World Wide Web

 

The World Wide Web or WWW or "The Web" consists of documents which have been turned into web pages which are stored on computers around the Internet. These pages are interconnected by hypertext links. Each group of related pages in one location on the network is called a web site. Information on any of these pages can be in any data format including text, graphics, tables, sounds and movie clips. Pages are written in the HyperText Markup Language (HTML). HTML is text with embedded codes (tags) that represent instructions for the display of the text and any images.

 

Search Engines

 

SEARCH ENGINE is a  program that searches documents for specified keywords and returns a list of the documents where the keywords were found. Although search engine is really a general class of programs, the term is often used to specifically describe systems like Alta Vista and Excite that enable users to search for documents on the World Wide Web and USENET newsgroups

 

A search engine like google can be used to look for other search engines. You can call and use google by typing the google address at the URL www.google.com


 

The Use of Address bar

In the Internet Explorer Address bar, type Find, Go, or ? followed by a keyword, website name, or phrase, and then press ENTER. If you want the search results to display in a new tab, press ALT+ENTER after typing the phrase

Use more than one search provider     

If you don't find what you're looking for with a particular search provider, you can search using a different one. You can use the Internet Explorer search box to add additional search providers and then switch among them to improve your search results. In Internet Explorer 8 you can quickly change which search provider to use on a search by clicking the provider's icon below the search box. For Internet Explorer 7, click the arrow next to the search box, and then click a provider.

Search more efficiently

 

Here are a few ideas for improving the results of searches:

·         Use specific words rather than generic categories. For example, instead of searching for "dogs," search for a specific breed of dog.

·         Use quotation marks to search for specific phrases. Surrounding terms with quotation marks limits the search results to only those webpages that contain the exact phrase you've specified. Without the quotation marks, the results will include any page that contains the words you've used, regardless of what order those words are in.

·         Use the minus (-) sign before a keyword to tell search providers to exclude pages with that term. Using a minus sign will retrieve webpages that don't include the word. It's important not to include any spaces between the signs and the search terms (for example, -Bogart, not - Bogart).

·         Eliminate common words such as "a," "my," or "the," unless you're looking for a specific title. If the word is part of something you're looking for (a song title, for example), include the common word and surround the phrase with quotation marks.

·         Use synonyms or alternative search terms. Be creative or use a thesaurus for ideas. Type thesaurus in the search box to find an online thesaurus.

·         Search only a specific website or domain. To narrow the search to a specific site, type the search term you're looking for followed by site: and the address of the website you want to search. For example, to search the Microsoft website for information about viruses, type virus site:www.microsoft.com (with no spaces between site: and the URL).

·         Use a specialty search engine or provider, such as an image search, to look for pictures. Many websites offer their own special searches for anything from shopping to hobbies. Internet Explorer can detect specialty search providers on some websites, which you can add to your list of search providers.

Find words or phrases on a page

Once you've found a webpage that seems like what you're looking for, Internet Explorer can help you find a specific word or phrase. Here's how:

To find a word or phrase on a webpage in Internet Explorer 8

1.      From a webpage, press CTRL+F to open the Find box below the tab row.

2.      Type a word or phrase, and then press ENTER to scroll to the first match.

3.      Click the Highlight All Matches button to show or hide all matches on the page.

4.      To filter the matches, press Options, and then click one or both of the following:

·         Match Whole Word Only.

·         Match Case.

5.      Click Next or Previous to move from one matched word or phrase to another.

Internet Explorer 8 Find box

To find a word or phrase on a webpage in Internet Explorer 7

1.      From a webpage, press CTRL+F to open the Find dialog box.

2.      Type a word or phrase in the Find box, and then press ENTER to scroll to the first match on the page.

3.      To filter the matches, select or clear the Match whole word only or Match case check box.

4.      Click Next or Previous to move from one matched word or phrase to another.

 

 

Lecture 2 Web Browsers


Web Browsers

A web browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information resource is identified by a Uniform Resource Identifier (URI) and may be a web page, image, video, or other piece of content. ...

A web browser or Internet browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information resource is identified by a Uniform Resource Identifier (URI) and may be a web page, image, video, or other piece of content. Hyperlinks present in resources enable users to easily navigate their browsers to related resources.

Although browsers are primarily intended to access the World Wide Web, they can also be used to access information provided by Web servers in private networks or files in file systems. Some browsers can also be used to save information resources to file systems.

 

HISTORY OF WEB BROWSERS

WorldWideWeb for NeXT, released in 1991, was the first Web browser.

The history of the Web browser dates back in to the late 1980s, when a variety of technologies laid the foundation for the first Web browser, WorldWideWeb, by Tim Berners-Lee in 1991. That browser brought together a variety of existing and new software and hardware technologies.

Ted Nelson and Douglas Engelbart developed the concept of hypertext long before Berners-Lee and CERN. It became the core of the World Wide Web. Berners-Lee does acknowledge Engelbart's contribution.

The introduction of the NCSA Mosaic Web browser in 1993 – one of the first graphical Web browsers – led to an explosion in Web use. Marc Andreessen, the leader of the Mosaic team at NCSA, soon started his own company, named Netscape, and released the Mosaic-influenced Netscape Navigator in 1994, which quickly became the world's most popular browser, accounting for 90% of all Web use at its peak (see usage share of web browsers).

Microsoft responded with its browser Internet Explorer in 1995 (also heavily influenced by Mosaic), initiating the industry's first browser war. By bundling Internet Explorer with Windows, Microsoft was able to leverage its dominance in the operating system market to take over the Web browser market; Internet Explorer usage share peaked at over 95% by 2002. Internet Explorer has 60% browser usage share as of September 2010 according to Net Applications, and it continues to show a negative trend.

Opera first appeared in 1996; although it has never achieved widespread use, with a browser usage share that is stable around 2.4% as of September 2010,[4] it has a substantial share of the fast-growing mobile phone Web browser market, being preinstalled on over 40 million phones. It is also available on several other embedded systems, including Nintendo's Wii video game console.

In 1998, Netscape launched what was to become the Mozilla Foundation in an attempt to produce a competitive browser using the open source software model. That browser would eventually evolve into Firefox, which developed a respectable following while still in the beta stage of development; shortly after the release of Firefox 1.0 in late 2004, Firefox (all versions) accounted for 7.4% of browser use. As of September 2010, Firefox has a 23% usage share.

Apple's Safari had its first beta release in January 2003; it has a dominant share of Apple-based Web browsing, accounting for 5.3% of the entire browser market as of September 2010 and is slowly gaining. Its rendering engine, called WebKit, is also running in the standard browsers of several mobile phone platforms, including Apple iOS, Google Android, Nokia S60 and Palm web OS.

The most recent major entrant to the browser market is Google's WebKit-based Chrome, first released in September 2008. Its market share has quickly risen; as of September 2010, it has an 8% usage share and appears to be gaining further in the coming months.

Function of web browser

The primary purpose of a web browser is to bring information resources to the user. This process begins when the user inputs a Uniform Resource Identifier (URI), for example http://en.wikipedia.org/, into the browser.

The prefix of the URI determines how the URI will be interpreted. The most commonly used kind of URI starts with http: and identifies a resource to be retrieved over the Hypertext Transfer Protocol (HTTP). Many browsers also support a variety of other prefixes, such as https: for HTTPS, ftp: for the File Transfer Protocol, and file: for local files. Prefixes that the web browser cannot directly handle are often handed off to another application entirely. For example, mailto: URIs are usually passed to the user's default e-mail application and news: URIs are passed to the user's default newsgroup reader.

In the case of http, https, file, and others, once the resource has been retrieved the web browser will display it. HTML is passed to the browser's layout engine to be transformed from markup to an interactive document. Aside from HTML, web browsers can generally display any kind of content that can be part of a web page. Most browsers can display images, audio, video, and XML files, and often have plug-ins to support Flash applications and Java applets. Upon encountering a file of an unsupported type or a file that is set up to be downloaded rather than displayed, the browser prompts the user to save the file to disk.

Interactivity in a web page can also be supplied by JavaScript, which usually does not require a plugin. JavaScript can be used along with other technologies to allow "live" interaction with the web page's server via AJAX.

Information resources may contain hyperlinks to other information resources. Each link contains the URI of a resource to go to. When a link is clicked, the browser navigates to the resource indicated by the link's target URI, and the process of bringing content to the user begins again.

Features of a web browser

Available web browsers range in features from minimal, text-based user interfaces with bare-bones support for HTML to rich user interfaces supporting a wide variety of file formats and protocols. Browsers which include additional components to support e-mail, Usenet news, and Internet Relay Chat (IRC), are sometimes referred to as "Internet suites" rather than merely "web browsers".

All major web browsers allow the user to open multiple information resources at the same time, either in different browser windows or in different tabs of the same window. Major browsers also include pop-up blockers to prevent unwanted windows from "popping up" without the user's consent.

Most web browsers can display a list of web pages that the user has bookmarked so that the user can quickly return to them. Bookmarks are also called "Favorites" in Internet Explorer. In addition, all major web browsers have some form of built-in web feed aggregator. In Mozilla Firefox, web feeds are formatted as "live bookmarks" and behave like a folder of bookmarks corresponding to recent entries in the feed. In Opera, a more traditional feed reader is included which stores and displays the contents of the feed.

Furthermore, most browsers can be extended via plug-ins, downloadable components that provide additional features.

Browser User Interface

Most major web browsers have these user interface elements in common:

Ø  Back and forward buttons to go back to the previous resource and forward again.

Ø  A history list, showing resources previously visited in a list (typically, the list is not visible all the time and has to be summoned)

Ø  A refresh or reload button to reload the current resource.

Ø  A stop button to cancel loading the resource. In some browsers, the stop button is merged with the reload button.

Ø  A home button to return to the user's home page

Tuesday 13 November 2012

Lecture Notes (Week 1 and Weeh 2)


What is a Computer?

A computer is a programmable machine. The two principal characteristics of a computer are: it responds to a specific set of instructions in a well-defined manner and it can execute a prerecorded list of instructions (a program).

Computer is an advanced electronic device that takes raw data as input from the user and processes these data under the control of set of instructions (called program) and gives the result (output) and saves output for the future use. It can process both numerical and non-numerical (arithmetic and logical) calculations. The basic components of a modern digital computer are: Input Device, Output Device, and Central Processor. A Typical modern computer uses LSI Chips.

Computer Classification, By Size and Power

Computers can be generally classified by size and power as follows, though there is considerable overlap:

Ø  Personal Computer: a small, single-user computer based on a microprocessor. In addition to the microprocessor, a personal computer has a keyboard for entering data, a monitor for displaying information, and a storage device for saving data.

 

Ø  Workstation: a powerful, single-user computer. A workstation is like a personal computer, but it has a more powerful microprocessor and a higher-quality monitor.

 

 

Ø  Minicomputer: a multi-user computer capable of supporting from 10 to hundreds of users simultaneously.

 

Ø  Mainframe: a powerful multi-user computer capable of supporting many hundreds or thousands of users simultaneously.

 

 

Ø  Supercomputer: an extremely fast computer that can perform hundreds of millions of instructions per second.

 

Computer Hardware Definition

Hardware is a comprehensive term for all of the physical parts of a computer, as distinguished from the data it contains or operates on, and the software that provides instructions for the hardware to accomplish tasks. The boundary between hardware and software is slightly blurry - firmware is software that is "built-in" to the hardware, but such firmware is usually the province of computer programmers and computer engineers in any case and not an issue that computer users need to concern themselves with.

A typical computer (Personal Computer, PC) contains in a desktop or tower case the following parts:

  • Motherboard which holds the CPU, main memory and other parts, and has slots for expansion cards
  • power supply - a case that holds a transformer, voltage control and fan
  • storage controllers, of IDE, SCSI or other type, that control hard disk , floppy disk, CD-ROM and other drives; the controllers sit directly on the motherboard (on-board) or on expansion cards
  • graphics controller that produces the output for the monitor
  • the hard disk, floppy disk and other drives for mass storage
  • interface controllers (parallel, serial, USB, Firewire) to connect the computer to external peripheral devices such as printers or scanners

Computer Software Definition

Software is a generic term for organized collections of computer data and instructions, often broken into two major categories: system software that provides the basic non-task-specific functions of the computer, and application software which is used by users to accomplish specific tasks.

System software is responsible for controlling, integrating, and managing the individual hardware components of a computer system so that other software and the users of the system see it as a functional unit without having to be concerned with the low-level details such as transferring data from memory to disk, or rendering text onto a display. Generally, system software consists of an operating system and some fundamental utilities such as disk formatters, file managers, display managers, text editors, user authentication (login) and management tools, and networking and device control software.

Application software, on the other hand, is used to accomplish specific tasks other than just running the computer system. Application software may consist of a single program, such as an image viewer; a small collection of programs (often called a software package) that work closely together to accomplish a task, such as a spreadsheet or text processing system; a larger collection (often called a software suite) of related but independent programs and packages that have a common user interface or shared data format, such as Microsoft Office, which consists of closely integrated word processor, spreadsheet, database, etc.; or a software system, such as a database management system, which is a collection of fundamental programs that may provide some service to a variety of other independent applications.

Software is created with programming languages and related utilities, which may come in several of the above forms: single programs like script interpreters, packages containing a compiler, linker, and other tools; and large suites (often called Integrated Development Environments) that include editors, debuggers, and other tools for multiple languages.

The Internet

Internet is defined as a “connection of inter-connected networks all freely exchanging information”. Another definition viewed internet as “all the interconnected data sources and computers around the world”. Thus, it is a world-wide broadcasting capability, a mechanism for information dissemination and a medium for collaboration and interaction between individuals and their computers without regards to geographic location. Just as road networks link cities, and telephone networks link subscribers, the internet as a network of computers links the computers for the purpose of communication. The internet in this sense is a global infrastructure which enables any computer connected to it to communicate with any other computer connected to the internet at electronic speed, regardless of geographical location.

The Internet system comprises worldwide computer networks that communicate directly through internet protocol (IP), a computer language that allows any computer on any network to send data electronically to any other computer on an equal basis.  The real national highway system and the new information highway have similar military origin.  During the 1950s, American military and political leaders originally planned an inter-state highway grid to make it easier to transport military vehicles across the country in the event of a national emergency. The internet first started in 1960s as a defence communication system. It was initially called ARPAnet which means Advanced Research Project, but later known as the “net”, allowed military and academic researchers to conduct sensitive government probes that would survive even in the event of nuclear disaster. 

In developing the prototype for the military, Rand Corporation, a cold war think-tank conceptualized communications networks with no central authority. Each computer hub in the internet has similar status and power so nobody can own the system outright and nobody has the power to kick other off the network. There isn’t a master power switch, so authorities cannot shut off the internet in an emergency.

At its inception stage, the internet was strictly for military uses, where personnel from different locations interact with each other via interconnected computers. During the development stage of internet (1970s), the military computer network permitted different people in separate locations to communicate with one another by simply leasing existing telephone lines, they used the system to send letters and memos electronically (email) and to post information on computer bulletin boards, which are sites that list information about particular topics, such as health issues, computer programs and employment services. At this stage, universities and government research laboratories mainly used the internet: and later by corporations, especially companies involved in computer software and other high-tech products, to transmit and receive information.

By 1982, the Net had hit its entrepreneurial stage. The National Science Foundations invested in a high-speed communication networks designed to link computer centers around USA. This innovation permitted dramatically increased use of the internet. After the end of cold war in late 1980s, the ARPAnet project officially ended; by this time however a growing network of researchers, computer programmers, commercial interests and amateur hackers had tapped into the Net, creating tens of thousands of decentralized intersections. By 1993, the net developed multi-media capability allowing users to travel with pictures, sound and video.

The internet today consists of more than fifty thousand regional computer networks called servers, which are hosts run by universities, corporations and government agencies, all interconnected by special high speed phone lines.

 

The Internet in Africa

The Internet in Africa is limited by a lower penetration rate when compared to the rest of the world. Measurable parameters such as the number of ISP (Internet Service Provider) subscriptions, overall number of hosts, IXP (Internet Exchange Protocol) -traffic, and overall available bandwidth all indicate that Africa is way behind the "digital divide". Moreover, Africa itself exhibits an inner digital divide, with most Internet activity and infrastructure concentrated in South Africa, Morocco, Egypt as well as smaller economies like Mauritius and Seychelles.

Obstacles to the accessibility of Internet services in Africa include generally low levels of computer literacy in the population, poor infrastructures, and high costs of Internet services. Power availability is also scarce, with vast rural areas that are not connected to power grids as well as frequent black-outs in major urban areas such as Dar es Salaam.

In 2000, Subsaharan Africa as a whole had less fixed telephone lines than Manhattan, and in 2006 Africa contributed to only 2% of the world's overall telephone lines in the world. As a consequence of this general lack of connectivity, most Africa-generated network traffic (something between 70% and 85%) is routed through servers that are located elsewhere (mainly Europe).

 

Internet access

According to 2011 estimates, about 13.5% of African population has Internet access. While Africa accounts for 15.0% of the world's population, only 6.2% of the World's Internet subscribers are Africans. Africans who have access to broadband connections are estimated to be in percentage of 1% or lower. In September 2007, African broadband subscribers were 1,097,200, with a major part of these subscriptions from large companies or institutions.

Internet access is also irregularly distributed, with 2/3 of overall online activity in Africa being generated in South Africa (which, on the other hand, only accounts for 5% of the continent's population). Most of the remaining 1/3 is in Morocco and Egypt. The largest percentage of Internet subscribers are found in small economies such as Seychelles, where as much as 37% of the population has Internet access (while in South Africa this value is 11% and in Egypt it is 8%).

It has been noted, anyway, that data on Internet subscribers only partially reflect the actual number of Internet users in Africa, and the impact of the network on African daily life and culture. For example, cybercafes and Internet kiosks are common in the urban areas of many African countries. There are also other informal means to "access" the Internet; for example, couriers that print e-mail message and deliver them by hand to recipients in remote locations, or radio stations that broadcast information taken from the Internet.

Web Browsers

A web browser or Internet browser is a software application for retrieving, presenting, and traversing information resources on the World Wide Web. An information resource is identified by a Uniform Resource Identifier (URI) and may be a web page, image, video, or other piece of content. Hyperlinks present in resources enable users to easily navigate their browsers to related resources.

Although browsers are primarily intended to access the World Wide Web, they can also be used to access information provided by Web servers in private networks or files in file systems. Some browsers can also be used to save information resources to file systems.

 

History of Web Browsers.

The history of the Web browser dates back in to the late 1980s, when a variety of technologies laid the foundation for the first Web browser, WorldWideWeb, by Tim Berners-Lee in 1991. That browser brought together a variety of existing and new software and hardware technologies.

The introduction of the NCSA Mosaic Web browser in 1993 – one of the first graphical Web browsers – led to an explosion in Web use. Marc Andreessen, the leader of the Mosaic team at NCSA, soon started his own company, named Netscape, and released the Mosaic-influenced Netscape Navigator in 1994, which quickly became the world's most popular browser, accounting for 90% of all Web use at its peak (see usage share of web browsers).

Microsoft responded with its browser Internet Explorer in 1995 (also heavily influenced by Mosaic), initiating the industry's first browser war. By bundling Internet Explorer with Windows, Microsoft was able to leverage its dominance in the operating system market to take over the Web browser market; Internet Explorer usage share peaked at over 95% by 2002. Internet Explorer has 60% browser usage share as of September 2010 according to Net Applications, and it continues to show a negative trend.

Opera first appeared in 1996; although it has never achieved widespread use, with a browser usage share that is stable around 2.4% as of September 2010,[4] it has a substantial share of the fast-growing mobile phone Web browser market, being preinstalled on over 40 million phones. It is also available on several other embedded systems, including Nintendo's Wii video game console.

In 1998, Netscape launched what was to become the Mozilla Foundation in an attempt to produce a competitive browser using the open source software model. That browser would eventually evolve into Firefox, which developed a respectable following while still in the beta stage of development; shortly after the release of Firefox 1.0 in late 2004, Firefox (all versions) accounted for 7.4% of browser use.[3] As of September 2010, Firefox has a 23% usage share.

Apple's Safari had its first beta release in January 2003; it has a dominant share of Apple-based Web browsing, accounting for 5.3% of the entire browser market as of September 2010 and is slowly gaining.[4] Its rendering engine, called WebKit, is also running in the standard browsers of several mobile phone platforms, including Apple iOS, Google Android, Nokia S60 and Palm webOS.

The most recent major entrant to the browser market is Google's WebKit-based Chrome, first released in September 2008. Its market share has quickly risen; as of September 2010, it has an 8% usage share and appears to be gaining further in the coming months.

 Function

The primary purpose of a web browser is to bring information resources to the user. This process begins when the user inputs a Uniform Resource Identifier (URI), for example http://en.wikipedia.org/, into the browser. The prefix of the URI determines how the URI will be interpreted. The most commonly used kind of URI starts with http: and identifies a resource to be retrieved over the Hypertext Transfer Protocol (HTTP). Many browsers also support a variety of other prefixes, such as https: for HTTPS, ftp: for the File Transfer Protocol, and file: for local files. Prefixes that the web browser cannot directly handle are often handed off to another application entirely. For example, mailto: URIs are usually passed to the user's default e-mail application and news: URIs are passed to the user's default newsgroup reader.

In the case of http, https, file, and others, once the resource has been retrieved the web browser will display it. HTML is passed to the browser's layout engine to be transformed from markup to an interactive document. Aside from HTML, web browsers can generally display any kind of content that can be part of a web page. Most browsers can display images, audio, video, and XML files, and often have plug-ins to support Flash applications and Java applets. Upon encountering a file of an unsupported type or a file that is set up to be downloaded rather than displayed, the browser prompts the user to save the file to disk.

Interactivity in a web page can also be supplied by JavaScript, which usually does not require a plugin. JavaScript can be used along with other technologies to allow "live" interaction with the web page's server via AJAX.

Information resources may contain hyperlinks to other information resources. Each link contains the URI of a resource to go to. When a link is clicked, the browser navigates to the resource indicated by the link's target URI, and the process of bringing content to the user begins again.

Features

Available web browsers range in features from minimal, text-based user interfaces with bare-bones support for HTML to rich user interfaces supporting a wide variety of file formats and protocols. Browsers which include additional components to support e-mail, Usenet news, and Internet Relay Chat (IRC), are sometimes referred to as "Internet suites" rather than merely "web browsers".

All major web browsers allow the user to open multiple information resources at the same time, either in different browser windows or in different tabs of the same window. Major browsers also include pop-up blockers to prevent unwanted windows from "popping up" without the user's consent.

Most web browsers can display a list of web pages that the user has bookmarked so that the user can quickly return to them. Bookmarks are also called "Favorites" in Internet Explorer. In addition, all major web browsers have some form of built-in web feed aggregator. In Mozilla Firefox, web feeds are formatted as "live bookmarks" and behave like a folder of bookmarks corresponding to recent entries in the feed. In Opera, a more traditional feed reader is included which stores and displays the contents of the feed.

Furthermore, most browsers can be extended via plug-ins, downloadable components that provide additional features.