This question assesses Block 2 Part 4. Parts a and b of this question involve creating drawings or descriptions. You can

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

This question assesses Block 2 Part 4. Parts a and b of this question involve creating drawings or descriptions. You can

Post by answerhappygod »

This Question Assesses Block 2 Part 4 Parts A And B Of This Question Involve Creating Drawings Or Descriptions You Can 1
This Question Assesses Block 2 Part 4 Parts A And B Of This Question Involve Creating Drawings Or Descriptions You Can 1 (78.08 KiB) Viewed 92 times
This question assesses Block 2 Part 4. Parts a and b of this question involve creating drawings or descriptions. You can make your drawings whichever way is easiest or fastest for you. For instance, you could simply make your drawings using pencil and paper then scan or photograph them. Alternatively, you can answer by providing descriptions of the drawings. In that case, keep close to the formulations used in the long figure descriptions of the examples given in Section 4.5 of Block 2 Part 4. a. Consider the following lines entered on the Python shell >>> pass_TMA02= True >>>id(pass_TMA02) 140722250372944 >>> type(pass_TMA02) <class 'bool'> >>> pass_TMA02 True Draw (or describe) the object and its label that the Python interpreter creates in response to the assignment pass TMA02= True in the interactive shell above. Your drawing or description should include a Boolean object with a similar level of detail as Figure 4.14 in Section 4.5.1 (Page 216) and a label. Include your drawing or text description of the object and label in the solution document. (2 marks) b. Consider the following two assignments o my appointments = ['Morning', 'Afternoon', 'Evening'] o my appointments [1] = 'Attended' Draw (or describe) the objects and labels that the Python interpreter creates in response to the first assignment. Then draw (or describe) the objects and labels that results from carrying out the second assignment immediately after the first assignment. Include your drawings or text descriptions in the solution document. (4 marks) c. This part provides you with an opportunity to demonstrate your understanding of the problem-solving approach taught in TM112 and Python functions. Decomposition and algorithms are covered in Block 1 Parts 2 and 4 and Block 2 Part 2. Further examples can be found in Block 2 Part 4. How to define your own functions is introduced in Block 2 Part 4 Section 4.1.3. You will need an individual number in order to answer this question part. You should find your individual number as shown below before you start the question itself.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply