42
Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Embed Size (px)

Citation preview

Page 1: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

PengantarTeknologi Informasi

danIlmu Komputer

Information Technology and Data Representation

PTIIK- UB

Page 2: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

DEFINITION: Information Technology (IT) describes any technology that helps to produce, manipulate, store, communicate, and/or disseminate information.

• Part 1: Computer Technology

• Part 2: Communications Technology

Information Technology

Adopted and Adapted from Williams and Sawyer (2012) "Using IT"

Page 3: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Problem of Information

Adopted and Adapted from Gonnick and Wheelis (1984)

Page 4: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Adopted and Adapted from Gonnick and Wheelis (1984)

Page 5: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Adopted and Adapted from Gonnick and Wheelis (1984)

Page 6: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Adopted and Adapted from Gonnick and Wheelis (1984)

Page 7: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Adopted and Adapted from Williams and Sawyer (2012) "Using IT"Adopted and Adapted from Gonnick and Wheelis (1984)

Page 8: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Adopted and Adapted from Gonnick and Wheelis (1984)

Page 9: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Bits and their meaning

Bit = Binary Digit = a symbol whose meaning depends on the application at hand.

Some possible meanings for a single bit– Numeric value (1 or 0)– Boolean value (true or false)– Voltage (high or low)

Adopted and Adapted from Brookshear (2012)

Page 10: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Bit patterns

All data stored in a computer are represented by patterns of bits:– Numbers– Text characters– Images– Sound– Anything else…

Adopted and Adapted from Brookshear (2012)

Page 11: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Boolean operations

Boolean operation = any operation that manipulates one or more true/false values– Can be used to operate on bits

Specific operations– AND– OR– XOR– NOT

Adopted and Adapted from Brookshear (2012)

Page 12: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

The Boolean operations AND, OR, and XOR (exclusive or)

Adopted and Adapted from Brookshear (2012)

Page 13: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Gates

Gates = devices that produce the outputs of Boolean operations when given the operations’ input values– Often implemented as electronic circuits– Provide the building blocks from which computers

are constructed

Adopted and Adapted from Brookshear (2012)

Page 14: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

A pictorial representation of AND, OR, XOR, and NOT gates

Adopted and Adapted from Brookshear (2012)

Page 15: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Hexadecimal notation

Hexadecimal notation = a shorthand notation for streams of bits.– Stream = a long string of bits.– Long bit streams are difficult to make sense of.– The lengths of most bit streams used in a machine

are multiples of four.– Hexadecimal notation is more compact.

Less error-prone to manually read, copy, or write

Adopted and Adapted from Brookshear (2012)

Page 16: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

The hexadecimal coding system

Adopted and Adapted from Brookshear (2012)

Page 17: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

1-17

Main memory: cells

Cells = manageable units (typically 8 bits) into which a computer’s main memory is arranged.

Byte = a string of 8 bits. High-order end = the left end of the conceptual row in

which the contents of a cell are laid out. Low-order end = the right end of the conceptual row in

which the contents of a cell are laid out.– Least significant bit = the last bit at the low-order end.

Page 18: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

The organization of a byte-size memory cell

Adopted and Adapted from Brookshear (2012)

Page 19: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

1-19

Main memory addresses

Address = a “name” to uniquely identify one cell in the computer’s main memory

The names for cells in a computer are consecutive numbers, usually starting at zero

Cells have an order: “previous cell” and “next cell” have reasonable meanings

Random Access Memory = memory where any cell can be accessed independently

Page 20: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Memory cells arranged by address

Adopted and Adapted from Brookshear (2012)

Page 21: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Measuring memory capacity: Not quite like the metric system

“Kilo-” normally means 1,000;Kilobyte = 210 = 1024

“Mega-” normally means 1,000,000;Megabyte = 220 = 1,048,576

“Giga-” normally means 1,000,000,000;Megabyte = 230 = 1,073,741,824

Adopted and Adapted from Brookshear (2012)

Page 22: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Mass Storage Systems

Non-volatile; data remains when computer is off Usually much bigger than main memory Usually rotating disks

– Hard disk, floppy disk, CD-ROM– Much slower than main memory

Data access must wait for seek time (head positioning)

Data access must wait for rotational latency

Adopted and Adapted from Brookshear (2012)

Page 23: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

A disk storage system

Adopted and Adapted from Brookshear (2012)

Page 24: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

CD storage format

Adopted and Adapted from Brookshear (2012)

Page 25: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

A magnetic tape storage mechanism

Adopted and Adapted from Brookshear (2012)

Page 26: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Files

File = the unit of data stored on a mass storage system.– Logical record and Field = natural groups of data

within a file Physical record = a block of data conforming to the

physical characteristics of the storage device. Buffer = main memory area sometimes set aside for

assembling logical records or fields of a file

Adopted and Adapted from Brookshear (2012)

Page 27: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Logical records versus physical records on a disk

Adopted and Adapted from Brookshear (2012)

Page 28: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

The message “Hello.” in ASCII

Adopted and Adapted from Brookshear (2012)

Page 29: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Representing text

Each printable character (letter, punctuation, etc.) is assigned a unique bit pattern.– ASCII = 7-bit values for most symbols used in written

English text– Unicode = 16-bit values for most symbols used in

most world languages today– ISO proposed standard = 32-bit values

Adopted and Adapted from Brookshear (2012)

Page 30: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

1-30

Representing numeric values

Binary notation – uses bits to represent a number in base two

Limitations of computer representations of numeric values– Overflow – happens when a number is too big to be

represented– Truncation – happens when a number is between

two representable numbers

Page 31: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

The sound wave represented by the sequence 0, 1.5, 2.0, 1.5, 2.0,

3.0, 4.0, 3.0, 0

Adopted and Adapted from Brookshear (2012)

Page 32: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

The base ten and binary systems

Adopted and Adapted from Brookshear (2012)

Page 33: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Decoding the binary representation 100101

Adopted and Adapted from Brookshear (2012)

Page 34: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

An algorithm for finding the binary representation of a positive integer

Adopted and Adapted from Brookshear (2012)

Page 35: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Applying the algorithm to obtain the binary representation of thirteen

Adopted and Adapted from Brookshear (2012)

Page 36: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

The binary addition facts

Adopted and Adapted from Brookshear (2012)

Page 37: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Decoding the binary representation 101.101

Adopted and Adapted from Brookshear (2012)

Page 38: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Representing Integers

Unsigned integers can be represented in base two Signed integers = numbers that can be positive or

negative– Two’s complement notation = the most popular

representation– Excess notation = another less popular

representation

Adopted and Adapted from Brookshear (2012)

Page 39: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Two’s complement notation systems

Adopted and Adapted from Brookshear (2012)

Page 40: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Coding the value -6 in two’s complement notation

using four bits

Adopted and Adapted from Brookshear (2012)

Page 41: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

Addition problems converted to two’s complement notation

Adopted and Adapted from Brookshear (2012)

Page 42: Pengantar Teknologi Informasi dan Ilmu Komputer Information Technology and Data Representation PTIIK- UB

References

Williams, B.K., and Sawyer, S.C. (2007). Using Information Technology: A Practical Introduction to Computers & Communications. 10th Edition, McGraw-Hill, New York.

Brookshear, J.G. (2012) Computer Science: an Overview. 12th edition. Addison-Wesley.

Gonick, L., and Wheelis, M. (1983) The Cartoon Guide to the Computer. Barnes and Noble Books.