90 likes | 200 Vues
This content delves into the fundamental principles of computation, illustrating how information is represented through on/off impulses akin to a light switch. We explore the concept of binary systems, demonstrating how multiple switches can yield various messages. A step-by-step conversion from decimal (Base 10) to binary (Base 2) is presented, including an example with the number 352. Additionally, we discuss the hexadecimal system (Base 16) and the process for transforming decimal numbers into hexadecimal format, enhancing comprehension of numerical representation in computing.
E N D
CSCI N207 Essence of Computation
Computers and Information • Information limited to on/off impulses • Like a light switch • Infinite positions • Two outcomes • The light demo
Working with Multiple Switches • One switch - two messages • Two switches - four messages • Three switches - eight messages
Assigning Values to messages • Looking at the pattern • 1, 2, 4, 8, 16, 32, 64, 128... • Seeing how it works. • The brick counter demo
CSCI N207 Converting from binary to Base 10
Decimal System (Base 10) • What does 352 actually mean?
Binary System (Base 2) • How can we convert 352 to binary?
Hexadecimal System (Base 16) • What are the digits?
Hexadecimal System (Base 16) • How can we convert 352 to hexadecimal?