Nuffnang Ads

Monday, June 15, 2020

Logo interpreter: Turtle graphics – Part 2


ICT KS3 Year 7

Logo interpreter: Turtle graphics – Part 2
Lesson 3: The building blocks of programs 

Subroutine
Subroutine – performs a particular task and is given a name.
The word “procedure” sometimes being used in place of the word “subroutine”. Subroutine and procedure mean the same thing.
For example, a subroutine to draw a square, could be called SQUARE.

Sometimes, the subroutine is used more than once in the same program, so you can simply type in the name of the subroutine rather than type in all the instruction again.

Example:
https://youtu.be/ry7y-7D7Oa4

Sunday, January 19, 2020

Form controls

Form controls are the items on a data entry form that allow user to interact with the system. User can enter/add new data, edit data, clear or reset the form, etc. By using the event handling methods, items (also known as objects) action will be performed.


Text Box - used to enter text.


---------------------------------------------------------------------------------------------------

Check Boxes (Checked List Boxes) - used to select from a number of options (many items can be selected)




------------------------------------------------------------------------------------------------------

Menu Item - used when an application has several options for the user to choose from



---------------------------------------------------------------------------------------------------
Combo Box (drop down lists) - used to select one item from a list of option. List appears when user clicks down arrow. User can also type text to select.



---------------------------------------------------------------------------------------------------
Exercise (labeling controls) - label the form controls in diagram below:



  • Radio buttons (Option buttons)
  • Text boxes
  • Check boxes
  • Buttons


(^_^)