Basics of Computers Tutorial PDF Version Quick Guide Resources Job Search Discussion A computer is an electronic device that receives input, stores or processes the input as per user instructions and provides output in desired format. Computers have become an integral part of our lives because they can accomplish easy tasks repeatedly without getting bored and complex ones repeatedly without committing errors. In this tutorial we will discuss in detail about the different parts of computer that enable it to carry out tasks efficiently and correctly. We will also discuss about microprocessors, the brain of computers, which actually do all the assigned tasks. Audience This tutorial is designed for anyone who wants to understand the basic concepts of what a computer is and how it functions. Prerequisites There are no prerequisites for this course except a desire to learn about how a computer works. Having worked on a computer would be an added advantage in completing the tutorial. Print Page Previous Next Advertisements ”;
Category: basics Of Computers
Basics of Computers – Classification ”; Previous Next Historically computers were classified according to processor types because development in processor and processing speeds were the developmental benchmarks. Earliest computers used vacuum tubes for processing, were huge and broke down frequently. However, as vacuum tubes were replaced by transistors and then chips, their size decreased and processing speeds increased manifold. All modern computers and computing devices use microprocessors whose speeds and storage capacities are skyrocketing day by day. The developmental benchmark for computers is now their size. Computers are now classified on the basis of their use or size − Desktop Laptop Tablet Server Mainframe Supercomputer Let us look at all these types of computers in detail. Desktop Desktop computers are personal computers (PCs) designed for use by an individual at a fixed location. IBM was the first computer to introduce and popularize use of desktops. A desktop unit typically has a CPU (Central Processing Unit), monitor, keyboard and mouse. Introduction of desktops popularized use of computers among common people as it was compact and affordable. Riding on the wave of desktop’s popularity many software and hardware devices were developed specially for the home or office user. The foremost design consideration here was user friendliness. Laptop Despite its huge popularity, desktops gave way to a more compact and portable personal computer called laptop in 2000s. Laptops are also called notebook computers or simply notebooks. Laptops run using batteries and connect to networks using Wi-Fi (Wireless Fidelity) chips. They also have chips for energy efficiency so that they can conserve power whenever possible and have a longer life. Modern laptops have enough processing power and storage capacity to be used for all office work, website designing, software development and even audio/video editing. Tablet After laptops computers were further miniaturized to develop machines that have processing power of a desktop but are small enough to be held in one’s palm. Tablets have touch sensitive screen of typically 5 to 10 inches where one finger is used to touch icons and invoke applications. Keyboard is also displayed virtually whenever required and used with touch strokes. Applications that run on tablets are called apps. They use operating systems by Microsoft (Windows 8 and later versions) or Google (Android). Apple computers have developed their own tablet called iPad which uses a proprietary OS called iOS. Server Servers are computers with high processing speeds that provide one or more services to other systems on the network. They may or may not have screens attached to them. A group of computers or digital devices connected together to share resources is called a network. Servers have high processing powers and can handle multiple requests simultaneously. Most commonly found servers on networks include − File or storage server Game server Application server Database server Mail server Print server Mainframe Mainframes are computers used by organizations like banks, airlines and railways to handle millions and trillions of online transactions per second. Important features of mainframes are − Big in size Hundreds times Faster than servers, typically hundred megabytes per second Very expensive Use proprietary OS provided by the manufacturers In-built hardware, software and firmware security features Supercomputer Supercomputers are the fastest computers on Earth. They are used for carrying out complex, fast and time intensive calculations for scientific and engineering applications. Supercomputer speed or performance is measured in teraflops, i.e. 1012 floating point operations per second. Chinese supercomputer Sunway TaihuLight is the world’s fastest supercomputer with a rating of 93 petaflops per second, i.e. 93 quadrillion floating point operations per second. Most common uses of supercomputers include − Molecular mapping and research Weather forecasting Environmental research Oil and gas exploration Print Page Previous Next Advertisements ”;
Basics of Computers – Input/Output Ports ”; Previous Next A connection point that acts as interface between the computer and external devices like mouse, printer, modem, etc. is called port. Ports are of two types − Internal port − It connects the motherboard to internal devices like hard disk drive, CD drive, internal modem, etc. External port − It connects the motherboard to external devices like modem, mouse, printer, flash drives, etc. Let us look at some of the most commonly used ports. Serial Port Serial ports transmit data sequentially one bit at a time. So they need only one wire to transmit 8 bits. However it also makes them slower. Serial ports are usually 9-pin or 25-pin male connectors. They are also known as COM (communication) ports or RS323C ports. Parallel Port Parallel ports can send or receive 8 bits or 1 byte at a time. Parallel ports come in form of 25-pin female pins and are used to connect printer, scanner, external hard disk drive, etc. USB Port USB stands for Universal Serial Bus. It is the industry standard for short distance digital data connection. USB port is a standardized port to connect a variety of devices like printer, camera, keyboard, speaker, etc. PS-2 Port PS/2 stands for Personal System/2. It is a female 6-pin port standard that connects to the male mini-DIN cable. PS/2 was introduced by IBM to connect mouse and keyboard to personal computers. This port is now mostly obsolete, though some systems compatible with IBM may have this port. Infrared Port Infrared port is a port that enables wireless exchange of data within a radius of 10m. Two devices that have infrared ports are placed facing each other so that beams of infrared lights can be used to share data. Bluetooth Port Bluetooth is a telecommunication specification that facilitates wireless connection between phones, computers and other digital devices over short range wireless connection. Bluetooth port enables synchronization between Bluetooth-enabled devices. There are two types of Bluetooth ports − Incoming − It is used to receive connection from Bluetooth devices. Outgoing − It is used to request connection to other Bluetooth devices. FireWire Port FireWire is Apple Computer’s interface standard for enabling high speed communication using serial bus. It is also called IEEE 1394 and used mostly for audio and video devices like digital camcorders. Print Page Previous Next Advertisements ”;
Open Source Software
Computer – Open Source Software ”; Previous Next What is Open Source Software? Software whose source code is freely distributed with a license to study, update and further distributed to anyone to fulfil a purpose is called open source software. Open source software is generally a team effort where dedicated programmers improve upon the source code and share the changes within the community. Some common examples of Open source software are Linux, Android, and ReactOS. Significances of Open Source Software Open-source software is defined as software that is freely available for modification, usage, and dissemination. The copyright holder offers permission or control over the source code to anyone who wishes to modify it for next level like to add on additional functionalities. There are different compelling reasons to share something under an open source license, ranging from “more perspectives make better software” to “establishing a standard.” It is critical when developing a sustainable project to consider your reasons for publishing as open source and utilize these as a guide for decision making. Characteristics of Open Source Software Some of the key Characteristics of Open Source Software are as follows − Flexibility − Experts can make necessary changes in the software as per their needs. Stability − Availability of technical experts in the open source community to look after the software. Hence, users can make the software stable and can be used for the long term. Security and Reliability − Since the program is being developed and improved by a team of individuals. Thus, software is more secure and reliable. Better Support − Since the program is used by a large number of people, including developers, businesses, and end users. As a result, to get technical support is easier. Types of Open Source Software Some common types of Open Source Software are as follows − Freeware A software that is available free of cost for use and distribution but cannot be modified as its source code is not available is called freeware. Examples of freeware are Google Chrome, Adobe Acrobat PDF Reader, Skype, etc. Shareware Software that is initially free and can be distributed to others as well, but needs to be paid for after a stipulated period of time is called shareware. Its source code is also not available and hence cannot be modified. Proprietary Software Software that can be used only by obtaining license from its developer after paying for it is called proprietary software. An individual or a company can own such proprietary software. Its source code is often closely guarded secret and it can have major restrictions like − No further distribution Number of users that can use it Type of computer it can be installed on, example multitasking or single user, etc. For example, Microsoft Windows is proprietary operating software that comes in many editions for different types of clients like single-user, multi-user, professional, etc. Advantages of Open Source Software Some of the key advantages of Open Source Software are as follows − Transparency Security Customization Affordability Scalability Interoperable on multiple platforms Powering the digital transformation The open-source community Print Page Previous Next Advertisements ”;
Discuss Basics of Computers ”; Previous Next A computer is an electronic device that receives input, stores or processes the input as per user instructions and provides output in desired format. Computers have become an integral part of our lives because they can accomplish easy tasks repeatedly without getting bored and complex ones repeatedly without committing errors. In this tutorial we will discuss in detail about the different parts of computer that enable it to carry out tasks efficiently and correctly. We will also discuss about microprocessors, the brain of computers, which actually do all the assigned tasks. Print Page Previous Next Advertisements ”;
Basics of Computers – System S/W ”; Previous Next As you know, system software acts as an interface for the underlying hardware system. Here we will discuss some important system software in detail. Operating System Operating system (OS) is the lifeline of computer. You connect all the basic devices like CPU, monitor, keyboard and mouse; plug in the power supply and switch it on thinking you have everything in place. But the computer will not start or come to life unless it has an operating system installed in it because OS − Keeps all hardware parts in a state of readiness to follow user instructions Co-ordinates between different devices Schedules multiple tasks as per priority Allocates resource to each task Enables computer to access network Enables users to access and use application software Besides initial booting, these are some of the functions of an operating system − Managing computer resources like hardware, software, shared resources, etc. Allocating resources Prevent error during software use Control improper use of computer One of the earliest operating systems was MS-DOS, developed by Microsoft for IBM PC. It was a Command Line Interface (CLI) OS that revolutionized the PC market. DOS was difficult to use because of its interface. The users needed to remember instructions to do their tasks. To make computers more accessible and user-friendly, Microsoft developed Graphical User Interface (GUI) based OS called Windows, which transformed the way people used computers. Assembler Assembler is a system software that converts assembly level programs to machine level code. These are the advantages provided by assembly level programming − Increases efficiency of the programmer as remembering mnemonics is easier Productivity increases as number of errors decreases and hence debugging time Programmer has access to hardware resources and hence has flexibility in writing programs customized to the specific computer Interpreter The major advantage of assembly level language was its ability to optimize memory usage and hardware utilization. However, with technological advancements computers had more memory and better hardware components. So ease of writing programs became more important than optimizing memory and other hardware resources. In addition, a need was felt to take programming out of a handful of trained scientists and computer programmers, so that computers could be used in more areas. This led to development of high level languages that were easy to understand due to resemblance of commands to English language. The system software used to translate high level language source code into machine level language object code line by line is called an interpreter. An interpreter takes each line of code and converts it into machine code and stores it into the object file. The advantage of using an interpreter is that they are very easy to write and they do not require a large memory space. However, there is a major disadvantage in using interpreters, i.e., interpreted programs take a long time in executing. To overcome this disadvantage, especially for large programs, compilers were developed. Compiler System software that store the complete program, scan it, translate the complete program into object code and then creates an executable code is called a compiler. On the face of it compilers compare unfavorably with interpreters because they − are more complex than interpreters need more memory space take more time in compiling source code However, compiled programs execute very fast on computers. The following image shows the step-by-step process of how a source code is transformed into an executable code − These are the steps in compiling source code into executable code − Pre-processing − In this stage pre-processor instructions, typically used by languages like C and C++ are interpreted, i.e. converted to assembly level language. Lexical analysis − Here all instructions are converted to lexical units like constants, variables, arithmetic symbols, etc. Parsing − Here all instructions are checked to see if they conform to grammar rules of the language. If there are errors, compiler will ask you to fix them before you can proceed. Compiling − At this stage the source code is converted into object code. Linking − If there are any links to external files or libraries, addresses of their executable will be added to the program. Also, if the code needs to be rearranged for actual execution, they will be rearranged. The final output is the executable code that is ready to be executed. Print Page Previous Next Advertisements ”;
Basics of Computers – Office Tools ”; Previous Next Application software that assist users in regular office jobs like creating, updating and maintaining documents, handling large amounts of data, creating presentations, scheduling, etc. are called office tools. Using office tools saves time and effort and lots of repetitive tasks can be done easily. Some of the software that do this are − Word processors Spreadsheets Database systems Presentation software E-mail tools Let us look at some of these in detail. Word Processor A software for creating, storing and manipulating text documents is called word processor. Some common word processors are MS-Word, WordPad, WordPerfect, Google docs, etc. A word processor allows you to − Create, save and edit documents Format text properties like font, alignment, font color, background color, etc. Check spelling and grammar Add images Add header and footer, set page margins and insert watermarks Spreadsheet Spreadsheet is a software that assists users in processing and analyzing tabular data. It is a computerized accounting tool. Data is always entered in a cell (intersection of a row and a column) and formulas and functions to process a group of cells is easily available. Some of the popular spreadsheet software include MS-Excel, Gnumeric, Google Sheets, etc. Here is a list of activities that can be done within a spreadsheet software − Simple calculations like addition, average, counting, etc. Preparing charts and graphs on a group of related data Data entry Data formatting Cell formatting Calculations based on logical comparisons Presentation Tool Presentation tool enables user to demonstrate information broken down into small chunks and arranged on pages called slides. A series of slides that present a coherent idea to an audience is called a presentation. The slides can have text, images, tables, audio, video or other multimedia information arranged on them. MS-PowerPoint, OpenOffice Impress, Lotus Freelance, etc. are some popular presentation tools. Database Management System Software that manages storage, updating and retrieval of data by creating databases is called database management system. Some popular database management tools are MS-Access, MySQL, Oracle, FoxPro, etc. Print Page Previous Next Advertisements ”;
Primary Memory
Basics of Computers – Primary Memory ”; Previous Next Memory is required in computers to store data and instructions. Memory is physically organized as a large number of cells that are capable of storing one bit each. Logically they are organized as groups of bits called words that are assigned an address. Data and instructions are accessed through these memory address. The speed with which these memory addresses can be accessed determines the cost of the memory. Faster the memory speed, higher the price. Computer memory can be said to be organized in a hierarchical way where memory with the fastest access speeds and highest costs lies at the top whereas those with lowest speeds and hence lowest costs lie at the bottom. Based on this criteria memory is of two types – primary and secondary. Here we will look at primary memory in detail. The main features of primary memory, which distinguish it from secondary memory are − It is accessed directly by the processor It is the fastest memory available Each word is stored as well as It is volatile, i.e. its contents are lost once power is switched off As primary memory is expensive, technologies are developed to optimize its use. These are broad types of primary memory available. RAM RAM stands for Random Access Memory. The processor accesses all memory addresses directly, irrespective of word length, making storage and retrieval fast. RAM is the fastest memory available and hence most expensive. These two factors imply that RAM is available in very small quantities of up to 1GB. RAM is volatile but my be of any of these two types DRAM (Dynamic RAM) Each memory cell in a DRAM is made of one transistor and one capacitor, which store one bit of data. However, this cell starts losing its charge and hence data stored in less than thousandth of a second. So it needs to be refreshed thousand times a second, which takes up processor time. However, due to small size of each cell, one DRAM can have large number of cells. Primary memory of most of the personal computers is made of DRAM. SRAM (SRAM) Each cell in SRAM is made of a flip flop that stores one bit. It retains its bit till the power supply is on and doesn’t need to be refreshed like DRAM. It also has shorter read-write cycles as compared to DRAM. SRAM is used in specialized applications. ROM ROM stands for Read Only Memory. As the name suggests, ROM can only be read by the processor. New data cannot be written into ROM. Data to be stored into ROM is written during the manufacturing phase itself. They contain data that does not need to be altered, like booting sequence of a computer or algorithmic tables for mathematical applications. ROM is slower and hence cheaper than RAM. It retains its data even when power is switched off, i.e. it is non-volatile. ROM cannot be altered the way RAM can be but technologies are available to program these types of ROMs − PROM (Programmable ROM) PROM can be programmed using a special hardware device called PROM programmer or PROM burner. EPROM (Erasable Programmable ROM) EPROM can be erased and then programmed using special electrical signals or UV rays. EPROMs that can be erased using UV rays are called UVEPROM and those that can be erased using electrical signals are called EEPROM. However, handling electric signals is easier and safer than UV rays. Cache Memory Small piece of high speed volatile memory available to the processor for fast processing is called cache memory. Cache may be a reserved portion of main memory, another chip on CPU or an independent high speed storage device. Cache memory is made of fast speed SRAMs. The process of keeping some data and instructions in cache memory for faster access is called caching. Caching is done when a set of data or instructions is accesses again and again. Whenever the processor needs any piece of data or instructions, it checks the cache first. If it is unavailable there, then the main memory and finally secondary memory is accessed. As cache has very high speed, time spent in accessing it every time is negligible as compared to time saved if data indeed is in the cache. Finding data or instruction in cache is called cache hit. Print Page Previous Next Advertisements ”;
Computer – Utility Software ”; Previous Next What is Utility Software? Utility software is also considered as system software or system utilities that assist the Operating System to manage, organize, maintain, and optimize computer system performance smoothly and efficiently. Utility software is well known to detect viruses, install and uninstall software, data backup, delete undesirable files, and so on. Examples include antivirus software, file management tools, compression tools, and disk management tools. Overall, utility software is intended to help users manage and maintain their computer systems, as well as optimise performance and execute different system-related activities. These programs are often used to ensure the efficient operation of hardware and software components and improve a computer system”s overall functionality and stability. Thus utility software is a cross between system software and application software. Why Utility Software is Important? Utility software is crucial because it comprises system maintenance functions such as performance optimization, disk space management, and error resolution. It also improves security by blocking malware, viruses, and other dangers. Types of Utility Software Some common types of utility software are as follows − Antivirus and Antimalware Software − These utilities keep safe the computer from malicious software, spyware, and viruses, as well as other types of security threats. Examples are Norton Antivirus, McAfee, and Malwarebytes. Disk Cleanup and Optimization − These utilities help to remove temporary or unwanted files. For example – CCleaner (Crap Cleaner) removes temporary files, cache data, and unused files to free up disk space. Defragmentation applications reorganise fragmented files on a hard drive to increase read/write access. Disk Partitioning and Management − Disc Management (Windows) and GParted (Linux) are utilities that enable users to create, resize, and manage partitions on their hard drives. Backup and Recovery − Backup utilities automatically create copies of vital data to prevent loss. Example: Windows Backup and Time Machine (Mac). Data recovery software recovers erased files and folders. Popular options include Recuva and TestDisk. System Monitoring and Diagnostic Tools − Task Manager (Windows) and Activity Monitor (Mac) offer real-time system resource monitoring to find and fix performance issues. Windows Memory Diagnostic and Apple Diagnostics (Mac) diagnose hardware issues. Driver Updaters − For hardware compatibility and performance, these programs update outdated or incompatible device drivers. Examples are Driver Booster and Driver Easy. Password Managers − Users generate, store, and manage complex, secure passwords with password management software. Examples are LastPass, Dashlane, and 1Password. Firewall Utilities − A firewall protects a computer or network by managing incoming and outgoing network traffic. Examples are Windows Firewall and third-party firewall solutions like ZoneAlarm. Data Encryption Software − These utilities encrypt sensitive data to protect it from unauthorized access. Examples are BitLocker (Windows) and FileVault (Mac). Uninstaller Programs − These utilities assist users in thoroughly removing undesirable apps as well as the files and registry entries linked with those applications. Examples are Revo Uninstaller and IObit Uninstaller. Advantages of Utility Software Some of the primary advantages of Utility Software are as follows − Enhance system performance − Utility programs can enhance systems performance by reducing its overload which generates unnecessary files and storage in the system. Utility programs remove unnecessary files, utilise memory space and protect the system from viruses and unauthorised access. Keep the system safe and secure − Utility software comprises applications like antivirus and encryption software that help users protect the system from different security risks. Manages files and data − Utility software facilitates users by managing files and data. Data backup and recovery − Utility software offers backup and recovery solutions that can assist users in recovering lost or deleted data in case of system failure or data loss. Customization − Utility software allows users to personalize their system. Print Page Previous Next Advertisements ”;
Microprocessor Concepts
Microprocessor Concepts ”; Previous Next The microprocessor is the brain of a computer. It is also referred to as a processor or CPU; its main function is to execute the processes that come for execution. Generally, a processor fixes inside the CPU (Central Processing Unit) as a core component on the motherboard of the CPU. It”s composed of an arithmetic logic unit (ALU), a control unit, and registers. Microprocessors were first introduced in the early 1970s. 4004 was the first general-purpose microprocessor designed by Intel for personal computers. Some common terminologies linked with microprocessors is as follows − Instruction Set Architecture (ISA) − A microprocessor executes a set of instructions. The basic computations include arithmetic, logic operations, data movement, and control transfer. Registers − Registers are the smaller units to store data while it is being processed. Registers are high-speed storage in the CPU. Some common examples are accumulators, programme counters, and general-purpose registers. Clock Speed − The rate at which a microprocessor executes instructions is measured in cycles per second (Hertz). Higher clock speeds often lead to faster processing. Cores − A modern microprocessor includes multiple processing cores, which allows them to execute multiple instructions simultaneously and enhance overall speed. Pipelines − It’s a method to increase instruction throughput by dividing instruction execution into multiple stages. Cache Memory − High-speed memory fixes close to the CPU to store frequently accessed data and instructions. It minimises access time and enhances system performance. Memory Management − System memory management is a process of allocating memory to processes, moving data between memory and storage, and ensuring that memory resources are used efficiently. Interrupts − Signals from external devices that cause the CPU to halt its current activities and manage interrupt requests. Bus Architecture − It facilitates communication between components like CPU, memory, and peripherals using buses to transfer data. Microprocessor Components Microprocessors serve as the central processing unit (CPU) in computers and other electronic devices. A microprocessor consists of different key components; every component dedicatedly works for the processor. Some key components of the microprocessor are as follows − CPU Bus Memory CPU CPU is fabricated as a very large-scale integrated circuit (VLSI) and has these parts − Instruction register − It holds the instruction to be executed. Decoder − It decodes (converts to machine-level language) the instruction and sends it to the ALU (Arithmetic Logic Unit). ALU − It’s dedicatedly designed to perform arithmetic operations (like add, subtract, multiply, divide, and compare numbers), logical operations (like AND, OR, and NOT), memory, register and program sequencing operations. Control Unit (CU) − A control unit supervises instruction execution for smooth execution; it coordinates the processor”s actions with other units. It accesses instructions from memory, decodes them, and controls the flow of data within the processor. Register − these are very small, high-speed storage locations used to hold data temporarily during processing. Some most widely and commonly used registers in processors are instruction register (IR), program counter (PC), memory address register (MAR), memory data register (MDR), and general-purpose registers like accumulator, and index registers. Registers hold intermediate results obtained from processing. Bus Buses are the connection lines which are designed specifically to do the data transfer between multiple components of the system. Hence, it is used for the data communication. Buses carry actual data being processed by the CPU or transferred between system components like CPU and memory. It”s like the lanes on the highway where the vehicles move. Data buses are an essential part of computer architecture that influence the speed and efficiency of data transfer within a system. They are available in a variety of sorts and configurations, including address buses, control buses, and data buses, with each serving a unique purpose in aiding system communication. There are three types of buses in a microprocessor − Data Bus − Lines that carry data to and from memory are called data buses. It is a bidirectional bus with a width equal to the word length of the microprocessor. Data buses consist of parallel wires/lines that carry data in binary form like 0s and 1s. The width of the data bus controls how much data may be carried simultaneously. For example, a 32-bit data bus can transfer 32 bits of data in parallel, whereas a 64-bit data bus can transfer 64 bits at once. Address Bus − It is a unidirectional responsible for carrying the address of a memory location or I/O port from CPU to memory or I/O port. In addition to the data bus, the address bus is an important component of a computer”s architecture. A data bus transfers actual data between components, whereas the address bus transports information about where the data should go or originate from. Control Bus − Lines that carry control signals like clock signals, interrupt signals or ready signals are called control buses. They are bidirectional. These signals make sure that operations are carried out in a proper sequence and at the right time. For example – a signal that indicates to a device to interrupt its process is called an interrupt signal. Memory Microprocessor has two types of memory. RAM − Random Access Memory is a volatile memory; the data or information which is stored in RAM gets erased when power is switched off. Hence, it”s a temporary memory which stores data till a program is under execution; once execution is over all the related data get erased or when power is switched off. ROM − Read Only Memory is non-volatile memory whose data remains intact even after power is switched off. Microprocessor can read from it at any time; as its name implies the data of ROM can be read only, we cannot