Binary Numbers
Binary Arithmetic
Hexadecimals
Abstraction Layers
Python Programming
100

A binary number is a number expressed in the ___-__ numeral system.

What is base-2?

100

You do this to convert binary numbers to decimal. 

What is multiply each bit by 2 raised to its position power (starting from 0 on the right).

100

0 in hexadecimal. 

What is 0?

100
User Interaction. 

What is applications? 

100

An easy to learn object-oriented programming language.

What is Python? 

200

In binary this number is represented as off. 

What is 0? 

200

You do this to convert decimal numbers to binary. 

What is divide the number by 2, write down the remainder 0 or 1, until you reach 0. 

200

14 in Hexadecimal. 

What is E? 

200
Physical Hardware. 

What are transistors and hardware?  

200

bin() function.

What is converts decimal numbers to binary? 

300

In binary this number is represented as on. 

What is 1? 

300

The rules of binary addition. 

0 + 0 = 0

0 + 1 = 1

1 + 0 = 1

1 + 1 = 10 (which is 0, carry 1)

300

11 in hexadecimal. 

What is B? 

300

Instruction Set Architecture. 

What is Machine Code? 

300

NOT Gate Truth Table.

What is 0 = 1 and 1 = 0?

400

The natural language of computers. 

What are binary numbers? 

400

The rules of binary subtraction. 

0 - 0 = 0

1 - 0 = 1

1 - 1 = 0

0 - 1 = 1 (borrow 1 from the left)

400

8 in hexadecimal. 

What is 8? 

400

High-Level Programming.

What is High-Level language? 

400

AND Gate Truth Table

What is 0 0 = 0 0 1 = 0 1 0 = 0 1 1 = 1?


500

Just like the decimal system, the binary system is a

What is a positional numeral system? 

500

101010 + 111100 = ___________

What is 1100110?

500

A7 in binary. 

What is 10100111?

500

Low-Level Programming.

What is Assembly Language? 

500

Order this program. 

a def

 add_numbers( , b):

    return a + 

bdef

What is 

def add_numbers(a, b):

    return a + b

600

135 converted to binary. 

What is 10000111?

600

100101 - 11011 = ___________

What is 001010 or 1010?

600

8F3 in binary. 

What is 100011110011?

600

Logic Gates and Circuits.

What are Logic Gates? 

600

Converts decimal numbers to binary. 

 What is: 

def decimal_to_binary(n):

    return bin(n)[2:]


# Example usage

decimal_number = int(input("Enter a decimal number: "))

print("Binary equivalent:", decimal_to_binary(decimal_number))


def binary_to_decimal(b):

    return int(b, 2)


# Example usage

binary_number = input("Enter a binary number: ")

print("Decimal equivalent:", binary_to_decimal(binary_number))