Basic Computer Concepts - Essay Example

Electronic vs. electric? A machine or device is electrical simply if it uses electricity for it to function. A machine, on the other hand, is electronic If it uses electrical charge in circuits and manipulates the flow of electricity to perform a variety of functions depending on where charge Is routed. Hardware Hardware are the parts of a computer that are tangible or a person may sense. Components of a computer may also be classified according to their purpose. 1 Input devices example gratin, keyboard, mouse, microphone, scanner, et tetra 02 Output devices example grain, monitor, speaker, printer, et cetera 03 Storage devices example gratin, diskettes, compact discs, bar codes, et cetera 04 Processor Some components now may perform more than one function. For example, touchstones allow both Input and output to be performed. Such devices are more aptly called Interface devices. Other examples of these are Braille pads (keyboards with tactile and hepatic feedback for persons who are visually-impaired) and CD-RAW drives.

CD-RAW drives allow input by reading discs and output by writing to them. On he other hand, CD-ROOM drives are only input devices as they do not have the functionality of writing on compact discs. Software Software is the intangible component of the computer. Software is what often makes modifications or controls what the hardware does. These are more flexible than the hardware as the user may modify these more conveniently. In addition, It Is easier to create software than hardware.

Definition of a computer A computer is defined as an electronic device that accepts input, stores and manipulates or processes data, and provides output in the form of useful information. With this definition, the four classical functions of a computer are defined. 01 02 03 04 Input Processing Output Storage It is important to note that the concept of a modern computer involves it being an Software may be classified as either 01 System software; or 02 Application software. System software are programs that deal directly with the hardware and bridges the hardware and the application software.

Operating systems like Microsoft Windows, Linux, and Mac SO X allow for other programs to run on top of the hardware of the computer. To avoid having users deal with computers at a low level, application footwear are designed and made to make operating the computers much easier. Plowshare Plowshare is a modern term used to refer to anybody involved in the development or use of software or hardware systems. Technically, these persons are no longer part of the computer, but highly influence the technology attached to it.

Number systems and conversion The numeral system we are used to as persons is not what the computer finds convenient to represent. This is borne out of the number of fingers by which a group of our ancestors used to count with. Each digit represented in a numeral system is magnified by a power of its base. For example, 4310 is a representation for xx + xx + xx or xx + xx + ex.. There are, in fact, other numeral systems used by different groups before. ; The duo-decimal system was used by groups of Chinese by counting on each of the twelve finger segments on one hand aside from the thumb. The assimilate system is an extension of this method by counting up to 12 on each finger segment on one hand for each finger on the other. ; The vestigial system was developed by the Mayans, Aztec, and Cells by using all fingers and toes to count to 20. This is also used by Eskimos in Greenland, the Atman’s of Venezuela, and the Ann. of Northern Japan. ; The quandary system still being used in provinces in India today sees persons counting to 5 before moving to the next power. The computer, however, has no fingers or toes to count with.

What it does understand, however, is the absence or presence of a signal, charge, or current. This led to the development of digital computers able to differentiate OFF from ON. This property, in turn, allowed for representation of numbers Just using two digits: O and 1. Binary system The computer uses the binary system to represent everything from numbers to letters to photographs and more. Each signal of O or 1 is called a bit. A group of eight bits is called a byte. Half of a byte is called a nibble (or sometimes nibble).

Carrying the wordplay forward, there have been moves to call other groups by the following names Term Size crumb two bits taste palate 16 bits champ dinner 32 bits gabble table 64 bits However, usage of anything apart from a byte and a nibble are seldom used. A binary number 1011 01002 is a representation for Alex + Ox + 1 + Alex + + IXIA +0121 + ox or + 102 + + + XIX + + or 128+32+ 18010. Subtraction or repeated division. Place-value subtraction To convert a decimal umber to binary using place-value subtraction, 01 02 03 Get the largest power of 2 smaller than the number being converted.

That would be the leftmost 1 in the binary number. Subtract the power of 2 from the original number. The power of 2 would then be halved. If it is larger than the difference from Step 02, write a 1 after the last written digit and go back to Step 02 again. Otherwise, write a O and repeat Step 03 if the power of 2 is still not 1 . Types of programming languages Since everything in computers are represented by a series of So and Is, programs themselves are made out of binary sequences. It is completely possible to write programs using Just So and Is, but it would be incredibly difficult to do so.

This is called machine code. Low-level programming languages are built on top of the machine code so it would be more convenient for humans to write programs without having to understand the intricacies of So and Is. Furthermore, built on top of low-level programming languages are high-level languages. The give- and-take among these is the fact that despite being easier to code in a high-level language, low-level languages produce code that is more efficient. Program Development Cycle There are several models to the creation of software.

One of the more simple ones involve five steps: 01 02 03 04 05 Repeated division To convert a decimal number to binary using repeated division, 01 Divide the number being converted by 2. The remainder would be the rightmost digit in the binary number. Keep on dividing until the quotient is 1. That 1 would be the leftmost digit in the binary number. Though it is true that computers only understand binary, representing numbers in binary requires a long sequence of digits. As a compromise between persons and amputees, numbers may also be represented in octal systems and hexadecimal numeral systems.

Letters and other common characters are conveniently represented by a byte each. If a letter is being called for, each character is represented by a particular numerical equivalent. This was a standard established in 1963 so it will also be possible to have letters be coded with Is and So with the American Standard Code for Information Interchange. A is represented by 65, B with 66, and so on. Other characters such as punctuation marks and other symbols also have their own numeric equivalents. Storage and maintenance

Problem analysis and definition involves identifying the reason for creating software and what the program requires to run properly. These are the following: 01 Output objective of the software, typically useful information transformed from input Given what are in the environment, what it takes to perform the transformation from pre-processed data to useful information Input what is needed from the user, whatever else is taken to be able to solve the problem Restrictions a limiting factor to the input Logic formulation is when the programmer creates the solution and puts it into terms hat other programmers may possibly understand.

This is the stage where an algorithm is developed. An algorithm is a step-by-step set of instructions that will lead the computer to an answer based on the variables to be in play. It is important in an algorithm to have a defined point at which the program will terminate An algorithm may take on one of several forms but the most common are a flowchart and a pseudopodia. A flowchart is a graphical representation of the algorithm. Flow is directed from one operation to another using flow lines (arrows) and branches off in cession boxes (diamonds).

Due to the dichotomous nature of computer decision- making, exactly two flow lines come out of a decision box. A pseudopodia is textual representation of the flow. It could be in different formats, too. A recipe for a dish is an algorithm. A paragraph of detailed instructions is also an algorithm. For computer programs, a pseudopodia may be written in numbered format as in the image below or may also be in indented format to denote blocks of execution.

Coding is the stage when the algorithm is keyed in to a file that the computer can translate then understand. This is when a programming language is involved. It is possible that after coding, the program may still not work due to errors for one or more case so it is important to try and break the program by testing and debugging. If at one point, an error is identified, it may be classified as either a syntax error or a semantic error. A syntax error means that something went wrong while coding.

Often, programs will not even begin to run if a syntax error is encountered. On the other hand, a semantic error means that something went wrong in logic formulation or that the algorithm was coded incorrectly. Finally, storage and maintenance happens when users of the program may have needs that will come out in the future. Possible modifications. Programming Fundamentals Software need to remember values and modify data to be useful. To remember these, programs make use of variables.

Variables may be of different types. They can be integers, fractions, characters, sequences of characters, and more. These are called data types. In many programming languages, once a variable is tied to a data type, it could no longer be changed. This means it is crucial to associate the correct data type to a variable. As opposed to variables, programming languages also employ constants. These variables and constants are used along with operators to form expressions.