COMPUTER STUDIES-7010

Tuesday, June 23, 2009

Modem

A Modem (short for modulator-demodulator) is a computer peripheral that allows your computer to connect to, and communicate with, other computer via telephone lines. This device converts the digital signal produced by the computer into analogue signals. These analogue signals are sent along a telephone lines to another modem, where they can are converted back into digital signal for the receiving computer. Anything that can be stored on a computer can be sent to another computer when connected by a modem and a phone line.

There are two types of modems available, namely: Internal and external modems.

Internal modem: An internal modem is fixed into an expansion slot located on the computer main board or it may be part of the computer main board (then known as integrated modem).

External modem: It is a separate unit, and connects to the computer via a cable. Five or six small lights on the top, or in front of the modem case, indicates the status of the modem and that of the data it is sending or receiving.

Advantage and Disadvantage of Networking.

Advantages:

1. Expensive peripherals devices such as laser printers and scanners can be shared between users.

2. Messages can be sent between users using LANs or WANs.

3. All users can access the same files.

4. It is possible to access data or programs from any terminal/workstation.

5. Data and software can be stored centrally, which makes them easier to maintain and back up.

Disadvantages:

1. If a WAN is used, sophisticated (complicated) equipment is needed and the rental of telecommunication links makes it very expensive.

2. File security is more important with networks. For instance, if a virus were to get onto network then it could effect all the network terminals.

3. Wiring can be expensive both to buy and to install.

4. In a type of network called a file-server network all the programs and data is stored on a main computer called a server. If the server breaks down, the whole network become unusable.

5. Networks are unpredictable; they need an experienced person to keep them running successfully.

Hierarchical networks

Hierarchical networks are those networks where one or more computers are more powerful than the rest. Hierarchical networks are often called client-server networks because a more powerful computer called the server is used to look after printing, file maintenance and other peripherals. There are two types of server: the print server and the file server.

The file server is a computer used for managing the files on a network. It is used to store both programs and data and is generally more powerful computer than the others to which it is connected. A print server is the name given to a computer in a network which has a printer connected. This server manages all the print requests from users on the network.

Star Topology

In the star topology, there is a computer at the centre that is used to control the whole of the network. If centre machine break down, then the whole network breaks down. Star topologies use more cabling and therefore more expensive than other topologies. There is a path from each terminal to the central computer; this type of topology is very fast.

Line or (Bus) Topology

In line or bus network, the data is sent to all the device on the network at the same time. This means that if a terminal is not working properly others are not affected. Like in ring topology, there is no central computer used to control the network so each of the terminals has equal status. The main advantage of the line or bus network is that it is cheap and reliable.

Ring Topology

In the ring topology the terminals or other equipments are connected together in a circle. One of the main disadvantages in the ring topology is that if there is a break in any part of the communications line, then all of the device on the network will be affected.


NETWORKS

A network is a series of computer systems that are linked together so that they are able to share computing power or storage facilities. The link may be between computers in the same building or between computers in different parts of the country or even in different parts of the world.

Local Area Networks are confined to a small area. In LAN the connections are made using cables. A LAN allows the users to share programs and resources such as printers and backing store. It allows users to send message to each other using a local electronic mail system. This can be very convenient if people are not always in the same place as they can read their message at any convenient network terminal.

The way in which a network is laid out is called the network topology


Wednesday, June 17, 2009

PROGRAMMING LANGUAGES

A program is a set of instruction that the computer can understand. The computer can understand only binary code, all computer languages must be eventually reduced to binary code and the way this is done depends on the type of language used.

Low-Level-languages

Low-level languages are languages that are easy for the computer to understand but more difficult for the programmer to understand. Assembly language and Machine language (Machine code) collectively called low-level language.

Machine Language (or Machine code)

Machine language is the language directly understood by the machine. It consists of a series of 1’s and 0’s. Machine code is often machine specific, which means that one computer’s machine code will not be understood by a different type of computer. A program written in machine code needs no translation and is therefore very fast.

Assembly Language

An assembly language is a language that uses simple instruction such as ADD, SUB and is used in preference to machine code, since it is easier for the programmer to use and to debug (debugging means removing any mistake from the program). Once a program has been written in assembly language it needs translating into machine code by software called as assembler before it can be understood by a computer.

High-Level Language

High-level language is developed with the programmer in mind rather than the computer. Such language have the advantage that they are not as machine-dependent as machine codes or assembly language, so once a program has been written it can be used on different computers with very little alteration.

It is similar to English, which means that programming is made easier.

Advantages of high-level language

: Simple instructions similar to English make high-level language easy to understand

: It is easy to correct errors and test program.

: Program written in high-level languages can be used on different makes of computer.

Examples for high-level language

COBOL, BASIC, FORTON, C++, LOGO, JAVA, HTML (Hypertext Markup Language)

Compiler and Interpreters

Compiler & Interpreter are both programs that change high-level language instruction into machine-code. An interpreter is a translator of high level language program. These translators translate one instruction at a time.

A Compiler is a translator which is used to translate the whole source of a program at a time.

TAILOR-MADE SOFTWARE

Although specialist software might be the answer for many companies, there will be some organizations who find that it just doesn’t do exactly what they want or it doesn’t work with their current systems.

In this case, they might decide to have the software system they need designed and developed specially for them. This is called ‘tailor-made’ or ‘bespoke’ software.

The main advantages are:

§ The company will get the exact software / system that they need

§ The software will work exactly how they want it to work.

§ The software will only have the features that they specifically need in their business.

The main disadvantages of this approach are:

§ It takes a long time to develop such a system, between a few months to years.

§ It costs a great deal of money to develop such a system.

§ The company may need to employ a team of people such as business analysts, programmers, testers etc.

§ There will be little in the way of user support and online help.

GENERAL PURPOSE SOFTWARE

A general purpose application, sometimes known as ‘off-the-shelf’ is the short of software that we use at home and school. Examples include word processor, spreadsheet, desktop packages, graphics packages etc.

It provides many features that the majority of users will want Eg; formatting text, creating charts, organizing tables etc. There will be a vast number of features that we many never use Eg; statistical functions, mail merge etc. This will make the storage size of these applications fairly large.

There are several good reasons for using general purpose software:

Ø It is relatively cheap

Ø It is easily available from most computer shops

Ø It will have been thoroughly tested so there won’t be any serious problem or bugs.

Ø There will be lots of user support i.e. books, user guides, online help and discussion forums on the internet.

SPECIALIST SOFTWARE

Specialist application packages are generally not available in shops and they often have to be purchased directly from the manufacturer or a specialist firm. These application are designed to be used for specific tasks such as company payroll, stock control systems, e-commerce sites etc.

The application has not been written for a specific company. They have been developed by a manufacture to try to provide all of the features that they anticipate a company might need.

Like general purpose software, there may be many features that the company does not need, or the feature which is available may not work exactly as they would like in their business

APPLICATION SOFTWARE

Application software is used to perform specific tasks. A software application carries out tasks that the user is interested in doing such as writing a letter, creating graphs, sending an email or downloading a webpage.

Application software can be classified under three main categories:

Ø General purpose software.

Ø Specialist software.

Ø Tailor made software.

Integrated packages

Some manufactures decided to put a selection of the most popular general purpose software together and sell it as one package at a much cheaper price than buying each package individually. This is called an integrated package.

An example of an integrated package is ‘Microsoft Office’ which contains Word, Excel, Access, and PowerPoint.

UTILITY PROGRAMS

Utility programs are part of the system software. They are designed to do one or two specific but vital tasks very well.

Some utility programs might be supplied as part of the operating system, others are purchased separately.

Some common tasks carried out by utility programs are:

Ø Renaming files.

Ø Deleting files.

Ø Sorting data.

Ø Repairing damaged files.

Ø Sending files to printer.

Ø Copying files.

Batch processing

It is often not desirable to deal with the inputs until a certain number have occurred or a set time has passed. So they are stored until the system comes online to process the data in one 'batch'. Batch processing is usually fully automatic unlike 'real-time' or transaction processing which are interactive.

For example

  • A stock control programme may store records of every item sold in a shop that day. Then, at the end of each day it calculates what needs to be ordered.
  • An online competition stores all the entries until it is time to find the winner.
  • Electricity, gas and telephone bills are usually calculated on a monthly basis.

Real time processing

Real time processing is usually found in systems which use computer control. Real time processing has to be programmed very carefully to ensure that no input events are missed. For example, a traffic light system is a real-time system but it only needs to process data relatively slowly. On the other hand, controlling a car engine has to deal with input events happening every thousandth of a second so a very fast computer is needed to do this -but both the traffic-light and the car engine computers are carrying out 'real-time' processing.

Examples:

  • Traffic lights
  • Heart rate monitoring
  • Aircraft control
  • Computer games

OPERATING SYSTEM

The software and the hardware can't work together without something to act as an 'in-between'. The task of co-ordinating all of the software and hardware is given to the Operating System.

What is an operating system?

There are two main categories of software. There is 'application software' with examples such as word processors, spreadsheets and databases. The other main category is called 'system software' which includes the operating system and utility programs.

The operating system is needed to control everything happening in your computer. It controls the memory, the disks, the peripherals and the application software.

Tasks of the operating system:

Sorting out where to store data on disk drives.

Dealing with security – user name and passwords

Organizing files and folders.

Managing data transfer from the CPU to the peripherals eg: printer, monitor, etc

Deals with saving, deleting, opening, closing files.

Example for operating system:

Mac OS, LINUX, WINDOWS XP, WINDOWS 2000, WINDOWS NT, UNIX

Single user operating system

The operating system on your computer only has to deal with the tasks you are giving it. It doesn't need to worry about sharing out memory, hardware or processing time. This is called a single user operating system. Examples of such operating systems are Microsoft Windows 95, 98, 2000, XP and Vista as well as the Mac OS range.

Multi user operating system

“Multiuser software allows several users to access the same data at the same time. A multiuser operating system needs to be used with most networks.”

Multi tasking operating system

Multitasking means the ability of a computer to run two more programs at the same time.

Digital Versatile Disk (DVD)

DVD is similar to a CD in that it is an optical device and that a laser is used to store the data and read the data. A single sided DVD can store about 4.7 GB of data. DVDs which store data on both sides can hold over 9 GB of data. One problem with the DVD is that the different companies which make them haven't agreed on a standard format. Because of this, you will see various kinds of DVD disks for sale: DVD-R, DVD+R, DVD-RW and DVD+RW.

Advantages
  • Very large storage capacity
  • Sound and picture quality is excellent, making them ideal for storing films with video and sound.
  • DVDs are now mass produced so they are relatively cheap
  • DVD players can read CDs
Disadvantages
  • DVDs do not work in CD drives
  • There is no single standard of DVD
  • They can be easily damaged by breaking or scratching