855 Assignment No. 1 Computers in Education
855 Assignment No. 1 Computers in Education
855 Assignment No. 1 Computers in Education
a) Primary Storage:
A primary storage device is any storage device or component that can store nonvolatile data in
computers, servers and other computing devices. It is used to hold/store data and applications
temporarily or for a shorter period of time while the computer is running.
Primary storage is also known as main storage, main memory or internal memory. RAM (random
access memory) and cache are both examples of a primary storage device.
Random Access Memory (RAM):
➢ The RAM is where instructions, values are stored at runtime
➢ The RAM can be accessed a lot faster than secondary storage
➢ All information is lost when the power is turned off (volatile)
➢ Allows storage and random access of the data
➢ Each program instruction & piece of data in the RAM has a unique address
Read Only Memory (ROM):
➢ Cannot be written to easily or at all (often times once only, then never again)
➢ In modern PCs usually used for firmware in CPU, Graphics card, hard disks, etc.
➢ Many ROM modules are replaced with Flash modules nowadays (ex. BIOS, firmware
modules) to allow easier updating
➢ In devices like keyboards, etc. which aren’t designed for firmware updates ROM might
still be used
➢ Stores code for interrupter
1. Keyboard:
Keyboards are the most common type of input device. Before keyboards, interaction with
computers was generally carried out using punch cards and paper tape. Most English language
keyboards use the QWERTY layout for the alphabetic keys, surrounded by number, symbol,
function, and other key types. By pressing the relevant keys, the user feeds data and instructions
to the computer.
Figure 1: Keyboard
2. Mouse:
The mouse interacts with a computer through process known as "point and click". Essentially,
when the user moves the mouse on the mouse pad, the pointer moves in a corresponding
direction on the monitor screen. The concept of a computer mouse has its roots in the trackball,
a related pointing device that was invented in 1946, which used a "roller ball" to control the
pointer. Most modern computer mice have two buttons for clicking, and a wheel in the middle
for scrolling up and down web pages.
Figure 2: Mouse
3. Touchpad:
Also known as a trackpad, a touchpad is a common substitute for a computer mouse.
Essentially a specialized surface that can detect the movement of the user's finger and use that
information to direct a pointer and control a computer. Touchpads were first introduced for
laptops in the 1990's, and it's now rare to find a laptop without one.
4. Scanner:
The word "scanner" can be used in a number of different ways in the computer world, but here
I am using it to mean a desktop image scanner. Essentially, it's an input device that uses optical
technology to transfer images (or sometimes text) into a computer, where the signal is
converted into a digital image. The digital image can then be edited, emailed, or printed.
Figure 4: Scanner
5. Digital Camera:
Digital cameras can be used to capture photographs and videos independently. Later, the files
can be transferred to the computer, either by connecting the camera directly with a cable,
removing the memory card and slotting it into the computer, or through other transfer methods
such as Bluetooth. Once the photos are on the computer, they can be edited, emailed, or printed.
Figure 6: Microphone
7. Joystick:
Joysticks are commonly used as a way of controlling computer video games (as well as having
a host of other uses, such as controlling jet planes and construction machinery). Essentially,
the joystick is a stick that pivots on a base and sends its angle or direction to the computer.
There is also often a trigger, as well as one or more buttons that can be pressed too.
Figure 7: Joystick
8. Graphic Tablet:
Also known as digitizers, graphic tablets are input devices used for converting hand-drawn
artwork into digital images. The user draws with a stylus on a special flat surface, as if they
were drawing on a piece of paper. The drawing appears on the computer screen and can be
saved, edited, or printed. Instead of just scanning finished drawings into the computer using a
scanner, the graphic tablet offers greater control and versatility for artists.
9. Touch Screen:
Many devices nowadays use a touch screen rather than a mouse as a way for users to point,
drag, or select options on a screen. As the name suggests, a touch screen is a touch sensitive
screen which reacts to fingers moving across it. Touch screens are particularly common with
portable devices, such as tablets, palmtops, laptops, and smartphones.
Definition of interpreter:
An interpreter is a computer program, which coverts each high-level program statement into the
machine code. This includes source code, pre-compiled code, and scripts. Both compiler and
interpreters do the same job which is converting higher level programming language to machine
code. However, a compiler will convert the code into machine code (create an exe) before program
run. Interpreters convert code into machine code when the program is run.
Difference between Compiler and Interpreter:
Let’s look at major differences between Compiler and Interpreter.
1. The compiler takes a program as a whole and translates it, but interpreter translates a
program statement by statement.
2. Intermediate code or target code is generated in case of a compiler. As against interpreter
doesn’t create intermediate code.
3. A compiler is comparatively faster than Interpreter as the compiler take the whole program
at one go whereas interpreters compile each line of code after the other.
4. The compiler requires more memory than interpreter because of the generation of object
code.
5. Compiler presents all errors concurrently, and it’s difficult to detect the errors in contrast
interpreter display errors of each statement one by one, and it’s easier to detect errors.
6. In compiler when an error occurs in the program, it stops its translation and after removing
error whole program is translated again. On the contrary, when an error takes place in the
interpreter, it prevents its translation and after removing the error, translation resumes.
7. In a compiler, the process requires two steps in which firstly source code is translated to
target program then executed. While in Interpreter It’s a one-step process in which Source
code is compiled and executed at the same time.
8. The compiler is used in programming languages like C, C++, C#, Scala, etc. On the other
Interpreter is employed in languages like PHP, Ruby, Python, etc.
Advantage and Disadvantage of Compiler and Interpreter:
Advantage of Compiler:
The program code is already translated into machine code. Thus, its code execution time is
less.
Disadvantage of Compiler:
You can't change the program without going back to the source code.
Advantage of Interpreter:
Interpreters are easier to use, especially for beginners.
Disadvantage of Interpreter:
Interpreted programs can run on computers that have the corresponding interpreter.
Advantages of CAI:
✓ One-to-one interaction
✓ Great motivator
✓ Freedom to experiment with different options
✓ Instantaneous response/immediate feedback to the answers elicited
✓ Self-pacing - allow students to proceed at their own pace
✓ Helps teacher can devote more time to individual students
✓ Privacy helps the shy and slow learner to learns
✓ Individual attention
✓ Learn more and more rapidly
✓ Multimedia helps to understand difficult concepts through multi-sensory approach
✓ Self-directed learning – students can decide when, where, and what to learn