In this lesson you will learn: How to capture the input from the user. How to write programs using variables and lists. Athletics Swimming Gymnastics

Size: px
Start display at page:

Download "In this lesson you will learn: How to capture the input from the user. How to write programs using variables and lists. Athletics Swimming Gymnastics"

Transcription

1 Lesson 4 A m In this lesson you will learn: How to capture the input from the user. How to write programs using variables and lists. Advanced Scratch Sports Day Jyoti and Tejas are planning to create a game called Logic Bingo using Scratch programing language. They start discussing about it with Moz. Moz: Why do you call it Logic Bingo? Jyoti: In the game there are some conditions. The players have to find these conditions using logical reasoning before getting to the answer. There are only four chances to win the game. So we named the game Logic Bingo. Moz: So what is this game? Tejas: For sports day in our school, each student can participate in two games from a list of six games. Team games Foot ball Basket ball Kho kho Individual games Athletics Swimming Gymnastics Jyoti: Rules for combinations of games are as follows: Participation in two team games is not allowed (invalid choice). Participation in two individual games is allowed (valid choice). Participation in a team game and an individual game is valid. Tejas: We want to convert this into a Scratch project. Students have to find the correct combination of games in four chances. Jyoti: We will not reveal the rules for valid combinations to students. We will display only the names of the games. They have to guess the rules and find a valid choice. Moz: Good project. So how do you start? 58

2 Tejas: The main steps in our project are: Step 1: Display the games. Step 2: Repeat the following sequence four times. i. Ask the student to enter the choice for first game. Receive the answer. ii. Ask the student to enter the choice for second game. Receive the answer. iii. Determine whether the two games are a valid combination. iv. Display whether the combination is valid or invalid. v. Keep score of valid choices. Step 3: Display the final score. Jyoti: In the Step 2, we do not know the instructions for sub-steps i, ii, iii and v. We want to explore these first. Moz: Let us start with sub-steps i and ii. This is called receiving input from the keyboard. Receiving input from the keyboard Moz: In which block do you find instructions to sense a mouse click? Tejas (thinks): Sensing. Oh! So words entered using the keyboard is sense the keyboard input. Isn t it? Moz: Correct. Jyoti: Let us check Sensing. Look at this instruction Moz: To learn how to use this instruction, right click on the instruction to get help. Tejas right clicks on the instruction and gets help for it. Using Help option: To learn about the functionality of an instruction, right click on the instruction. This gives you a help option. Help option displays how to use the instruction with an example. SKILLS 59

3 Moz: Build a small block using the Sensing instructions and execute it. Sensing input and its execution steps Tejas: This is good. We can ask a question and also capture the answer given by the user. Jyoti: Let us enter another question using the ask instruction. 4 CONCEPTS Keyboard input ask and wait prompts users to type input using the keyboard. answer stores the keyboard input. 60

4 Creation of Variables Tejas: What happens to the input entered for the first question. Is it lost? Jyoti: I wish the computer can save the answer somewhere. Moz: Sure it can. Check out the Variables block. Tejas and Jyoti create Variables called name and age. Variables The variable blocks allow you to create variables and use them in a program. The variables can store numbers or strings (sequence of characters). A variable can be created such that: Only one of the Sprites can use it or all Sprites can use the variable. Info CONCEPTS Letters, words or sentences are called strings in Computer language. Assigning values to a Variable Tejas: Can we store a word in this variable? Moz: Yes. When a word is saved in a variable, it is called a string variable. Jyoti: I want to save answer in the string variable name. Moz: Check out the help for answer under the Sensing block. If you want to save the current answer, you can store it in a variable. 61

5 Moz: Scratch allows you to save answer in a variable that you have already created. The variables are set to the answer entered by the user. Operators Tejas: Suppose the name typed is Jyoti then I want to say Hello Jyoti. How do I get this? Moz: You want to join two words and display it. Join is a string operator. Check out these instructions in Operators block. Jyoti checks the help for string operator join. Then she adds the join instruction to her scratch program and executes it. Tejas: How do we compare strings? We will need it for our project, to compare the user s answer with ours. Moz: How do you compare if two numbers are equal? 62

6 Jyoti: Using = (equal to) operator. Moz: You can compare strings for equality also, just like numbers. Where do you find the comparison instruction? Tejas: In Control block. Tejas and Jyoti write the following blocks to see how operators and control statements can be used. Script for the Cat Sprite Script for the Football Sprite Stage after execution of program CONCEPTS Conditional statements: if and if-else in the control block are used to check for a condition. If the condition is true the set of instructions after if are executed. Otherwise, the set of instructions after else are executed. Moz: Explore the other string operators too. You may get some more ideas to show comparisons. Tejas and Jyoti explore the following string operators: Concatenates (combines) strings. Reports the number of letters in a string. Reports the letter at the specified position in a string. 63

7 Logic Bingo by Tejas: Tejas: Let us create a game called Logic Bingo. There are six Sprites for the six games. Cat Sprite will ask a question and capture the response. An Instruction Sprite will give the instructions of the game. Moz: Have you decided on the variables that you will require for the game? Jyoti: Since the player enters two games of his or her choice, we need two variables, game1 and game2, to save the choices. Moz: Good. What else do you need? Tejas: We can decide if a game combination is valid or invalid by comparing the types of the two games. So each time the player enters a choice, we should also save the type of the game. Later, we can do the comparison and decide if the choices are valid or invalid. So we need two variables, team and individual. Moz: Good. So next what do you do? Tejas: Import the sprites and position them on the stage. Jyoti: We have to also create the variables. Moz: Good. Summarize the steps. Steps for creating Variables Step 1: Click on Make a variable to create a new variable. 64 Step 2: Type in the name of the variable in the pop-up box and click OK. The new variable game1 is created. SKILLS

8 Steps for creating a game Logic Bingo 1. Import Sprites and position them on Stage: Select Sprites from the available Sprites or paint the Sprites required for the game. Six Sprites for six games and Cat Sprite as referee of the game. One Sprite which has instructions of the game. 2. Create the required variables: Four variables are required. Two to save the names of games and two for the types of games. Moz: What is the next step? How does the program start? Jyoti: The program starts as follows. How does the game start? 3. Hide the Sprites and show the instructions of playing the game. 4. Hide the instructions and show the Sprites. Script for Instruction Sprite Script for both Cat Sprite and the game Sprites Stage after running the Script Moz: How do you take responses from the player? Tejas: First, the Referee Sprite asks a question. Next, the Player responds. Then the response is saved in game1. Jyoti: We have to also save the type of game. We can use Broadcast. Referee Sprite can Broadcast the name of the game. Then the corresponding game sprite will receive and save the type of game in choice1. Tejas: Let us use join while broadcasting. For example if the first game is football then we can join it with 1. So the Broadcast will go as football1. Moz: Very good. Tejas: If the choice of game is team game, then choice1 = team. If the choice is individual type of game then choice1 = individual. 65

9 Jyoti: We can again use join to display the type of game. Moz: Good. Jyoti: We can use the same sequence and logic for the second choice of game too. Moz: Correct. Go ahead and write the Scripts for referee and game Sprites. 5. Referee - Cat Sprite block: Referee gives an instruction Enter the name of the game you want to play on sports day Player responds by entering the name of the game. Save the name of the game in the variable game1. Broadcast game1. 6. Game - Sprite: The game that has been chosen receives the Broadcast. Type of game is also saved by the chosen game Sprite in a variable choice1. 7. Referee - Cat Sprite: Receives the Broadcast and says the type of game (choice1) so that the player knows type of the first game that he/she chose to play on sports day. Scripts for referee Sprite for choice1 Stage for choice1 of the player for the game Logic Bingo Individual game Sprite Script, if choice1 is swimming Team game Sprite Scripts, if choice1 is football 66

10 Moz: Now that you have one choice, what should be your program for the next one? Tejas: Program for choice2 will be the same as for choice1, except that player s response will be saved in variable game2. Scripts for referee Sprite for choice2 Stage of the player for choice2 response Individual game Sprite Script, if choice2 is swimming Team game Sprite Scripts, if choice2 is football Jyoti: Now we have to build the program for comparing choice1 and choice2. Moz: What would the referee Sprite do now? Tejas: Referee Sprite compares the combination of selected games and says whether it is valid or invalid. Moz: Good. Suppose someone enters their choice1 again in choice2? Jyoti: We can handle that easily. We will first write the logic to check duplicate. The full comparison logic is as follows: If the same game is selected twice then the combination is not valid. If game1 = game2, then say Duplicate selection of games invalid combination If the two games selected are team games then the combination is not valid. If choice1 = team game and If choice2 = team game, say invalid game combination. Rest of the combinations are correct. choice1=team, choice2 = individual, then valid combination. choice1=individual, choice2=individual, then valid combination. Moz: That is a very good comparison sequence. First you are making sure there are no duplicates. Next, since there is only one more invalid combination, you are checking for it. Rest of the combinations are valid. Tejas: We will now complete the game. 67

11 Final stage of Logic Bingo Referee Sprite script to display the following choices: Moz: Have you noticed there is one more option under the Variables block:? Tejas: Is it something like the lists we make for purchasing things from the grocery store? Moz: Yes, it is similar to lists that we normally use. Jyoti: We will click on it and make a new list. Let us name it as Mylist. Moz: When you create a list you get eight different blocks under list. If you click on the help for you can get the functions of all these eight blocks. CONCEPTS Lists (arrays) Use list blocks to store a list of numbers and strings. 68

12 Tejas: Let us write a program to get four items from the user, that can be taken while going on a picnic. Tejas and Jyoti explore the various commands for list and write the following program. There are some blocks in Scratch such as,, which are designed to fit in the input area of other blocks. These blocks are called Reporters. Reporters with rounded ends (such as, ) report numbers or strings, and fit in blocks with rounded or rectangular holes (such as ). Reporters with pointed ends (such as ) report values (true or false) and fit inside blocks with pointed or rectangular holes (such as or ). Info Moz: Good. Today you have learned to take input from user, use list and variables. Write more programs and have fun! Chin Chinaki... Lesson Outcome After you have studied this lesson, you will be able to: Write programs using commands under the Operators (like, Join) and Variables (variable, list) blocks. Provide input through keyboard for a Scratch program. 69

13 Book V Lesson 4 WORKSHEETS 1. Gargi has written a program to capture the input from the user. She has created a variable named Input. What will be the final value of this variable after the execution of the program? a. Hello! b. User name c. User s friend s name d. answer 2. The following is a small program. The last line of the program is missing. When executed the user gave the name as Annie. If you want the sprite to say Hello Annie, what should be the last line of the program? 3. A small program which compares two strings is given below. The user has entered the name of two items he likes to eat. Can you tell what the Sprite will say at the end of this program? 70 a. b. c. d. Oh! You entered the same thing Cakes Cakes Enter Item 2 Enter item 1

14 Book V Lesson 4 WORKSHEETS 4. In the following program there are three variables: Choice1, Choice2 and Game. When the program runs fully, what will be the final value of the variable: Game? a. b. c. d. Basketball, 0 Football 2 5. Here is a program to compare numbers. What will the Sprite say when the numbers entered by the user are 250 and 500. Circle the correct option. a. b. c. d. Choice1 is less than Choice2 250 is less than 500 Choice1 is greater than Choice2 500 is greater than Here is a program which calculates the length of the name entered by a user. But the instructions are jumbled up. Can you rearrange the instructions by numbering them. 1 71

15 Book V Lesson 4 WORKSHEETS 7. The stage of the game Collide (which has Cat and Gobos as sprites), and the scripts for the cat, yellow Gobos and the pink Gobos are given below. Cat Script Script for yellow Gobo Script for pink Gobo Using the scripts given above for the game Collide answer the following: i. ii. initializes the of the Sprite and the variable. What is the Goal of the game?: Help the Cat the mine field of Gobos with the. iii. What are the Rules of the game? Collect Gobos to earn points, Avoid Gobos to lose points. iv. What happens when you earn points? Maximize while playing the game. 72

16 Book V Lesson 4 WORKSHEETS 8. You are given a Sprite fantasy man, costumes for the Sprite which are extinct birds and animals, also a list avatar with the names of the costumes and jumbled up instructions for the Sprite. Arrange the instructions into a Scratch block by: 1. Using the Sprite and costumes given. 2. Arranging the jumbled up Scripts such that the following actions are repeated: The fantasy man asks the user to guess the next avatar that he would change to from the list of extinctbirds and animals given on the stage. The user guesses the next avatar and enters the corresponding number from the list on the stage. Fantasy man changes to a random costume. If the guess matches the costume that the fantasy man changes to then he makes a positive statement, else provides the name of the costume that he changed to Scratch block of fantasy man

17 ACTIVITY Book V Lesson 4 1. Open the following Scratch projects and do the activities. i. Bouncing Music Balls: Use the arrow keys to move the small balls. When the small balls hit the big ball, music is produced. Follow these steps to start the project: Scratch ---> Projects ---> Simulation ---> Bouncing Music Balls Activities to do: Press H to read the help on how to play. Use arrow keys and + and - keys on the keyboard and observe what happens. ii. Mouse Recorder: This projests lets you record and play back movements of the mouse. It uses lists to store x and y positions of the mouse. Follow these steps to start the project: Scratch ---> Projects ---> Interactive Art ---> Mouse Recorder Activities to do: Press record button ( ). Move the mouse around to record the movements of the cursor. Press stop ( ). Press play ( ) to see the recording. Explore the Scripts to see how list is used in the program. iii. Piano Machine: Balls bounce on the piano keys to make music. To start the project follow these steps: Scratch ---> Projects ---> Music and Dance ---> Piano Machine Activities to do: Click and drag any piano keys to a new position for different music. Click on the number icon to change the number of balls in motion. Change the program and create your own piano. 74

18 ACTIVITY Book V Lesson 4 iv. Simple Electrical Circuits: Place all the components in the circuit to light up the bulb. Scratch ---> Projects ---> Simulations ---> SimpleElectricalCircuits Activities to do: Position the circuit components and light up the bulb. Change the program to introduce another bulb and light up both the bulbs. Project Do project 4.1, 4.2, 4.3 from lesson 8. Explore! Explore what are boolean operators? Find out the fumctions of commands under Operators block like,. 75

19 Teacher s Corner Book V Lesson 4 This lesson is best taught in front of a computer running Scratch. The purpose of this lesson is to teach students how to use the instruction blocks related to conditional statements, variables, lists, operators and keyboard input, available in Scratch. Students are already familiar with this programming language and understand that they can make the computer do something using this activity. Begin by revising the functions of different instruction blocks already taught. You can ask them to write a small project to refresh their memory of what they already know. Tell the students that they will now learn to use additional instruction blocks to write a variety of interesting projects. Start Scratch and open an existing project (e.g. Examples --->Speak up ---> Global warming) that includes sensing and variable instructions. At this time, do not show the Script. Ask them to observe the animation. Now show the Script area and ask them to observe if they find any new instruction blocks, and of what colour. Ask them to which instruction block set do they belong. Let them guess its functions, if they can. To do this, you can use the strategy of think pair share, where students can partner with their classmate and do this activity. Now explain the functions of different sensing options using the example mentioned in the book. Right click on the different block and open the help screen and ask them to read their functions. Do it for a couple of instructions and ask the students to explore the remaining instruction blocks themselves. Similarly teach the functions of different variable options. Give a demonstration of the Script included in the lesson to show how to use the different instruction blocks. Emphasize that it is important to plan and organise the different activities you want to do using Scratch. Ask the students to write the Script for the Scratch project in their notebook. Now ask them to exchange it with their partner and program using Scratch for each others activity. Summarize the lesson and give the students activities to practice. Further Reading: 76

20 77

21 Summary of concepts/ skills of Scratch programing Concept Explanation Example sequence To create a program in Scratch, you need to think systematically about the order of steps. iteration (looping) forever and repeat can be used for iteration (repeating a series of instructions) conditional statements if and if-else chehck for a conditon variables The variavle blocks allow you to create variables and use them in a program. The variables can storenumbers or strings. Scratch supports both global and object-specific variables. lists (arrays) The list blocks allow for storing and accessing a list of numbers and strings. This kind of data structure can be considered a dynamic array. event handling when key pressed and when Sprite clicked are examples of event handling - responding to events triggered by the user or another part of the program. 78

22 Concept Explanation Example threads (parallel execution) Launching two stacks at the same time creates two independent threads that execute in parallel. coordination and synchronization broadcast and when I receive can coordinate the actions of multiple Sprites. Using broadcast and wait allows synchronization For example, Sprite sends the message wineer when this condition is met: This Script in Sprite2 is triggered when the message is received: keyboard input ask and wait prompts users to type. answer stores the keyboard input. random number pick random selects random integers within a given range. boolean logic and, or, not are examples of boolean logic. dynamic interaction mouse_x, mouse_y, and loudness can be used as dynamic input for real-time intercation. user interface design You can design interactive user interfaces in Scratch - for example, using clickable Sprite to create buttons. Adopted from: 79

In this lesson you will learn: To use various tools of Paint activity. (See the level I lesson on paint for a revision.)

In this lesson you will learn: To use various tools of Paint activity. (See the level I lesson on paint for a revision.) A m In this lesson you will learn: To use various tools of Paint activity. (See the level I lesson on paint for a revision.) Lesson6 Activity using Paint 1. Draw a greeting card for your friend on her

More information

Commonly used keys to write text

Commonly used keys to write text Lesson5 Commonly used keys to write text A m In this lesson you will learn to use: Caps Lock, Backspace and Delete keys. The four directional arrow keys, Page Up, Page Down keys. Tejas: Moz, We want to

More information

Activity using Paint. Lesson6. In this lesson you will learn: To use various tools of Paint activity.

Activity using Paint. Lesson6. In this lesson you will learn: To use various tools of Paint activity. Lesson6 Activity using Paint A m In this lesson you will learn: To use various tools of Paint activity. 1. Draw a greeting card for your friend on her birthday! Use the paint tool to write the birthday

More information

Parts of a Computer. In this lesson you will learn about the main parts of a computer. CPU. Monitor. Mouse. Keyboard. Lesson 2

Parts of a Computer. In this lesson you will learn about the main parts of a computer. CPU. Monitor. Mouse. Keyboard. Lesson 2 Lesson 2 m Parts of a Computer In this lesson you will learn about the main parts of a computer. Tejas and Jyoti were in the computer room, looking at one of the computers. They were trying to see how

More information

Concepts of storage and directory structure

Concepts of storage and directory structure Lesson 8 Revision Concepts of storage and directory structure Aim In this lesson you will learn: How to organise files and folder Naming files and folder Tejas: Moz, today we helped my mother at home to

More information

Scratch Lesson 2: Movies Made From Scratch Lesson Framework

Scratch Lesson 2: Movies Made From Scratch Lesson Framework Scratch Lesson 2: Movies Made From Scratch Lesson Framework Scratch makes it easy to program your own interactive stories, games, and animations and share your creations on the web. As you create and share

More information

CPU. Monitor. Keyboard. Moz: Good questions! Let us learn about each of these parts.

CPU. Monitor. Keyboard. Moz: Good questions! Let us learn about each of these parts. Moz: Good questions! Let us learn about each of these parts. CPU CPU (central processing unit) is the most important part of a computer. It is like the brain. It does all the tasks that we want the computer

More information

Internet applications

Internet applications Lesson 6 A m In this lesson you will learn: How to communicate by using email. How to create email accounts. Internet applications Email Tejas: Today we had to do an activity on Communication old and new.

More information

Revision of Level I. In this lesson you will: Revise the topics learnt in the previous level.

Revision of Level I. In this lesson you will: Revise the topics learnt in the previous level. A m In this lesson you will: Revise the topics learnt in the previous level. Lesson1 Revision of Level I Moz walks in and sees that Jyoti is wiping the monitor with a soft duster while Tejas is wiping

More information

AN INTRODUCTION TO SCRATCH (2) PROGRAMMING

AN INTRODUCTION TO SCRATCH (2) PROGRAMMING AN INTRODUCTION TO SCRATCH (2) PROGRAMMING Document Version 2 (04/10/2014) INTRODUCTION SCRATCH is a visual programming environment and language. It was launched by the MIT Media Lab in 2007 in an effort

More information

Teacher Cheat Sheet - Game Coding Challenges

Teacher Cheat Sheet - Game Coding Challenges Teacher Cheat Sheet - Game Coding Challenges Challenge #1 Movement: Make your sprite move across the screen. When it hits the walls, it must bounce off and keep moving. 1. The When Flag is clicked is your

More information

The art of using fonts, colours in text

The art of using fonts, colours in text Lesson 7 Revision The art of using fonts, colours in text Aim In this lesson you will learn: What is a font and why it is important to choose a particular font. Where and how to use different font type,

More information

Add in a new balloon sprite, and a suitable stage backdrop.

Add in a new balloon sprite, and a suitable stage backdrop. Balloons Introduction You are going to make a balloon-popping game! Step 1: Animating a balloon Activity Checklist Start a new Scratch project, and delete the cat sprite so that your project is empty.

More information

Hello Tejas + - / + - * / + - * /+ - * / Name$ = Tejas Print Hello +Name$ * / - * / + - * / * / + - */+ + - * */ Print Input Rect Circ

Hello Tejas + - / + - * / + - * /+ - * / Name$ = Tejas Print Hello +Name$ * / - * / + - * / * / + - */+ + - * */ Print Input Rect Circ + - / ct Circle e Print Input Rect Circle / cle * / + - * / + - * /+ - * / Name$ = Tejas Print Hello +Name$ Print Input Rect Circle + - * / + - * /+ - * / ircle e Print Input Rect Circle Hello Tejas -

More information

Lesson 6 page 1. If you look at the bottom right of the Scratch color choices, you will see it say MORE BLOCKS in Purple.

Lesson 6 page 1. If you look at the bottom right of the Scratch color choices, you will see it say MORE BLOCKS in Purple. Lesson 6 page 1 LESSON 6: Feb 17-24 Hello everyone! We are going to learn about BYOB this week. This acronym stands for Build Your Own Blocks. If you look at the bottom right of the Scratch color choices,

More information

The art of using fonts and colours in text

The art of using fonts and colours in text Lesson 6 Revision The art of using fonts and colours in text Aim In this lesson you will learn: What is a font and why it is important to choose fonts carefully. How to use different font types, sizes,

More information

PPT. 3. Advanced Presentation: Digital story telling

PPT. 3. Advanced Presentation: Digital story telling PPT 3. Advanced Presentation: Digital story telling Aim: In this lesson, you will learn: How to create a digital story using presentation application. Tejas and Jyoti are asked to make presentations on

More information

Communication using

Communication using Lesson 7 A m In this lesson you will learn: How to communicate by using email. How to create email accounts. Communication using E-mail Tejas: Today we made a poster on Communication old and new. Tejas

More information

Internet applications - Searching

Internet applications - Searching Lesson 5 A m Internet applications - Searching In this lesson you will learn: How to search for information on Internet. How to take precautions while browsing. Tejas and Jyoti were reading a story book.

More information

Remain Healthy while using Computers

Remain Healthy while using Computers Lesson3 Remain Healthy while using Computers A m In this lesson you will learn: Precautions to be observed while using a computer. Posture while using computers. Exercises for body fitness. We know that

More information

Internet applications Browsing

Internet applications Browsing Lesson 4 Internet applications Browsing Aim In this lesson you will learn: Not Completed. Tejas: Yesterday our class went on a picnic to aksha dam. We saw the power generating unit there. Jyoti: Here is

More information

Computers and your Health

Computers and your Health Lesson3 A m Computers and your Health In this lesson you will learn: Precautions to be taken while using a computer. Correct postures while using computers. Exercises for body fitness. We know that computers

More information

Anjuli Kannan. Google Earth Driving Simulators (3:00-7:00)

Anjuli Kannan. Google Earth Driving Simulators (3:00-7:00) Google Earth Driving Simulators (3:00-7:00) An example of what you can do by learning the GoogleEarth API, once you know how to write code Google has published such an API so that people can make programs

More information

S3 Scratch Programming

S3 Scratch Programming LOREM ST LOUIS IPSUM DOLOR ST LOUIS SCHOOL S3 Computer Literacy S3 Scratch Programming Dominic Kwok CHAPTER 1 Scratch After studying this chapter, you will be able to create a simple Scratch program upload

More information

ICS 61 Game Systems and Design Introduction to Scratch

ICS 61 Game Systems and Design Introduction to Scratch ICS 61, Winter, 2015 Introduction to Scratch p. 1 ICS 61 Game Systems and Design Introduction to Scratch 1. Make sure your computer has a browser open at the address http://scratch.mit.edu/projects/editor/.

More information

Making a maze with Scratch

Making a maze with Scratch Making a maze with Scratch Can you make it to the end? Student guide An activity by the Australian Computing Academy Let s go! Step 0: Get started Go to www.scratch.mit.edu Sign in with the username and

More information

Introduction to Scratch

Introduction to Scratch Introduction to Scratch Familiarising yourself with Scratch The Stage Sprites Scripts Area Sequence of Instructions Instructions and Controls If a computer is a box think of a program as a man inside the

More information

One day... Jyoti: Hello Moz, How are you? How did you spend your holidays?

One day... Jyoti: Hello Moz, How are you? How did you spend your holidays? Last year... One day... Tejas and Jyoti had met Moz, the talking mouse, in the computer lab of their school. Moz offers to teach the use of computers to the children. The children had a great time with

More information

Hello Tejas. Print - BASIC-256 program and text output + - / + - * / + - * /+ - * / Name$ = Tejas Print Hello +Name$ * / - * / + - * /+ + -

Hello Tejas. Print - BASIC-256 program and text output + - / + - * / + - * /+ - * / Name$ = Tejas Print Hello +Name$ * / - * / + - * /+ + - + - / ct Circle e Print Input Rect Circle / cle * / + - * / + - * /+ - * / Name$ = Tejas Print Hello +Name$ Print Input Rect Circle + - * / + - * /+ - * / ircle e Print Input Rect Circle Hello Tejas -

More information

6. Internet: Content sharing

6. Internet: Content sharing e mail cmgroup@xyz.com tejas@xyz.com jyoti@xyz.com moz@xyz.com 6. Internet: Content sharing Aim: In this lesson, you will learn: How to use advanced e-mail features, such as sending to groups. How to share

More information

[ the academy_of_code] Senior Beginners

[ the academy_of_code] Senior Beginners [ the academy_of_code] Senior Beginners 1 Drawing Circles First step open Processing Open Processing by clicking on the Processing icon (that s the white P on the blue background your teacher will tell

More information

4. Advanced Word Processing

4. Advanced Word Processing Aim: In this lesson, you will learn: How to create invitation card and newsletter. 4. Advanced Word Processing Make an invitation Tejas: Next Friday is my birthday, I want to invite all my friends to the

More information

4. Advanced Word Processing

4. Advanced Word Processing Aim: In this lesson, you will learn: The 4. Advanced Word Processing Make an invitation Tejas: Next Friday is my birthday, I want to invite all my friends to the party. Moz: Have you sent invitations to

More information

5. Introduction to Spreadsheet

5. Introduction to Spreadsheet A B C D E 1 23 5. Introduction to Spreadsheet Aim: In this lesson, you will learn: How to enter a data in spreadsheet. To do simple calculations like sum, percentage and average on the given data. Subject

More information

5. Multiple representation of data: Introduction to Spreadsheet

5. Multiple representation of data: Introduction to Spreadsheet A B C D E 1 23 5. Multiple representation of data: Introduction to Spreadsheet Aim: In this lesson, you will learn: How to enter a data in spreadsheet. To do simple calculations like sum, percentage and

More information

Telling a Story Visually. Copyright 2012, Oracle. All rights reserved.

Telling a Story Visually. Copyright 2012, Oracle. All rights reserved. What Will I Learn? Objectives In this lesson, you will learn how to: Compare and define an animation and a scenario Demonstrate how to use the four problem solving steps to storyboard your animation Use

More information

8. Download and Explore applications: Xmind, Scribus

8. Download and Explore applications: Xmind, Scribus Download Aim: In this lesson, you will learn: To find an application for a given purpose. To explore independently its features. 8. Download and Explore applications: Xmind, Scribus Yes! I know some of

More information

Creating Breakout - Part 2

Creating Breakout - Part 2 Creating Breakout - Part 2 Adapted from Basic Projects: Game Maker by David Waller So the game works, it is a functioning game. It s not very challenging though, and it could use some more work to make

More information

All Blocks of Scratch

All Blocks of Scratch All Blocks of Scratch Scratch has over 100 coding blocks, and each one has a unique use. They are all colour-coded into 9 different categories as seen below: You can also create your own block under More

More information

Key Stage 2 Scratch, Python and Kodu (Beginners)

Key Stage 2 Scratch, Python and Kodu (Beginners) Key Stage 2 Scratch, Python and Kodu (Beginners) The Aims By the end of this session, you will have: Explored a progression of beginner activities in Scratch a visual programming language Programmed new

More information

Making ecards Can Be Fun!

Making ecards Can Be Fun! Making ecards Can Be Fun! A Macromedia Flash Tutorial By Mike Travis For ETEC 664 University of Hawaii Graduate Program in Educational Technology April 4, 2005 The Goal The goal of this project is to create

More information

4. Open Office writer Activity

4. Open Office writer Activity Aim: In this lesson, you will learn: The 4. Open Office writer Activity Make an invitation Tejas: Next Friday is my birthday, I want to invite all my friends to the party. Moz: Have you sent invitations

More information

Quick Guide. Choose It Maker 2. Overview/Introduction. ChooseIt!Maker2 is a motivating program at first because of the visual and musical

Quick Guide. Choose It Maker 2. Overview/Introduction. ChooseIt!Maker2 is a motivating program at first because of the visual and musical Choose It Maker 2 Quick Guide Created 09/06 Updated SM Overview/Introduction This is a simple to use piece of software that can be tailored for use by children as an alternative to a pencil and paper worksheet,

More information

Internet applications

Internet applications Lesson 6 A m In this lesson you will learn: How to communicate by using email. How to create email accounts. Internet applications Email Tejas: Today we had to do an activity on Communication old and new.

More information

The Grid. User Manual Part I: Getting Started. 1. Getting Started System requirements Installation procedure...

The Grid. User Manual Part I: Getting Started. 1. Getting Started System requirements Installation procedure... The Grid User Manual Part I: Getting Started 1. Getting Started... 3 1.1. System requirements... 3 1.2. Installation procedure...3 1.3. Licencing... 3 1.4. Running The Grid... 3 1.5. Start using The Grid...3

More information

4. Advanced Word Processing

4. Advanced Word Processing Our school students won the prize in group orchestra. They also won prizes celebrated on the 21st of April. It was in painting competition and group dance. conducted in the open air theatre. Many The students

More information

Quick Reference Tables

Quick Reference Tables Quick Reference Tables Chapter 1 Raspberry Pi Startup Command Quick Reference Table Command startx sudo sudo shutdown -h now sudo shutdown -r now Launches the Raspbian desktop environment (GUI). Gives

More information

Measuring in Pixels with Scratch

Measuring in Pixels with Scratch In the Primary division, a big mathematical idea is understanding how to measure correctly, using both non standard and standardized measurements. Many students struggle with measuring because they fail

More information

M O T I O N A N D D R A W I N G

M O T I O N A N D D R A W I N G 2 M O T I O N A N D D R A W I N G Now that ou know our wa around the interface, ou re read to use more of Scratch s programming tools. In this chapter, ou ll do the following: Eplore Scratch s motion and

More information

Scratch. Creative Computing

Scratch. Creative Computing Scratch Creative Computing Section 1 INTRODUCTION TO SCRATCH Scratch Browser based Created at MIT Creative Computing Using a tool to easily create a computer program. Typically a drag-and-drop tool. Emphasizes

More information

Guidelines for lesson creation [with basic topics to be covered] (1-1, 1-2) Parts of a computer and identifying

Guidelines for lesson creation [with basic topics to be covered] (1-1, 1-2) Parts of a computer and identifying Guidelines for lesson creation [with basic topics to be covered] (1-1, 1-2) Parts of a computer and identifying What minimal topics must to be covered in each lesson? List only the 4 main parts of a computer

More information

Meet the Cast. The Cosmic Defenders: Gobo, Fabu, and Pele The Cosmic Defenders are transdimensional

Meet the Cast. The Cosmic Defenders: Gobo, Fabu, and Pele The Cosmic Defenders are transdimensional Meet the Cast Mitch A computer science student who loves to make cool programs, he s passionate about movies and art, too! Mitch is an all-around good guy. The Cosmic Defenders: Gobo, Fabu, and Pele The

More information

Unit 9 Tech savvy? Tech support. 1 I have no idea why... Lesson A. A Unscramble the questions. Do you know which battery I should buy?

Unit 9 Tech savvy? Tech support. 1 I have no idea why... Lesson A. A Unscramble the questions. Do you know which battery I should buy? Unit 9 Tech savvy? Lesson A Tech support 1 I have no idea why... A Unscramble the questions. 1. which battery / Do you know / should / buy / I? Do you know which battery I should buy? 2. they / where /

More information

Teaching Kids to Program. Lesson Plan: Catch the Ball

Teaching Kids to Program. Lesson Plan: Catch the Ball Teaching Kids to Program Lesson Plan: Catch the Ball Step 1: 1. Open your web browser and go to SCRATCH (http://scratch.mit.edu/ ) 2. Sign in to your Scratch account by clicking on the button on the top

More information

Review of Computer Science and Scratch Concepts

Review of Computer Science and Scratch Concepts Supplement to the book Advanced Scratch Programming (Author: Abhay B. Joshi) Review of Computer Science and Scratch Concepts Introduction The projects covered in the book Advanced Scratch Programming by

More information

SCRATCH MODULE 3: NUMBER CONVERSIONS

SCRATCH MODULE 3: NUMBER CONVERSIONS SCRATCH MODULE 3: NUMBER CONVERSIONS INTRODUCTION The purpose of this module is to experiment with user interactions, error checking input, and number conversion algorithms in Scratch. We will be exploring

More information

SCRATCH. Introduction to creative computing with Scratch 2.0

SCRATCH. Introduction to creative computing with Scratch 2.0 SCRATCH Introduction to creative computing with Scratch 2.0 What is Scratch? Scratch is a visual programming language that allows you to create your interactive stories, games and animations by using blocks

More information

Section 1. System Technologies and Implications. Modules

Section 1. System Technologies and Implications. Modules System Technologies and Implications Modules 1.1 Introduction to computers 1.2 Software 1.3 Hardware 1.4 File management 1.5 ICTs in perspective 1.6 Extended software concepts 1.7 Extended hardware concepts

More information

Definition: A data structure is a way of organizing data in a computer so that it can be used efficiently.

Definition: A data structure is a way of organizing data in a computer so that it can be used efficiently. The Science of Computing I Lesson 4: Introduction to Data Structures Living with Cyber Pillar: Data Structures The need for data structures The algorithms we design to solve problems rarely do so without

More information

In this lesson you are going to create a drawing program similar to Windows Paint. 1. Start with a new project and remove the default cat sprite.

In this lesson you are going to create a drawing program similar to Windows Paint. 1. Start with a new project and remove the default cat sprite. Drawing Program In this lesson you are going to create a drawing program similar to Windows Paint. 1. Start with a new project and remove the default cat sprite. 2. Create a new sprite. 3. The new sprite

More information

Crossley Fields - Computing Vocabulary

Crossley Fields - Computing Vocabulary Crossley Fields - Computing Vocabulary Glossary of terms taken from Kirklees Guidance, CAS/NAACE Computing in the National Curriculum & MIT Scratch Reference Guide. A Algorithm an unambiguous procedure

More information

Remote Access Synchronization DL Parent

Remote Access Synchronization DL Parent Remote Access Synchronization DL Parent 205 Distance Learning Features Switched-On Schoolhouse 2008 School Edition has two optional distance learning features available: SOS Remote Access and SOS Synchronization.

More information

Scratch Programming for Primary School Teachers Quiz Game

Scratch Programming for Primary School Teachers Quiz Game Scratch Programming for Primary School Teachers Quiz Game For Scratch Version 2 Stewart Watkiss PenguinTutor.com www.penguintutor.com/teachers January 2014 About this guide During my preparation for an

More information

Introduction to Scratch Programming v1.4 (Second Ed) Lesson 6 Calculator

Introduction to Scratch Programming v1.4 (Second Ed) Lesson 6 Calculator Lesson What you will learn: how to perform simple calculations using Scratch how to use variables how to develop a design how to use the else if function how to create animated buttons Contents Exercise

More information

Naming and Organizing files

Naming and Organizing files Lesson6 Naming and Organizing files Aim In this lesson you will learn: How to organise files and folders. Naming files and folders. Tejas: Moz, today at home we helped my mother to store the things that

More information

Lost in Space. Introduction. Step 1: Animating a spaceship. Activity Checklist. You are going to learn how to program your own animation!

Lost in Space. Introduction. Step 1: Animating a spaceship. Activity Checklist. You are going to learn how to program your own animation! Lost in Space Introduction You are going to learn how to program your own animation! Step 1: Animating a spaceship Let s make a spaceship that flies towards the Earth! Activity Checklist Start a new Scratch

More information

VISUAL PROGRAMMING BY SCRATCH

VISUAL PROGRAMMING BY SCRATCH Faculty of Information Technology VISUAL PROGRAMMING BY SCRATCH Dr. Nguyen Chi Trung Faculty of Information Technology Hanoi National University of Education Chapter 1. Getting Started What is the Scratch?

More information

Lost in Space. Introduction. Scratch. You are going to learn how to program your own animation! Activity Checklist.

Lost in Space. Introduction. Scratch. You are going to learn how to program your own animation! Activity Checklist. Scratch 1 Lost in Space Introduction You are going to learn how to program your own animation! Activity Checklist Test your Project Save your Project Follow these INSTRUCTIONS one by one Click on the green

More information

Interactive Powerpoint. Jessica Stenzel Hunter Singleton

Interactive Powerpoint. Jessica Stenzel Hunter Singleton Interactive Powerpoint Jessica Stenzel Hunter Singleton Table of Contents iii Table of Contents Table of Contents... iii Introduction... 1 Basics of Powerpoint... 3 How to Insert Shapes... 3 How to Insert

More information

Concepts of storage and directory structure: Organising files using folders and sub-folders. Std: 3

Concepts of storage and directory structure: Organising files using folders and sub-folders. Std: 3 Title: Concepts of storage and directory structure: Organising files using folders and sub-folders Date : June 2007 REF No: 3.26, 3.27 Contributors: Dhanya P and Srinath Perur Std: 3 Reviewers: Farida,

More information

Switched-On Schoolhouse 2014 User Guide Reports & Application Functions

Switched-On Schoolhouse 2014 User Guide Reports & Application Functions Switched-On Schoolhouse 2014 User Guide Reports & Application Functions MMVI Alpha Omega Publications, Inc. Switched-On Schoolhouse 2014, Switched-On Schoolhouse. Switched-On, and their logos are registered

More information

You can delete the default blank background by clicking on its Delete button.

You can delete the default blank background by clicking on its Delete button. Quiz Project In this project, the application presents the user with an electronic quick made up of five questions. Before you start scripting, you need to have your questions ready. Create 5 trivia questions

More information

Shape Up. SETTING THE STAGE Children sort figures according to basic attributes.

Shape Up. SETTING THE STAGE Children sort figures according to basic attributes. Shape Up MA.C.1.1.1.2.1,.2,.3, and.4; MA.C.3.1.1.2.1 and.3 LESSON FOCUS Building models/diagrams to represent quantities between zero and one. COMPANION ANCHORS LESSONS Recognizing Shapes; Building Shapes;

More information

Lesson 2: Using the Number Line to Model the Addition of Integers

Lesson 2: Using the Number Line to Model the Addition of Integers : Using the Number Line to Model the Addition of Integers Classwork Exercise 1: Real-World Introduction to Integer Addition Answer the questions below. a. Suppose you received $10 from your grandmother

More information

Title of Resource Introduction to SPSS 22.0: Assignment and Grading Rubric Kimberly A. Barchard. Author(s)

Title of Resource Introduction to SPSS 22.0: Assignment and Grading Rubric Kimberly A. Barchard. Author(s) Title of Resource Introduction to SPSS 22.0: Assignment and Grading Rubric Kimberly A. Barchard Author(s) Leiszle Lapping-Carr Institution University of Nevada, Las Vegas Students learn the basics of SPSS,

More information

Assignment 1 What is a Computer?

Assignment 1 What is a Computer? Assignment 1 What is a Computer? Hello, I'm PC. Read about the computer. Answer the questions. A computer is a tool that runs programs. The computer is sometimes called a "personal computer" or PC for

More information

Lesson 2. Introducing Apps. In this lesson, you ll unlock the true power of your computer by learning to use apps!

Lesson 2. Introducing Apps. In this lesson, you ll unlock the true power of your computer by learning to use apps! Lesson 2 Introducing Apps In this lesson, you ll unlock the true power of your computer by learning to use apps! So What Is an App?...258 Did Someone Say Free?... 259 The Microsoft Solitaire Collection

More information

ToyBox Futuristi Instruction Manual

ToyBox Futuristi Instruction Manual ToyBox Futuristi Instruction Manual Contents Welcome to ToyBox Futuristi... 2 What can you do with this software?... 2 The Instructional Video... 2 Installing the software... 3 Windows... 3 Mac... 3 The

More information

Elections and voting Level 1 walkthrough This guide offers a suggested user path suitable for 7 11 year olds

Elections and voting Level 1 walkthrough This guide offers a suggested user path suitable for 7 11 year olds Elections and voting Level 1 walkthrough This guide offers a suggested user path suitable for 7 11 year olds This walkthrough covers: 1. Getting started 2. Main menu 3. Going to the polls 4. Results are

More information

Scratch Programming In Easy Steps Covers Versions 2 0 And 1 4

Scratch Programming In Easy Steps Covers Versions 2 0 And 1 4 Scratch Programming In Easy Steps Covers Versions 2 0 And 1 4 We have made it easy for you to find a PDF Ebooks without any digging. And by having access to our ebooks online or by storing it on your computer,

More information

VISION BASICS. Introduction (note materials updated for Vision 6.8.0)

VISION BASICS. Introduction (note materials updated for Vision 6.8.0) SAYRE AREA SCHOOL DISTRICT TECHNOLOGY TIPS VISION BASICS Introduction (note materials updated for Vision 6.8.0) Vision is a new software program for monitoring and controlling students computers in a lab

More information

Version History: 1.0: ab initio. Planning Notes:

Version History: 1.0: ab initio. Planning Notes: Title: Creative Writing with a Fork in the Road Author(s): Richard (Rick) G. Freedman Approximate Time: Varies by length of story and use of extra features Level: Grade 6-7 (if some code is already provided),

More information

Wimba Pronto. Version 2.0. User Guide

Wimba Pronto. Version 2.0. User Guide Wimba Pronto Version 2.0 User Guide Wimba Pronto 2.0 User Guide Welcome to Wimba Pronto 1 What's New in Wimba Pronto 2.0 2 Getting Started 3 Wimba Pronto System Requirements 3 Creating a New Wimba Pronto

More information

Section 1. System Technologies and Implications. Modules. Introduction to computers. File management. ICT in perspective. Extended software concepts

Section 1. System Technologies and Implications. Modules. Introduction to computers. File management. ICT in perspective. Extended software concepts Section 1 System Technologies and Implications Modules 1.1 Introduction to computers 1.2 Software 1.3 Hardware 1.4 File management 1.5 ICT in perspective 1.6 Extended software concepts 1.7 Extended hardware

More information

Interactive Tourist Map

Interactive Tourist Map Adobe Edge Animate Tutorial Mouse Events Interactive Tourist Map Lesson 1 Set up your project This lesson aims to teach you how to: Import images Set up the stage Place and size images Draw shapes Make

More information

WASHINGTON STATE MIDDLE SCHOOL COMPUTER SCIENCE COMPETITION 2017

WASHINGTON STATE MIDDLE SCHOOL COMPUTER SCIENCE COMPETITION 2017 WASHINGTON STATE MIDDLE SCHOOL COMPUTER SCIENCE COMPETITION 2017 Individual Challenge Grades 7 8 30 minutes Please read these directions carefully before beginning. Breaking any of the rules is grounds

More information

Table of Contents WINDOWS 95. What is Windows 95? Features LINC TWO

Table of Contents WINDOWS 95. What is Windows 95? Features LINC TWO Table of Contents What is Windows 95? Windows 95 is a computer-operating system that controls the basic operation of the computer and the programs (also known as applications or software tools) that run

More information

Duplicate and customize an existing kahoot to fit your needs. Launch and host a kahoot game in your class

Duplicate and customize an existing kahoot to fit your needs. Launch and host a kahoot game in your class Course 1 Get started and discover with Kahoot! Welcome to the first course of the Kahoot! Certified program! Before we get started, please be sure not to share these guides further, as they are only for

More information

Wimba Pronto. Version 2.1. User Guide

Wimba Pronto. Version 2.1. User Guide Wimba Pronto Version 2.1 User Guide Wimba Pronto 2.1 User Guide Welcome to Wimba Pronto 1 What's New in Wimba Pronto? 2 Getting Started 3 Wimba Pronto System Requirements 3 Creating a New Wimba Pronto

More information

ONLINE BOOKING GUIDE

ONLINE BOOKING GUIDE ONLINE BOOKING GUIDE Table of Contents OVERVIEW & LOGGING IN... 2 SET UP & EDIT YOUR PROFILE... 4 BOOKING PREFERENCES TENNIS... 5 TENNIS BOOKINGS... 6 MAKE A BOOKING TENNIS... 6 MAKE A BOOKING SQUASH...

More information

Lesson 3: Basic Programming Concepts

Lesson 3: Basic Programming Concepts 3 ICT Gaming Essentials Lesson 3: Basic Programming Concepts LESSON SKILLS After completing this lesson, you will be able to: Explain the types and uses of variables and operators in game programming.

More information

Computer Science Concepts in Scratch

Computer Science Concepts in Scratch Computer Science Concepts in Scratch (Supplement for Scratch 2.0) Version 1.0 Michal Armoni and Moti Ben-Ari c 2013 by Michal Armoni, Moti Ben-Ari, Weizmann Institute of Science. This work is licensed

More information

WASHINGTON STATE MIDDLE SCHOOL COMPUTER SCIENCE COMPETITION 2017

WASHINGTON STATE MIDDLE SCHOOL COMPUTER SCIENCE COMPETITION 2017 WASHINGTON STATE MIDDLE SCHOOL COMPUTER SCIENCE COMPETITION 2017 Individual Challenge Grades 5 6 30 minutes Please read these directions carefully before beginning. Breaking any of the rules is grounds

More information

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller

Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Excel Basics Rice Digital Media Commons Guide Written for Microsoft Excel 2010 Windows Edition by Eric Miller Table of Contents Introduction!... 1 Part 1: Entering Data!... 2 1.a: Typing!... 2 1.b: Editing

More information

Barchard Introduction to SPSS Marks

Barchard Introduction to SPSS Marks Barchard Introduction to SPSS 21.0 3 Marks Purpose The purpose of this assignment is to introduce you to SPSS, the most commonly used statistical package in the social sciences. You will create a new data

More information

ONE HOUR ANIMATION. Will you be a Scratcher upon completion of this session? Definitely. Learn how to write a basic script to animate a sprite.

ONE HOUR ANIMATION. Will you be a Scratcher upon completion of this session? Definitely. Learn how to write a basic script to animate a sprite. ONE HOUR ANIMATION 45-60 minutes Will you be a Scratcher upon completion of this session? Definitely. Learn how to write a basic script to animate a sprite. 1. A computer or laptop A computer or 2. A mouse

More information

Year 2 Spring Term Week 5 to 7 - Geometry: Properties of Shape

Year 2 Spring Term Week 5 to 7 - Geometry: Properties of Shape 1 Year 2 Spring Term Week 5 to 7 - Geometry: Properties of Shape Recognise 2-D and 3-D shapes Count sides on 2-D shapes Count vertices on 2-D shapes Draw 2-D shapes Lines of symmetry Sort 2-D shapes Make

More information

Fruit Snake SECTION 1

Fruit Snake SECTION 1 Fruit Snake SECTION 1 For the first full Construct 2 game you're going to create a snake game. In this game, you'll have a snake that will "eat" fruit, and grow longer with each object or piece of fruit

More information

Odyssey Quick Start. Quick Links: Launch Pad and Assignments Portfolio and Reports FAQs For Parents GUIDE FOR STUDENTS AND PARENTS

Odyssey Quick Start. Quick Links: Launch Pad and Assignments Portfolio and Reports FAQs For Parents GUIDE FOR STUDENTS AND PARENTS Odyssey Quick Start GUIDE FOR STUDENTS AND PARENTS Quick Links: Launch Pad and Assignments Portfolio and Reports FAQs For Parents Launch Pad and Assignments Click here to open your portfolio. Click this

More information