Introduction of Pictoblox
Q1. What is PictoBlox?
Answer:
PictoBlox is a visual, block-based graphical programming software developed on the
concept of Scratch. It allows users to create games, animations, stories, and interactive
projects by dragging and dropping blocks instead of typing code.
PictoBlox is mainly used by students to learn coding, robotics, and Artificial Intelligence (AI)
in an easy and fun way. It also supports Python programming, which helps students move
from block coding to text-based coding.
Q2. What is Stage?
Answer:
The Stage is a large white display area in PictoBlox where all the actions of sprites are
shown. It is the place where the output of the program appears.
When a program runs, sprites move, talk, or change their looks on the stage according to the
scripts written for them. The stage can also have different backdrops to change the scene.
Q3. What is a Script?
Answer:
A Script is a program or code written in PictoBlox or Scratch language. It is made by
arranging a set of blocks in a proper order to perform a task or a series of tasks.
Scripts control the behaviour of sprites, such as how they move, speak, or respond to
events. Without scripts, sprites cannot perform any action.
Q4. What is a Sprite?
Answer:
A sprite is a character or object in PictoBlox that performs actions on the Stage according
to the blocks (instructions) given to it. Sprites can move, talk, change costumes, detect
events, and interact with other sprites and the Stage.
Q5. What is a Backdrops?
Answer:
A backdrop is the background of the Stage in PictoBlox. It sets the scene or environment
for the project and can be changed using blocks to show different places, scenes, or
situations during the program.
Q6. What is Scripting Area?
Answer:
The Scripting Area is the place where we drag and join blocks to make scripts.
This is where coding is done.
Q7. What are Blocks?
Answer:
Blocks are pre-defined commands in PictoBlox that are used to create programs. They are
designed like jigsaw puzzle pieces so that they fit together easily.
Each block has a specific function, such as moving a sprite, playing a sound, or making a
decision. By dragging and dropping blocks in the scripting area, users can create scripts
without typing code.
Types of Blocks in PictoBlox
PictoBlox uses different coloured blocks.
Each colour shows a type of work the block does.
1. Motion Blocks (Blue colour)
Working:
Motion blocks are used to move the sprite on the stage. They control position, direction,
and rotation.
Examples:
• Move 10 steps
• Turn 15 degrees
• Go to x: y:
2. Looks Blocks (Purple colour)
Working:
Looks blocks change the appearance of the sprite or show messages.
Examples:
• Say “Hello”
• Change size
• Change costume
3. Sound Blocks (Pink colour)
Working:
Sound blocks are used to play sounds or music.
Examples:
• Play sound
• Stop all sounds
• Change volume
4. Events Blocks (Yellow colour)
Working:
Events blocks start or control scripts when an action happens.
Examples:
• When green flag clicked When key pressed When sprite clicked
5. Control Blocks (Orange colour)
Working:
Control blocks manage the flow of the program using loops and conditions.
Examples:
• Repeat Forever If–then
6. Sensing Blocks (Light Blue colour)
Working:
Sensing blocks help the sprite sense actions or conditions.
Examples:
• Touching sprite
• Touching color
• Ask and wait
7. Operators Blocks (Green colour)
Working:
Operators blocks are used for math calculations and logical operations.
Examples:
• Add, subtract, multiply
• Greater than, less than
• And, or, not
8. Variables Blocks (Dark Orange colour)
Working:
Variables blocks are used to store values like score, time, or count.
Examples:
• Set variable Change variable
• Show variable
9. My Blocks (Red colour)
Working:
My Blocks are user-made blocks used to repeat tasks and make programs simple.
Examples:
• Create your own block
• Use custom command
Introduction of Coding
Q1. What is Coding?
Answer:
Coding is the process of writing instructions that tell a computer what to do and how to do
it. These instructions are written in a special language called a programming language.
Computers do not understand human languages like English or Hindi, so we use
programming languages such as C, C++, Java, Python, HTML, CSS, and JavaScript to
communicate with them.
OR
Coding is the process of writing instructions in a computer language so that a computer can
understand and perform a task.
In computer science, coding is used to create software, websites, apps, games, and control
machines.
2. Importance of Coding
Coding is important because:
• It helps computers work properly
• It is the foundation of all software and apps
• It develops logical and problem-solving skills
• It is essential for modern technology and innovation
3. Features of Coding
Main features of coding are:
• Uses specific programming languages (like Python, Java)
• Follows logical steps and rules
• Can be used to automate tasks
• Helps in creating programs and applications
• Can control hardware and software
4. Benefits of Coding
Benefits of learning coding include:
• Improves thinking and reasoning skills
• Helps in creativity and innovation
• Makes problem solving easier
• Opens career opportunities
• Helps students understand technology better
5. Uses of Coding in Different Sectors
Coding is used in many sectors such as:
• Education: Online classes, learning apps
• Healthcare: Medical equipment, health apps
• Banking: Online banking, ATMs
• Entertainment: Games, movies, animations
• Transportation: Traffic signals, GPS systems
• Business: Billing systems, websites, online shopping
6. Real-World Applications of Coding
Examples of real-world applications are:
• Mobile applications like WhatsApp and Instagram
• Websites like Google and Amazon
• Video games and animations
• Robots and smart machines
• Online exams and e-learning platforms
7. How Coding Impacts Our Daily Lives
Coding affects our daily life by:
• Helping us use smartphones and computers
• Running apps, websites, and social media
• Managing online payments and banking
• Controlling smart devices like TVs and ACs
• Making communication fast and easy
Variables in Real Life
1. Variables
A variable is a name given to a memory location that is used to store data.
The value of a variable can change during the execution of a program.
Example:
score = 10
Here, score is a variable that stores the value 10.
2. Data Types in Variables
Data types define the type of value a variable can store.
Common data types are:
• Integer: Stores whole numbers
Example: 5, 10, -3
• Float: Stores decimal numbers
Example: 2.5, 7.8
• String: Stores text or characters
Example: "Hello", "PictoBlox"
• Boolean: Stores only two values
Example: True or False
3. Variables in PictoBlox
In PictoBlox, variables are used to store values like score, time, name, or count.
Features of variables in PictoBlox:
• Variables can be created using the Variables block category
• They can store numbers or text
• Their values can be changed during program execution
• Variables can be used to control sprites and programs
Example Uses in PictoBlox:
• Storing a player’s score in a game
• Counting the number of steps taken by a sprite
• Storing user input
Conditions in details
1. Conditional Statements
Conditional statements are used to make decisions in a program based on conditions that
are true or false.
Example:
If it is raining, take an umbrella.
2. Types of Control Structures
Control structures control the flow of execution of a program.
There are three main types:
1. Sequential Control Structure
o Instructions are executed one after another in order.
o Code runs step by step
2. Conditional (Decision-Making) Control Structure
o Code runs based on conditions
o Example: if, if-else.
3. Looping (Iteration) Control Structure
o Repeats a set of instructions multiple times.
o Example: for loop, while loop.
3. Understanding Conditional Statements
A condition is a comparison that results in true or false.
Conditional statements:
• Check a condition
• Decide which action to perform
• Help programs behave intelligently
Common comparison operators:
> , < , == , != , >= , <=
Examples of conditions:
• marks > 40
• number == 10
4. If Condition
The if statement executes a block of code only when the condition is true.
Example:
If the score is greater than 40, display “Pass”.
Working:
• Condition is checked
• If true → code runs
• If false → code is skipped
Python Code Example (If)
marks = 60
if marks >= 40:
print("Student has passed")
Explanation:
• Condition: marks ≥ 40
• Since condition is true, the message is printed.
5. If-Else Condition
The if-else statement executes:
• one block when the condition is true
• another block when the condition is false
Example:
If the score is greater than 40 → “Pass”
Else → “Fail”
Python Code Example (If–Else)
marks = 30
if marks >= 40:
print("Student has passed")
else:
print("Student has failed")
Explanation:
• Condition is false
• Else part runs and prints “Student has failed”
Working:
• Condition is checked
• True → if block executes
• False → else block executes
Introduction Of AI
1. What is Artificial Intelligence (AI)?
Artificial Intelligence (AI) is a branch of computer science that enables machines to think,
learn, and make decisions like humans.
2. Types of Artificial Intelligence
• Narrow AI: Performs a specific task (e.g., voice assistants)
• General AI: Can perform any task like a human (theoretical)
• Super AI: More intelligent than humans (future concept)
3. Features and Benefits of AI
Features of AI:
• Learns from data
• Makes decisions
• Works automatically
• Improves with experience
Benefits of AI:
• Saves time and effort
• Reduces human errors
• Works continuously
• Helps in complex problem solving
4. What Makes Humans Intelligent Beings?
Humans are intelligent because they can:
• Think and reason
• Learn from experience
• Show emotions and creativity
• Make moral and ethical decisions
5. How to Classify a Machine as Intelligent?
A machine is considered intelligent if it can:
• Learn from data
• Make decisions on its own
• Solve problems
• Improve performance over time
6. Difference Between Human Intelligence and Artificial Intelligence
Human Intelligence Artificial Intelligence
Natural and emotional Man-made and logical
Learns from life experience Learns from data
Can think creatively Works as programmed
Has feelings and emotions Has no emotions
7. Applications of Artificial Intelligence
AI is used in:
• Healthcare (disease detection)
• Education (smart learning apps)
• Banking (fraud detection)
• Transportation (self-driving cars)
• Entertainment (games, recommendations)
8. Real-World Applications of AI (AI Mindset)
• Voice assistants like Alexa and Siri
• Face recognition in mobile phones
• Chatbots for customer support
• Online recommendations (YouTube, Netflix)
• Smart traffic systems
Introduction Of Robots
1. What is a Robot?
A robot is a programmable machine that can perform tasks automatically by following
instructions given by humans.
2. Types of Robots
• Industrial Robots: Used in factories for manufacturing
• Service Robots: Help humans (cleaning, delivery)
• Educational Robots: Used for learning and experiments
• Medical Robots: Used in surgeries and treatment
• Humanoid Robots: Look and act like humans
3. How to Make a Robot Using Quarky?
To make a robot using Quarky:
• Connect motors, sensors, and battery to Quarky
• Write a program using PictoBlox
• Upload the code to Quarky
• Power on the robot to perform tasks
4. Advantages of Robots
• Work continuously without rest
• Perform dangerous tasks safely
• Increase accuracy and efficiency
• Save time and human effort
5. Applications of Robots
Robots are used in:
• Industries and factories
• Hospitals and healthcare
• Schools and learning labs
• Space exploration
• Home automation
6. How to Make Your Robot Move?
A robot can be made to move by:
• Connecting motors to the robot
• Writing motor control commands in PictoBlox
• Setting speed and direction of motors
• Uploading the program to Quarky
Introduction Of Quarky Robots
Q1. What is Quarky?
Answer:
Quarky is an educational robot and AI learning board used to teach coding, robotics, and
artificial intelligence in a simple and interactive way.
Q2. What is the main purpose of the Quarky robot?
Answer:
The main purpose of the Quarky robot is to help students learn programming, robotics, and
AI through hands-on activities.
Q3. Which software is used to program Quarky?
Answer:
Quarky is programmed using PictoBlox software.
Q4. Name any two sensors present in Quarky.
Answer:
Two sensors present in Quarky are the IR sensor and the ultrasonic sensor.
Q5. How does Quarky move?
Answer:
Quarky moves using motors that are controlled by programs written in PictoBlox.
Q6. What is the use of IR sensors in Quarky?
Answer:
IR sensors are used to detect objects, lines, or obstacles near the robot.
Q7. What is calibration of IR sensors?
Answer:
Calibration of IR sensors is the process of adjusting sensor values so that the robot can
correctly detect surfaces or objects.
Q8. Mention two advantages of using Quarky.
Answer:
Two advantages of using Quarky are:
1. Makes learning coding easy and fun
2. Helps in practical learning of robotics
Q9. Give two applications of the Quarky robot.
Answer:
Quarky is used in:
1. Robotics education
2. AI-based projects and experiments
Q10. How do you upload a program to Quarky?
Answer:
A program is uploaded to Quarky by connecting it to a computer and using the upload
option in PictoBlox.