Wednesday, June 6, 2007

Charles Babbage

Charles Babbage (26 December 1791 – 18 October 1871) was an English mathematician, philosopher, mechanical engineer and (proto-) computer scientist who originated the idea of a programmable computer. Parts of his uncompleted mechanisms are on display in the London Science Museum. In 1991, working from Babbage's original plans, a difference engine was completed, and functioned perfectly. Built to tolerances achievable in the 19th century, the finished engine indicated that Babbage's machine would have worked. Nine years later, the Science Museum completed the printer Babbage had designed for the difference engine; it featured astonishing complexity for a 19th century device.
Birth
The birthplace of Charles Babbage is disputed, but he was most likely born in 44 Crosby Row,
Walworth Road, London, England. A blue plaque on the junction of Larcom Street and Walworth Road commemorates the event. There was a discrepancy regarding the date of Babbage's birth, which was published in The Times obituary as 26 December 1792. However, days later a nephew of Babbage wrote to say that Babbage was born precisely one year earlier, in 1791. The parish register of St. Mary's Newington, London, shows that Babbage was baptised on 6 January 1792
Charles's father, Benjamin Babbage, was a banking partner of the Praeds who owned the Bitton Estate in
Teignmouth. His mother was Betsy Plumleigh Babbage née Teape. In 1808, the Babbage family moved into the old Rowdens house in East Teignmouth, and Benjamin Babbage became a warden of the nearby St. Michael’s Church.
Education
His father's money allowed Charles to receive instruction from several schools and tutors during the course of his elementary education. Around age eight he was sent to a country school in
Alphington near Exeter to recover from a life-threatening fever. His parents ordered that his "brain was not to be taxed too much" and Babbage felt that "this great idleness may have led to some of my childish reasonings." For a short time he attended King Edward VI Grammar School in Totnes, South Devon, but his health forced him back to private tutors for a time. He then joined a 30-student Holmwood academy, in Baker Street, Enfield, Middlesex under Reverend Stephen Freeman. The academy had a well-stocked library that prompted Babbage's love of mathematics. He studied with two more private tutors after leaving the academy. Of the first, a clergyman near Cambridge, Babbage said, "I fear I did not derive from it all the advantages that I might have done." The second was an Oxford tutor from whom Babbage learned enough of the Classics to be accepted to Cambridge.
Babbage arrived at
Trinity College, Cambridge in October 1810. He had read extensively in Leibniz, Lagrange, Simpson, and Lacroix and was seriously disappointed in the mathematical instruction available at Cambridge. In response, he, John Herschel, George Peacock, and several other friends formed the Analytical Society in 1812.
In 1812 Babbage transferred to
Peterhouse, Cambridge. He was the top mathematician at Peterhouse, but failed to graduate with honours. He instead received an honorary degree without examination in 1814.
Marriage
On
25 July 1814 , Babbage married Georgiana Whitmore at St. Michael's Church in Teignmouth, Devon. His father did not approve of Babbage marrying without being economically stable[citation needed]. The couple lived at 5 Devonshire Street, Portland Place, London.
Children
Charles and Georgiana had eight children
, but only Benjamin Herschel, Georgiana Whitmore, and Henry Prevost lived to adulthood. Georgiana died in Worcester, 1 September 1827 - moreover, Charles' father, wife, and at least two sons all died in 1827.
Design of computers
In recognition of the high error rate in the calculation of mathematical tables, Babbage wanted to find a method by which they could be calculated mechanically, removing human sources of error. Three different factors seem to have influenced him: a dislike of untidiness; his experience working on
logarithmic tables; and existing work on calculating machines carried out by Wilhelm Schickard, Blaise Pascal, and Gottfried Leibniz. He first discussed the principles of a calculating engine in a letter to Sir Humphry Davy in 1822.

Part of Babbage's difference engine, assembled after his death by Babbage's son, using parts found in his laboratory.
Babbage's engines were among the first mechanical computers. His engines were not actually completed, largely because of funding problems and personality issues. Babbage realized that a machine could do the work better and more reliably than a human being. Babbage directed the building of some steam-powered machines that more or less did their job, suggesting calculations could be mechanized to an extent. Although Babbage's machines were mechanical monsters, their basic architecture was astonishingly similar to a modern computer. The data and program memory were separated, operation was instruction based, the control unit could make conditional jumps and the machine had a separate I/O unit.
Difference engine
Main article:
Difference engine
In Babbage’s time numerical tables were calculated by humans called ‘computers’. At Cambridge he saw the high error rate of the people computing the tables and thus started his life’s work in trying to calculate the tables mechanically, removing all human error. He began in 1822 with what he called the difference engine, made to compute values of polynomial functions.
Unlike similar efforts of the time, Babbage's difference engine was created to calculate a series of values automatically. By using the method of
finite differences, it was possible to avoid the need for multiplication and division.

The London Science Museum's replica Difference Engine, built from Babbage's design.
The first difference engine needed around 25,000 parts of a combined weight of fifteen
tons (13,600 kg) standing 8 ft (2.4 m) high. Although he received much funding for the project, he did not complete it. He later designed an improved version, "Difference Engine No. 2". This was not constructed at the time, but was built using his plans in 1989-1991, to 19th century tolerances, and performed its first calculation at the London Science Museum bringing back results to 31 digits, far more than the average modern pocket calculator.
Printer
Babbage designed a printer for the second difference engine which had some remarkable features; it supported line-wrapping, variable column and row width, and programmable output formatting.
Analytical engine
Main article:
Analytical engine
Soon after the attempt at making the difference engine crumbled, Babbage started designing a different, more complex machine called the Analytical Engine. The engine is not a single physical machine but a succession of designs that he tinkered with until his death in 1871. The main difference between the two engines is that the Analytical Engine could be programmed using punch cards, an idea unheard of in his time. He realized that programs could be put on similar cards so the person had to only create the program initially, and then put the cards in the machine and let it run. The analytical engine was also proposed to use loops of Jacquard's punched cards to control a mechanical calculator, which could formulate results based on the results of preceding computations. This machine was also intended to employ several features subsequently used in modern computers, including sequential control, branching, and looping, and would have been the first mechanical device to be Turing-complete.
Ada Lovelace, an impressive mathematician and one of the few people who fully understood Babbage's ideas, created a program for the Analytical Engine. Had the Analytical Engine ever actually been built, her program would have been able to calculate a numerical sequence known as the Bernoulli numbers. Based on this work, Lovelace is now widely credited with being the first computer programmer. In 1979, a contemporary programming language was named Ada in her honour. Shortly afterward, in 1981, a satirical article by Tony Karp in the magazine Datamation described the Babbage programming language as the "language of the future".

Sunday, June 3, 2007

Computer Security

The security given to the computer for the protection of hardware, software, and data is called computer security. The computer security includes policies, procedures, tools, and techniques designed to protect a computer and its resources.
The protection of computer, its accessories, data and programs for a long-lasting of computer system is known as computer security. Compute security is concerned with the hardware security and software security.

a) Hardware Security:
The security given to the various hardware tools or equipment is called hardware security. The protection of all hardware equipments used in computer system is known as hardware security. Some common hardware security measures are as follows:
i. Regular Maintenance
ii. Insurance
iii. Dust free equipment
iv. Protection from fire
v. Protection from theft
vi. Air conditioning system
vii. Power protection devices (UPS, Volt Guards, Spike Guards)

b) Software Security:
Data and software security is the means by ensuring that the data and software are kept safe from corruption. Thus, it helps to ensure privacy. The protection of data and programs used in computer system is known as software security. Software security is the most convenient way of safeguarding our computer system. Some common software security measures are as follows:
i. Password protection
ii. Backup system
iii. Defragmentation
iv. Scan disk
v. Virus scanning

SLC Question
a) What is meant by compute security?
b) List out the computer hardware security measures.
c) Write down any two of the security measures you would adopt to protect computer equipment and supplies.
d) Why is the power protection device needed in computer system? Mention any two power protection devices.

Technical terms:
Antiviral Software : The software used to scan a computer’s memory and disks to detect viruses.
Backup : A copy of a file which is used in the event of the original files being corrupted.
UPS : A battery supported power unit between an external power source and a computer system, which supplies clean and continuous power even during power failures.
Virus : A computer program that has been created to do damage to your computer system.
Password : A secret word or phrase that gives a user access to a particular program or system.
Fragmentation : The scattering of the parts of the same disk file over different locations.
Defragmentation : The process of rewriting parts of a file to contiguous sectors on a had disk to increase the speed of access and retrieval.

Thursday, January 11, 2007

Information Technology Policy, 2057 (2000)

1. Vision
To place Nepal on the Global Map of Information Technology within the next five years.
2. Background
As a developing country, Nepal has availed of the opportunity to rapidly develop various sectors such as education, health, agriculture, tourism, trade, among others, using information technology. The extensive application of this technology will engender economic consolidation, development of democratic norms and values, proportional distribution of economic resources and means and enhancement of public awareness, thereby raising living standards and, most importantly, contribute significantly to poverty alleviation. The establishment of a vibrant information technology will mitigate some of the disadvantages Nepal faces on account of its geographical conditions. In the coming years, globally, there will be a significant difference between the economic conditions of countries with developed information technology and that of countries lagging behind in this field. The persistence of such disparities between countries will be difficult to accept even by the developed countries. It is very possible that the international community will extend its support to developing countries in the development of information technology. Such assistance will certainly be significant for the national development of a least developed country like Nepal. Hence, an information technology policy is required to develop information technology in the shortest time possible for the sake of the national economy.
3. Objectives
The information technology policy shall be developed to attain the following objectives.
3.1 To make information technology accessible to the general public and increase employment through this means.
3.2 To build a knowledge-based society.
3.3 To establish knowledge-based industries.
4. Strategies
The information technology strategies adopted to accomplish the above-mentioned objectives of rapid development and expansion of information technology in a fair and competitive environment shall be the following:
4.1 The government will act as a promoter, facilitator, and regulator.
4.2 Carry on research, develop and expand information technology with a high priority to participation of the private sector.
4.3 Prepare capable manpower with the involvement of both public and private sectors for sustainable development and expansion of information technology.
4.4 Encourage native and foreign investment for the development of information technology and infrastructure pertaining to information technology.
4.5 Place Nepal on the global map through information technology.
4.6 Legalize and promote e-commerce.
4.7 Assist in e-governance by using information technology.
4.8 Utilize information technology in the development of rural areas.
4.9 Promote information technology industries.
4.10 Create a healthy, competitive environment for information technology service providers and provide them speedy and qualitative service at a reasonable cost.
4.11 Include computer education in curriculum from the school level.
4.12 Enhance professional efficiency through the use of information technology.
4.13 Expand the information technology network to the rural areas.
4.14 Establish Nepal in the international market in information technology.
4.15 Increase export of services related to information technology (software and hardware) to 10 billion rupees within the next five years.
5. Information Technology Policy
The policies to be pursued for the implementation of the above-mentioned strategies shall be as follows:
5.1 To declare information technology sector a prioritized sector.
5.2 To follow a single-door system for the development of information technology.
5.3 To prioritize research and development of information technology.
5.4 To create a conducive environment that will attract investment in the private sector, keeping in view the private sector's role in the development of information technology.
5.5 To provide internet facilities to all Village Development committees of the country in phases.
5.6 To render assistance to educational institutions and encourage native and foreign training as a necessity of fulfilling the requirement of qualified manpower in various fields pertaining to information technology.
5.7 To computerize the records of each governmental office and build websites for them for the flow of information.
5.8 To increase the use of computers in the private sector.
5.9 To develop a physical and virtual information technology park in various places with the private sector's participation for the development of information technology.
5.10 To use information technology to promote e-commerce, e-education, e-health, among others, and to transfer technology in rural areas.
5.11 To establish a National Information Technology Centre.
5.12 To establish a national level fund by mobilizing the resources obtained from His Majesty's Government, donor agencies, and private sectors so as to contribute to research and development of information technology and other activities pertaining to it.
5.13 To establish venture capital funds with the joint participation of public and privatesectors.
5.14 To include computer education in the curriculum from the school level and broaden its scope.
5.15 To establish Nepal in the global market through the use of information technology.
5.16 To draft necessary laws that provide legal sanctions to the use of information technology.
5.17 To gradually use information technology in all types of governmental activities and provide legal sanctions to its uses in such activities.
6. Action Plan
The following action plan shall be carried out to implement the national information technology policy and fulfill its objectives:
6.1 Participation of private sector in infrastructure development:There may be up to a hundred percent foreign investment in areas such as information technology park, research and development, technology transfer, and human resource development.
6.2 Infrastructure development:The following arrangements shall be made for information infrastructure development.
6.2.1 An info-super highway and north-south info-highway shall be built takinginto account the rapidity of information flow, changes brought about by the means of information flow, and the gradual development of multimedia service. Nepal shall be linked with other parts of the world through a broadband information network.
6.2.2 An IT park shall be established in Banepa in Kavrepalanchok District.
6.2.3 Any company interested in establishing an industry within the park shall be charged only 1% customs duty for the import of equipment related to theindustry for up to five years.
6.2.4 An internet node shall be established in all development regions by fiscal year 2058/059 (2001/2002) and in district headquarters by fiscal year 2060/61 (2003/2004) with participation of the private sector in order to make Internet available throughout the Kingdom. In making telephone contact with such a node, the telephone charge shall be levied on a local-call basis; and telephone contact with a nearby node within the development region shall be deemed to be a local call, so ling as the node in that district is not established. The use of the Internet shall be gradually extended to rural areas as well. The charge for telephone calls to be used for the Internet shall be gradually reduced.
6.2.5 Telecommunications and electricity services shall be provided to the entrepreneurs involved in information technology sector as per their demand.
6.3 Human Resource Development
6.3.1 Necessary facilities shall be supplied to the universities in the country and graduate and postgraduate-level classes of international standard in computer science and computer engineering subjects shall be offered.
6.3.1 A long-term programme with a slogan "computer education to all by 2010 A.D."shall be formulated and computer education shall be taught as an optional subject in some public secondary schools from the coming academic year and shall be made a compulsory subject in phases.
6.3.2 IT shall be used to improve the quality of education.
6.3.3 The private sector shall be encouraged to prepare medium-level manpower required for the information technology sector. Assistance shall be provided to the private sector to set up institutions for teaching, research, and development of information technology in each development region.
6.3.4 The knowledge of computer shall be made compulsory to all newly-recruited teachers in phases so as to introduce computer education in schools; and computer education shall also be provided to all in-service teachers in phases throughdistant education.
6.3.5 Emphasis shall be given to providing computer education from the school level. Internet facility shall be made available free of cost to universities and public schools for four hours a day within the next five years to provide computer education in a systematic way.
6.3.6 His Majesty's Government shall provide scholarships to public and private sector technicians for higher study in information technology.
6.3.7 Necessary scholarships shall be given to poor and deserving (diligent) students from remote areas to pursue higher studies in information technology.
6.4 Dissemination of Information Technology
The following measures shall be pursued for the extensive dissemination of information technology.
6.4.1 The education institutions and hospitals in the areas where telecommunications and electricity services are available shall be encouraged to use IT services. Even in places where electricity service is not available, the development of information technology through solar power system shall be encouraged.
6.4.2 The distant learning system shall be introduced through the Internet and Intranet as well through radio and television. Networking systems like school-net, research-net. commerce-net and multilingual computing shall be developed.
6.4.3 A three year programme shall be formulated and launched to extend the use of computer in governmental offices. All ministries, departments and offices shall be linked to the Internet; and other agencies shall also be encouraged to be linked through the Internet.
6.4.4 Websites for all ministries and departments and district offices shall be created within one year. Necessary legal provisions shall be made to reduce the movement of papers by using information technology in all kinds of governmental activities in a phased manner.
6.4.5 An action plan shall be devised and introduced to include computer as a subject for the examination of a specific level/class and be required to sit for a written examination during recruitment. Provisions shall be made for basic computer training to be a condition for the promotion of employees.
6.4.6 Content shall be prepared to enhance materials with Nepali materials on the Internet to promote Nepalese arts and culture and to develop rural areas.
6.4.7 A public awareness-enhancing campaign on the utility of information technology shall be launched extensively through the electronic media.
6.4.8 An information officer shall be placed in each ministry a phased manner.
6.4.9 In view of the present development of information technology, provisions shall be made to open voice-mail (communication) to talk point-to-point for one's own business without a link to the public switched telephone network.
6.5 Promotion of E-commerce and so forth E-business, tele-medicine, tele-processing, distant learning, among others, shall be promoted as follows:
6.5.1 Necessary arrangements shall be made to encourage e-commerce.
6.5.2 Necessary legal infrastructure shall be created for the promotion of tele-medicine, distant learning, tele-processing, and e-commerce.
6.5.3 Intellectual property right shall be protected through the formulation of necessary laws related to the development of information technology.
6.5.4 Provisions shall be made for the export of software information technology services through IT in the following ways:
(a) The person or organization concerned has to submit certified duplicate copies of the documents on agreements relating to export.
(b) Invoice or bill of exportation made under the agreements referred to in clause (a) has to be submitted to the Nepal Rastra Bank. © The Nepal Rastra Bank has to validate foreign currency obtained on the basis of such documents.
6.6 FacilitiesThe following facilities shall be provided for the development of the information technology sector:
6.6.1 One percent (1%) customs duty shall be levied on hardware, software and allkinds of computer spare parts imported by training institutions related toinformation technology, albeit on the recommendation of the NationalInformation Technology Centre on the basis of services rendered and theachievements of such institutions.
6.6.2 As software development services based on software are operated twenty-four hours, such services shall be declared essential services to guarantee regular production by employees working in the companies related to such services, and arrangements shall be made accordingly.
6.6.3 A venture capital fund shall be established by utilizing capital market with the joint investment of His Majesty's Government and the private sector. His Majesty's Government shall make an investment of 100 million rupees initially for such a fund.
6.6.4 Domestic preference shall be given in accordance with the prevailing law on computers, spare parts and software produced within the country.
6.6.5 Software may be directly depreciated for the purposes of income tax, whereas equipment relating to information technology may be allowed an accelerated depreciation for two years.
6.6.6 In cases when an investment has been made in foreign currency either as a loan or share capital required to build and operate infrastructure, the investor shall be allowed to repatriate the principal and interest of the loan and dividends in accordance with the prevailing laws.
6.6.7 The foreign currency earned from exporting information technology software and services shall be granted facilities that are on par with facilities provided to other export-oriented industries earning foreign currency.
6.6.8 An information technology development fund shall be established to create public awareness about information technology, assist rural networking, develop information technology with market management, generate the required manpower for this sector, and to make social services easily available where such technology is used. Arrangements shall be made for financial contributions toward this fund from His Majesty's Government, the private sector, donor agencies, and others. The National Information Technology Centre (NITC) shall operate this find. A feasibility study shall be carried out to manage additional financial resources for the establishment of this information technology fund.
6.6.9 Export of software shall be subjected to an additional service charge of 0.5% for the information technology fund, in addition to prevailing customs duties. The amount obtained from that charge shall be deposited in the fund referred to in clause 6.6.8.6.6.10 As Nepali nationals working abroad can play an important role in the technology transfer and market promotion in this sector, they shall be encouraged to invest their foreign currency earnings in this sector.
7 Institutional Provision
7.1 The National Information Technology Development Council, consisting of the following members, shall be constituted under the chairmanship of the Rt. Honourable Prime Minister.
a. Rt. Honourable Prime Minister Chairmanb. Honourable Minister, Ministry of Science and Technology Memberc. Honourable Minister, Ministry of Information and Communication Memberd. Honourable Vice-chairman, National Planning Commission Membere. Honourable Member, National Planning Commission (Information Technology Sector) Memberf. Secretary, Ministry of Finance Memberg. Secretary, Ministry of Industries, Commerce and Supplies Memberh. Secretary, Ministry of Law, Justice and Parliamentary Affairs Memberi. Secretary, Ministry of Water Resources Memberj. Secretary, Ministry of Science and Technology Memberk. Secretary, Ministry of Education and Sports Memberl. Secretary, Ministry of Information andCommunications Memberm. Computer specialist representative, University/ RONAST (three persons) Membern. Chairman, Computer Association of Nepal Membero. President, Federation of Nepalese Chamber of Commerce and Industries Memberp. Persons involved in Information Technology in Private Sector (three persons) Memberq. Chairman, Telecommunications Authority Memberr. Executive Director, NITC Member Secretary
7.2 The National Information Technology Council shall review and revise informationtechnology policy, appraise annual progress, and solve problems that may arise andcarry out such other activities as it may deem necessary for the development andexpansion of the information technology sector.
7.3 A National Information Technology Co-ordination Committee, as mentioned below,shall be constituted to carry out research on and develop information technology, developmanpower required for this sector and a curriculum for information technology, improve the quality of computer training operated by the private sector, ascertain the norms and monitor these and co-ordinate such activities of establishing relations with foreign educational institutions.
a. Honourable Minister, Ministry of Science and Technology Chairmanb. Honourable Member, National Planning Commission (looking after the concerned sector) Memberc. Two vice-chancellors of universities Memberd. Secretary, Ministry of Finance Membere. Secretary, Ministry of Industries, Commerce and Supplies Memberf. Secretary, Ministry of Science and Technology Memberg. Secretary, Ministry of Education and Sports Memberh. Secretary, Ministry of Information and Communication Memberi. Two information technologists Memberj. Representative, Computer Association of Nepal Memberk. Representative, Federation of Nepalese Chamber of Commerce and Industries Memberr. Executive Director, NITC Member Secretary
7.4 National Information Technology CentreThis Centre shall be set up under the Ministry of Science and Technology. Its regional and district-level offices shall be established as necessary. It shall carry out the following functions:
(a) Act as a data bank of information and assist in computerization of records at governmental offices and in developing and expanding the contents.
(b) Act as the Secretariat of the National Information Technology DevelopmentCouncil and the National Information Technology Co-ordination Committee; toimplement, or cause to be implemented, the policy and plan on informationscience and information technology, to monitor and supervise the same and toregularize the activities carried out by the private sector and submit reports tothe council on these activities.
(c) Render assistance in all kinds of computer services of His Majesty's Government. Similarly, render assistance in designing, updating, and operating websites of all bodies of His Majesty's Government, and collect all types of data at the national level and serve as a database.
(d) Act as a regulator for the healthy development of information technology.
(e) Arrange for coding and standardization required to bring about uniformity withrespect to information technology, and implement and monitor it.
7.5 Information Technology Park Development Committee This committee shall be a separate body under the Ministry of Science and Technology. It shall manage and co-ordinate parks to be built in various places in the country and co-ordinate the building and execution of info-cities and info- villages.
8 Legal Provisions:
Necessary laws shall be enacted to regulate transactions to be carried out through information technology, as well as other necessary arrangements pertaining to this technology, and to protect intellectual property right.
9 Amendment to the Policy
This policy may be reviewed and amended every two years in conformity with technological development and expansion of services as a result of rapid developments in the information technology sector. Nonetheless, at the suggestion of various sectors, it may be appraised and amended if necessary even prior to it.

Computer Ethics

The introduction of the World Wide Web in 1990 has catalyzed the expansion of the Internet, which is still growing today at unprecedented rates. The recent growth of the Internet has resulted not only in an increase in the amount of available knowledge, but in an increase in the problems inherent to its usage and distribution. It has become clear that traditional rules of conduct are not always applicable to this new medium, so new ethical codes are now being developed.
Ethics, in the classical sense, refers to the rules and standards governing the conduct of an individual with others. As technology and computers became more and more a part of our everyday lives, we must understand that the problems that have always plagued business and conduct will continue to be a problem. In fact, a new medium can provide even more difficult questions of judgement. In other words, since the introduction of the World Wide Web, the definition of ethics has evolved, too. A new type of ethics known as computer ethics has emerged. Computer ethics is concerned with standards of conduct as they pertain to computers.
Why do we need computer ethics?
the growth of the WWW has created several novel legal issues
the existence of new questions that older laws cannot answer
traditional laws are outdated/anachronistic in this world
a more coherent body of law is needed to govern Internet and computers Three of the more pressing concerns in computer ethics today are questions of copyright, privacy, and censorship, all of which are discussed in greater detail in the following three sections. Other problems exist as well, though. One problem is that many domain names (www.whateverishere.com) are being bought and sold to the highest bidder. For example, recently a man bought the name www.drugs.com and auctioned it off. Many people are purposely buying up company names and selling them to those companies at outrageous prices. President Clinton calls these people 'Squatters' and wants to pass a law forbidding them to buy up already existing company names. Is this fair? Don't these people have a right, under capitalism, to make money this way? Or is it near-blackmail?
Many people have been tricked my e-mail scams, claiming that they will make you a millionaire. It is the same sort of pyramid scheme that exists over telephone or mail, but no laws covered it for a while. Also, many email chain letters have allowed urban legends to spread at an accelerated rate and created alarm over hoaxes concerning many food and drug products. These emails only bog down email systems and servers, but do not seem to be ending. Some advertisers also email unsolisisted ads to email users, in a practice known as spamming.
Computers present us not only with vast new potential in technology, but also in ethics. Morality must play catch-up to technology that has leap-frogged ahead. Without a knowledge of computer ethics, you will not be fully equipped to enter the new world of online society - and you will need to enter that world, whether you choose a career in art, programming, business, or anything else.

Wednesday, January 10, 2007

Computer Introduction

Introduction
Computers are becoming increasingly popular every passing day amongst a very wide section of people. They are being used today for all sorts of applications from simple word processing to weather forecasting, weapons research and so on. Computers have undoubtedly revolutionized our whole lifestyle. Computers have almost changed the world. They have become very essential tools in most walks of life.
Computer Science has been introduced as a new subject in recent years. Like any language is essential for communication, computer also has a very big role to play in bringing the world together through a language of its own. Computer is used in almost every field in developed countries. Due to growing importance and numerous applications of computer, it is essential to provide Computer Education in schools. Computer assists the students in learning and understanding the subject matter easily.
Computer is used in developed countries in the study of history, mathematics, geography, etc. Similarly, Distance learning like "Open University" is another educational application where computer is being used.

Definition
We can define computer in different ways. The word "Computer" is derived from Latin word "Computare" which means to calculate. Basically, computer is defined as a machine, which computes. Computer is an electronic machine that is used for data processing to produce meaningful information. The full form of 'Computer' is Commonly Operated Machine Particularly Used for Trade, Education & Research.
Computer is an electronic device that transforms data. It can be defined as an electronic device that is used to accept, store, retrieve, and possess the data. It is called as data processor because it is mainly used of processing data for producing meaningful information.
Computer is a fast and accurate electronic data manipulating system that is designed to automatically accept and store input data, process them and produce output results under the direction of stored program of instructions.
Computer Study deals with the study of features of computers, and the ways and methods of using computers so as to provide a basis for understanding the impact of computers on individuals, organizations, and society.
Computer Literacy means knowing about computer; understanding their utility as tools and knowing how to use and control them. A person who knows the simple use of computer, their development, and control is known as computer literate. A computer literate can possess the knowledge of:
a) Computer's capabilities and limitations
b) How to use computers
c) How computer software is developed
d) Understanding computer's impact on individual, organization, and society as a whole.

"Computer has made a remarkable impact in our society."

One can say that there is hardly any field of application which is not influenced by the computers. The following are the major application areas where computer have made a remarkable impact.
1. Education
2. Science and technology
3. Medicine
4. Commerce
5. Law and order
6. Government
7. Other application areas

1. Education
Computers have been extensively used in education and training. In Nepal, computer has been taught in schools as an important subject. Few colleges have introduced along with their regular subjects.
Computers can be used in CAL (Computer Aided Learning), CAI (Computer Aided Instructions), and CNL (Computer Managed Learning). Using CAL students can learn their subject with the help of a computer. Using CML computer can evaluate a student's progress and he is directed to the next topic only on the basis of his performance in the test.
2. Science and Technology
Computers, because of their complex data handling capacity and accuracy, have been increasingly used in field of science and technology. Most of the scientific studies and research have been on computer which can give accurate results. Computers have played an important role in satellite communication. Computers can be employed in the analysis of design problems. They are required for simultaneous of scientific experiments. Computer can also be used in Meteorology, Astronomy etc.
3. Medicine
Some medical research and diagnosis use computer. Computers are used in medical reports like ECG, SCAN etc. hospital can use computers to keep the records of patients. The whole administrative process can be computerized so as to get the information of In-Door and Out-Door Patients, no. of beds available for admitting new patients, generation of different report like-total number of patients suffering from Tuberculosis per year. Total no. of patients died because of cancer etc.
4. Commerce
Computers have been extensively used in the field of commerce. Business organization can use computers for wide range of applications. Sales Analysis for a certain period, payroll of employees, account system of company, inventory control system are few examples of applications of computer in this field.
CAD (Computer Aided Design) and CAM (Computer Aided Manufacturing) assist in designing and manufacturing of products in different manufacturing industries.
5. Law and Order
The police and traffic departments can use computer for keeping records of criminals, computer may be employed in crime detection techniques like finger-print identification. Road traffic control can also be computerized.
6. Government
Different government offices can apply computer for maintaining files, ledgers, letter writing, keeping account system etc.
7. Other Application areas
Other application areas of computer are:
Airlines
Banks
Libraries etc.

Saturday, December 30, 2006

Introduction
In the early days of programming, it was usually the scientific elite doing the programming and they were usually trained above and beyond the average American to do their programming work. It was not until 1964 at Dartsmouth college that the Beginner's All-purpose Symbolic Instruction Code would be introduced -- more commonly known as BASIC. Using common English to perform processor tasks, BASIC became quickly popular, although it was disliked by programmers of more "low-level" languages such as assembly and FORTRAN. In 1985 Microsoft released their own version of BASIC called QBasic with their MS-DOS 5.0 operating system. Since then, nearly every PC user owns their own copy of QBasic, making it a widely known language.
QBasic is a very simple language to pick up, and yet it can accomplish a great deal. Granted you will probably never write Doom or Word Perfect with QBasic, but it has it's strong points. One of them is to introduce people to programming without having to worry about the internal workings of the computer. It's simple to create games, business applications, simple databases, and graphics. The best aspect of the language is it's close resemblance to English.
This small tutorial introduces the simple concepts of programming to get you started, so if you already know another language or are already familiar with programming, you may want to skim through the first couple sections. Good luck!

VARIABLES
A variable, simply defined, is a name which can contain a value. Programming involves giving values to these names and presenting them in some form to the user. A variable has a type which is defined by the kind of value it holds. If the variable holds a number, it may be of integer, floating decimal, long integer, or imaginary. If the variable holds symbols or text, it may be a character variable or a string variable. These are terms you will become accustomed to as you continue programming.
Here are some examples of values a variable might contain:
STRING "hello, this is a string"INTEGER 5LONG 92883SINGLE 39.2932DOUBLE 983288.18
The first is a string. Strings contain text. The last four are number types. But the computer does not know what kind of value you are trying to give a variable unless you tell it! There are two methods of telling the computer what kind of variable you are using:
Explicitly declare the variable AS a type. This is done by using the DIM statement. Say you wanted to make a variable called number which would contain an integer (whole number, no digits after the decimal point). You would do it like this:
DIM number AS INTEGER
Then you would use that variable as an integer. The word DIM actually originates from the word Dimension, but you won't see why until we discuss arrays.
Put a symbol after the variable name which is defined as representing that type. QBasic has a set of symbols which represent each variable type:
$ String% Integer& Long! Single# Double
Appending one of these symbols to the name of a variable when you use it in the program tells the computer that you are using it as that type.
This is actually a difficult concept to grasp for newcomers to programming. The most common error in QBasic is the infamous Type Mismatch which you will see a lot. This means that you are trying to put a value into a variable of the wrong type. You might be trying to put the letters "hi there" into an integer variable. If you don't define the type of the variable, then QBasic assumes it is of the Single type, which can often yield unexpected results. I personally prefer to use the type symbols after variable names, but come explicitly declare them usually at the head of their programs.