COMPUTER STUDIES SS1 Note
COMPUTER STUDIES SS1 Note
TERM)
ToC
1. Output devices
2. Computer System software
3. Computer Application software
4. Programming Languages
5. BASIC programming language
Output devices are devices that enable the computer to communicate the results of
data processing carried out by it to the user. These devices enable the computer to
display text, graphics (pictures and images) and produce sound. Examples of
computer output devices include monitor, printer, speaker, plotter, braille embosser
etc.
2. Printer: A printer is a device attached to the System Unit through the USB cable or
other types of cable. It is used to produce the information (text, graphics, images,
illustrations) showing on the monitor on paper, transparencies, and plastic. Such a
printout is called a hardcopy.
4. Plotter: A special type of printer used for printing drawings, charts, maps etc.
using multi-coloured automated pens. It is usually used by architects, engineers and
surveyors. They are rarely used now and are being replaced by wide-format
conventional printers, which can produce high-quality graphics.
5. Projector: A device that helps direct the content on a display screen (monitor)
onto a particular flat surface.
6. Braille Embosser
CRT monitor
Types of monitor
There are two types of monitor, namely:
1. Monochrome monitor: This monitor displays its characters in only one colour. The
colour could be white, green or amber. Looking at the monochrome monitor, one can
see two colours; one colour for the background and one for the foreground. The two
colour combinations can therefore be black and white, green and black or amber and
black.
Types of printer
There are two types of printer, namely impact and non-impact printers.
C. CHARACTER printer: This prints one character at a time moving across the paper.
The output speed range from 200 to 400 characters per second (cps)
A. INKJET printer: This prints by spraying small streams of quick-drying ink onto the
paper and using it to form characters, shapes and images. The ink is stored in
disposable ink cartridges, which can be black or coloured. They are found in homes
and offices.
B. LASER printer: This uses an electrically charged drum to transfer toner or dry ink
onto paper like the photocopier does. It traces an image by using a computer-
controlled laser beam.
C. THERMAL printer: This prints by transferring dots of ink or dye from a ribbon onto
paper and passing the ribbon and the paper across a line of heating elements. The
characters are produced with a print head containing a matrix of small heating
elements. This printer is very quiet in operation because the printer head does not
strike the paper.
MONITOR PRINTER
Has screen Has no screen
Uses no ribbon, ink, cartridge or toner Uses ribbon, cartridge, ink or toner
Uses no paper Uses paper and printable medium
Display texts, images and pictures Prints text, images and pictures on paper
Some have vacuum tubes or a liquid crystal Has no vacuum tube or a liquid crystal
Has no paper tray Some have paper tray
Definition of software
A computer software (or software) is a general term used to describe a set of
instructions usually called a program, which control the operation of a computer or
used to accomplish a specific task.
Types of software
Software can be broadly divided into two, namely:
i. System software: This software helps direct and control the running of computer’s
hardware and other connected devices. It helps to manage computer resources such
as memory and processor. Examples include Operating system, Translators and utility
software.
ix. Task management: The OS gives control to the program the user brings to the
foreground (from among multiple opened programs).
x. Job management: The OS controls the order and time a particular operation is executed.
An example is when multiple print commands are sent to the printer, the OS spools
the content and schedule which one prints first in a First Come First Serve (FCFS)
approach.
Application software are the programs that enable the computer to perform specific
productive tasks.
Levels of programming
1. Machine language: Is a system of instructions and data directly understood by
the computer’s central processing unit. These instructions and data are combinations
of sequence of bits (0’s and 1’s) with different patterns corresponding to different
commands to the machine.
2. Low level (Assembly) language: This language uses abbreviations or symbolic
letter codes (mnemonics) to write each machine-language instruction. The letter
codes are used in place of binary digits. Programs written in Assembly language are
translated into machine language by an Assembler.
3. High level language: The instructions of this language are written using words
that are very close to human languages and algebra-type expression. They are closer
to human understanding and are translated into machine language by a compiler or an
interpreter.
Features/characteristics of each level of programming language
i) Machine language
1. These instructions consist of binary numbers (set of 0’s and 1’s)
2. This language is machine dependent i.e. instructions written for a particular type of
computer can only be executed on that particular computer(machine).
3. It is very hard for people to write and understand thus making the programs error
prone.
4. Each CPU design has its own machine language, which is the set of instructions that
the CPU of that machine understands and executes.
ii) Low level ( or Assembly) language
1. Uses mnemonics (symbolic operation codes) and operands (symbolic storage
address).
2. Machine dependent
3. For any assembly language instruction, one machine language instruction is
generated.
4. It illustrates fundamentals of computer construction and operation.
iii) High level languages
1. Machine independent: programs written or compiled on one type of Computer can be
executed (run) on different type of computer that has different architecture.
2. It uses instructions that seem English-like and thus closer to human understanding.
3. Easy to detect errors
4. Consists of well-defined syntax and standard.
5. Requires a compiler to translate into machine language before the computer can
execute them.
6. Programs written in HLL are called source code and the compiled version is called
object code.
Comparison of levels of Programming Languages
>=
Greater than or Equal to
A >=B
<=
Less than or Equal to
A <= B
Data types
Data type is a description of the set of values and the basic set of operation that can
be applied to values of the type.
i) Integers: a positive or negative number without decimal. It has a range of values
from -32,768 to 32,767. Each value is stored using 2 bytes of memory (storage) space.
ii) Real numbers: numbers with fractional parts or with a decimal point. It is stored
using 4 bytes of memory space.
iii) Boolean: consist of only two values; “YES and NO” or “True or False” or 1 or 0.
iv) String: a sequence of characters in double quote. For example, “Computer Studies”
is a string value with 16 characters. Each character is stored using 8 bits (one byte) in
the ASCII character set and two byte in the UNICODE character set. Alphabet is
represented in ASCII.
Keyword
Keywords are words that have special meaning and function in BASIC. Such words
must be used strictly according to their functions, otherwise the computer will
respond with error message.
Here are some of the BASIC keywords and their uses
Basic Expression
A BASIC expression is formed when two or more characters, strings, variables or
constants are combined with arithmetic, relational or logical operators
Examples include:
1. F2 + 7 (add 7 to the value in the variable F2)
2. A+ B (add the value in A to the value in B)
Arithmetic expression and their BASIC expression
CREDITS: basmust4real.blogspot.com
By K-Koders Blog at November 11, 2018
Email ThisBlogThis!Share to TwitterShare to FacebookShare to Pinterest
Labels: STUDENTS CORNER
No comments:
Post a comment
Please leave a comment