2 MARKS
- What is control structure?
- What is infinite loop?
- Mention the uses of Infinite loop.
- What is boolean flag?
- List any eight-sequence operation on strings in Python.
- What is a bit?
- What is meant by a “straight-line” program?
- What is the difference between a control statement and a control structure?
- State the purpose of indentation in Python.
- What is string?
- List the three fundamental forms of control in programming.
- What is iterative control statement?
- Write a note on selection control.
- What do you mean by if statement in python?
- State the purpose of multi-way selection.
- Name the operations performed on list.
- Write the use of selection control statement.
- Show the example for Boolean flag.
- Write a note on definite loop.
- What is a list?
- What is While Statement?
- What is List traversal?
5 MARKS
- Explain indentation in Python with an example.
- Write a python program to find factorial of a number.
- Write a Python program to display the number of days in a given month.
- Explain the selection control statement with a program example.
- Explain the use of special methods in python.
- Explain the nested if statements in Python with example.
- What are the common list operations in Python? Explain.
- Summarize the building blocks of python programs.
- Explain the operations commonly performed on lists.
- Explain the relational operators in python with examples.
- Compare and Construct lists and Dictionary.
10 MARKS
- Explain the sequence operations in python with examples.
- List and explain the sequence operation on strings in python.
- Describe in detail iterating over list in python.
- Illustrate the lists and other sequence types in Python.
- Explain the two means of constructing multi-way selection in Python with examples.
- Write a python program to convert Fahrenheit to Celsius.
- Discuss the syntax and example for the While statement in python.