Computer Concepts and Applications – Computer Memory and Input/Output Devices

DIAGNOSTIC RADIOGRAPHY · NTA LEVEL 4 · SEMESTER TWO

Computer Concepts and Applications – Computer Memory and Input/Output Devices

CRT04207 · Radiology Informatics

START READING NOTES

Study Computer Concepts and Applications – Computer Memory and Input/Output Devices using the sections below. Use the topic navigation to continue through Radiology Informatics.

Computer Concepts and Applications – Computer Memory and Input/Output Devices

1.3 Computer Memory

Memory is used to store the information (programs and data) that the computer is currently using. It is sometimes called main or primary memory. One form of memory is called RAM – random access memory. This means that any location in memory may be accessed in the same amount of time as any other location. Memory access means one of two things, either the CPU is reading from a memory location or the CPU is writing to a memory location. When the CPU reads from a memory location, the contents of the memory location are copied to a CPU register. When the CPU writes to a memory location, the CPU copies the contents of a CPU register to the memory location, overwriting the previous contents of the location. The CPU cannot carry out any other operations on memory locations.

RAM is a form of short term or volatile memory. Information stored in short term storage is lost when the computer is switched off (or when power fails e.g. if you pull out the power lead!). There is therefore a requirement for permanent or long term storage which is also referred to as secondary storage or auxiliary storage. This role is fulfilled by disk and tape storage.

1.3.1 Random Access Memory (RAM)

RAM(Random Access Memory) is the internal memory of the CPU for storing data, program and program result. It is read/write memory which stores data until the machine is working. As soon as the machine is switched off, data is erased.

Access time in RAM is independent of the address that is, each storage location inside the memory is as easy to reach as other locations and takes the same amount of time. Data in the RAM can be accessed randomly but it is very expensive.

RAM is volatile, i.e. data stored in it is lost when we switch off the computer or if there is a power failure. Hence a backup uninterruptible power system(UPS) is often used with computers. RAM is small, both in terms of its physical size and in the amount of data it can hold.

  • RAM is of two types
  • Static RAM (SRAM)
  • Dynamic RAM (DRAM)

1)Static RAM (SRAM)

The word static indicates that the memory retains its contents as long as power is being supplied. However, data is lost when the power gets down due to volatile nature. SRAM chips use a matrix of 6-transistors and no capacitors. Transistors do not require power to prevent leakage, so SRAM need not have to be refreshed on a regular basis.

Because of the extra space in the matrix, SRAM uses more chips than DRAM for the same amount of storage space, thus making the manufacturing costs higher. So SRAM is used as cache memory and has very fast access.

  • Characteristic of the Static RAM
  • It has long life
  • There is no need to refresh
  • Faster
  • Used as cache memory
  • Large size
  • Expensive
  • High power consumption

2)Dynamic RAM (DRAM)

DRAM, unlike SRAM, must be continually refreshed in order to maintain the data. This is done by placing the memory on a refresh circuit that rewrites the data several hundred times per second. DRAM is used for most system memory because it is cheap and small. All DRAMs are made up of memory cells which are composed of one capacitor and one transistor.

  • Characteristics of the Dynamic RAM
  • It has short data lifetime
  • Need to be refreshed continuously
  • Slower as compared to SRAM
  • Used as RAM
  • Lesser in size
  • Less expensive
  • Less power consumption

1.3.2 – Read Only Memory (ROM)

ROM stands for Read Only Memory. The memory from which we can only read but cannot write on it. This type of memory is non-volatile. The information is stored permanently in such memories during manufacture. A ROM, stores such instructions that are required to start a computer. This operation is referred to as bootstrap. ROM chips are not only used in the computer but also in other electronic items like washing machine and microwave oven.

  • Following are the various types of ROM

1)MROM (Masked ROM)

The very first ROMs were hard-wired devices that contained a pre-programmed set of data or instructions. These kind of ROMs are known as masked ROMs which are inexpensive.

2)PROM (Programmable Read only Memory) PROM is read-only memory that can be modified only once by a user. The user buys a blank PROM and enters the desired contents using a PROM program. Inside the PROM chip there are small fuses which are burnt open during programming. It can be programmed only once and is not erasable.

3)EPROM(Erasable and Programmable Read Only Memory) The EPROM can be erased by exposing it to ultra-violet light for a duration of up to 40 minutes. Usually, an EPROM eraser achieves this function. During programming, an electrical charge is trapped in an insulated gate region. The charge is retained for more than ten years because the charge has no leakage path. For erasing this charge, ultra-violet light is passed through a quartz crystal window(lid). This exposure to ultra-violet light dissipates the charge. During normal use the quartz lid is sealed with a sticker.

4)EEPROM(Electrically Erasable and Programmable Read Only Memory) The EEPROM is programmed and erased electrically. It can be erased and reprogrammed about ten thousand times. Both erasing and programming take about 4 to 10 ms (milli second). In EEPROM, any location can be selectively erased and programmed. EEPROMs can be erased one byte at a time, rather than erasing the entire chip. Hence, the process of reprogramming is flexible but slow.

  • Advantages of ROM
  • The advantages of ROM are as follows:
  • Non-volatile in nature
  • These cannot be accidentally changed
  • Cheaper than RAMs
  • Easy to test
  • More reliable than RAMs
  • These are static and do not require refreshing
  • Its contents are always known and can be verified
  • 1.4 Input/Output Devices:
  • 1.4.1Input Devices
  • Following are few of the important input devices which are used in a computer:
  • Keyboard

Mouse

Joy Stick

  • Light pen

Track Ball

  • Scanner

Graphic Tablet

  • Microphone
  • Magnetic Ink Card Reader(MICR)

Optical Character Reader(OCR)

Bar Code Reader

  • Optical Mark Reader(OMR)

1)Keyboard

Keyboard is the most common and very popular input device which helps in inputting data to the computer. The layout of the keyboard is like that of traditional typewriter, although there are some additional keys provided for performing additional functions.

Keyboards are of two sizes 84 keys or 101/102 keys, but now keyboards with 104 keys or 108 keys are also available for Windows and Internet.

  • The keys on the keyboard are as follows:

2)Mouse

Mouse is most popular pointing device. It is a very famous cursor-control device having a small palm size box with a round ball at its base which senses the movement of mouse and sends corresponding signals to CPU when the mouse buttons are pressed.

Generally it has two buttons called left and right button and a wheel is present between the buttons. Mouse can be used to control the position of cursor on screen, but it cannot be used to enter text into the computer.

  • Advantages
  • Easy to use
  • Not very expensive
  • Moves the cursor faster than the arrow keys of keyboard.

3)Joystick

Joystick is also a pointing device which is used to move cursor position on a monitor screen. It is a stick having a spherical ball at its both lower and upper ends. The lower spherical ball moves in a socket. The joystick can be moved in all four directions.

The function of joystick is similar to that of a mouse. It is mainly used in Computer Aided Designing(CAD) and playing computer games.

4)Light Pen

Light pen is a pointing device which is similar to a pen. It is used to select a displayed menu item or draw pictures on the monitor screen. It consists of a photocell and an optical system placed in a small tube. When the tip of a light pen is moved over the monitor screen and pen button is pressed, its photocell sensing element detects the screen location and sends the corresponding signal to the CPU.

5)Track Ball

Track ball is an input device that is mostly used in notebook or laptop computer, instead of a mouse. This is a ball which is half inserted and by moving fingers on ball, pointer can be moved. Since the whole device is not moved, a track ball requires less space than a mouse. A track ball comes in various shapes like a ball, a button and a square.

6)Scanner

Scanner is an input device which works more like a photocopy machine. It is used when some information is available on a paper and it is to be transferred to the hard disc of the computer for further manipulation. Scanner captures images from the source which are then converted into the digital form that can be stored on the disc. These images can be edited before they are printed.

7)Digitizer

Digitizer is an input device which converts analog information into digital form. Digitizer can convert a signal from the television or camera into a series of numbers that could be stored in a computer. They can be used by the computer to create a picture of whatever the camera had been pointed at. Digitizer is also known as Tablet or Graphics Tablet because it converts graphics and pictorial data into binary inputs. A graphic tablet as digitizer is used for doing fine works of drawing and image manipulation applications.

8)Microphone

Microphone is an input device to input sound that is then stored in digital form. The microphone is used for various applications like adding sound to a multimedia presentation or for mixing music.

9)Magnetic Ink Card Reader(MICR)

MICR input device is generally used in banks because of a large number of cheques to be processed every day. The bank's code number and cheque number are printed on the cheques with a special type of ink that contains particles of magnetic material that are machine readable. This reading process is called Magnetic Ink Character Recognition (MICR). The main advantages of MICR is that it is fast and less error prone.

Optical Character Reader(OCR)

OCR is an input device used to read a printed text. OCR scans text optically character by character, converts them into a machine readable code and stores the text on the system memory.

10)Bar Code Readers

Bar Code Reader is a device used for reading bar coded data (data in form of light and dark lines). Bar coded data is generally used in labelling goods, numbering the books etc. It may be a hand held scanner or may be embedded in a stationary scanner. Bar Code Reader scans a bar code image, converts it into an alphanumeric value which is then fed to the computer to which bar code reader is connected.

  • 1.4.2 Output Devices
  • Following are few of the important output devices which are used in a computer.

Monitors

Graphic Plotter

  • Printer

1.4.3Monitors

Monitors, commonly called as Visual Display Unit (VDU), are the main output device of a computer. It forms images from tiny dots, called pixels that are arranged in a rectangular form. The sharpness of the image depends upon the number of pixels.

  • There are two kinds of viewing screen used for monitors.

Cathode-Ray Tube (CRT)

Flat- Panel Display

1)Cathode-Ray Tube (CRT) Monitor

The CRT display is made up of small picture elements called pixels. The smaller the pixels, the better the image clarity, or resolution. It takes more than one illuminated pixel to form whole character, such as the letter ‘e’ in the word help.

A finite number of characters can be displayed on a screen at once. The screen can be divided into a series of character boxes – fixed location on the screen where a standard character can be placed. Most screens are capable of displaying 80 characters of data horizontally and 25 lines vertically. There are some disadvantages of CRT:

  • Large in Size
  • High power consumption

2)Flat-Panel Display Monitor

The flat-panel display refers to a class of video devices that have reduced volume, weight and power requirement in comparison to the CRT. You can hang them on walls or wear them on your wrists. Current uses of flat-panel displays include calculators, video games, monitors, laptop computer, graphics display.

The flat-panel display is divided into two categories:

Emissive Displays – The emissive displays are devices that convert electrical energy into light. Example are plasma panel and LED(Light-Emitting Diodes).

Non-Emissive Displays – The Non-emissive displays use optical effects to convert sunlight or light from some other source into graphics patterns. Example is LCD(Liquid-Crystal Device)

  • 4.4Printers
  • Printer is an output device, which is used to print information on paper.

There are two types of printers:

Impact Printers

Non-Impact Printers

A)Impact Printers

The impact printers print the characters by striking them on the ribbon which is then pressed on the paper.

  • Characteristics of Impact Printers are the following:
  • Very low consumable costs
  • Very noisy
  • Useful for bulk printing due to low cost
  • There is physical contact with the paper to produce an image
  • These printers are of two types
  • Character printers

Line printers

Character Printers

  • Character printers are the printers which print one character at a time.
  • These are further divided into two types:
  • Dot Matrix Printer(DMP)

Daisy Wheel

1)Dot Matrix Printer

In the market one of the most popular printers is Dot Matrix Printer. These printers are popular because of their ease of printing and economical price. Each character printed is in form of pattern of dots and head consists of a Matrix of Pins of size (5*7, 7*9, 9*7 or 9*9) which come out to form a character that is why it is called Dot Matrix Printer.

  • Advantages

Inexpensive

Widely Used

  • Other language characters can be printed
  • Disadvantages

Slow Speed

Poor Quality

2)Daisy Wheel

Head is lying on a wheel and pins corresponding to characters are like petals of Daisy (flower name) that is why it is called Daisy Wheel Printer. These printers are generally used for word-processing in offices which require a few letters to be sent here and there with very nice quality.

  • Advantages
  • More reliable than DMP
  • Better quality
  • The fonts of character can be easily changed
  • Disadvantages
  • Slower than DMP
  • Noisy
  • More expensive than DMP
  • 3)Line Printers
  • Line printers are the printers which print one line at a time.

These are of further two types

Drum Printer

Chain Printer

4)Drum Printer

This printer is like a drum in shape so it is called drum printer. The surface of drum is divided into number of tracks. Total tracks are equal to size of paper i.e. for a paper width of 132 characters, drum will have 132 tracks. A character set is embossed on track. The different character sets available in the market are 48 character set, 64 and 96 characters set. One rotation of drum prints one line. Drum printers are fast in speed and can print 300 to 2000 lines per minute.

  • Advantages
  • Very high speed
  • Disadvantages
  • Very expensive
  • Characters fonts cannot be changed

5)Chain Printer

In this printer, chain of character sets are used so it is called Chain Printer. A standard character set may have 48, 64, or 96 characters.

  • Advantages
  • Character fonts can easily be changed.
  • Different languages can be used with the same printer.
  • Disadvantages
  • Noisy

B)Non-impact Printers

Non-impact printers print the characters without using ribbon. These printers print a complete page at a time so they are also called as Page Printers.

These printers are of two types

Laser Printers

Inkjet Printers

  • Characteristics of Non-impact Printers
  • Faster than impact printers.
  • They are not noisy.
  • High quality.
  • Support many fonts and different character size.

1)Laser Printers

These are non-impact page printers. They use laser lights to produce the dots needed to form the characters to be printed on a page.

  • Advantages
  • Very high speed
  • Very high quality output
  • Give good graphics quality
  • Support many fonts and different character size
  • Disadvantages
  • Expensive.
  • Cannot be used to produce multiple copies of a document in a single printing.

2)Inkjet Printers

Inkjet printers are non-impact character printers based on a relatively new technology. They print characters by spraying small drops of ink onto paper. Inkjet printers produce high quality output with presentable features.

They make less noise because no hammering is done and these have many styles of printing modes available. Colour printing is also possible. Some models of Inkjet printers can produce multiple copies of printing also.

  • Advantages
  • High quality printing
  • More reliable
  • Disadvantages
  • Expensive as cost per page is high
  • Slow as compared to laser printer

Interaction between User and Computer Human–computer interaction (HCI) involves the study, planning, design and uses of the interfaces between people (users) and computers.

HCI (human-computer interaction) is the study of how people interact with computers and to what extent computers are or are not developed for successful interaction with human beings.

HCI is a very broad discipline that encompasses different specialties with different concerns regarding computer development: computer science is concerned with the application design and engineering of the human interfaces; sociology and anthropology are concerned with the interactions between technology, work and organization and the way that human systems and technical systems mutually adapt to each other; ergonomics is concerned with the safety of computer systems and the safe limits of human cognition and sensation; psychology is concerned with the cognitive processes of humans and the behavior of users; linguistics is concerned with the development of human and machine languages and the relationship between the two.

Introduction to free and open source software

  • Open Source Software: Software for which:

The source code is available to the end-user;

The source code can be modified by the end-user; There are no restrictions on redistribution or use;

The licensing conditions are usually intended to facilitate continued re-use and wide availability of the software, in both commercial and non-commercial contexts; The cost of acquisition to the end-user is often minimal.

Definition of computer virus

A computer virus is a program or piece of code that is loaded onto your computer without your knowledge and runs against your wishes. Viruses can also replicate themselves. All computer viruses are man-made. A simple virus that can make a copy of itself over and over again is relatively easy to produce. Even such a simple virus is dangerous because it will quickly use all available memory and bring the system to a halt. An even more dangerous type of virus is one capable of transmitting itself across networks and bypassing security systems.

In computers, a virus is a program or programming code that replicates by being copied or initiating its copying to another program, computer boot sector or document.

A computer virus is a program designed to harm or cause harm on an infected computer. Its spreads through e-mail attachments, portable devices, websites containing malicious scripts and file downloads. A computer virus attaches itself to the host files and always activate whenever you open the infected files. The virus can replicate itself and then infect the other files on your computer causing more damage. Below is a list of different types of computer viruses and what they do.

7.1.1 Types of computer virus

Resident Viruses

This type of virus is a permanent which dwells in the RAM memory. From there it can overcome and interrupt all of the operations executed by the system: corrupting files and programs that are opened, closed, copied, renamed etc.

  • Examples include: Randex, CMJ, Meve, and MrKlunky.

Multipartite Viruses

Multipartite viruses are distributed through infected media and usually hide in the memory. Gradually, the virus moves to the boot sector of the hard drive and infects executable files on the hard drive and later across the computer system.

Direct Action Viruses

The main purpose of this virus is to replicate and take action when it is executed. When a specific condition is met, the virus will go into action and infect files in the directory or folder that it is in and in directories that are specified in the AUTOEXEC.BAT file PATH. This batch file is always located in the root directory of the hard disk and carries out certain operations when the computer is booted.

Overwrite Viruses

Virus of this kind is characterized by the fact that it deletes the information contained in the files that it infects, rendering them partially or totally useless once they have been infected.

The only way to clean a file infected by an overwrite virus is to delete the file completely, thus losing the original content.

  • Examples of this virus include: Way, Trj.Reboot, Trivial.88.D.

Boot Virus

This type of virus affects the boot sector of a floppy or hard disk. This is a crucial part of a disk, in which information on the disk itself is stored together with a program that makes it possible to boot (start) the computer from the disk.

The best way of avoiding boot viruses is to ensure that floppy disks are write-protected and never start your computer with an unknown floppy disk in the disk drive.

Examples of boot viruses include: Polyboot.B, AntiEXE.

Macro Virus

Macro viruses infect files that are created using certain applications or programs that contain macros. These mini-programs make it possible to automate series of operations so that they are performed as a single action, thereby saving the user from having to carry them out one by one.

  • Examples of macro viruses: Relax, Melissa.A, Bablas, O97M/Y2K.

Directory Virus

Directory viruses change the paths that indicate the location of a file. By executing a program (file with the extension .EXE or .COM) which has been infected by a virus, you are unknowingly running the virus program, while the original file and program have been previously moved by the virus.

Once infected it becomes impossible to locate the original files.

Polymorphic Virus

Polymorphic viruses encrypt or encode themselves in a different way (using different algorithms and encryption keys) every time they infect a system.

This makes it impossible for anti-viruses to find them using string or signature searches (because they are different in each encryption) and also enables them to create a large number of copies of themselves.

  • Examples include: Elkern, Marburg, Satan Bug, and Tuareg.

File Infectors

This type of virus infects programs or executable files (files with an .EXE or .COM extension). When one of these programs is run, directly or indirectly, the virus is activated, producing the damaging effects it is programmed to carry out. The majority of existing viruses belongs to this category, and can be classified depending on the actions that they carry out.

Encrypted Viruses

This type of viruses consists of encrypted malicious code, decrypted module. The viruses use encrypted code technique which make antivirus software hardly to detect them. The antivirus program usually can detect this type of viruses when they try spread by decrypted themselves.

Companion Viruses

Companion viruses can be considered file infector viruses like resident or direct action types. They are known as companion viruses because once they get into the system they "accompany" the other files that already exist. In other words, in order to carry out their infection routines, companion viruses can wait in memory until a program is run (resident viruses) or act immediately by making copies of themselves (direct action viruses).

  • Some examples include: Stator, Asimov.1539, and Terrax.1069

Network Virus

Network viruses rapidly spread through a Local Network Area (LAN), and sometimes throughout the internet. Generally, network viruses multiply through shared resources, i.e., shared drives and folders. When the virus infects a computer, it searches through the network to attack its new potential prey. When the virus finishes infecting that computer, it moves on to the next and the cycle repeats itself.

The most dangerous network viruses are Nimda and SQLSlammer.

Nonresident Viruses

This type of viruses is similar to Resident Viruses by using replication of module. Besides that, Nonresident Viruses role as finder module which can infect to files when it found one (it will select one or more files to infect each time the module is executed).

Stealth Viruses

Stealth Viruses is some sort of viruses which try to trick anti-virus software by intercepting its requests to the operating system. It has ability to hide itself from some antivirus software programs. Therefore, some antivirus program cannot detect them.

Sparse Infectors

In order to spread widely, a virus must attempt to avoid detection. To minimize the probability of its being discovered a virus could use any number of different techniques. It might, for example, only infect every 20th time a file is executed; it might only infect files whose lengths are within narrowly defined ranges or whose names begin with letters in a certain range of the alphabet. There are many other possibilities.

Spacefiller (Cavity) Viruses

Many viruses take the easy way out when infecting files; they simply attach themselves to the end of the file and then change the start of the program so that it first points to the virus and then to the actual program code. Many viruses that do this also implement some stealth techniques so you don't see the increase in file length when the virus is active in memory.

A spacefiller (cavity) virus, on the other hand, attempts to be clever. Some program files, for a variety of reasons, have empty space inside of them. This empty space can be used to house virus code. A spacefiller virus attempts to install itself in this empty space while not damaging the actual program itself. An advantage of this is that the virus then does not increase the length of the program and can avoid the need for some stealth techniques. The Lehigh virus was an early example of a spacefiller virus.

FAT Virus

The file allocation table or FAT is the part of a disk used to connect information and is a vital part of the normal functioning of the computer.

This type of virus attack can be especially dangerous, by preventing access to certain sections of the disk where important files are stored. Damage caused can result in information losses from individual files or even entire directories.

Worms

A worm is technically not a virus, but a program very similar to a virus; it has the ability to self-replicate, and can lead to negative effects on your system and most importantly they are detected and eliminated by antiviruses.

  • Examples of worms include: PSWBugbear.B, Lovgate.F, Trile.C, Sobig.D, Mapson.

Trojans or Trojan Horses

Another unsavory breed of malicious code (not a virus as well) are Trojans or Trojan horses, which unlike viruses do not reproduce by infecting other files, nor do they self-replicate like worms.

Logic Bombs

They are not considered viruses because they do not replicate. They are not even programs in their own right but rather camouflaged segments of other programs.

Their objective is to destroy data on the computer once certain conditions have been met. Logic bombs go undetected until launched, and the results can be destructive.

1.7.2Use of Antivirus software

Antivirus or anti-virus software (often abbreviated as AV), sometimes known as antimalware software, is computer software used to prevent, detect and remove malicious software.

Antivirus (or anti- virus)software is used to safeguard a computer from malware, including viruses, computer worms, and Trojan horses Antivirus software may also remove or prevent spyware and adware, along with other forms of malicious programs. Free antivirus software generally only searches your computer using signature-based detection which involves looking for patterns of data that are known to be related to already-identified malware. Paid antivirus software will usually also include heuristics to catch new, or zero-day threats, by either using genetic signatures to identify new variants of existing virus code or by running the file in a virtual environment (also called a sandbox), and watching what it does to see if it has malicious intent.

Virus designers, however, usually test their malicious code against the major antivirus types of malware, specifically ransomware, use polymorphic code to make it difficult to be detected by antivirus software. Besides using antivirus software to keep your computer safe and running smoothly, it is also always a good idea to be proactive: make sure your web browser is updated to the latest version, use a firewall, only download programs from websites you trust and always surf the web using a standard user account, rather than your administrator one.

banner
Scroll to Top