Set 3 Pg no.873

 


Group 'B': Short Answer Questions [10 x 2 = 20]

11. What is a data packet in networking?

A data packet is a small unit of data into which a large message, file or web page is divided before it is sent over a network. Splitting data into packets makes transmission faster, more reliable and lets many users share the same network at the same time.

 

12. What is a protocol? List any four types of common protocols.

A protocol is a set of rules, standards and conventions that controls how data is formatted, transmitted and received between devices on a network.

Protocol

Use

HTTP / HTTPS

Browsing and transferring web pages

FTP

Uploading and downloading files between computers

SMTP

Sending emails (POP3/IMAP are used to receive)

TCP/IP

Reliable delivery and addressing of data on the internet

 

13. What is DBMS? Mention any two advantages of DBMS.

DBMS (Database Management System) is software that is used to create, store, organize, manage, retrieve, update and protect a database. It acts as an interface between the user and the database. Examples: MySQL, MS Access, Oracle.

Advantages

•      Reduces data redundancy and inconsistencyrity

•      Reduces data inte

•      Data security and sharing

 

14. How does a DOCX file differ from a TXT file?

 

DOCX File

TXT File

1. Supports formatting such as bold, italic, colours and different font sizes.

1. Contains plain text without formatting.

2. Can include tables, pictures and charts.

2. Cannot directly include tables, pictures or charts.

3. Usually requires word processing software like MS Word.

3. Can be opened using simple text editors like Notepad.

Example: report.docx

Example: report.txt

15. Write a Python program using a for loop to print numbers from 1 to 10.

def display():

    for i in range(1, 11):

        print(i)

 

display()

 

16. Write a Python program using a while loop to print numbers from 10 to 1.

def display():

    i = 10

    while i >= 1:

        print(i)

        i = i - 1


 display()


17. A program frequently encounters a division-by-zero error. The program terminates unexpectedly, causing inconvenience to users. How can error handling solve this problem? Explain.

An exception is an error that occurs while a program is running. It is also called a run-time error.

Example: If we divide a number by zero, Python raises a ZeroDivisionError.

Error handling is the process of detecting and managing errors so that the program does not stop suddenly. Python uses try-except blocks to handle errors.

try block: Contains statements that may cause an error.

except block: Runs when a matching error occurs and displays a suitable message.

If no error occurs, the except block is skipped.

 Example: Division by Zero

try:   

a = int(input("Enter first number: "))   

b = int(input("Enter second number: "))   

print("Result =", a / b)

except ZeroDivisionError:   

print("Cannot divide by zero.")


18. A shopping website recommends products based on previous purchases. Explain how ML is involved in it.

Websites like Daraz and Amazon use machine learning to recommend products to customers.

  1. Data Collection: Collects information about products searched, viewed and purchased by customers.

  2. Learning Patterns: Finds common interests, such as customers who buy mobile phones also buying phone covers.

  3. Prediction: Suggests products customers may like under "Recommended for You".

  4. Continuous Improvement: Learns from new searches and purchases to provide better recommendations.

Example: If you buy a mobile phone from Daraz, it may recommend a phone cover, earphones or charger.

19. Why do businesses prefer cloud storage over traditional storage systems?

Businesses prefer cloud storage because it is cheaper, easier to access and manage than traditional storage.

1. Low Cost: No need to buy expensive hard disks or servers. Businesses pay only for the storage they use.

2. Accessibility: Data can be accessed anytime, anywhere using the internet.

3. Scalability: Storage space can be easily increased or decreased according to business needs.

4. Automatic Backup and Recovery: Data is automatically backed up and can be recovered if it is lost or damaged.

5. Security and Collaboration: Data is protected using security features, and multiple employees can share and edit files together.

Example: A company in Kathmandu can store its files in Google Drive and allow employees in Pokhara and Biratnagar to access and share them.

In simple words: Cloud storage saves money, provides easy access, protects data and makes file sharing easier.

20. What challenges might elderly citizens face when using e-Governance services?

e-Governance services are designed for online use, but elderly citizens may face many difficulties:

•      Lack of digital literacy: many elderly people have never used computers or smartphones and find websites, forms and passwords hard to understand.

•      Limited access: they may not own a device or have an internet connection, especially in rural areas.

•      Physical difficulties: weak eyesight, small text, hearing problems and shaky hands make the use of screens difficult.

•      Language and design problems: complex technical terms and difficult website design.

•      Fear of fraud and privacy loss: they worry about online scams and sharing personal information.

•      Dependence on others: they need help from family or cyber cafe operators, which may cause extra cost or risk.

Group 'C': Long Answer Questions [5 x 4 = 20]

21. Suppose your school wants to set up a network in three separate buildings. What type of network should be used? Justify your answer by explaining how it would support communication, file sharing, and internet access.

Type of network: A MAN (Metropolitan Area Network) should be used. The three buildings are separate, so a single ordinary LAN in one room or building is not enough, but the distance is still limited to a small area such as a campus or a town, so a WAN is not needed and would be too costly. Each building will have its own LAN (computers connected through a switch), and the three LANs will be connected to each other using optical fibre cable (or wireless links) and a router to form one network.

 

22. Suppose a school wants to create a student table containing StudentID, Name, Class, and Address. Write SQL queries to: create the table, insert two records, display students of Class 10, update the address of StudentID 1.

SQL (Structured Query Language) is used to create and manage tables. DDL commands such as CREATE define the structure of the table, and DML commands such as INSERT, SELECT and UPDATE work with the data.

a) Create the table (DDL)

CREATE TABLE Student (

    StudentID INT PRIMARY KEY,

    Name      VARCHAR(50),

    Class     INT,

    Address   VARCHAR(100)

);

StudentID is the primary key, so every student has a unique ID. INT stores whole numbers and VARCHAR stores text.

b) Insert two records (DML)

INSERT INTO Student VALUES (1, 'Sita Sharma', 10, 'Kathmandu');

INSERT INTO Student VALUES (2, 'Ram Thapa', 9, 'Lalitpur');

c) Display the students of Class 10

SELECT * FROM Student WHERE Class = 10;

This displays all fields of only those records in which Class is 10 (here, Sita Sharma).

d) Update the address of StudentID 1

UPDATE Student SET Address = 'Pokhara' WHERE StudentID = 1;

 

23. Draw a simple multimedia learning app interface and list which multimedia elements you would include with reasons.

Interface of a multimedia learning app ("Learn Science")

 

Multimedia elements and reasons

Element

Where used

Reason for including

Text

Lesson notes, headings, instructions

Gives clear explanation, definitions and key points that students can read and revise

Images / graphics

Diagrams, pictures, charts

Make difficult concepts easy to understand and attractive

Audio

Narration, pronunciation, background music

Helps students who learn by listening; useful for language and for students with weak eyesight

Video

Experiment and lesson videos

Shows real events and processes; keeps students interested and improves memory

Animation

Moving diagrams (planet motion, water cycle)

Explains processes step by step that cannot be seen in real life

 

24. Explain the for loop and the while loop with suitable examples.

A loop (iteration) is a control structure that repeats a block of statements again and again until a condition is satisfied. It reduces repeated code and saves time. Python has two main loops: the for loop and the while loop.

1. for loop

The for loop is used when the number of repetitions is known in advance. It takes values one by one from a sequence such as range(), a list or a string and executes the block for each value.

Syntax: for variable in sequence:

# Example 1: print numbers from 1 to 5

for i in range(1, 6):

    print(i)

 

# Example 2: multiplication table of 5

for i in range(1, 11):

    print("5 x", i, "=", 5 * i)

 

# Example 3: loop through a list

for name in ["Ram", "Sita", "Hari"]:

    print(name)

 

2. while loop

The while loop is used when the number of repetitions is not known in advance and depends on a condition. The block is executed repeatedly as long as the condition is True; when it becomes False, the loop ends.

Syntax: while condition:

# Example 1: print numbers from 1 to 5

i = 1

while i <= 5:

    print(i)

    i = i + 1

 

# Example 2: sum of numbers 1 to 10

i = 1

total = 0

while i <= 10:

    total = total + i

    i += 1

print("Sum =", total)

 

25. How can digital government services (e-Governance) make education and healthcare more accessible to citizens? Support your answer with real-life examples.

e-Governance is the use of ICT by the government to provide services to citizens quickly, transparently and at low cost. It can make education and healthcare available to more people, especially those in remote and rural areas, in the following ways.

A. Education

•      Online results, notices and admission: examination results (for example SEE results through websites and SMS) and notices are published online, so students do not need to travel to the board or school. Online application for admission and scholarships is also possible.

•      e-learning and distance education: government learning portals, radio and television classes and online platforms were used to continue education during the COVID-19 lockdown, reaching students at home.

•      Digital library and resources: free e-books, video lessons and question banks are available online from the Curriculum Development Centre (CDC) and other portals.

•      Management of schools: online student records, teacher information and online fee or scholarship payments increase transparency and save time.

B. Healthcare

•      Online registration and appointment: hospitals provide online appointment and token systems, which reduce long queues and waiting time.

•      Telemedicine / tele-health: patients in remote villages can consult specialist doctors by phone or video call, saving travel cost and time.

•      Digital health records and vaccination: online registration, vaccination cards and test reports (as in the COVID-19 vaccination campaign) make information easy to keep and verify.

•      Information and emergency services: health information, ambulance service numbers and mobile apps spread awareness quickly.

Overall benefits

•      Saves time, cost and effort of citizens.

•      Reaches people in rural and remote areas.

•      Increases transparency and reduces corruption.

•      Services are available 24 hours a day.