1
*Up to 75% Refund by HRDC, Condions Apply. Please visit: hp://www.hrdc.mu for more details. Mr Sameerchand Pudaruth Lecturer University of Maurius 10+ years experience in teaching programming Author of Python in One Week book Venue: Floor 1, Phase II Building (CITS), FoE, UoM Please email on [email protected] for booking Course Outline: Principles of Structured Programming, Variables, Data Types, Opera- tors, Expressions, Input, Output, Selection (if, else, case), Strings, Iteration (for, while, repeat until), Built-in and User- defined Functions, Procedures, Parameter Passing, Random Number Generator, Recursion, Data Collections, Lists and Arrays, Reading and Writing to Files, Sorting and Searching Algorithms. No prior programming exposure is required to follow this course. The course is open to everyone but limited seats are available. Course Fees: Rs5000 per participant. Course Benefits: Two Free Copies of PYTHON IN ONE WEEK book (worth Rs600). Free Tutorials and Course Notes. 100+ Free Programming Samples (Quesons and Answers). Unique opportunity to become a good programmer in just 5 days. 15-19 December 2014 Monday to Friday: 09:00-12:00 and 13:00-16:00 #sample program def main(): a = input("Input a:") b = input("Input b:") mean = findmean(a, b) print mean def findmean(x, y): total = x + y mean = total/2 return mean main()

14.11.2014-3 Programming in Python - MQA Approved - December 2014

Embed Size (px)

DESCRIPTION

MQA

Citation preview

  • *Up to 75% Refund by HRDC, Conditions Apply. Please visit: http://www.hrdc.mu for more details.

    Mr Sameerchand Pudaruth Lecturer University of Mauritius 10+ years experience in teaching programming Author of Python in One Week book Venue: Floor 1, Phase II Building (CITS), FoE, UoM Please email on [email protected] for booking

    Course Outline:

    Principles of Structured Programming, Variables, Data Types, Opera-

    tors, Expressions, Input, Output, Selection (if, else, case),

    Strings, Iteration (for, while, repeat until), Built-in and User-

    defined Functions, Procedures, Parameter Passing, Random Number

    Generator, Recursion, Data Collections, Lists and Arrays, Reading

    and Writing to Files, Sorting and Searching Algorithms.

    No prior programming exposure is required to follow this course.

    The course is open to everyone but limited seats are available.

    Course Fees: Rs5000 per participant.

    Course Benefits:

    Two Free Copies of PYTHON IN ONE WEEK book (worth Rs600). Free Tutorials and Course Notes. 100+ Free Programming Samples (Questions and Answers). Unique opportunity to become a good programmer in just 5 days.

    15-19 December 2014

    Monday to Friday: 09:00-12:00 and 13:00-16:00

    #sample program

    def main(): a = input("Input a:") b = input("Input b:") mean = findmean(a, b) print mean

    def findmean(x, y): total = x + y mean = total/2 return mean

    main()