Page 113 - 2502_Pakistan-kifayat_C-8
P. 113
3. Which type of programming helps understand basic logic and sequence?
a. Visual programming b. Textual programming
c. Assembly d. Python
4. What is the benefit of textual programming in large-scale projects?
a. Easier syntax b. Faster typing
c. Graphical interface d. Supports complex systems
5. What is the purpose of a for loop in Python?
a. To skip code b. To repeat a set of instructions
c. To write conditions d. To call functions
Fill in the blanks with the correct words.
Hints Object-oriented, Def, Graphical, Control, Syntax
1. Textual programming gives more over program behaviour.
2. Visual programming uses elements to represent code.
3. Python is considered easy because of its simple .
4. C++ is known for its support for programming.
5. Python uses the keyword to define a function.
Q Answer the following questions:
A
1. Define textual programming.
2. Name any two popular textual programming languages.
3. What does the 'if' statement do in Python?
#Texture Programming 111

