77
5 23

นางสาวมลทิรา เอกกุล ม.5

  • Upload
    miwmilk

  • View
    1.083

  • Download
    0

Embed Size (px)

Citation preview

Page 1: นางสาวมลทิรา   เอกกุล ม.5

5 23

Page 2: นางสาวมลทิรา   เอกกุล ม.5
Page 3: นางสาวมลทิรา   เอกกุล ม.5
Page 4: นางสาวมลทิรา   เอกกุล ม.5
Page 5: นางสาวมลทิรา   เอกกุล ม.5
Page 6: นางสาวมลทิรา   เอกกุล ม.5

Bit)

Character)

“ ” (Byte)

Field)

Record)

Page 7: นางสาวมลทิรา   เอกกุล ม.5

file structure)

832501 6

30

235/8 30

2253581 7

4000 8

Page 8: นางสาวมลทิรา   เอกกุล ม.5

record) 3.5

IDNO 832501 6

NAME 30

ADDR 235/8 30

TELNO 2253581 7

DEBT 4000 8

Page 9: นางสาวมลทิรา   เอกกุล ม.5
Page 10: นางสาวมลทิรา   เอกกุล ม.5

3.4

3.4 3

008

008

Page 11: นางสาวมลทิรา   เอกกุล ม.5

3 sequential file) random file) (index file)

1)

10 3

Page 12: นางสาวมลทิรา   เอกกุล ม.5

2)

5

3)

Page 13: นางสาวมลทิรา   เอกกุล ม.5

(master file)

Page 14: นางสาวมลทิรา   เอกกุล ม.5

6.2 transaction file)

6.3 (table file)

Page 15: นางสาวมลทิรา   เอกกุล ม.5

51 4,50052 1,20053 4 M 4,50054 8 M 7,00055 50056 200

Page 16: นางสาวมลทิรา   เอกกุล ม.5

inventory master file) customer order master file)

production master file) 3

product code)

product description) product price)

2

Page 17: นางสาวมลทิรา   เอกกุล ม.5

(Table)

(Field) (Record)

(Input Data) Table

- Table (- New (

Page 18: นางสาวมลทิรา   เอกกุล ม.5

Table

(Wizard)

Page 19: นางสาวมลทิรา   เอกกุล ม.5
Page 20: นางสาวมลทิรา   เอกกุล ม.5

Traditional file)

Page 21: นางสาวมลทิรา   เอกกุล ม.5

Error)

1. (Data Redundancy and confusion)2. Program-data dependence)3. Lack of flexibility)4. Poor security)5. Lack of data sharing and availability)

Page 22: นางสาวมลทิรา   เอกกุล ม.5
Page 23: นางสาวมลทิรา   เอกกุล ม.5
Page 24: นางสาวมลทิรา   เอกกุล ม.5
Page 25: นางสาวมลทิรา   เอกกุล ม.5

DATA UNITS)

· bit) 0 1

· character) ASCII 1 8 1

· field)

· record)

· file)

· database)

Page 26: นางสาวมลทิรา   เอกกุล ม.5

DATA TYPES)

· Boolean values)

· integers)

· floating-point numbers)

· characters)

· strings)

· date/time)

· binary)

Page 27: นางสาวมลทิรา   เอกกุล ม.5

· master files)

· (transaction files)

DATA PROCESSING)

· batch processing)

Page 28: นางสาวมลทิรา   เอกกุล ม.5

·

·

FILE ORGANIZATION)

Page 29: นางสาวมลทิรา   เอกกุล ม.5

FILE SYSTEMS)

· data redundancy)

· (data inconsistency)

· data isolation)

· (poor security)

· lack of data integrity)

· application / data

dependence)

Page 30: นางสาวมลทิรา   เอกกุล ม.5

File Type)

2

1. (Master File)Customer master file)

Supplier master file) (Inventory master file)

Account master file) Account

system)

2. (Transaction file)

Page 31: นางสาวมลทิรา   เอกกุล ม.5

Add record) Delete record) Edit)

File organization)

1. (Sequential File organization)

Key field)

Page 32: นางสาวมลทิรา   เอกกุล ม.5

1.

1.

2. 2.

Page 33: นางสาวมลทิรา   เอกกุล ม.5

2. (Direct or random file organization)

Hard disk)

Direct access) Random Access)

(Index)

(Indexed Sequential Access Method (ISAM)

Page 34: นางสาวมลทิรา   เอกกุล ม.5

1.

1.

2. 2.

Page 35: นางสาวมลทิรา   เอกกุล ม.5

File Management)Conventional File)

Inventory) Payroll) Billing)

COBOL language) RPG) PASCAL) (C language)

Page 36: นางสาวมลทิรา   เอกกุล ม.5
Page 37: นางสาวมลทิรา   เอกกุล ม.5

1. (Batch Processing)

10 20

Page 38: นางสาวมลทิรา   เอกกุล ม.5
Page 39: นางสาวมลทิรา   เอกกุล ม.5

5.4 Interactive)

1.

1.

Update)

2.

2.

Page 40: นางสาวมลทิรา   เอกกุล ม.5

2. Interactive)

(Stock)

Page 41: นางสาวมลทิรา   เอกกุล ม.5
Page 42: นางสาวมลทิรา   เอกกุล ม.5

1.

Data Structure)

2.

2

Page 43: นางสาวมลทิรา   เอกกุล ม.5

Physical Data Structure)

Page 44: นางสาวมลทิรา   เอกกุล ม.5

1. Primitive Data Types)

- (Integer)

- (Floating point)

- (Boolean)

- (Real)

- (Character)

2. Structure Data Types)

- (Array)

- (Record)

- (File)

Page 45: นางสาวมลทิรา   เอกกุล ม.5

Top-down Design) 2

1. (Data Strutcure)

2. (Module Design)

Page 46: นางสาวมลทิรา   เอกกุล ม.5

(Coding)

(Integration)

Page 47: นางสาวมลทิรา   เอกกุล ม.5

1. Top-Down)

2. (Control Structure)

IF 3. Local Variable)

4. Parameter)

5. Constant Variable)

6.

Page 48: นางสาวมลทิรา   เอกกุล ม.5

(Bit)

2 2 0 1 (Binary Digit)

(Byte)

3 000,001,010,100,011,010, 111 8

8 256

Page 49: นางสาวมลทิรา   เอกกุล ม.5

(Integer)

20 = 1, 23 = 8 21 + 22 +25 = 2+4+32 = 38

One-complement Notation 0 1 1

0 00100110 = 38 11011001 = -38

Sign Bit 16 Two-complement Notation

1 One-complement Notation11011001 = -38 1 11011010 = -38

-2n-1 2n-1 -1 1000000000000000 = -32768 0000000000000000 = 01000000000000001 = -32767 0000000000000001 = 11000000000000010 = -32766 0000000000000010 = 2

1111111111111101 = -3 0111111111111101 = 327651111111111111110 = -2 0111111111111110 = 327661111111111111111 = -1 0111111111111111 = 32767

Page 50: นางสาวมลทิรา   เอกกุล ม.5

(Real Number)

Floating – point Number

Mantissa)

(Exponent) Two – complement Notation

10 01 = 10-2, 6.25 x 10-2 32 24

8 00000000000000000000000000000000 = 000000000000000000000110000000011 = 1200000000000000000000000010111111111 = 0.500000000000000000000010111111010 = 0.00000511111111011010001001111111111110 = -387.53

Page 51: นางสาวมลทิรา   เอกกุล ม.5

(Character)

8 Bit String

256 EBCDIC)

A 01000001 = 65 B 01000010 = 66

7 ASCII Code)

AB 0100000101000010

Page 52: นางสาวมลทิรา   เอกกุล ม.5

System) Input Process output Feedback

Information system)

Page 53: นางสาวมลทิรา   เอกกุล ม.5

1. (Accuracy)

2. Timeliness)

Page 54: นางสาวมลทิรา   เอกกุล ม.5

3. (Completeness)

100

Page 55: นางสาวมลทิรา   เอกกุล ม.5
Page 56: นางสาวมลทิรา   เอกกุล ม.5

1.

2.

3.

4.

5.

6.

Page 57: นางสาวมลทิรา   เอกกุล ม.5

MIS TPS = Transaction processing Systems)

MRS = Management Reporting System) Grade

report DSS = Decision Support System)

(OIS = Office Information System)

ESS = Executive Support Systems MIS = Management Information Systems DDS = Decision Support Systems OIS = Office Information Systems TPS = Transaction Processing Systems

Page 58: นางสาวมลทิรา   เอกกุล ม.5

Data) Process)

(Information) Administrator)

Decision)

1. 2. 2.1

2.2

2.3

Page 59: นางสาวมลทิรา   เอกกุล ม.5

• accuracy)

Page 60: นางสาวมลทิรา   เอกกุล ม.5

• (relevancy)

• (timeliness)

Page 61: นางสาวมลทิรา   เอกกุล ม.5

Data)

(Information)

Processing)

Page 62: นางสาวมลทิรา   เอกกุล ม.5

x

Page 63: นางสาวมลทิรา   เอกกุล ม.5

5

1. (Numeric Data)

2. Text Data)

3. Audio Data)

4. Images Data)

5. Video Data)

Page 64: นางสาวมลทิรา   เอกกุล ม.5

Data Structure)

1. Bit) 0

12. Byte) Character)

1 0,1…9,A, B,…Z 1 8 1 3. Flied) 1

4. Record)

1 5. Flies)

1/1 50

50 6. Database)

Page 65: นางสาวมลทิรา   เอกกุล ม.5
Page 66: นางสาวมลทิรา   เอกกุล ม.5

3

1.

1.1

1.2

Page 67: นางสาวมลทิรา   เอกกุล ม.5

2.

2.1

2.2

2.3

2.4

Page 68: นางสาวมลทิรา   เอกกุล ม.5

3. 3.1

3.2

3.3

3.4

Page 69: นางสาวมลทิรา   เอกกุล ม.5

(searching)

(Sequencial Search)

2 (Blind Search) (Heuristic Search)

Page 70: นางสาวมลทิรา   เอกกุล ม.5

(Blind Search)

(Blind search)

- (exhaustive search)

- (partial search)

(Depth first search) (Breadth first search)

Page 71: นางสาวมลทิรา   เอกกุล ม.5

(Depth first search)

(Root node)

(Terminal node)

1

Page 72: นางสาวมลทิรา   เอกกุล ม.5

1

Page 73: นางสาวมลทิรา   เอกกุล ม.5

()

(pop)

Page 74: นางสาวมลทิรา   เอกกุล ม.5

(Breadth first search)

(0) 1 1

23

Page 75: นางสาวมลทิรา   เอกกุล ม.5

3

(Queue)

Page 76: นางสาวมลทิรา   เอกกุล ม.5

(Heuristic Search)

(heuristic

search)

(heuristic function)

Page 77: นางสาวมลทิรา   เอกกุล ม.5

(aspects)

Weak Methods Weak Methods

(general-purpose control