Your school name
1st Year Computer First half Book Paper1st Year · Computer · Punjab (PTB)
Q1. Multiple choice questions (Attempt all · 15 × 1 = 15)
Which graph allows movement in only one direction between two nodes?
In a linear regression model, what is the role of the intercept?
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?
Which data structure has a root node and follows a hierarchy?
When is it acceptable to remove rows with missing data?
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?
In Python, which data structure can be used to simulate a queue?
Which subjects were used to cluster students in the example?
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?
Q2. Short questions (Attempt any 10 of 15 · 10 × 2 = 20)
Write down the phases included in Waterfall Model?
What is a graph in data structures?
Why is the GCD problem considered solvable?
How do you import a module from a package in Python?
Which two common tools can be used to create data visualizations easily?
Write any two examples of debuggers.
What is a vertex in a graph?
What is the main application of BFS in real-world scenarios?
How is the modulus operator % used in Python?
What is data preparation?
Evaluate the main steps involved in risk assessment and management, and assess their importance in a software project.
Which function is used to insert an item at a specific position in a list?
What is the time complexity of selection sort?
What does the = = operator do in Python?
How do you find the median of a dataset with an even number of values?
Q3. Long questions (Attempt any 3 of 5 · 3 × 5 = 15)
Discuss the differences between time complexity and space complexity. How do they impact the choice of an algorithm for a specific problem?
What is a software development framework, and how does it help in the SDLC process? Give an example.
Explain the importance of standard deviation in statistical analysis and how it helps in understanding data variation.
Explain the operations on stack with real-life example and Python code.
Explain how list slicing works with an example.