Your school name
2nd Year Computer 1st Quarter Book Paper2nd Year · Computer · Punjab (PTB)
Q1. Multiple choice questions (Attempt all · 12 × 1 = 12)
OOP allows code to be divided into modules, which promotes:
The statement 2 + 3 = 5 evaluates to:
What is a key benefit of wireless network connections in a home environment?
An object is defined as a(n):
Words used to connect propositions are called:
Which device connects different networks together and links a local network to the Internet?
The main idea behind encapsulation in OOP is:
Quantifiers in library system modelling allow describing:
Which type of network provides high data transfer speed?
Unlike languages like Java or C++, Python controls data access primarily using:
Asking simple questions helps in:
What key advantage does load balancing offer when network traffic is high?
Q2. Short questions (Attempt any 8 of 12 · 8 × 2 = 16)
Why do quantifiers make predicate logic more powerful than propositional logic?
What is the difference between how a router and a switch direct data?
What are two primary benefits of using inheritance?
How do computers make use of deduction?
What is a network protocol?
What is the difference between compile-time and runtime polymorphism?
When is a proposition considered unsatisfiable?
Briefly describe the Round Robin method of load balancing.
How many types of Inheritance are there?
What is predicate logic?
What is Telnet?
Define Encapsulation.
Q3. Long questions (Attempt any 3 of 4 · 3 × 4 = 12)
Explain the types of computer networks. Describe LAN, WAN, and the Internet.
What is propositional satisfiability? Explain satisfiable and unsatisfiable propositions with examples.
Write a python code to demonstrate the concept of Runtime polymorphism (Overriding) by creating classes Animal, Dog and Cat.
Explain the concept of data backup and its types. Also discuss the common causes of data loss and explain the methods and tools used for effective data recovery.