Tuesday, 19 August 2014

Year 11 LESSON 1 Boolean. (If homework)


Learning Objectives
You will learn to:
Describe Boolean data types
Describe 'and' and 'or' statements


STARTER

Use  a function to create a 12 times table up to x10.

CLASS INTRODUCTION

We are going to continue to use the following website to prepare for the controlled assessment:

http://usingpython.com/python-boolean/

TASK 1

Write a program to find out whether “Some text” is the same as “some text”, whether -4 is less than -6, and whether the string “part” is in the string “party!!!1″.


CLASS  ACTIVITY

We will now look at the 'and' and 'or' statements.

TASK 2


Write a program to ask a person’s age, and tell them whether is it valid or not. For example, the ages -12 and 312 are invalid, but 0, 12 and 89 are valid.
TASK 2


HOMEWORK

Complete the Quiz challenge at the end of the 'if' section

http://usingpython.com/python-if-statement/

IF YOU HAVEN'T SUBMITTED YOUR SUMMER HOMEWORK YOU MUST COMPLETE IMMEDIATELY


Mục tiêu học tập

Bạn sẽ học cách:
Mô tả các kiểu dữ liệu Boolean
Mô tả 'và' và 'hay' báo cáo
STARTER
Sử dụng một chức năng để tạo ra một bảng 12 lần lên đến x10.
CLASS GIỚI THIỆU
Chúng tôi sẽ tiếp tục sử dụng trang web sau đây để chuẩn bị cho việc đánh giá kiểm soát:
http://usingpython.com/python-boolean/
NHIỆM VỤ 1
Viết một chương trình để tìm hiểu xem "Một số văn bản" cũng giống như "một số văn bản", cho dù -4 ít hơn -6, và xem chuỗi "một phần" là trong chuỗi "bên !!! 1".
CLASS HOẠT ĐỘNG
Bây giờ chúng ta sẽ xem xét các 'và' và 'hay' báo cáo.
NHIỆM VỤ 2
Viết một chương trình để hỏi tuổi của một người, và nói với họ cho dù nó là hợp lệ hay không. Ví dụ, độ tuổi -12 và 312 là không hợp lệ, nhưng 0, 12 và 89 là valid.TASK 2
Bài Làm Ở nhà
Hoàn thành thử thách đố ở cuối của 'nếu' phần
http://usingpython.com/python-nếu-statement/
NẾU BẠN KHÔNG TRÌNH HÈ ở nhà của bạn BẠN PHẢI ĐIỀN NGAY LẬP TỨC


19 comments:

  1. My Homework
    https://docs.google.com/document/d/1TXDtlkPQ-vT0Tt8ofJ1WYfnbLIrseTBiKw5UtBqWFdw/edit?usp=sharing

    ReplyDelete
    Replies
    1. You must include:

      Introduction
      User requirements
      Cyclical development of the code
      Analysis of READABLE CODE with call outs
      Evaluation
      Conclusion

      PLEASE REPEAT WITH THESE IMPROVEMENTS

      Delete
    2. I have improved my work.
      https://docs.google.com/document/d/1TXDtlkPQ-vT0Tt8ofJ1WYfnbLIrseTBiKw5UtBqWFdw/edit?usp=sharing

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. here it is:

    https://docs.google.com/document/d/17Vn-o0FE6d3EIRTT5-9x12wdbWPOrvIU-57p4-zvmW4/edit?usp=sharing

    ReplyDelete
  4. https://docs.google.com/document/d/1Hk_M5Rlgt399H-Ge-CeUSRRWG1CuFp0fOGMGt0bUTpg/edit

    ReplyDelete
    Replies
    1. Domi, this is much better. Detail and analysis of code with an evaluation and conclusion are essential however.

      Delete
  5. Sorry about having to use the personal account again, Lachlan.

    https://docs.google.com/document/d/155geBHtKZHexpnMYFrqSyousKeNHrnt8j9ffEBHYl9U/edit?usp=sharing

    ReplyDelete
    Replies
    1. This is a really good attempt. Watch how you set out your testing plan and the results. Don't combine evaluation and conclusion.

      Delete
  6. https://docs.google.com/document/d/1CDULbB3U4NMOt76-cR62m2E_JCFWlsqB7Ifo-DM6MA4/edit?usp=sharing

    ReplyDelete
    Replies
    1. Adam this is a sound attempt but attention to detail and QWC are vital:
      1. There is no title
      2. Make intro specific
      3. Psuedocode needs a START and an END
      4. Layout is a little careless
      5. Evaluate your work and suggest improvements

      Delete
  7. quiz homework
    https://docs.google.com/document/d/1nkUXPQb29QtGV3xSFjHJ7oVnE6o9loyUi2U2Cyb6VlE/edit?usp=sharing

    ReplyDelete
  8. https://docs.google.com/document/d/1g4fMYFtK--fj7dYaAfY5EusFE5YiBuEuhn-jSl6PK30/edit

    ReplyDelete
  9. sorry sir, the python is not work on my computer so i haven't done my testing plan
    https://docs.google.com/a/gillotts.org.uk/document/d/1KXjjyVjbCxK-r5mZDxn-uf_0QLOc_4nSrCNYfrq_21I/edit

    ReplyDelete
  10. https://docs.google.com/document/d/1ArsFzcIVPlSf0tJ0XA_7d82bEHw0FowuF8uRg1rHL4o/edit?usp=sharing

    ReplyDelete
  11. https://docs.google.com/document/d/1lffmlere4zkFsaAI7KHUJ2FgwjEzH3l30IHlonm6QdE/edit?usp=sharing

    ReplyDelete
  12. https://docs.google.com/document/d/1rF57itmkLLcUGvDMlVkuQAuLBvVK_qpaFCHm6NKdpwA/edit

    ReplyDelete
  13. https://docs.google.com/document/d/11Xv3mKznmvm--sQFuYV_Xg46hjscAnwECdnPmkXP-hc/edit?usp=sharing

    ReplyDelete
  14. https://docs.google.com/a/gillotts.org.uk/document/d/1BEHeL9vo0cgCc-Gev3xZH7wT61KXpa31xF0X-5wn6IE/edit?usp=sharing

    ReplyDelete