Saturday, January 3, 2026

2. Number System

2.1 Concept of Number System

 DOWNLOAD PDF LINK



 2.1 Concept of Number System: 

Definition of Number systems, Application of Number system conversion 

 2.2 Binary Calculation: Addition, Subtraction

 2.3 Number Conversion 

 2.3.1 Decimal to Binary, Octal, Hexadecimal. 

 2.3.2 Binary, Octal, Hexadecimal to Decimal 

 2.3.3 Binary to Hexadecimal and vice versa , Binary to octal and vice versa






The concept of numbers developed early in human history when people used fingers, sticks, pebbles, knots of rope, and symbols to count objects and perform simple calculations like addition and subtraction. As human needs increased, different calculating methods and devices were invented. Today, numbers are used in daily life for various purposes such as counting, measuring, and calculating.

 

A number system is a method of writing numbers using a specific set of symbols and rules. Different number systems use different symbols and follow different rules for representing numbers and performing calculations.

 

For example, the decimal number system is the most commonly used number system in daily life. It consists of 10 symbols (0 to 9). Using these symbols, we can represent any number. Due to its simplicity and ease of understanding, the decimal number system is widely used around the world.

 

a) What is a digit? What is a computer word?

A digit is a single symbol used to represent a number in a number system, such as 0–9 in the decimal system.
A computer word is a fixed-sized group of bits that a computer processes as a single unit, usually representing data or instructions.

 

b) Define the base or radix of the number system.

The base or radix of a number system is the total number of unique digits or symbols used in that system.
For example, the decimal number system has base 10, while the binary number system has base 2.

 

c) Which language is used by computer systems, smartphones, and tablets?

Computer systems, smartphones, and tablets use binary language, which consists of only two digits: 0 and 1.

 

Types of Number Systems (Definition with Example)

 

Decimal Number System:
The decimal number system is a number system that uses 10 digits (0–9) and has a base of 10. It is commonly used in daily life.
Example: 456₁₀

 

Binary Number System:
The binary number system is a number system that uses two digits (0 and 1) and has a base of 2. It is used by computers and digital devices.
Example: 1011₂

 

Octal Number System:
The octal number system is a number system that uses 8 digits (0–7) and has a base of 8. It is used as a compact form of binary numbers.
Example: 157₈

Hexadecimal Number System:
The hexadecimal number system is a number system that uses 16 symbols (0–9 and A–F) and has a base of 16. It is widely used in computer programming.
Example: 2F₁₆

 

Application of Number System Conversion

 

Number system conversion has important applications in computer science and digital technology. Since computers use the binary number system to process data, it is necessary to convert numbers between binary, decimal, octal, and hexadecimal systems.

 

In digital logic design, electronic circuits and components work using binary and hexadecimal values, making number system conversion essential. In computer networking, IP addresses are often represented in dotted-decimal or hexadecimal form, so conversion helps in understanding and configuring networks.

 

Number system conversion is also widely used in fields such as cryptography, computer graphics, and signal processing to represent and manage data efficiently. Therefore, understanding number system conversion is crucial for anyone working with digital devices and computer systems.

 

2.2 Binary Calculation

Binary calculation refers to performing arithmetic operations using the binary number system, which consists of only two digits: 0 and 1. Since computers work internally using binary numbers, binary calculations are essential in computer science.

 

There are four main types of binary calculation:

i. Binary Addition
ii. Binary Subtraction
iii. Binary Multiplication
iv. Binary Division

 

Binary Addition

Binary numbers are added in a similar way to decimal numbers, but using only the digits 0 and 1.

Rules of Binary Addition

A

B

A + B

0

0

0

0

1

1

1

0

1

1

1

10 (0 with carry 1)

 

Steps of Binary Addition

Step 1: Align the binary numbers properly, just like decimal addition.
Step 2: Start adding from the rightmost bit.
Step 3: Add the digits using the rules of binary addition.
Step 4: Carry the extra bit if the result is 10.
Step 5: Repeat the process until all columns are added.

Example of Binary Addition

   1100

 + 0101

 --------

  10001

Hence, 1100₂ + 0101₂ = 10001₂

 

Binary Subtraction

Binary subtraction is also similar to decimal subtraction and follows specific rules using borrowing when needed.

 

Rules of Binary Subtraction

 

A

B

A − B

0

0

0

1

0

1

1

1

0

0

1

1 (with borrow)

 

Example of Binary Subtraction

   10111

 - 00101

 --------

   10010

Hence, 10111₂ − 00101₂ = 10010₂

 

Binary Multiplication

Binary multiplication is simpler than decimal multiplication because it involves only 0 and 1.

 

Rules of Binary Multiplication

A

B

A × B

0

0

0

0

1

0

1

0

0

1

1

1

 

Steps of Binary Multiplication

  1. Write the numbers properly aligned.
  2. Multiply each digit of the multiplier with the multiplicand.
  3. Shift left for each next digit (like decimal multiplication).
  4. Add all partial products using binary addition.

 

 

 

 

Example of Binary Multiplication

    101

 ×   11

 -------

    101

 + 1010

 -------

   1111

Hence, 101₂ × 11₂ = 1111₂

 

Binary Division

Binary division is similar to decimal division but is performed using binary digits 0 and 1.

Steps of Binary Division

  1. Compare the divisor with the leftmost bits of the dividend.
  2. If the divisor is smaller or equal, subtract it and write 1 in the quotient.
  3. If smaller, write 0 and bring down the next bit.
  4. Repeat until all bits are processed.

 

Example of Binary Division

1010 ÷ 10 = 101

Hence, 1010₂ ÷ 10₂ = 101₂

 

Exam Practice Numericals (With Carry & Borrow)

A. Binary Addition (With Carry)

   1011

 + 1101

 --------

  11000

Answer: 1011₂ + 1101₂ = 11000₂

 

B. Binary Subtraction (With Borrow)

   10010

 - 00111

 --------

   01011

Answer: 10010₂ − 00111₂ = 01011₂

 

C. Binary Multiplication (Practice)

   110

 ×  10

 ------

  1100

Answer: 110₂ × 10₂ = 1100₂

 

 

D. Binary Division (Practice)

1100 ÷ 11 = 100

Answer: 1100₂ ÷ 11₂ = 100₂

 

2.3 Number Conversion

People commonly use the decimal number system in daily life, whereas computers use binary, octal, and hexadecimal number systems for processing information. Since humans and computers use different number systems, number system conversion is required to convert numbers from one system to another so that both humans and machines can understand them.

There are different methods to convert numbers between number systems.

 

A. Decimal to Binary Conversion

Steps:

  1. Divide the given decimal number by 2 and write the remainder.
  2. Divide the quotient again by 2 and note the remainder.
  3. Repeat the process until the quotient becomes 0.
  4. Write the remainders from bottom to top.

Example:

Convert (13)₁₀ to binary.

2 | 13  → 1

2 |  6  → 0

2 |  3  → 1

2 |  1  → 1

    0

Therefore, (13)₁₀ = (1101)₂

 

B. Decimal to Octal Conversion

Steps:

  1. Divide the decimal number by 8 and write the remainder.
  2. Divide the quotient repeatedly by 8.
  3. Stop when the quotient becomes 0.
  4. Write the remainders from bottom to top.

Example:

Convert (345)₁₀ to octal.

8 | 345 → 1

8 |  43 → 3

8 |   5 → 5

    0

Therefore, (345)₁₀ = (531)₈

 

C. Decimal to Hexadecimal Conversion

Steps:

  1. Divide the decimal number by 16 and write the remainder.
  2. Divide the quotient repeatedly by 16.
  3. Replace remainders above 9 with A–F.
  4. Write the remainders from bottom to top.

Example:

Convert (88)₁₀ to hexadecimal.

16 | 88 → 8

16 |  5 → 5

     0

Therefore, (88)₁₀ = (58)₁₆

 

D. Binary to Decimal Conversion

Steps:

  1. Multiply each binary digit by its place value (powers of 2).
  2. Add all the products.

Example:

Convert (10011)₂ to decimal.



Therefore, (10011)₂ = (19)₁₀

 

E. Octal to Decimal Conversion

Steps:

  1. Multiply each digit by its place value (powers of 8).
  2. Add all the products.

Example:

Convert (157)₈ to decimal.



Therefore, (157)₈ = (111)₁₀

 

F. Hexadecimal to Decimal Conversion

Steps:

  1. Multiply each digit by its place value (powers of 16).
  2. Replace A–F with values 10–15.
  3. Add all the products.

Example:

Convert (1AC)₁₆ to decimal.



Therefore, (1AC)₁₆ = (428)₁₀

 

G. Binary to Hexadecimal Conversion

Steps:

  1. Group binary digits into sets of four from right to left.
  2. Convert each group into its hexadecimal equivalent.
  3. Write the result with base 16.

Example:

Convert (100000110101)₂ to hexadecimal.

1000 0011 0101

 8     3    5

Therefore, (100000110101)₂ = (835)₁₆

 

H. Hexadecimal to Binary Conversion

Steps:

  1. Write the 4-bit binary equivalent of each hexadecimal digit.
  2. Combine all binary groups.

Example:

Convert (9A3)₁₆ to binary.

9 → 1001

A → 1010

3 → 0011

Therefore, (9A3)₁₆ = (100110100011)₂

 

Binary to Octal and Octal to Binary Conversion

Clean steps + clear examples. You can write this exactly as it is.

 

Binary to Octal Conversion

Binary to octal conversion is done by grouping binary digits into sets of three (3) from right to left, because 8 = 2³.

Steps:

  1. Group the binary digits into sets of three from right to left.
  2. If needed, add leading zeros to complete a group.
  3. Convert each group into its octal equivalent.
  4. Write the result with base 8.

Example:

Convert (1101011)₂ to octal.

Binary number:   1 101 011

Add zero →      001 101 011

 

001 = 1

101 = 5

011 = 3

Therefore,



Octal to Binary Conversion

Octal to binary conversion is done by replacing each octal digit with its 3-bit binary equivalent.

Steps:

  1. Write the binary equivalent (3 bits) of each octal digit.
  2. Combine all binary groups.
  3. Write the result with base 2.

 

Example:

Convert (753)₈ to binary.

7 → 111

5 → 101

3 → 011

Therefore,



Quick Reference Table (Exam-friendly)

Octal

Binary

0

000

1

001

2

010

3

011

4

100

5

101

6

110

7

111

 

3. Calculate the following as indicated

a) Perform the following binary addition

i. (11110)₂ + (1001)₂
ii. (1011)₂ + (1001)₂
iii. (101011)₂ + (11011)₂
iv. (1010)₂ + (110)₂
v. (101001)₂ + (1110)₂
vi. (100001)₂ + (100011)₂
vii. (100111)₂ + (11010)₂
viii. (110001)₂ + (100101)₂

 

b) Perform the following binary subtraction

i. (1100)₂ − (1001)₂
ii. (1001)₂ − (110)₂
iii. (11101)₂ − (1010)₂
iv. (101100)₂ − (10011)₂
v. (11111)₂ − (10110)₂
vi. (110011)₂ − (10100)₂
vii. (100100)₂ − (1110)₂
viii. (1000001)₂ − (10101)₂

 

4. Convert the given numbers as indicated

a) Decimal to Binary Conversion

i. (56)₁₀
ii. (78)₁₀
iii. (123)₁₀
iv. (345)₁₀
v. (540)₁₀
vi. (572)₁₀
vii. (546)₁₀
viii. (1098)₁₀
ix. (2103)₁₀
x. (445)₁₀

 

b) Binary to Decimal Conversion

i. (1101)₂
ii. (1010)₂
iii. (10010)₂
iv. (10110)₂
v. (101001)₂
vi. (11100111)₂
vii. (111100)₂
viii. (10010011)₂
ix. (1011100)₂
x. (100110)₂

 

c) Decimal to Octal Conversion

i. (69)₁₀
ii. (216)₁₀
iii. (767)₁₀
iv. (79)₁₀
v. (443)₁₀
vi. (413)₁₀
vii. (765)₁₀
viii. (1334)₁₀
ix. (1825)₁₀
x. (2783)₁₀

 

d) Octal to Decimal Conversion

i. (124)₈
ii. (242)₈
iii. (333)₈
iv. (763)₈
v. (103)₈
vi. (451)₈
vii. (3401)₈
viii. (1045)₈
ix. (438)₈
x. (611)₈

 

e) Decimal to Hexadecimal Conversion

i. (55)₁₀
ii. (540)₁₀
iii. (225)₁₀
iv. (880)₁₀
v. (2046)₁₀
vi. (2024)₁₀
vii. (6678)₁₀

 

f) Hexadecimal to Decimal Conversion

i. (56)₁₆
ii. (67)₁₆
iii. (558)₁₆
iv. (B74)₁₆
v. (20D3)₁₆
vi. (DEF)₁₆
vii. (6E3)₁₆
viii. (63F)₁₆

 

g) Binary to Hexadecimal Conversion

i. (1000110)₂
ii. (11001)₂
iii. (1111000)₂
iv. (11110000111)₂
v. (101010110)₂
vi. (1110010110)₂
vii. (11011001)₂
viii. (1001100)₂

 

h) Hexadecimal to Binary Conversion

i. (D4)₁₆
ii. (643)₁₆
iii. (189)₁₆
iv. (2BF)₁₆
v. (A9F)₁₆
vi. (FACE)₁₆
vii. (FB4)₁₆
viii. (1B2)₁₆

 


3. Block Programming

 

3. Block Programming

DOWNLOAD PDF FILE





3.1 Concept of block programming 

 3.2 Introduction to Scratch: Features, Interface, Blocks 

 3.3 Components of Scratch: Control, Events, Motion, Operator, Variables and Sounds 

 3.4 Concept of Microbit: Micro Controller, Physical computing, sensors, LED Matrix 

 3.5 Concept of Arduino and UNO (universal Microcontroller coding)




3.1 Concept of Block Programming

 

Block programming is a simple and visual method of programming used to learn coding.

The word “block” refers to puzzle-like graphical pieces that fit together to form a program, while “programming” means giving instructions to a computer or electronic device to perform specific tasks. When combined, block programming involves arranging these blocks as instructions to tell the computer what to do.

It is a user-friendly approach, especially suitable for beginners and children.

Block programming is widely used to teach the basic concepts of programming by using colorful graphical blocks to create computer programs, games, videos, and animations.

It supports graphics, animation, and sound without requiring knowledge of complex text-based programming languages.

Common examples of block programming platforms include Scratch, Blockly, and Snap.

 

Advantages of Block Programming

a) Users do not need to worry about syntax or grammar as in other programming languages.

b) Users can focus more on creativity, logical thinking, and problem-solving skills.

c) The chances of human typing errors are very low since users do not need to write code manually.

d) Block programming is colorful, visually appealing, and engaging, especially for beginners and children.

e) It provides an interactive learning platform that helps users easily shift to text-based programming languages in the future.

 

Applications of Block Programming

 

a) Educational Purpose

Block programming is widely used in schools and educational programs to teach basic coding concepts. Its visual and interactive approach makes programming easy and interesting for beginners. It helps students develop a strong foundation in programming and prepares them to transition to text-based programming languages in the future.

 

b) Game Development

Block programming is used to develop simple games. Users can create characters, add game elements, and design game logic using blocks. This allows learners to focus on gameplay logic and creativity without dealing with complex coding syntax.

 

c) Mobile App Development

Block programming can also be used to create mobile applications. Users can design user interfaces, define app functions, and combine different blocks to develop Android and iOS applications without advanced programming knowledge.

 

d) Robotics

Block programming is widely used in robotics to program robotic devices. Its visual programming tools allow users to design robot movements, define behaviors, and control sensors easily. Devices such as micro:bit and Arduino UNO can be programmed using block programming. This helps students learn robotics concepts, build creativity, and develop interest in experimenting with robotic projects.

 

e) Web Development

Block programming can be used to create interactive websites using a visual interface. Users can define web page elements, user interactions, and basic data handling through blocks. This visual approach helps beginners understand web development concepts and acts as a bridge before learning text-based programming languages.

f) Creative Projects

Block programming is also used in creative fields such as animation and interactive storytelling. Artists and learners use platforms like Scratch and Blockly to create animations, stories, and creative digital projects. Many such projects have been developed using block programming platforms.

 

g) Modeling and Simulation

Modeling and simulation involve using logical or physical representations of a system to study behavior and make predictions. Block programming makes modeling and simulation easier by allowing users to define parameters, interactions, and scenarios using visual blocks.

 

h) Data Science and Visualization

Block programming can be used in data science to design simple algorithms, organize data, and perform data analysis using a visual interface. The results of data analysis can be presented through interactive charts and graphs, making data easier to understand and visualize.

 

3.2 Introduction to Scratch: Features, Interface, Blocks

 

Scratch is one of the most popular and widely used block-based programming languages, especially designed for beginners and children.

It was developed by the Lifelong Kindergarten Group at the MIT Media Lab.

Scratch is an open-source platform, meaning it is free and publicly available to everyone.

It has a large online community where users share projects and help each other.

The current version of Scratch is Scratch 3.0.

 

Scratch provides a colorful and interactive interface that allows users to create games, animations, stories, and interactive projects using visual blocks.

Although Scratch is fun and easy to use, it also helps users develop important skills such as logical thinking, problem-solving, and creativity, similar to professional programming.

Scratch can even be used to create advanced projects such as controlling robots or electronic devices.

 

Downloading Scratch on PC

Scratch can be downloaded and used on a personal computer by following these steps:

  1. Open a web browser such as Google Chrome or Microsoft Edge.
  2. Go to the official Scratch website: https://scratch.mit.edu
  3. Click on the Download option available on the website.
  4. Choose the version suitable for your operating system (Windows).
  5. Download the Scratch installer file.
  6. Open the downloaded file and follow the on-screen instructions to install Scratch.
  7. After installation is complete, open Scratch from the desktop or Start menu.

Once installed, Scratch can be used offline to create programs, games, and animations.

 

Using Scratch Online on PC

Scratch can be used online on a PC without installing any software by following these steps:

  1. Open a web browser such as Google Chrome, Microsoft Edge, or Firefox.
  2. Visit the official Scratch website: https://scratch.mit.edu
  3. Click on the Sign In option and log in using a Scratch account.
    • If you do not have an account, click Join Scratch to create one.
  4. After signing in, click on the Create button.
  5. The Scratch online editor will open, allowing you to create programs using block-based coding.
  6. You can save projects online and access them anytime by logging into your account.

Using Scratch online allows users to create, edit, and share projects easily without installing Scratch on the computer.

Scratch for Mobile

Scratch can also be used on mobile devices such as smartphones and tablets. Users can access Scratch through a mobile web browser by visiting the official Scratch website. However, the full Scratch editor works best on tablets and larger screens rather than small mobile phones.

 

For younger learners, ScratchJr is available as a mobile application for Android and iOS devices. ScratchJr is a simplified version of Scratch designed for children to learn basic programming concepts using visual blocks. It allows users to create simple stories, animations, and games by snapping blocks together.

Scratch for mobile helps learners practice programming concepts anytime and anywhere, making learning more flexible and accessible.

 

 

Features of Scratch

 

a) Drag-and-Drop Interface -

Scratch uses a drag-and-drop system where users create programs by assembling blocks instead of typing code.

b) Event-Driven Programming

Scratch programs can respond to events such as mouse clicks, key presses, or dragging objects.

c) Data and Variables

Scratch allows the use of variables to store, update, and manipulate data within a program.

d) Loops and Conditions

Loops and conditional blocks help control the flow of program execution easily.

e) Sounds and Music

Scratch supports adding sounds and music to make projects more interactive and engaging.

f) Community Sharing

Users can share their projects on the Scratch website, explore others’ creations, and collaborate with the global Scratch community.

 

Scratch Interface

Scratch has a colorful and user-friendly interface. Both the online and offline versions of Scratch have the same interface. The Scratch interface consists of the following main components:

  • Stage
    The stage is where the output of the program is displayed. Sprites perform actions on the stage when the green flag is clicked.
  • Sprite
    A sprite is any object or character in Scratch. By default, Scratch provides a cat sprite, which can be changed using the Choose a Sprite option.
  • Blocks Palette
    The blocks palette contains different types of programming blocks arranged by color and category, which are used to create programs.
  • Scripts Area
    The scripts area is where blocks are dragged and connected together to form a program.
  • Extensions Library
    This library allows users to add extra features such as Music, Pen, micro:bit, and other extensions to a Scratch project.
  • Costumes Tab
    The costumes tab is used to draw, edit, or change the appearance of a sprite.
  • Sounds Tab
    Reinforces projects by adding sound effects or music to sprites or the stage.
  • Sprite Info Pane
    This section shows all sprites used in the project and allows users to select and manage sprites.
  • File Tab
    Used to create new projects, open existing projects, and save work.
  • Choose a Sprite
    Allows users to select sprites from Scratch’s built-in library.
  • Choose a Backdrop
    Used to select or change the background image displayed on the stage.
  • Project Name
    Displays the name of the project, which can be edited by clicking on it.
  • Green Flag
    Acts as the play button to start running the program.
  • Backpack
    Used to store blocks, sprites, or scripts that can be reused in other projects.

 

Concept of Block

In block programming, blocks are colorful graphical units that represent actions or commands. These blocks are joined together using the drag-and-drop method to create a sequence of instructions for a program. This process is similar to playing with building blocks, where blocks are connected to form a complete structure.

Block-based coding is easy for beginners to understand because it does not require writing complex code. For example, to move a character or make it perform an action such as jumping, the required blocks are simply selected and connected. This approach encourages creativity and helps develop logical thinking and problem-solving skills.

 

3.3 Components of Scratch: Control, Events, Motion, Operator, Variables and Sounds

 

The block component of Scratch is one of its main features that makes it unique. Blocks are pre-programmed commands represented in the form of colorful graphical blocks. These blocks work like puzzle pieces that can be joined together using drag-and-drop to create programs. Each block has a specific function and helps control the behavior of sprites.

In Scratch, there are nine main types of blocks available in the Blocks Palette, grouped according to their functionality.

 

Types of Blocks in Scratch

 

1. Motion Blocks

Motion blocks are used to control the movement of a sprite on the stage. They help move, turn, glide, or change the position and direction of a sprite.
Example: move 10 steps, turn 15 degrees

 

2. Looks Blocks

Looks blocks are used to change the appearance of a sprite, such as its costume, size, color effects, or visibility.
Example: say "Hello!", change size by 10

 

3. Sound Blocks

Sound blocks are used to add sound effects and music to sprites and control volume.
Example: play sound meow, change volume by 10

 

4. Events Blocks

Events blocks are used to start scripts when a specific event occurs, such as clicking the green flag or pressing a key.
Example: when green flag clicked, when space key pressed

5. Control Blocks

Control blocks manage the flow of a program by using loops, delays, and conditions.
Example: repeat 10, if then

 

6. Sensing Blocks

Sensing blocks allow a sprite to detect interactions with other sprites, the mouse, keyboard, or environment.
Example: touching sprite?, mouse down?

 

7. Operators Blocks

Operators blocks are used to perform mathematical calculations and logical comparisons.
Example: +, <, and

 

8. Variables Blocks

Variables blocks are used to store, update, and display data values during program execution.
Example: set score to 0, change score by 1

 

9. My Blocks

My Blocks allow users to create custom blocks to organize code and reuse instructions easily.
Example: define jump

 

3.4 Concept of Micro:bit

The micro:bit (stylized as micro:bit) is a small programmable device, about the size of a calculator, used to create interactive projects such as games, flashlights, robots, and decorative lights like Tihar lights. It is a tiny computer designed to help learners understand how programming and hardware components work together.

Micro:bit is mainly used for learning and experimenting with physical computing, which refers to creating projects that interact with the real world using sensors, lights, buttons, and movement. It provides a simple and effective way for students to learn programming concepts while working with real electronic components.

 

History of Micro:bit

The micro:bit, also known as the BBC micro:bit, was developed to encourage young people to become creative with digital technology and improve their programming skills. It was introduced in 2015 as part of an educational initiative in the United Kingdom by the BBC (British Broadcasting Corporation).

The development of the micro:bit was a collaborative effort involving several organizations such as BBC, ARM, Microsoft, and other educational partners. The device was designed to be simple, affordable, and easy to use, so that students could learn coding and basic electronics in a practical, engaging, and motivating way.

 

Components of Micro:bit

 

The micro:bit contains various components that make physical computing possible. The main components of micro:bit are:

 

a) Microcontroller

The microcontroller is a tiny computer on the micro:bit board that runs programs and controls all other components to perform specific tasks.

 

b) 5×5 LED Matrix

The 5×5 LED matrix consists of 25 small LEDs used to display text, numbers, symbols, and simple animations.

 

c) Sensors

Micro:bit includes sensors such as light and temperature sensors that measure environmental conditions around the board.

 

d) Buttons

The micro:bit has two programmable buttons (Button A and Button B) that can be used to trigger actions when pressed.

 

e) Microphone

The microphone allows the micro:bit to detect and respond to sound or noise levels.

 

f) Pin Connector

Pin connectors are metal holes used to connect wires, external components, or other devices to the micro:bit for extended functionality.

 

g) Physical Computing Support

Micro:bit supports physical computing, which combines hardware (sensors, buttons, LEDs) and software to create interactive real-world projects such as robots, wearable devices, and smart systems.

 

Applications of Micro:bit

 

Micro:bit has many applications in different fields due to its small size, built-in sensors, LEDs, and wireless capabilities. Some major applications of micro:bit are:

 

a) Education

Micro:bit is widely used as an educational tool to provide hands-on learning in coding and electronics. Students can create interactive projects such as games, animations, and simple gadgets, which helps them understand programming and hardware concepts effectively.

 

b) Fitness

Micro:bit can be used to develop fitness-related projects that promote movement and exercise. Examples include step counters, fitness games, and workout trackers.

 

c) Games

Micro:bit is an ideal platform for creating simple games using buttons, sensors, and LEDs. Examples include rock–paper–scissors, maze games, and dice simulators.

 

d) Fashion

Micro:bit is used in fashion and wearable technology to add interactive elements to clothing and accessories. Designers use LEDs and sensors to create smart garments and wearable accessories.

 

e) Music

Micro:bit can be used to create interactive musical projects such as electronic instruments, sound effects, and beat generators. Projects like banana piano, voice recorder, and jukebox are common examples.

 

f) Cooking

Although micro:bit is not designed specifically for cooking, it can be creatively used for tasks such as digital egg timers, temperature monitoring, and displaying recipes.

 

g) Home and Garden

Micro:bit can be used to create smart home and gardening solutions such as temperature and humidity monitors, smart lighting systems, soil moisture monitoring, and automated watering systems.

3.5 Concept of Arduino UNO

While micro:bit is mainly suitable for beginners and educational purposes, Arduino UNO is preferred for a wider range of projects such as LED flashlights, robotic vehicles, temperature sensors, and many other electronic applications. Arduino UNO is one of the most common and widely used Arduino boards. It is a microcontroller-based development board used to learn and build real-world electronic projects.

 

History of Arduino UNO

The Arduino UNO platform was developed by David Cuartielles and Massimo Banzi in 2010. Their main objective was to provide students with an easy-to-use tool to learn programming and electronics together. Arduino UNO was designed to help learners apply theoretical knowledge to real-life projects and develop a practical understanding of programming and electronic systems.

 

Types of Components in Arduino UNO

The components of Arduino UNO are divided into hardware and software components.

 

a) Hardware Components

Arduino UNO consists of the following hardware parts:

  • ATmega328P microcontroller, which acts as the brain of the board
  • 14 digital input/output pins
  • 6 analog input pins
  • USB port for programming and power
  • Power jack
  • Reset button
  • Built-in LED
  • Crystal oscillator for clock signal
  • Voltage regulator for power control

 

b) Software Components

Arduino UNO uses a special software called the Arduino IDE (Integrated Development Environment). This software is used to write, compile, and upload programs to the Arduino board. Arduino IDE also supports libraries, which are ready-made sets of code that add extra functionality and make programming easier.

 

Applications of Arduino UNO

 

Arduino UNO is versatile and easy to use, so it is applied in many fields. Some major applications are:

 

a) Education

Arduino UNO is widely used in education to teach programming and electronics together through practical experiments.

 

b) Home Automation

It is used in home automation projects such as controlling lights, monitoring temperature, and managing household appliances.

 

c) Robotics

Arduino UNO is popular in robotics for controlling motors, sensors, and robotic systems.

 

d) Wearable Technology

Due to its small size, Arduino UNO is suitable for wearable devices such as digital watches, step counters, and smart accessories.

 

e) Data Gathering

Arduino UNO can collect data using sensors, making it useful for environmental monitoring, motion detection, and GPS tracking.

 

f) Gaming

Arduino UNO can be used to create simple games or gaming controllers by combining programming and electronics.

 

g) Audio Projects

It is used in audio-related projects such as music controllers, sound installations, and walking pianos.

 

h) Testing Products

Engineers and developers use Arduino UNO to test electronic circuits and prototypes before developing complex hardware products.

 

Micro:bit

Arduino UNO

Micro:bit is mainly designed for beginners and students.

Arduino UNO is used for beginners as well as advanced users.

It is small in size and simple to use.

It is slightly larger and more complex than micro:bit.

It supports block-based programming such as MakeCode and Scratch.

It mainly uses text-based programming (Arduino IDE using C/C++).

It has built-in components like LED matrix, buttons, sensors, and Bluetooth.

It requires external components like LEDs, sensors, and modules.

It is best for learning basic programming and physical computing.

It is suitable for real-world electronic and robotic projects.

Micro:bit is commonly used in schools for educational purposes.

Arduino UNO is widely used in industries, robotics, and prototyping.

It is easier to set up and start using.

It needs more wiring and circuit connections.

 

Micro:bit is ideal for beginners and educational learning, while Arduino UNO is better suited for advanced projects and real-world electronic applications.