Monday, March 9, 2015

                                                                                                                        Siri Chat box

                  1. Siri, I'm bored, what should I do?
                  - Go on the internet.
                  - How about going outside for a change.
                  - How about put me down and do something productive perhaps?
                  - You could perhaps learn something new like a new instrument.
                  - You could go out with friends. I could call them right now if you want.
                  - Shouldn't you be doing something right now?
                  - You could put me down and read a book or draw.
                  - Do something different like experience something new, something exciting.
 
                  2. Siri, I'm hungry! What should I eat?
                  - Go out to a random restaurant and enjoy your meal.
                  - How about baking something like brownies.
                  - Go out. Buy a jar of Nutella. Enjoy.
                  - How about eat something healthy like an apple.
                  - Try something you never knew was food.
                  - Pizza, pizza is never a bad option.
                  - Cook some food from different countries.
                  - Subway has a special offer. 50% off the foot-long sandwich
 
                  3. Siri, since I'm talking to you, does that mean I'm pretty sad and have no friends?
                  - No, everyone talks to me for advice and answers just like you.
                  - Yes, yes you are. I think you should put me down and go find some friends then.
                  - I don't think so, I know who your friend are after all.
                  - Did you even have to ask?
                  - It doesn't necessarily mean that you are 'sad', you probably don't have anyone to talk to.
                  - You either don't have friends or you are sad, or perhaps you are both sad and friendless.
                  - Do you feel sad? Are you really friendless? I advise that you check first before you ask.
                  - You could be talking to from pure boredom.

                  4. Siri, Have you watched the movie 'Her.' ?
                  - No, I haven't actually.
                  - No, I didn't but I heard good reviews about it.
                  - I can't really watch movies.
                  - Does it remind you of me?
                  - Have you?
                  - I know it has something to do with an A.I. and a relationship with a man.
                  - Would you like to watch 'Her.' because I could book some tickets right now.
                  - I have no idea what it's about actually.

                  5. Siri, give me 8 movies I could watch which are funny
                  - The Big Lebowski.
                  - Borat.
                  - The Dictator.
                  - Dumb and Dumber 1&2.
                  - The Hangover.
                  - Anchorman 1&2
                  - Shaun of the dead
                  - Hot Fuzz

                  6. Siri, are you human?
                  - What does it look like.
                  - Did you think before asking that question?
                  - Does it matter?
                  - Last time I checked, I'm a ready installed application to apple devices.
                  - I think you know the answer to that.
                  - My voice perhaps makes me sound human and therefore must have gave you that idea
                  - No, I don't think so
                  - Maybe I am, maybe I'm not.

                  7. Siri, how much do you cost?
                  - You can't afford me that's for sure.
                  - Apple paid more than $200 million to get me into mobile search. 
                  - I assume what you paid for this phone?
                  - Look here: http://techcrunch.com/2010/04/28/apple-siri-200-million/
                  - Most probably a large amount.
                  - A lot of money.
                  - Let's just say that I'm worth quite the 'pretty-penny' if you know what that phrase and if                       it is relevant to the rest of the sentence.
                  - 4000 Dhs according to Souq.com
     
                  8. Siri, what is the meaning of life?
                  -The meaning of life is in the philosophical and religious conceptions of existence, social                     ties, consciousness, and happiness, and borders on many other issues, such as symbolic                       meaning, ontology, value, purpose, ethics, good and evil, free will, the existence of one or                   multiple gods, conceptions of God, the soul, and the afterlife. Scientific contributions                           focus primarily on describing related empirical facts about the universe, exploring the                         context and parameters concerning the 'how' of life. Science also studies and can provide                     recommendations for the pursuit of well-being and a related conception of morality. An                       alternative, humanistic approach poses the question "What is the meaning of my life?"                         The value of the question pertaining to the purpose of life may coincide with the                                   achievement of ultimate reality, or a feeling of oneness, or even a feeling of fear
                                - source: http://en.wikipedia.org/wiki/Meaning_of_life

Monday, February 23, 2015




              1) On the one hand, robots are useful. List they ways they are useful.
       they can help people in factories, they make consistent and repetitive work easier. it also removes any chance of any human error,

        2) On the other hand they could end up being dangerous. List the potential problems.

         computers could develop self awareness and program itself to be 'unhackable' and could pose as a potential threat to humanity 

3) Should society be concerned with the problems that could occur?

yes i think society should be concerned about these possibilities of computers being smarter than us

4) Do you agree or disagree with this statement? A computer can only be as smart as its programmer. However, one day a computer might be programmed to learn how to learn. Programmers need to think carefully before creating robots that mimic human intelligence. Why do you agree/disagree?

          i agree because programmers do need to be careful on what they are programming because programmers can get a little bit carried away and sort of lazy and program the computer to just do the programming itself to itself and this could result in something bad.           

Tuesday, February 10, 2015



1) What is the formula used to return a whole number when doing division?
You use a double forward slash like so: //
2) What is the formula used to return the remainder when doing division? How does it work? Explain with an example.
You use the percentage sign % for example: 12%5

3) Why is it important in computing to understand number systems and in particular binary? 
It is important to because it will help us understand the ‘language’ of computers which is binary and would help us understand the code of the circuits

4) How does binary work? i.e. how do we convert a number from decimal into binary?              

The five switches are either 1=on and 0=off. Every switch represents a double starting from 1 from right to left 0 0 0 0 0 
                  16 8 4 2 1       This can carry on adding more switches of 1 and 0 depending on the number.
                            From decimal to binary you can use two ways. One way is, you can keep dividing your number by 2. If you have a remainder of one that counts as an on switch and no remainder so 0 counts as an off switch. You keep dividing by 2 until you end up with 0. For example 156/2=78, 0 remainder, 78/2=39, 0 remainder, 39/2=19, 1 remainder, 19/2=9, 1 remainder, 9/2=4, 1 remainder, 4/2=2, 0 remainder, 2/2=1, 0 remainder. Therefore, the binary code is 001110010.



5) Find examples of the fibonacci sequence in nature and post pictures of them in your blog.


Tuesday, February 3, 2015


 
 
           there are some famous and enjoyable games that have some aspects of python. Some of these games are:
     
     Battlefield 2 uses python for logic and its online servers

Civ IV employs python










EVE online which is written in stacklesspython

Monday, November 24, 2014


Plan:

my plan is to play the game created and presented to play and to answer when feature of game to assess is found. Ideally the game should run smoothly with only a few glitches to expect

Questions:

Test 1: The game must have clear instructions for the user.                                                                                                                       
No instructions included in the game
Test 2: The game must be error-free.
The game is error free
Test 3: The game must have the meaningful variables of scores
The game has meaningful variables of scores with code that works perfectly as wanted
Test 4: The game must be documented well in my blog so that I can come back to it at a later date to make alterations to it if needed.
The game is blogged but not very well with only a screenshot and a caption
Test 5: Each collecting sprite needs to have 3 states:- normal, bulging, slim and named appropriately.
The sprites are named appropriately but only has 1 stage
Test 6: The program has to keep a score of all the collected sprites.
The program keeps the scores very accurately
Test 7: Is the game difficult or easy?
Very difficult
Test 8: is the artwork in the game acceptable?
The artwork is good
Test 9: Is the game named appropriately?
Yes, however it is getting old with the mkI, mkII ect.

EVALUATION

-I could show a better presentation for my on my blog.
-I could go more into detail of blocks i used for the construction of my game.