US1MACSC01
US1MACSC01
Computer systems may be classified according to the data they are designed to
process or they may be classified according to their size and capabilities.
The data required for processing may be obtained either as a result of counting or
through some measuring device. Data obtained through counting is known as
discrete data, while that obtained through measuring instruments is known as
continuous data. An example of discrete data is the number of marks obtained by
a student in an examination, while the constant monitoring of the Electro-
Cardiogram of a patient is an example of continuous data.
There are three types of computer under this category. They are:
1. Analogue Computer :
2. Digital Computers:
These computers are designed in such a way that they can easily perform
calculations and logical operations at high speed. Such a type of computer takes
up raw data as input and processes it with programs stored in its memory to
produce the final output. A Digital computer only understands the binary input 0
and 1, so the raw input data is converted to 0 and 1 by the computer and further
processed by the computer to give the result or final output. Present-day modern
electronic gadgets such as laptops, and desktops including smartphones are
digital computers.
OR
These are computer designed to processed data in discrete numerical form which
are represented by discrete signal using binary code, numbers, letters, and
symbols are represented by codes based on the binary number system consisting
of two digits .i.e. 1,0 the digital computer must convert all data to binary form.
Generally, results from digital computer are more than the results from analog
computers. They are used for counting and calculating numbers. Examples are
calculator, adding machine, counting machine, etc.
They can be used for both counting and measuring. In fact, they are very useful in
the control of manufacturing and processing.
Unit-2:
Types of Codes
1. ASCII
2. BCD
3. EBCDIC
4. UniCode
1. ASCII
2. BCD
Binary-Coded Decimal
BCD is also known as packet decimal and is numbers 0 through 9 converted
to four-digit binary.
It is four bit number
A list of the decimal numbers 0 through 9 and the binary conversion in
table.
The BCD code is so called 8421 code because each of the four bits is given a
'weighting' according to its column value in the binary system. The least
significant bit (lsb) has the weight or value 1, the next bit, going left, the
value 2, next bit value 4, and msb 8.
Decimal to BCD
356 3-0011
5-0101
6-0110
356 00110100110
(110100110)BCD
Decimal : 25
BCD in 8421 8 4 2 1
For 2= 0010 = 0+0+2+0
5 = 0101 = 0+4 +0+1
Therefor, (25)10 (00100101)BCD (100101)BCD
3. EBCDIC
Extended Binary Coded Decimal Interchange Code.
EBCDIC was first developed by IBM and is a coding method that present
letters, numbers, or other symbols in a binary language.
EBCDIC is similar to ASCII commonly used on most computers and
computer equipment today.
EBCDIC uses 8 bits to represent a single character, and it represents a 256
(28) alphanumeric and special characters.
Several disadvantages to EBCDIC. When compared to ASCII, the same
character which takes 7 bits to represent in ASCII will take 8 bits in EBCDIC.
Therefore, EBCDIC is less efficient than ASCII.
For example,
“computer” in EBCDIC, c = 83, o=96 m=94, p=97, u=A4, t=A3, e=85, r=99
Therefor, “computer” in EBCDIC = 83 96 94 97 A4 A3 85 99
4. UniCode
A worldwide standard where each character uses a unique number
between U+0000 and U+10FFFF.
Unicode may be 8-bit, 16-bit, or 32-bit. Numbers, mathematical notation,
popular symbols and characters from all languages are assigned a code
point.
A common type of Unicode is UTF-8, which utilizes 8-bit character
encoding.
It is often used in Linux environments, to encode foreign characters so they
display properly when output to a text file.
Unicode can represent 65000 different characters and symbols of different
languages.
For example, Capital letters A to Z represents with U+0041 to U+005A and
small letters a to z represents with U+0061 to U+007A.
A - U+0041 H - U+0048 O - U+004F V - U+0056
B - U+0042 I - U+0049 P - U+0050 W - U+0057
C - U+0043 J - U+004A Q - U+0051 X - U+0058
D - U+0044 K - U+004B R - U+0052 Y - U+0059
E - U+0045 L - U+004C S - U+0053 Z - U+005A
F - U+0046 M - U+004D T - U+0054
G - U+0047 N - U+004E U - U+0055
“HELLO” in unicode is “U+0048 U+0045 U+004C U+004C U+004F”
"Computer" would be written in English Unicode.
U+0043 U+006F U+006D U+0070 U+0075 U+0074 U+0065 U+0072
Binary Code:
Binary code is used in digital computers.
It is based on a binary number system in which there are only two
possible states, off and on, usually symbolized by 0 and 1.
Whereas in a decimal system, which employs 10 digits, each digit
position represents a power of 10 (100, 1,000, etc.), in a binary
system each digit position represents a power of 2 (4, 8, 16, etc.).
In binary code, each decimal number (0–9) is represented by a set of
four binary digits, or bits.
Parity Bit:
A parity bit, also known as a check bit, is a single bit of data added to
a binary string to help detect errors during data transmission or
storage. The parity bit's value is either 0 or 1, and it's automatically
selected to ensure that the total number of 1s in the data is even or
odd.
There are two types of parity bits: even and odd:
Even parity:
o If the count of 1s in a given set of bits is odd, the parity bit's
value is set to 1 to make the total count even. If the count is
already even, the parity bit's value is set to 0.
Odd parity:
o The coding is reversed from even parity. If the count of 1s is
even, the parity bit's value is set to 1 to make the total count
odd. If the count is already odd, the parity bit's value is set to
0.
When the data is received, the number of 1s is checked. If it's
different from the parity bit's value, an error has likely occurred. For
example, if the parity bit is odd and the data has an even number of
1s, the total number will be odd, causing an error.
Nibble nb 4 bits
Byte B 8 bits
KiloByte KB 1024
bytes
MegaByte MB 1024 KB
GigaByte GB 1024 MB
TeraByte TB 1024 GB
PetaByte PB 1024 TB
What is Number System?
A digital system can understand positional number system only where
there are a few symbols called digits and these symbols represent different
values depending on the position they occupy in the number.
A value of each digit in a number can be determined using
o The digit
o The position of the digit in the number
o The base of the number system (where base is defined as the total
number of digits available in the number system).
Mail Merge
Mail Merge is a useful tool that allows you to produce multiple letters, labels,
envelopes, name tags, and more using information stored in a list, database, or
spreadsheet.
When performing a Mail Merge, you will need a Word document (you can start
with an existing one or create a new one) and a recipient list, which is typically an
Excel workbook.
Step 1:
From the Mail Merge task pane on the right side of the Word window,
choose the type of document you want to create. In our example, we'll
select Letters. Then click Next: Starting document to move to Step 2.
Step 2:
Select Use the current document, then click Next: Select recipients to move
to Step 3.
Step 3:
Now you'll need an address list so Word can automatically place each
address into the document. The list can be in an existing file, such as an
Excel workbook, or you can type a new address list from within the Mail
Merge Wizard.
1. Select Use an existing list, then click Browse to select the file.
4. In the Mail Merge Recipients dialog box, you can check or uncheck
each box to control which recipients are included in the merge. By
default, all recipients should be selected. When you're done, click OK.
5. Click Next: Write your letter to move to Step 4.
Note: If you don't have an existing address list, you can click the Type a new list
button and click Create, then type your address list manually.
Step 4:
Now you're ready to write your letter. When it's printed, each copy of the letter
will basically be the same; only the recipient data (such as the name and address)
will be different. You'll need to add placeholders for the recipient data so Mail
Merge knows exactly where to add the data.
6. When you're done, click Next: Preview your letters to move to Step-
5.
Note: For some letters, you'll only need to add an Address block and Greeting
line. But you can also add more placeholders (such as recipients' names or
addresses) in the body of the letter to personalize it even further.
Step 5:
1. Preview the letters to make sure the information from the recipient
list appears correctly in the letter. You can use the left and right scroll
arrows to view each version of the document.
3. The Print dialog box will appear. Adjust the print settings if needed,
then click OK. The letters will be printed.
Challenge!
1. Open our practice document and practice recipient list.
2. Use the Mail Merge Wizard to merge the letter with the recipient list.
3. Insert an address block at the top of the document. Choose the
second format: Joshua Randall Jr.
4. Above the body of the letter, insert a Greeting Line. Format the
greeting line so it says Mr. Randall,
5. Check your letters to make sure they are formatted correctly. Your
third letter should look something like this: