1. What is Block Programming?
Ans: Block programming is a way of writing computer programs by joining colorful blocks together instead of typing code.
Each block represents a command or instruction.
Example: Scratch, ScratchJr, Blockly, MIT App Inventor
2. Why Use Block Programming?
- Easy to learn
- No typing errors
- Fun and colorful
- Helps develop logical thinking
- Makes coding simple for beginners
3. Features of Block Programming
- Uses drag-and-drop blocks
- Easy to understand
- No need to memorize programming syntax
- Shows results immediately
- Good for making games, stories, and animations
4. Advantages of Block Programming
- Easy for beginners
- Reduces coding mistakes
- Improves creativity
- Develops problem-solving skills
- Makes programming enjoyable
5. Disadvantages of Block Programming
- Limited for very complex programs
- Not suitable for professional software development
- Fewer advanced programming features
6. Common Uses of Block Programming
- Creating animations
- Making games
- Designing interactive stories
- Learning programming concepts
- Developing logical thinking
Scratch
What is Scratch?
Ans: Scratch is a free block-based programming language developed by MIT (Massachusetts Institute of Technology).
It allows users to create games, animations, stories, quizzes, and simulations without typing programming code.
Main Parts of Scratch
1. Menu Bar
2. Toolbar
3. Stage
4. Sprite
5. Sprite List
6. Block Palette
7. Coding Area
8. Backdrop
Write Scratch code to move a cat and say "Hello"
| Block Category | Purpose |
|---|---|
| 1. Motion | Moves the sprite |
| 2. Looks | Changes appearance |
| 3. Sound | Plays sounds |
| 4. Events | Starts the program |
| 5. Control | Controls loops and decisions |
| 6. Sensing | Detects keyboard, mouse, or touching |
| 7. Operators | Performs calculations and comparisons |
| 8. Variables | Stores information |
| 9. My Blocks | Creates custom blocks |
When Green Flag Clicked
Move 100 Steps
Say "Hello!" for 2 Seconds