Your school name
2nd Year Computer Full Book Paper2nd Year · Computer · Punjab (PTB)
Q1. Multiple choice questions (Attempt all · 15 × 1 = 15)
What are breakpoints and watches used for in software development?
Where does sqlite3 store its database data on the system?
What is the basic formula used to calculate the Chi-Square (x2) test statistic?
How does antivirus software protect a system?
OOP allows code to be divided into modules, which promotes:
The statement 2 + 3 = 5 evaluates to:
How can AI bridge gaps in the healthcare sector?
What is a key benefit of wireless network connections in a home environment?
On what are predictions in predictive modeling based?
What are breakpoints defined as in IDEs like PyCharm or VS Code?
When does a function linked to an event run?
If a new medical drug test yields a p-value of 0.01 against a significance level of 0.05, it implies that:
Why is documenting a security problem and its solution important?
An object is defined as a(n):
Words used to connect propositions are called:
Q2. Short questions (Attempt any 12 of 18 · 12 × 2 = 24)
What is the impact of data-driven decisions on business operations and performance?
In the formula
, what is meant by x?
Why do quantifiers make predicate logic more powerful than propositional logic?
What broader environmental goal is supported by technology integration in agriculture?
What happens if connection.commit() is omitted after a delete operation?
What are two primary benefits of performing unit testing?
What are two primary benefits of using inheritance?
What is the difference between how a router and a switch direct data?
What does designing for equity and accessibility mean?
How do navigation apps and smart home devices assist users using machine learning?
How are degrees of freedom (df) calculated for a single-sample t-test?
How do computers make use of deduction?
How do businesses use AI to improve decision-making and customer service?
How user input is processed using widgets and connected functions?
What are three optimization techniques used to fix performance bottlenecks?
What is the difference between compile-time and runtime polymorphism?
What is a network protocol?
Define data protection.
Q3. Long questions (Attempt any 4 of 6 · 4 × 9 = 36)
Discuss in detail the importance of testing and debugging techniques in software development, highlighting how they improve performance, user confidence, and future maintenance.
Explain the types of computer networks. Describe LAN, WAN, and the Internet.
Discuss predictive modeling and causality, and explain the importance of model interpretation in real-world use cases.
Explain the concept of test statistics in detail. Include the mathematical formulas, variable definitions, and step-by-step calculations for both the T-value test and the Chi-Square test using representative examples.
Write a program to create Simple Login Form in tkinter.
What is propositional satisfiability? Explain satisfiable and unsatisfiable propositions with examples.