This document discusses 6 key components of an information system: hardware, software, peopleware, data, process, and networks. It provides examples of operating systems like Windows and Macintosh that are considered software. The document also briefly mentions mind mapping and blogging as examples of using an information system.
This document discusses 6 key components of an information system: hardware, software, peopleware, data, process, and networks. It provides examples of operating systems like Windows and Macintosh that are considered software. The document also briefly mentions mind mapping and blogging as examples of using an information system.
1. The document discusses the printf() and scanf() functions in C for output and input. It explains how to use format specifiers in printf() such as %d, %f, %c, %s.
2. It also explains how to use scanf() to input values from the keyboard by specifying the address of the variable using &.
3. An example is given showing how to use scanf() to input an integer and float and then print them out.
The document outlines guidelines for waste sorting at a condominium. It describes separating waste into 4 categories: recyclables, food waste, general waste, and hazardous materials. Residents are instructed to sort their waste according to labeled bins and are provided with collection schedules. Non-compliance may result in fines. The condominium aims to promote environmental protection and sustainability through effective waste management.
Python is an easy to learn, high-level, interpretive and object-oriented programming language created by Guido van Rossum that can be used to create web applications, games, desktop applications, databases, systems programs, and AI programs. It has a simple syntax, huge number of libraries, and runs on Windows, Linux, and Mac OS X. Major companies like YouTube, BitTorrent, Reddit, Instagram, and Google use Python for their platforms and applications.
1. ใบความรู้ ที 3
ก F F
ก 4 2 F
ระบบเลขฐานทีเกียวข้ องกับคอมพิวเตอร์
F F F Fก F 0ก 1 F ก
F F ก F กF 4 ก F F FF ก ก
4 ก F ก1 ก
3.1 ระบบเลขฐาน
กF F ก (Digit) F
ก F F ก (0-1) ก (0-7) ก (0-9) 1
F ก F 4 ก F
1). (Binary Number)
2). (Octal Number)
3). (Decimal Number)
4). ก (Hexadecimal Number)
ตารางที 1 แสดงจํานวนตัวเลข ของเลขฐานต่ างๆ
1
2. 1).เลขฐานสอง
F F ก ก ( 0 1) Fก Fก Hardware F F
ก F F F ก Fก F F ก F F ก
10 2 F F F ก กF
Binary Digit (BIT)
2).เลขฐานแปด
Fก 3 ก F
1 ก 6 F 2 ก F
F
3).เลขฐานสิบ
F F ก ก (0,1,2, ,9) F F F ก
กก F 9 F F 10 ก ก F 1 0 ก F F 1 10 F F 333 ( F
) F F 3 F F F F F ก กF ก
F F ก F ก 10 F ก F ก F ก F 10 F
4).เลขฐานสิบหก
ก Fก 4 ก F
ก1 ก 8 F ก2 ก F ก
F
3.2 การเปลียนฐานเลข (Base Number Conversion)
ก F F F ก F 100 F F ก F
F 100 (F F - - )
F F Fก 4 F F F
ก F
F ก ( ) F F F ก กF ก
ก F F F ก
กF F F F ก
ตาราง แสดงค่ าคงทีเฉพาะในแต่ละหลักของเลขฐานสอง
ก F F F 2 F ก F
2
3. 3.2.1 การเปลียนเลขฐานสอง เป็ นเลขฐานสิบ
F F ก 1 ก F (11010)2 ก F 1 3
F ก 1 ก F F 16+8+2 = 26
ก ก ก F F F F F F F
F ก
3
4. F F F 20,21,22,
F F
(1011)2 = (1x23)+(0x22)+(1x21)+(1x20)
= (1x8)+(0x4)+(1x2)+(1x1)
= 8+0+2+1
= 11
3.2.2 การเปลียนเลขฐานสิบ เป็ นเลขฐานสอง
F F ก ก F F F Fก ก ก 1 F
F (26)10 F F F ก 3 ก (16+8+2) 1 F 16,8 2
F F F 0
4
5. ก ก F ก F ก F F กก
F ก F ก กก ก ก F กก ก
F 20 F กก F 2 2 F 21 F
F F
5