Chapter: Programming the Python
Question 1: Answer the following questions.
1. What is a computer program?
________________________________________________________________________
________________________________________________________________________
2. What is a Flowchart? Why we use it?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
3. What is an algorithm?
________________________________________________________________________
________________________________________________________________________
4. What is Python? What does IDLE stands for?
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
5. What is Python indentation?
________________________________________________________________________
________________________________________________________________________
6. What is a variable?
________________________________________________________________________
________________________________________________________________________
7. How do we add comments in Python?
________________________________________________________________________
________________________________________________________________________
8. What is a LIST in python?
________________________________________________________________________
________________________________________________________________________
9. Write the commands to delete and add an item in the LIST?
________________________________________________________________________
________________________________________________________________________
10. What is the purpose of using print command?
________________________________________________________________________
________________________________________________________________________
Question 2: Write down the names and explain following flow chart symbols. (10 marks)
1. ____________________________________________________
____________________________________________________
2. ____________________________________________________
____________________________________________________
3. ___________________________________________________
____________________________________________________
4. ______________________________________________________
__________________________________________________
5. ____________________________________________________
____________________________________________________
Question 3: Create a flowchart to find out the minimum value between two numbers.
Question 4: What is a Pseudocode? Write a Pseudocode to add two numbers.