Page 166 - 2502_Pakistan-kifayat_C-8
P. 166
TEST SHEET 2 (Based on chapters 6 to 10)
A. Choose the correct option.
1. What does nesting mean in programming?
a. Repeating the same task multiple times b. Putting one thing inside another
c. Stopping a loop after some time d. Creating a new variable
2. How do functions help programmers?
a. By slowing down the program
b. By storing instructions that can be reused easily
c. By deleting unnecessary code
d. By changing the program’s layout
3. What is the benefit of textual programming in large-scale projects?
a. Easier syntax b. Faster typing
c. Graphical interface d. Supports complex systems
4. 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
5. What does digital ethics primarily focus on?
a. Online games b. Safe computer hardware
c. Moral issues in digital technology use d. Social media design
6. What is the purpose of copyright?
a. To make content free for everyone b. To protect the rights of content creators
c. To promote piracy d. To allow free copying of materials
7. Which of the following is NOT a digital marketing method?
a. Content Marketing b. Newspaper Marketing
c. Email Marketing d. Social Media Marketing
8. Which platform is considered the second-largest search engine?
a. Instagram b. LinkedIn
c. YouTube d. Facebook
164 Premium Edition-VIII

