Python Programming

Description

Mind Map on Python Programming, created by Sophie N on 12/06/2015.
Sophie N
Mind Map by Sophie N, updated more than 1 year ago
Sophie N
Created by Sophie N over 9 years ago
209
0

Resource summary

Python Programming

Attachments:

  1. Inputs

    Annotations:

    • Text print "welcome"x = raw_input("What is your name?") print x NumbersCombining Strings start = "Hello, " name = input("What is your name? ") end = ". How are you today?" sentence = start + name + end Mixing Variablesprint "Welcome" c = input("How many calories have you eaten today?") s = 2000 -c print "You can eat", s, "calories today"
    1. Numbers
    2. Selection

      Annotations:

      • IF Statements x = input ("Please enter a number") if x > 500 : print "Big number" elifx > 250 : print "medium number" else: print "small number"
      1. Loops (Iteration)

        Annotations:

        • For Loops for iin range (3) : print "I know a song that will get on your nerves" print "And it goes like this..." While Loops times_printed= 3 while times_printed> 0 :print "I know a song that will get on your nerves"times_printed= times_printed-1print "and it goes like this…"
        1. Selection variables

          Annotations:

          • Combining Strings start = "Hello, " name = input("What is your name? ") end = ". How are you today?" sentence = start + name + end Mixing Variablesprint "Welcome" c = input("How many calories have you eaten today?") s = 2000 -c print "You can eat", s, "calories today"
          1. What is a computer system?
            1. Computer system

              Annotations:

              • Computers have changed almost every aspect of our lives. Computer systems are everywhere and sometimes we don’t even know it. Think about where computer systems exist in your own home.
              1. Features of a computer system

                Annotations:

                • Computer systems have some common features. Input means that a computer system takes data, usually in a form humans can understand and turns it into data computers can use. Output means that a computer system turns data from a computers understand and convert it into a form humans can understand, such as sounds or images. Process means taking data and using it. This may mean using it in calculations or helping it make decisions. Storage stores data that is in a form computers understand so it can be used later. Stored data does not need to be input again.
              2. Computers and the Law: The computer misuse act
                1. The Law

                  Annotations:

                  • THE LAW The Computer Misuse Act 1990 was designed to protect the integrity of computer systems by deterring the activities of hackers. It created three new offences: Unauthorised access to computer programs or data (£5000 fine or 6 months in prison) Unauthorised access with a further criminal intent (known as the ‘ulterior intent’ offence) (Up to 5 years in prison) Unauthorised modification of computer material. (Up to 5 years in prison)
                  1. Famous for hacking

                    Annotations:

                    • Mark Zuckerberg Kevin Mitnick Gary McKinnon Anonymous LulzSec -Topiary
                  2. Computer Ethics
                    1. What are Ethics?

                      Annotations:

                      • Ethics are a moral code for what is right and wrong. In many cases these ethics are also enforced by law, but sometimes they are not.
                      1. Loyalty Cards

                        Annotations:

                        • In USA a large super store chain used loyalty cards to track purchases of its customers in order to market to them more effectively. One data analyst found he could predict which one the female customers were pregnant based on purchases and even predict when they would give birth. This was used to market to prospective mothers. Many women felt this was a breach of their privacy.
                      2. IT Professionals

                        Annotations:

                        • Professionals should not undertake work that is out of their competence. Professionals should work for the public interest. If a situation arises were the client interest is above the public interest then you should have to consider why? For example an app developer may be asked to create a game that snoops web browsing data for the client to sell to advertisers. As this is done without permission is unethical. IT professionals need to make sure they only look at the parts of a client’s IT system that they are responsible for.
                        1. Computers and the Law: Copyright and Patients
                          1. Copyright

                            Annotations:

                            • When you create something, such as a document, music, image or video, it is yours and you should have the right to say who can use it and how. This is what is meant by copyright. The same law applies to you when you see work by other people online.
                            • With digital technology it is often incredibly easy to copy data, whether this is an image, music file, film or program. The person or company that created the media owns the copyright. Copying data with out their permission is against the law. COPYRIGHT
                            1. Does it hurt anyone?

                              Annotations:

                              • Most Musicians do not earn millions like the biggest artists do. A great deal of smaller artists may even have normal day jobs. They are not all living the pop star life style. Movies and games cost millions of pounds to create and market. If that project does not make a profit then it puts at risk future projects. It has been recently reported that the average author earns around £11,000 a year.
                            Show full summary Hide full summary

                            Similar

                            Python Operators
                            Dean Whittle
                            Matters of Life and Death GCSE
                            kate.siena
                            AQA GCSE Physics Unit 2.5
                            Matthew T
                            Joomla Extension
                            Santi Sounsri
                            An Inspector Calls - Quiz
                            Emily Morrison
                            Physics P1
                            Phoebe Drew
                            GCSE REVISION TIMETABLE
                            rebekahanne11
                            Physics P2
                            Emmakatewilsonx
                            Frankenstein - Mary Shelley
                            Johnny Hammer
                            Tips for Succeeding on the Day of the Exam
                            Jonathan Moore
                            PSBD/PSCOD/ASSD-New
                            Yuvraj Sunar