Python Q & A Chapter 2 A. Tick the correct option – 1. (c) Boolean 2. (d) Level 3. (a) Built-in 4. (c) both (a) and (b) 5. (b) control B. Very Short Answer Type Questions – 1. What is control variable? The variable which controls the flow of execution of the program is called control variable. These control variables are used in Decision Making statements or Looping statements. 2. What do you mean by Flow of Control? A computer always executes a program sequentially. It starts execution from the first statement and ends at the last statement. This order of execution of statements is called Flow of Control. 3. How many types of loops are there in Python? There are two types of loops in python, For loop and While loop. 4. In how many ways you can call range() in Python? The range() function can be called by three ways. The range() function can be used with three arguments depending on the need of the programmer. 5. Write the syntax of For loop. for ...
This blog is made specially for students those who have selected Computer Application (165) as a subject in CBSE board exam. It includes chapter wise notes, videos, assignments, etc.