InterviewSolution
Saved Bookmarks
| 1. |
Introduction of scratch |
|
Answer» PEN FEATUREThe pen feature allows you to draw differaent shapes.CREATING A SCRIPT TO DRAW DIAGRAM USING PEN FEATURETo draw a diagram using pen feature, follow the steps: -->Go to the file menu and select the New option. ->A new project opens.->Plan which type of diagram you have to draw. ->Now, drag the required blocks or command from blocks palette to the script pane.->Now, click the green flag to run the project. SAVING A SCRATCH PROJECT To save a project, follow the steps: -->Go to the file menu and select the Save option. ->The save project dialogue box appears.->Choose the location.->Type the name of the project in the file name box. ->Click Save button. Your project will be saved with the octension. sb2.OPERATING AN EXISTING SCRATCH PROJECT To open an existing scratch project, follow the steps: -->Go to the file menu and select the Open option. ->The open project dialogue box appears. ->Locate the project which you want to open.->Click the Open button. The selected project will be opened. FEATURE OF SCRATCHFollowing are the basic feature of scratch are:-•It is a free and open source programming language.•It is easy to learn and use.•It can run on multiple platform or operating system such as windows,NAC,OS and linaxDOWNLOADING SCRATCHGo to the official website of scrach,i.e,http:ll scratch.mit.edu/download.Then choose operating system and click on download link.INSTALLING SCRATCH->Go to the download folder.->Double click on scratch application.->Click on continue button of Application Install dialogue box.->After installation,a shortcut will be appear on the screen.GETTING STARTED SCRATCH->Double click on the shortcut icon of scratch on desktop OR,Click on start buttton then select scratch.DRAGGING AND DROPPING COMMAND->To create script,we need to drag the blocks or command from the block palettes to the script pane.We need to click blocks and drag over it.SCRIPTA script is a collection of blocks or commands which are interlocked with one another.CREATING A SIMPLE SCRIPT->Go to the file menu and select New option to create new project.->From the Event category,drag the(when clicked) block to the script pane.->From the motion category,drag the(Move steps) block to the script pane.->From the sound category,drag the(play sound) block to the script pane.->Click on the green flag to run the script.REPORTING BLOCKS OF COMMANDS->From the control category,drag the(repeat) block into the script pane and change how many times it repeats.->Click on green flag to run the script.X-Y PLANEThe sprite moves on the stage.To talk about the position of the stage,we use x-and y-coordinates.The x-axis runs from left to right,while the y-axis runs from bottom to top.CREATING A SCRIPT TO MOVE THE CAT(SCRATCH NOSCAT)To create a script to move the cat,follow the steps:-->Go to the file menu and select New option to create new project.->Now,drag this following blocks or commands from block palette to the script pane.->Now,click the green flag to run te project. Scratch is a fun programming language. It provides a learing environment for kids. It allows the users to create games,stories and animations. Scratch is developed by the lifelong kindergarten Research group at MIT media lab , U.S.A |
|