[PDF] [PDF] A Very Basic Introduction to MSW Logo Programming





Previous PDF Next PDF



CHAPTER 9 REPEAT COMMAND AND PROCEDURES IN MSW Logo

3. The TO command is given before the title of a procedure. 4. A Logo procedure name must always start with an alphabet/letter.



MswLogo Getting Started

Spaces are used to delimit (separate) commands. Most of the commonly used LOGO commands can be abbreviated to 2 letters (usually the first and last letters of 



Std. 3. L. 5. Introduction to LOGO

Drawing the Letter K. In MSWLogo window type and execute the following commands. FD 100. BK 50. RT 45. FD 70. BK 70. RT 90. FD 70. HT. K. You will see that the 



Practice Book 3 Practice Book 3

Before you start: Install MSW Logo on all machines. Familiarise yourself Logo is a text-based programming language so the commands have to be typed in ...



Logo Command reference

Logo Command reference. +. Plus. 5. -. Minus. 5. *. Multiplication. 5. /. Division. 5 that characters such as slashes in the name are not taken to be logo ...



CHAPTER 8 MORE ON MSWLogo

We use mathematical operators to move the turtle on the screen. WRITE COMMANDS TO. 1. Print the number 108. Ans. PRINT 108. Page 2. 2. Print the first letter of 



CLASS – III

01-Oct-2021 CH- 8More on MSW Logo) ... right using the * operator. ➢ Activity: -. ➢ The turtul wants to cross the road. Give commands in Logo for it to ...



Computer Science study material

16-Aug-2023 Programming with LOGO–Part-1. ➢ Home screen Turtle. ➢ Logo commands–Moving





6 Control and Learning with LOGO

Commands having a semicolon (;) in front are called comments which are ignored by MSW LOGO. Random Command. LOGO provides one of the best ways of stimulating 



CLASS 3 CHAPTER 4: INTRODUCTION TO LOGO

1. Write the LOGO primitives to draw the letters N M



Great Logo Adventure!

Your picture is saved in the MSW Logo directory. commands to draw a letter maybe. ... But you can get some good practice with Logo commands this way.



A COMPUTER LANGUAGE • Q/A: 1. What is the full form of logo? Ans

12. What is meant by primitives? Ans: The commands that we give to the truth are called logo primitives. 13. Who developed the MSW logo?



A Very Basic Introduction to MSW Logo Programming 1. GETTING

To get started with MSW Logo you just need to know a few commands: putting in a number for the size when you write the procedure



GUIDELINES FOR THE USE OF THE SDG LOGO INCLUDING THE

SDG Logo: Version 1 which displays the United Nations emblem above or to the left subject line “SDG LOGO/ICON REQUEST” in all capital letters.



Contents

MSW Logo "Turtle Graphics" Primitive Command Summary . to reasonably short descriptive words



Programming in LOGO

A command is an instruction which the computer can understand and execute. The only restrictions on the name are that it consists only of letters and ...



Untitled

Logo is a programming language that is easy to learn. the computer only understands very basic commands which can then be combined to.



MswLogo Getting Started

MswLogo commands are typed into the bottom (Commander) window. Commands can be entered letters (usually the first and last letters of the word) except.



Chapter 11. Talk To Your Computer

Logo can also display alphabetic and numeric characters using the CHAR or ASCII (American Standard Code The input to the MSW Logo command SETTEXTFONT



[PDF] Logo Command reference

Clear graphics and home the turtle 10 CloseReadFile Close the file open for reading 10 CloseWriteFile Close the file open for writing



[PDF] Preview Logo Tutorial (PDF Version) - Tutorialspoint

It is used for teaching students and children how to program a computer It was developed to process a list of words A command is an instruction which the 



[PDF] Great Logo Adventure!

Your picture is saved in the MSW Logo directory commands to draw a letter maybe it make you think through a whole series of Logo commands



[PDF] Chapter 1 Getting Started

menu includes commands for working with pictures that you design Set: You can change the type of letters and numbers that Logo uses by setting the “font” 



[PDF] MSW Logo - WordPresscom

Command Abbreviation Response Syntax Forward FD Go forward FD X Ex: FD 100 Back BK Go back way BK X Ex: BK 100 Left LT Rotate Left



[PDF] PROGRAMMING WITH MSW Logo - SILO of research documents

Write commands in command line i e text box at bottom of Commander window Press Enter or click Execute to run command written there It's OK to write and 



Logo PROGRAMMING WITH MSW Logo - PDF Free Download

Here's the MSW Logo screen in two parts: drawing window above with triangle-shaped TURTLE in center Commander window below Write commands in command line i e  



[PDF] MswLogo Getting Started

MswLogo commands are typed into the bottom (Commander) window Commands can be entered letters (usually the first and last letters of the word) except



[PDF] A Very Basic Introduction to MSW Logo Programming

To get started with MSW Logo you just need to know a few commands: putting in a number for the size when you write the procedure you put in a letter

  • Expert-Verified Answer
    MSW LOGO has two parts which is Drawing window and command window. Command window has textual input / output which can be cleared using the command CT.
www.seandelaney.com Introductory MSW Logo Tutorial (2003)

A Very Basic Introduction to MSW Logo Programming

Below I have reproduced a selection of notes from a course in Logo that I taught several years ago. I hope that

the notes are of help to anyone who is interested in learning to use this programming language. The notes are

organised into five key areas. It would be good to be familiar with one step before moving to the next one.

1. GETTING STARTED

To get started with MSW Logo, you just need to know a few commands: Forward __ (Number refers to line length; can be abbreviated to FD __ ) Back __ (Number refers to line length; can be abbreviated to BK __) Right __ (Number always refers to measure of angle; can be abbreviated to RT __) Left __ (Number always refers to measure of angle; can be abbreviated to LT __) Home

Clearscreen (CS)

PenUp (PU)

PenDown (PD)

Hideturtle (HT)

ShowTurtle (ST)

Penerase (PE)

PenPaint (PPT)

Try experimenting with these in order to get an idea of what each one does.

2. USING THE REPEAT COMMAND

A next step is to begin using the repeat command. Try typing the following into the command screen:

Repeat 3 [fd 50 rt 50]

Experiment by making other shapes using the repeat command. This table might help you. Try making these shapes, filling in the details requested:

Polygon Name Number of

sides

Size of

external angles

Size of

internal angles

Instructions to the Turtle

Triangle 3

Square

Pentagon

Hexagon

www.seandelaney.com Introductory MSW Logo Tutorial (2003)

Octagon

Nonagon

Decagon

3. WRITING AND SAVING PROCEDURES

As you get more experience of using logo, you will find that it is beneficial to teach the computer additional commands that it can store and retrieve when you wish. These commands are known as procedures. In order to teach the turtle a new procedure you need to open a new window in MSW Logo. This window is known as the 'editor window.'

The editor window can be opened by typing "edall" in the input box. Try doing this first. Note that

the two words that appear "to" and "end" are the first and last words respectively that you will need

to use when writing any procedure. Close the window. You can do this by clicking on "File" and then "Save and exit" (see diagram below).

Another way of closing the window

is simply clicking on the 'x' button on the top right of the window. When you do this the dialogue box that you see to the left will appear. www.seandelaney.com Introductory MSW Logo Tutorial (2003) Because you have made no changes it doesn't really matter whether you click on yes or no. However, because you will want the turtle to remember things later, it is probably best to get into the habit now of clicking on "YES." Suppose you want the turtle to be able to draw a square. You need to use the editor window to tell

the turtle what to do. Start off by opening the editor window. Then type: "To Square". Next, hit the

'return' key. Type the instructions for drawing a square, using the repeat command (see above). When you have typed the instructions for drawing a square, hit the return key and then type: "end".

Close the editor window. Save the changes. Now, it is time to check out if your procedure works. In

the input window type: "square". If the turtle draws a square you have written the procedure correctly. Try writing procedures to draw the shapes named in the table above. After each of the shapes that you made above, you saved the changes. However, as soon as you exit MSW Logo these procedures will be lost unless you save them to a folder on your own computer. In order to do this, you need to go to File on the top right of the main MSW Logo screen and click on 'SaveAs' (See below).

Doing this will open a dialog box like this:

www.seandelaney.com Introductory MSW Logo Tutorial (2003) Choose a file in which to save your work. Call it something like "My Logo Projects." The folder name

is just random. You can call your file whatever you like as long as you will be able to find the most up

to date one quickly.

4. LOADING FILES AND INTRODUCTING VARIABLES

Above you learned to save the procedures that you had prepared and typed into the "Edall" window. In order to have the benefit of this work you now need to load the work that you have saved. You do this by launching MSW Logo (if you have not already done this) and going to the File menu and clicking on Load.(See diagram) This will open up a dialog box, that looks something like this one: www.seandelaney.com Introductory MSW Logo Tutorial (2003) You now need to open the most recent logo file which you saved (this should be the one that contains the most correct procedures). When you have done this you can test if it is working by typing in the names of one of the procedures that you created, such as "pentagon", and see what happens. If the turtle draws a pentagon you have correctly loaded the file. If not, see if you can establish why. The shapes above can now (hopefully!) be drawn by the computer simply by typing in the shape's name into the Input window and hitting the 'Enter' key. However, there is a problem. If you want to make something more complicated than a square, such as a house, you may need to use squares

or rectangles of different sizes. Therefore you need to learn how to write procedures for shapes, so

that you can vary, the size of the shape. Look at the procedure that you wrote to draw a triangle. If you wanted to draw a smaller triangle, what measurements would you have to change? What measurements would stay the same? In order to be able to draw shapes of different sizes, you need to introduce a variable. In other words, instead of putting in a number for the size when you write the procedure, you put in a letter (e.g. 'x') or a word and then you put in the actual measurement that you want when you type the name of the procedure into the input window. One other thing, when you give your procedure a name you need to warn it to expect a variable and

not a number. This is done by naming the variable and putting a colon before it. It will probably be

easier to grasp this using an example: To triangle :size (Notice that the variable is mentioned here with the colon before it)

Repeat 3 [ fd :size rt 120] (Notice that instead of putting in the length of one side of the triangle you type in a colon

and the name of the variable) End

To test if this works now, save it and type in triangle 50 (Remember in order for the turtle to be able

to draw the shape you now have to tell it the value of the variable when you ask the turtle to draw the shape) in the input box. Now, try drawing triangles of different sizes. Now, go back to all the shapes in your editor window and put variables into them all. Test that each new procedure works by making shapes of different sizes. Challenge: Write a command for a rectangle, using variables and the repeat command. [Hint: you can use more than one variable provided you give them different names].

5. CHANGING THE COLOUR OF DRAWINGS

It is good to be able to add colour to your shapes. In order to be able to include colour in your pictures, you need to refer to a table where each colour is given a particular code. Here is such a table. www.seandelaney.com Introductory MSW Logo Tutorial (2003) Name Black Blue Green Cyan Red

Magenta

Yellow

White Index 0 1 2 3 4 5 6 7

RGB values

[ 0 0 0 ] [ 0 0 255] [ 0 255 0 ] [ 0 255 255] [255 0 0 ] [255 0 255] [255 255 0 ] [255 255 255] Name Brown

Light brown

Mid-green

Blue-green

Salmon

Blue-ish

Orange

Silver

Index 8 9 10 11 12 13 14 15

RGB values

[155 96 59] [197 136 18] [100 162 64] [120 187 187] [255 149 119] [144 113 208] [255 163 0 ] [183 183 183] If you want to change the pen colour to one of the colours above, you simply write the command 'Setpencolor ' followed by the appropriate RGB values into the procedure before the command that

tells the turtle what line(s) to draw. E.g. Setpencolor [ 0 255 255]. (Notice the US spelling of 'color').

Try doing this to some of the procedures for shapes that you have already written. (NOTE: THE RGB VALUES SIMPLY DEFINE THE AMOUNT OF EACH OF THE COLOURS, RED, GREEN AND BLUE THAT YOU WANT TO BE PUT INTO THE MIX. LOOK, FOR EXAMPLE, AT THE VALUE FOR BLUE, THE VALUE IS 0

FOR RED, 0 FOR GREEN AND HIGHEST FOR BLUE)

It is also possible to fill a closed shape with a colour of your choice. In order to do this you first set

the colour using the command "setfc" followed by the appropriate RGB values from the table above. This tells the turtle what colour you will fill the shape with.

In order to fill the shape you need to place the turtle inside the shape you want to fill (if the pen

colour is different from the 'fill' colour you may need to type 'penup (pu) before moving it). When

the turtle is inside the shape you are ready to fill the shape. You simply type the command 'fill' into

the procedure.

Good luck!

quotesdbs_dbs17.pdfusesText_23
[PDF] msw logo download for pc

[PDF] mta b31 bus schedule

[PDF] mta b36 bus route

[PDF] mta bus 50 schedule

[PDF] mta bus route

[PDF] mta bus schedule

[PDF] mta bus schedule 84

[PDF] mta bus time app download

[PDF] mta bus time app for iphone

[PDF] mta bus time app ios

[PDF] mta bus time app not working

[PDF] mta bus time application

[PDF] mta bx3 bus schedule

[PDF] mta express bus

[PDF] mta trip planner