Wednesday, September 18, 2013

Scratch 2.0 - Beta

Scratch 2.0 - off line  editor is finally available :)

I made a small project to test the clone capability. - http://scratch.mit.edu/projects/12474696/

There is also a new function with witch to show and hide lists, this function was previously only available in Panther.  Web-cam functionality is also serious fun. Unfortunately there is no support for a Pico-board at present, at least as far as I could see.




Tuesday, September 3, 2013

Class Project

I made a class exercise as a challenge for my students,  for this  I  only supply them with a text file.

3317,O,MAAKE,9311080336084,
21344,KK,MATLALA,9507275593081,
2037,MJ,BOPAPE,9202230506481, 


Tuesday, February 12, 2013

Embarcadero supports secondary, university-level ICT education across SA

 
MAIDENHEAD, UK: Embarcadero Technologies, a leading provider of software solutions for application and database development, is actively engaging with the academic community across South Africa to support secondary and university-level ICT education in the country.
The company is working with schools, academic institutions and government organisations to provide the latest software programming tools including Delphi and C++ Builder to facilitate delivery of the ICT curriculum. Embarcadero is also actively assisting academic institutions with the development of course material on Delphi and C++ programming languages across the spectrum of ICT education in South Africa.
 
Growing interest
 
"We are seeing growing interest from students in software development as a career option at university level, but we need to do substantially more to kindle and sustain this enthusiasm, especially at secondary level,"
 

Sunday, January 20, 2013

IT is gr8! @ Grade 11; Theory and Applications

Here is the first chapter of the new IT is gr8! @ Grade 11; Theory and Applications.
Teachers who have registered and paid for the Gr 11 Theory will be informed how/where the rest of the chapters will be available.
Sandra

Download:


Tuesday, January 8, 2013

IT is gr8! @ Grade 11:

Here are the first chapter and data files of the new IT is gr8! @ Grade 11 Delphi. This is the only Delphi information that will not be password protected.

The first chapter of IT is gr8! @ Grade 11 Theory, (a Hardware chapter) will also be uploaded soon.

Teachers who have registered and paid for the Gr 11 Delphi / Theory will be informed how/where the rest of the chapters will be available.

Sandra

 

Link – DATA , Mirror (Dropbox)

Link – Chapter 1 , Mirror (Dropbox)

Wednesday, November 14, 2012

Grade 10 Practical / Graad 10 Prakties

Grade 11 IT

Since I sent out the message about the IT books I have received questions like the following regarding the IT books: How many pages are the books? Can I receive a copy before the holidays? Can I register now?

Please remember – we are still working on the IT books as we have had 3 books to complete this year. Most of the first term theory has already been written but is still being checked and improved, and must also be translated and the layout done. I am not prepared to share modules that I am not completely happy with!

The first Delphi chapter has been placed on the blog a while ago. I will probably upload the Hardware chapter sometime during December. You will need Internet access at home.

The first Theory chapter won’t be password protected. This will enable you to access it and we can deal with registration and payment after the school starts in January.

Regards

Sandra

 

Thursday, November 8, 2012

Gr 10 IT - Exams

Paper 1
 
November exam paper
Right click the links and use "Save-As".
 
 
Mirror download - Dropbox

Friday, October 19, 2012

Study Opportunities’ IT Grade 10 Papers November

 (I am referring to the Study Opportunities textbook.)

Practical Paper (Paper 1): 3 hours, 100 marks

WHAT TO STUDY:

All Practical work done (Scratch):  Modules 1.1 to 1.8

 

Theory Paper (Paper 2): 3 hours, 150 marks

WHAT TO STUDY:

·         Algorithm Design and Programming – Modules 1.1 tot 1.7

·         Systems Technologies – Modules 2.1 to 2.5

·         Communication and Internet Technologies – Modules 3.1 to 3.4
Module 3.4: Web page technology:  Question for only 5 marks. The html code for the basic framework of a web page will be given. Learners will be asked to complete the html code to make a web page look like a given page.  

·         Data and Information Management – Modules 4.1 and 4.2

·         Social Implications – Modules 5.1 to 5.3

Uploading PATs

If your learners created good PATs, won't you please encourage them to upload the PATs to the Scratch website?  http://scratch.mit.edu/
 
The Scratch website allows Scratch programmers to upload their projects and make them available to anyone visiting the website. This allows Scratch programmers to show off their work and to learn from the work of others. In fact, every Scratch project that is uploaded to the website can be downloaded and used as the basis for creating new projects.  You can post your Scratch projects in different galleries or create a gallery of your own and even control whether anyone else is allowed to upload their projects into it.
 
In order to upload your Scratch projects to the Scratch website, you must sign up for a free account, which you can do by clicking on the sign up link at the top of every page on the Scratch website. Clicking on this link opens the Create an Account page.  Once you have finished filling out the required information, click on the Sign Up button. A new account will then be created for you, and you will be logged into the website
 
Once you have created a new account, you can begin uploading your Scratch applications. The first step in sharing a Scratch application is to click on the Share! Button located at the top of the Scratch IDE.  Begin by keying in your account name and password and then provide a name for your project. Next, enter any notes that you think other Scratch programmers visiting the Scratch website will need to know to work with your application.
In addition to providing instructions about how to work with your application, you should also use the Project Notes area to acknowledge the source of any audio or graphic files that you use in your application.
 
Scratch also supports an optional tagging feature that you can use to help other Scratch programmers locate your applications when searching the Scratch website. By default, Scratch lets you select any of six predefined tags covering the following categories.
Animation
Art
Game
Music
Simulation
Story
In addition, you can also create as many as four custom tags by supplying keywords that you think best describe your application and its purpose. Once you have finished filling out this window, click on the OK button, and the upload process will begin.
 
Once an upload is started, a dialog window is displayed, allowing you to track the progress of the upload process.
 
Source: Scratch Programming for Teens y Jerry Lee Ford.

Friday, October 12, 2012

Dancing on the beat of the music

In this little program a student used the Pico board. 
He imported a song to play.
The louder the sound, the higher the sprite jumps.
The sprite returns to the white line (gravitation)
The sprite also changes costumes
To stop the music you just press the button on the Picoboard
 

He also coded a script for the stage to make the lights change :


Friday, October 5, 2012

Make some music

Play old macDonald had a farm on the piano and Hee Hi Hee Hi Ho on another instrument.  Pay attention to longer and shorter notes
 
FFFCDDC  AAGGF
Make the piano play “Mary had a little lamb"

Thursday, September 27, 2012

Validate if the cellphone number entered only contains integer digits

Using the same idea of a list as last week, here is the code to validate whether a cellphone numbner input contains only digits, assuming that the list digits consists of the numbers 0,1,2,3,4,5,6,7,8,9 :

Friday, September 21, 2012

Validate whether a letter for input is a vowel

To validate whether the user entered a vowel we usually consider the following:
 
 
If you use a list instead, where vowels is a list that contains A,E,I,O U, the if statement is much easier to construct
 

Grade 11 Programming (Delphi)

Here is the first chapter of the Grade 11 Programming book (for Delphi) we are developing.
We know that many of you would like to do a bit of Delphi this year already, and you are welcome to use this chapter. The Delphi IDE is introduced in this chapter and they learn how to build an interface and how to accept and receive input and to produce output. Emphasis is placed on the correct use of OOP terminology by referring to components and the Form as objects from the word go. The use of variables is not addressed in this chapter. However, many opportunities are provided for them to identify data types and to convert data to and from strings by using the properties of the components. This is a skill that needs to be developed since it was not necessary to pay attention to data types in Scratch, but it is an important requirement in Delphi coding. 
Please take into account that the chapter will still be edited and proofread again before it is published. Any comments or recommendations regarding the chapter will be most welcome. We would like to know if what is expected of the learners is at an acceptable level or if it is not perhaps too easy for them. (All comments can be sent to study.opp@mweb.co.za.)
Study Opportunities IT team

PS: Hierdie module word in Engels en Afrikaans verskaf. Die Gr11-programmeringsboek gaan egter net in Engels beskikbaar wees.

Saturday, September 15, 2012

Scrolling background

Today's idea is to make a sprite appear to move in a never ending background, where in fact the background is moving and two background sprites alternate.

I used a picture of Nemo and modified it so that the fins can move.







  The code for Nemo simply makes it face in the direction it is moving and changes the costume to make it look like the fins are moving








The code for the stage makes use of a variable scrollx.  The value of scrollx changes as you press the right or left arrow keys.  Scrollx can get very big or very small so you work out how many cycles you have completed to subtract that from scrollx to set the x position of the two background sprites.
The if statement to set repeat determines which of the two background sprites will be on the left and which will be on the right.


 You need two background images that can be joined on either side 

The  code for the one background image is
 
and the code for the other background image is 
This ensures that the distance of the x position of the two background sprites is always 480 apart.(the width of the stage.  You can make it a little less to prevent a opening between the two background images

You can download the program from 
http://scratch.mit.edu/projects/MMyburgh/2782105

Saturday, September 8, 2012

Tic Tac Toe

Anita asked me to try to code Tic Tac Toe.

I found a solution on the Scratch website: http://scratch.mit.edu/projects/joefarebrother/1734397

Here is my version:

I created a sprite with 3 costumes:

When the green flag is clicked, set the costume to costume 1
I used a variable turn to determine if a naught or a cross will appear when the sprite is clicked.
To compare whether you have three in a row, I also created a variable 11 for the sprite in  column 1 row 1 and set the value to 11.  When the sprite is clicked I will change this value to X or O

The code for when the sprite is clicked, looks as follows:

The if statement is very long to compare all possible rows of three (8 combinations). 

Duplicate the sprite 8 times and change the code only where the variable 11 is set to X or O

My project is uploaded at: 


Wednesday, September 5, 2012

Panther

When I last looked at Panther it was not nearly as well developed. It surely has come a long way.
Showed it to my students.
My stronger kids already asked if I mind them using it to fine tune their PATs.
 

Sunday, September 2, 2012

Bug in a Maze

Draw the maze using rectangles in the background of the stage.
Import an animated gif  from the internet e.g. http://www.heathersanimations.com
You can make the bug move with the arrow keys.  If you change the direction when you press the arrows you only need two costumes.
To make the bug go back to the beginning when you touch the walls of the maze:

 Note that you have to put forever around the if  so that you keep checking if the bug touches the walls.

I uploaded my version at : http://scratch.mit.edu/projects/MMyburgh/2768973

Saturday, September 1, 2012

Create your own sprites - set costume centre

There are beautiful animated sprites available that can be used in the PAT.

First download the animated gif to your computer (right click , save as)

Then click on import under the costumes tab

Click on edit for each costume and check that the costume centre in the same place for each costume, otherwise the picture "jumps" or changes position instead of moving smoothly.


Some sprites must also be rotated to actually move up when you press the up arrow key.  Use the tools in the paint editor to do so.

Wednesday, August 29, 2012

Class Project

I gave this class project to my students today – Download
In the .sb I supplied them with a pre-populated list.
 
  

Tuesday, August 28, 2012

Bydrae - Lizeth van der Merwe

I would like to thank Lizeth for a wonderful contribution.
This project is in Afrikaans and  English. – DOWNLOAD -
 

Friday, August 17, 2012

A power function to calculate x to the power of y

Scratch does not have a function to calculate powers of numbers.  The following code will calculate the base to the power of exponent: