MOD.VI . NOL
MOD.VI . NOL
Start
Input number1,
number2
Print sum
Stop
Start
Sum=0
Enter 10,20
Sum=10+20
Print Sum
Stop
Start
Input a,b
Yes
No
Is
a>b?
Stop
Chapter 2–The Robo World
IN BOOK:
I. Label the panel in the following figure. Also name the entire environment.
World Panel
Script Panel
Run Panel
Message Panel
RoboMind Screen
III. State True or False.
1. False
2. True
3. True
4. False
IV. Fill in the blanks.
1. World
2. Insert
3. Script
4. Execute button.
5. program.
1
IN CW:
V. Answer the following:
1. What is a program?
A program is a set of instructions given to a computer to perform a specific task or
tasks is called as a program.
2. Write about features of Robomind.
Robomind is an essential programming language.
It forms a vast majority of Computer science.
The language consists of number of basic instructions.
3. Mention the tabs available in Robomind.
Edit Tab
View Tab
Run Tab
Help Tab
4. Name the commands to control a robot.
Move
Paint
Grab
See
5. Write the steps to launch a Robomind.
Click on the start button
Click on the all programs option
Click on the folder Robo
Click on the Robomind
6. Differentiate between World panel and message panel.
2
VI. CODING:
1. Write a robomind program to draw alphabet A.
PROGRAM
paintWhite()
north(4)
east(2)
south(4)
stopPainting()
north(2)
paintWhite()
west(2)
stopPainting()
OUTPUT
Program Output
paintWhite()
forward(2)
right()
forward(2)
right()
forward(2)
right()
forward(2)
right()
stopPainting()
end
3
Chapter – 3 Think And Command
IN BOOK:
I. Choose the correct answer.
1. Map
2. stopPainting()
3. Black,White
4. Openarea
5. forward(3)
II. Match the following.
1. Robo Movement - world panel
2. Painting Command - paintBlack()
3. Direction Command - West(n)
4. Ash square box - Wall
5. Halt the execution - End Command
III. Explain the following terms.
1. south() - turns and moves the robo towards south
2. paintWhite() - starts painting with white color
3. forward() - move the robo forward
4. right() - Turns the robo to the right()
5. backward() - Robo moves 3 steps backward
IN CW:
IV. Answer the following:
1. Write the actions that the robo perform while using Grab command.
pickUp() - robo pick one beacon.
putDown() -robodrops thebeacon.
eatUp() - robo destroys the beacon.
2. Name the painting commands and explain
it.
paintWhite() - robo paints in white colour.
paintBlack() - robo paints in black colour.
stopPainting() - robo stops painting.
3. Write the direction commands of Robo.
V. Program
4
1. Write a Robomind program to draw a Black Square using Direction commands.
Coding: Output:
paintBlack()
north(4)
east(4)
south(4)
west(4)
stopPainting()
end
2.Write a Robomind script to pick and eat the beacons for the following map.
PROGRAM
east(3)
eatup()
east(1)
eatup()
east(1)
eatup()
east(1)
eatup()
east(1)
eatup()
east(1)
eatup()
east(1)
eatup()
east(3)
OUTPUT:
5
Chapter 4–Decisions & Loops
IN BOOK:
I. Fill in the blanks:
1. Insert
2. frontIsClear
3. 3 forms
4. Disco tiles
5. Looping statement
IN CW:
II. Answer the following.
1. Name the Monitor skins.
There are 3 monitor skins:
Desert skin
Grass skin
LEGO skin.
2. Write the general syntax of if…statement with example.
Syntax:
if(condition)
{
set of statements
}
Example:
if(frontIsBeacon)
{
pickUp()
end
}
3. Write the general syntax of if...elseif statement with example.
Syntax:
if (condition)
{
set of statements
}
elseif(condition)
{
set of statements
}
Example:
6
if(frontIsBeacon)
{
pickuUp()
}
elseif(frontIsClear)
{
forward(1)
}
4. Write any one syntax of repeat with example.
Syntax:
repeat (number of times)
{
statements to be repeated
}
Example:
repeat(4)
{
forward(4)
right()
}
III. Programs.
1. Write a Robomind program a white square using “repeat”.
Coding: Output:
paintWhite()
repeat(4)
{
forward(4)
right()
}
stopPainting()
end
2. Write a Robomind script to pick and eat the beacons for the following map.
Coding:
7
right()
repeatWhile(frontIsClear)
{
forward(1)
}
if(frontIsBeacon)
{
pickUp()
end
}
Output:
8
I. Answer in one word.
1. Show Grid
2. Show Radar
3. Robo
4. Map Editor Button
5. .map
6. Robo
7. x
II. Fill in the blanks:
1. left
2. beacon
3. comments
4. *
5. alphabets and characters.
Chapter 6 – Advanced Maps and LEGO
III. Fill in the blanks.
1. Concatenate function
2. Column
3. dots
4. LEGO robot version 2
5. export
IN CW:
IV.Answer the following.
1. What is radar?
Radar shows the miniature version of the map and is displayed at the left
corner of each map.
2. Write down two different ways to create map?
1. By clicking on Map Editor Button from the edit menu
2. Creating a map file with simple alphabets and characters typed in notepad
and saved as map file.
V. Programs
1. Create a map with only wall and a Robo.
Algorithm:
Step 1: Open Notepad.
Step 2: Type the coding.
Step 3: Save the file with the extension “.map”.
Step 4: Open Robomind software ->File ->Open map->select the file name -> Open
Step 5: Output will be displayed.
NOTEPAD CODING:
10
OUTPUT:
NOTEPAD CODING:
11
OUTPUT:
12