วันศุกร์ที่ 12 กุมภาพันธ์ พ.ศ. 2553

Work_7_Analog and API

Analog 

As humans, we perceive the world in analog. Everything we see and hear is a continuous transmission of information to our senses. This continuous stream is what defines analog data. Digital information, on the other hand, estimates analog data using only ones and zeros.

For reads bumps and grooves from a record as a continuous signal, while a CD player only reads a series of ones and zeros. Likewise, a VCR is an analog device, while a DVD player is digital. A VCR reads audio and video from a tape as a continuous stream of information, while a DVD player just reads ones and zeros from a disc.

Since digital devices read only ones and zeros, they can only approximate an audio or video signal. This means analog data is actually more accurate than digital data. However, digital data can can be manipulated easier and preserved better than analog data. More importantly, computers can only handle digital data, which is why most information today is stored digitally. But if you want to transfer video from old analog video tapes into your computer so you can edit them, you're not out of luck. You can use a digital to analog converter (DAC) to convert the analog information into a digital signal that can be recognized by your computer.example, a turntable (or record player) is an analog device, while a CD player is digital. This is because a turntable

แปล
มนุษย์เรารับรู้ถึงอะนาล็อกที่มีอยู่บนโลก ทุกสิ่งที่เราเห็นและได้ยิน คือ การส่งต่อข้อมูลด้วยความรู้สึกของเราเป็นกระแสอย่างต่อเนื่อง และเป็นสิ่งที่กำหนดข้อมูลอะนาล็อก ข้อมูลดิจิตอลบนมือเรา โดยข้อมูลอะนาล็อกที่นำมาใช้ต้องเป็น 1 และ 0 เท่านั้น

เช่น เครื่องเล่นแผ่นเสียง (จานเสียง) เป็นอุปกรณ์อะนาล็อก ขณะที่เครื่องเล่น CD เป็นดิจิตัล เนื่องจากเครื่องเล่นแผ่นเสียงอ่าน Bumps และ grooves จากการบันทึกเป็นสัญญาณต่อเนื่อง ในขณะที่เครื่องเล่น CD อ่าน 1 และ 0 เท่านั้น ฉะนั้นโฮมเทียเตอร์เป็ฯอุปกรณ์อะนาล็อก ขณะที่เครื่องเล่น DVD เป็นดิจิตัล โฮมเทียเตอร์อ่านเสียงและวิดีโอจากเทปเป็นกระแสต่อเนื่อง ในขณะที่เครื่องเล่น DVD อ่าน 0 กับ 1 จากแผ่น

นับตั้งแต่อุปกรณ์ดิจิตัลอ่าน 1 กับ 0 จะสามารถประมาณสัญญาณเสียงหรือวิดีโอ ซึ่งหมายความว่าข้อมูลอะนาล็อกเป็นจริง ถูกต้องมากขึ้นกว่าข้อมูลดิจิตัล แต่ข้อมูลดิจิตัลที่สามารถจัดการได้ง่ายขึ้น และรักษาดีกว่าข้อมูลอะนาล็อก ที่สำคัญคอมพิเตอร์สามารถจัดการกับข้อมูลดิจิตัล ในวันนี้ข้อมูลส่วนใหญ่จะถูกจัดเก็บแบบดิจิตัลมากที่สุด แต่ถ้าคนต้องการถ่ายโอนวิดีโอ จากวิดีโอเทปอะนาล็อกเดิมในคอมพิวเตอร์ของคุณ เพื่อสามารถแก้ไขและคุณสามารถใช้ดิจิตัลเพื่อแปลงอะนาล็อก (DAC) เพื่อแปลงข้อมูลอะนาล็อกเป็นสัญญาณดิจิตัล ที่สามารถได้รับการรับรองจากคอมพิวเตอร์ของคุณ
________________________________________________________

API (Application Program Interface)

Stands for "Application Program Interface," though it is sometimes referred to as an "Application Programming Interface." An API is a set of commands, functions, and protocols which programmers can use when building software for a specific operating system. The API allows programmers to use predefined functions to interact with the operating system, instead of writing them from scratch.
All computer operating systems, such as Windows, Unix, and the Mac OS, provide an application program interface for programmers. APIs are also used by video game consoles and other hardware devices that can run software programs. While the API makes the programmer's job easier, it also benefits the end user, since it ensures all programs using the same API will have a similar user interface.

แปล

API ย่อมาจาก “Application Program Interface” แม้บางครั้งจะเรียกว่า “Application Programming Interface” API คือชุดคำสั่งฟังก์ชั่นและโปรโตคอลที่โปรแกรมเมอร์สามารถสร้างซอฟต์แวร์สำหรับระบบปฏิบัติการโดยเฉพาะ API จะช่วยให้เขียนโปรแกรม เพื่อใช้งานตามที่กำหนดล่วงหน้า เพื่อโต้ตอบระบบปฏิบัติการ
ทุกระบบปฏิบัติการคอมพิวเตอร์ เช่น Windows , Unix และ Mac OS ใช้อินเตอร์เฟสโปรแกรมประยุกต์ สำหรับโปรแกรมเมอร์ API สำหรับเกมส์วิดีโอ Consoles และอุปกรณ์ฮาร์ดแวร์อื่นๆ ที่สามารถใช้โปรแกรมซอฟต์แวร์ ขณะที่ API ทำให้งานของโปรแกรมเมอร์ง่ายขึ้น ทั้งยังมีประโยชน์ต่อผู้ใช้ เนื่องจากทำให้โปรแกรมที่ใช้กัน มีส่วนติดต่อผู้ใช้ที่คล้ายกัน

ไม่มีความคิดเห็น:

แสดงความคิดเห็น