Your school name
1st Year Computer 1st Quarter Book Paper1st Year · Computer · Punjab (PTB)
Q1. Multiple choice questions (Attempt all · 12 × 1 = 12)
What is Class P in computational complexity?
Which of the following is NOT a step in the debugging process?
Which of the following is a correct way to output text in Python?
Why is Bubble Sort not recommended for large datasets?
Which of the following is an example of a software development framework:
How can multiple objects be created from the same class in Python?
Time complexity of Depth-First Search (DFS) in a graph is:
What is a limitation of the Waterfall Model?
Which of the following statements is true about the if-else statement in Python?
What is unique about Class NP problems?
What is the Waterfall Model?
What is the purpose of the import statement in Python?
Q2. Short questions (Attempt any 8 of 12 · 8 × 2 = 16)
How do you import a module from a package in Python?
Why is the GCD problem considered solvable?
Write down the phases included in Waterfall Model?
How is the modulus operator % used in Python?
What is the main application of BFS in real-world scenarios?
Write any two examples of debuggers.
What does the = = operator do in Python?
What is the time complexity of selection sort?
Evaluate the main steps involved in risk assessment and management, and assess their importance in a software project.
How do you access an item in a list?
When is Dynamic Programming most effective?
Describe the Factory Pattern and explain how it differs from directly creating objects, with an example.
Q3. Long questions (Attempt any 3 of 4 · 3 × 4 = 12)
What is a software development framework, and how does it help in the SDLC process? Give an example.
Explain how list slicing works with an example.
Discuss the differences between time complexity and space complexity. How do they impact the choice of an algorithm for a specific problem?
What types of changes or issues are typically addressed during the maintenance phase of software development?