Tuesday, November 6, 2012

Today, we finished the 'At The Start' tasks for the assessment.
The final thing to do was the Gantt Chart.

Sunday, August 5, 2012

Hi LO Guessing Game

1. How many objects are referred to? What are they?
2 objects: Button 1 and Button 2

2. What is the name of the variable referred to?
Integer/Number that has to be guessed

3. What are the three text options that appear in textbox1?
'Higher', 'lower' and 'correct'

4. What do you think this code does?
This code is a guessing game where the user enters a number and the game tells them to go higher, lower, or if they're correct. The 'secretnum' is always a random number.

Sunday, July 29, 2012

Augmented Reality

1. Define augmented reality (AR).
Augmented reality (AR) is a live view of a physical, real-world environment whose elements are augmented by computer-generated sensory input such as sound, video, graphics or GPS data.

2. Provide some examples of how augmented reality might be used.
• Sports
• Handheld video games - Nintendo 3DS and PlayStation Vita
• Phone apps
• etc

3. Traditionally a user would use text entry to search for information in Maps or a search engine. How does AR offer a different alternative?
People can look up recognisable objects and they can view relevant local data about that intersection of landmark. They can also provide turn-by-turn GPS.

4. How might the following people make use of AR;
A mechanic
They can view the structure of a machine without physically having to physically go through it. Also, augmented reality can also provide instructions live on how to fix the machine.

An interior decorator
They can use it to match the items that complement each other without the trouble of taking all the heavy objects and individuall putting them in a specific location.

A student
In excursions, students can use augmented reality to look up certain objects and they can receive data about that object.

Tuesday, July 17, 2012

Selection and Repetition

Selection
Moving through a set of traffic lights.
1. Start car
2. Drive along the streets
3. Check traffic light
4. If red then stop
5. Else continue
6. Repeat step 2

Deciding whether to take an umbrella to school.
1. Check weather
2. If raining take umbrella
3. Else don't take umbrella

Giving a student an A, B or C on their test.
1. Look at mark
2. If mark > 16 give A
3. Else if mark > 12 and < 16 give B
4. Else if mark > 8 and < 12 give C

Repetition
Adding the correct amount of cordial to water to make a drink.
1. Pour the right amount of cordial
2. Pour the right amount of water
3. Keep repeating 1 and 2 until bottle is full
Filling a bucket with water.
1. Open tap
2. Keep water running
3. Close tap when bucket is full
Blowing up a balloon.
1. Blow at the ballon
2. Keep blowing until desired balloon size
3. Tie up the balloon

Sunday, July 15, 2012

Flowchart

1. What is a flowchart?
A flowchart is a diagrammatic representation that illustrates the sequence of operations to be performed to get the solution of a problem.

2. Describe the basic flowchart symbols for;
  •  Start or end of the program - rectangle with curved edges
  • Computational steps or processing function of a program - rectangle
  • Input or output operation - parallelogram
  • Decision making and branching - diamond
  • Flow line - arrow
3. With the decision making symbol (diamond) and the process symbol (rectangle), what are the rules for how many lines may enter and leave the symbol.
Only one flow line should enter a decision symbol. Two or three flow lines should leave the decision symbol. Only one flow line should come out of the process symbol.

4. Study the sample flowcharts then create a flowchart for a coin toss where heads means Mary pays for the pizza and Tales means Bill pays.

Algorithms

1. Examine the algorithm above. What two properties of the algorithm enable it to correctly describe the solution to the problem of making a cup of coffee? What is it that makes an algorithm correct?

a. Sequence and selection
b. The two properties above.

2. Define Algorithms for the following processes.

Posting a letter
1. Write letter
2. Put in envelope
3. Seal the envelope
4. Write the address and postcode on the envelope
5. Drop envelope in the postbox.

Making toast
1. Spread butter on bread
2. Put bread in the toaster
3. Wait until toast comes out

Calling a friend on the phone
1. Dial the number of friend
2. Press call button
3. Wait until friend answersf