Tuesday, 10 March 2015

Chatbot Siri

The new way to get things done is by asking Siri if you are unsure of something.

Siri is an application which is found in many Apple products such as iPad, iPhone, iPod etc. It is basically a Virtual Personal Assistant. It is an intelligent software which is practically designed to interact with you. Siri allows you to use your voice to send messages, make phone calls, get directions, find apps, search the web and even identify songs using Shazam.

Siri works for:

  • Phone
  • Face-time
  • Music
  • Mail
  • Calendar
  • Safari
  • Notes
  • Contacts
  • Alarms
  • Timer
  • Weather
  • Shazam (Music App)
  • Movies
  • Posting things on Facebook
  • Maps
  • Local search
Siri is also accessible to the blind and visually impaired. VoiceOver which is the screen reader built in to iOS can speak any text that is displayed in responses from Siri. You can look through the responses and have each and every one of them read to you. Which also includes the days of the weather forecast, the body of an email, the details of an answer, and more. 

Siri understands and speaks the following languages: 
  • United States (English, Spanish) 
  • United Kingdom (English)
  • Australia (English)
  • France (French)
  • Germany (German)
  • Japan (Japanese)
  • Canada (Canadian French, English)
  • China (Mandarin)
  • Hong Kong (Cantanese)
  • Italy (Italian)
  • Korea (Korean)
  • Mexico (Spanish)
  • Spain (Spanish)
  • Switzerland (French, German, Italian)
  • Taiwan (Mandarin)




Sunday, 8 March 2015

Siri chat box

Questions and Answers for Siri chat box:

1) How are you today?
- Good, thank you
- I'm alright
- Not good 
- So and so

2) What is the weather like today?
- Quite windy
- It's very sunny
- You could check on the weather app
- Slight chance it could rain

3) What are the most popular apps?
- Facebook
- Instagram
- Snapchat
- Ask.fm

4) How old is Zac Efron?
- 17
- 56
- 45
- 27

5) Best school in Dubai?
- EC
- DESC
- DC
- Repton

6) What is the most popular hair colour?
- Black
- Ginger
- Blonde
- Brown

7) Is Hitler dead?
- Yes 
- No
- Maybe 
- Or is he hiding?

8) Are you engaged?
- Yes
- No
- Maybe
- Possibly 

Tuesday, 3 February 2015

Performing calculations, counting in binary and the Fibonacci sequence

1) The formula used to return a whole number when doing division is " % " 

2) The remainder of a division can be discovered using the operator %:
>>> 26%7
5
3) In computing it is important to understand number systems and in particular binary, because it is very useful and simple for us humans who are used to working in base 10.

4) The binary system works like this 
01001010
155 can be subtracted by 128, producing 27:
155 - 128 = 27
1286432168421
1
Our new number, 27, can’t be subtracted by either 64 or 32. Both of those positions get a 0. We can subtract by 16, producing 11.
27 - 16 = 11
1286432168421
1001
And 8 subtracts from 11, producing 3. After that, no such luck with 4.
11 - 8 = 3
1286432168421
100110
Our 3 can be subtracted by 2, producing 1. And finally, the 1 subtracts by 1 to make 0.
3 - 2 = 1
1 - 1 = 0
1286432168421
10011011

5)                  

Tuesday, 18 November 2014

Test 6: The program has to keep a score of all the collected sprites
            
                                   
when starting the game the variable starts at 0 and the score moves up as the oreo keeps touching the glass of milk


Test 3: The game includes the meaningful variables of scores with codes that work perfectly fine, and change as wanted





Test 4: The game is documented on my blog



















Test 5: Each collecting sprite needs to have 3 states: normal, bulging, slim and named appropriately