10 ipt python exam breakdown

2
10IPT – Term 3, Python Programming Exam (Part A / B) – 70 minutes, Wk 9 Thurs 12 th September Exam Questions Breakdown (Topic Hints Only) Part A: Knowledge & Application 1. What is python 2. Order of mathematical operation (BOMDAS) 3. Logical error 4. Type of error: Syntax/Logical 5. Three different data structures 6. ‘ “print” ’ 7. Commenting? 8. User input 9. Variable analogy 10. Correct syntax for identifier (variable) 11. Request input, store as variable, output as string (write full code) 12. Request input, perform a calculation, output result (write full code) 13. Control structures? 14. 3 different Control structures 15. Selection (if) vs Iteration (for/while) 16. Comparison operators: ==, <, >, !=, = etc. 17. Write a python program (full code) using selection 18. Forcing integer to decimal 19. Read code segment – write down correct output 20. Operations on strings: i.e x = “hillcrest”, x[0] = ?, x[:3]=? 21. The term for what’s happening above ^^ 22. Lists? 23. Using Lists 24. Reading in lines to put into list. (Write full code ) 25. Data dictionaries Part B: Analysis & Synthesis

description

 

Transcript of 10 ipt python exam breakdown

Page 1: 10 ipt python exam breakdown

10IPT – Term 3, Python Programming

Exam (Part A / B) – 70 minutes, Wk 9 Thurs 12th September

Exam Questions Breakdown (Topic Hints Only)

Part A: Knowledge & Application

1. What is python2. Order of mathematical operation (BOMDAS)3. Logical error4. Type of error: Syntax/Logical5. Three different data structures6. ‘ “print” ’7. Commenting?8. User input9. Variable analogy10. Correct syntax for identifier (variable)11. Request input, store as variable, output as string (write full code)12. Request input, perform a calculation, output result (write full code)13. Control structures?14. 3 different Control structures15. Selection (if) vs Iteration (for/while)16. Comparison operators: ==, <, >, !=, = etc.17. Write a python program (full code) using selection18. Forcing integer to decimal19. Read code segment – write down correct output20. Operations on strings: i.e x = “hillcrest”, x[0] = ?, x[:3]=? 21. The term for what’s happening above ^^22. Lists?23. Using Lists24. Reading in lines to put into list. (Write full code )25. Data dictionaries

Part B: Analysis & Synthesis

Write a fully correct (LOGIC, SYNTAX, COMMENTED) code solution to the problem…

1. Simple interest calculator (No prior knowledge of Simple interest required – basic maths and arithmetic needed however) [Beginner & Intermediate]

2. Read in two files with lines sorted alphabetically. Merge their content and print sorted in alphabetical order. [Intermediate]