Page 321 - AI Ver 1.0 Class 9
P. 321
• The extend() Function is used to append multiple values at a time in a list.
• The insert( ) function is used to add a single value at a specific position in an existing list.
• The remove( ) function removes the first occurrence of the element with the specified value.
• The pop( ) function removes an element from the list based on the index number specified in the function and returns
the deleted value.
Exercise
Solved Questions
SECTION A (Objective Type Questions)
uiz
A. Tick ( ) the correct option.
1. Which of the following symbols is used in flowcharts to take an input from the user?
a. Diamond b. Rectangle
c. Oval d. Parallelogram
2. Coding and implementation is the ………………………. step in problem solving.
a. First b. Last
c. Third d. Second
3. Which of the following symbols is used to display the decision-making statements in a flowchart?
a. Rectangle b. Line
c. Diamond d. Oval
4. Which of the following is the step-by-step approach in simple English-like statements?
a. Algorithm b. Selection
c. Flowchart d. Sequence
5. Which of the following is/are powerful tools for learning programming?
a. Flowchart b. Algorithm
c. Both a and b d. None of these
6. Which of the following is the valid name for (an) identifier(s) in Python?
a. Test#4 b. Rollno
c. 9thClass d. else
7. Which of the following is a valid logical operator?
a. and b. !=
c. + d. >=
Introduction to Python 319

