Set 4 Pg no,874

 



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

11. What is frequency in telecommunications?

Frequency is the number of complete cycles (waves) of a signal that pass a given point in one second. It is measured in hertz (Hz);

In telecommunications, different services use different frequency bands so that their signals do not interfere with each other. For example, FM radio uses about 88-108 MHz, mobile networks use bands from hundreds of MHz to several GHz, and Wi-Fi uses 2.4 GHz and 5 GHz. A higher frequency can carry more data but covers a shorter distance.

12. Mention one real-life use of satellite communication.

GPS (Global Positioning System) navigation is a real-life use of satellite communication. Signals from several satellites orbiting the earth are received by a mobile phone or vehicle device, which calculates the exact location. This is used by map apps, taxi and ride-sharing services, airplanes and ships.

Other uses include DTH television broadcasting, weather forecasting, long-distance telephone and internet in remote areas, and military and disaster communication.

13. Differentiate between a field and a record with an example.

Field

Record

A column of a table that stores one particular type of data.

A row of a table containing related fields about one person or item.

Represents an attribute (property).

Represents one complete entity (one entry).

Vertical (column).

Horizontal (row).

Example: Name, Class, Address

Example: 1, Ram, 10, Kathmandu

 14. If you have to create a greeting card, which multimedia components will you use and why?

To create an attractive digital greeting card (for example, a birthday card) I would use the following multimedia components:

•      Text: to write the greeting message, the name of the person and wishes, using attractive fonts and colours.

•      Graphics / images: pictures, balloons, cake, flowers or the photo of the person to decorate the card and make it attractive.

•      Animation: moving effects such as falling confetti or blinking candles make the card lively.

•      Audio: background music or a birthday song and a recorded voice message make the card emotional and personal.

•      Video (optional): a short video clip can make the greeting more personal and memorable.

 

15. Write a Python program to print even numbers from 1 to 100.

def even():

    for i in range(2, 101, 2):

        print(i)

 

even()

 

16. Write a Python program to display a "Welcome" message using user input.

def welcome():

    name = input("Enter your name: ")

    print("Welcome", name)

    print("Welcome to the world of Python, " + name + "!")

 

welcome()

 

17. A student writes the same code repeatedly in different parts of a program. How can the use of functions make the program simpler, organized, and reusable? Explain.

A function is a named block of statements that performs a specific task. It is written once using the def keyword and can be called any number of times. It solves the problem of repeated code in the following ways:

•      Simpler: instead of writing the same group of statements again and again, the programmer writes one function call, so the program becomes shorter and easier to read.

•      Organized (modular): a large program is divided into small logical parts (functions) such as input, calculation and display, so it is easy to understand, test and debug.

•      Reusable: the same function can be used many times in the same program or even in other programs with different values (arguments).

•      Easy maintenance: if a change is needed, only the function is edited once and the change applies everywhere it is called.

•      Saves time and reduces errors.

 

18. What challenges may arise if machine learning models are trained on inaccurate data?

Machine learning models learn patterns from the data given to them, so the quality of data decides the quality of the model ("garbage in, garbage out"). If the training data is inaccurate, incomplete or outdated, the following challenges arise:

•      Wrong predictions and results: the model gives incorrect outputs, for example a wrong disease diagnosis or wrong product recommendations.

•      Bias and unfairness: if the data is biased, the model discriminates against some groups of people, for example in job selection or loan approval.

•      Poor decisions and loss: organisations that depend on the model may lose money, time and customers.

•      Loss of trust: users stop trusting the system when it makes mistakes.

•      Extra cost: data has to be cleaned and the model has to be retrained again.

 

19. How can cloud computing help small businesses reduce costs?

Small businesses have limited money, and cloud computing helps them reduce costs in the following ways:

•      No hardware investment: they do not need to buy expensive servers and storage; they rent computing resources from the cloud provider.

•      Pay-as-you-use: they pay only for the resources and time they use, like paying an electricity bill.

•      Lower IT staff and maintenance cost: the provider handles maintenance, updates, security and backup, so the business needs fewer technical employees.

•      Scalability: resources can be increased during busy seasons and decreased later, so there is no waste.

•      Low software cost: ready-made software (SaaS) such as Gmail, Google Docs and accounting tools can be used on subscription instead of buying costly licences.

 

20. How can smart cities use AI and IoT together to improve urban life?

A smart city uses IoT (Internet of Things) devices to collect real-time data and AI to analyse this data and make intelligent decisions. IoT works like the "eyes and ears" and AI works like the "brain" of the city.

•      Traffic management: sensors and cameras on roads count vehicles, and AI changes traffic light timing and suggests alternative routes, reducing jams and pollution.

•      Waste management: smart bins send a signal when they are full, and AI plans the best route for garbage trucks, saving fuel and keeping the city clean.

•      Energy and water saving: smart street lights switch on and off or dim depending on movement and daylight; smart meters detect leakage and wastage.

•      Safety and security: AI-based CCTV cameras can detect accidents, crime or fire and alert the police or emergency services quickly.

•      Environment and health: air-quality sensors monitor pollution and AI predicts problems so that action can be taken early.

•      Public transport: real-time bus tracking and smart ticketing make travel easy.

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

21. Create a network model for your home that includes three PCs, one printer, and one mobile device connected to the internet. Describe the connection types (wired or wireless) and technologies (router, switch, or Wi-Fi) you would use.



Devices and technologies used

•      Modem: receives the internet signal from the ISP through a fibre or telephone line and converts it into a digital signal.

•      Router: connects my home network to the internet, gives IP addresses to devices (DHCP) and directs data between devices and the internet. A Wi-Fi router also creates a wireless network.

•      Switch: connects the three PCs and the printer using cables and sends data only to the intended device, giving fast and efficient communication.

•      Wi-Fi (access point): lets the mobile device connect wirelessly without a cable.

•      Cables: UTP/CAT6 cable with RJ45 connectors.

•      Security: a strong Wi-Fi password (WPA2/WPA3), firewall settings in the router and antivirus on the PCs.

Connection types

Device

Connection

Reason

PC 1, PC 2, PC 3

Wired (CAT6 cable to the switch)

Fast, stable, secure connection for fixed devices

Printer

Wired (to the switch) so it is shared by all PCs

Reliable printing and sharing of one printer saves cost

Mobile device

Wireless (Wi-Fi to the router)

Convenient, allows movement inside the house

 

22. Explain the relationship among Data, Information, Database, and DBMS with suitable examples

•      Data: raw, unprocessed facts and figures that have no meaning alone. Example: Ram, 45, 67, 80.

•      Information: data that has been processed and organised so that it becomes meaningful and useful. Example: "Ram obtained an average of 64 marks and has passed."

•      Database: an organised collection of related data stored electronically, usually in tables, so that it can be easily accessed, managed and updated. Example: a Student table of a school having fields StudentID, Name, Class and Marks.

•      DBMS (Database Management System): the software used to create, store, retrieve, update, secure and manage the database. Examples: MySQL, MS Access, Oracle.

Term

School example

Data

1, Ram, 10, 45, 67, 80

Database

Student table in the school's computer

DBMS

MySQL  used to manage the table

Information

Ram passed with 64% and got 3rd position

 

23. Evaluate the impact of video content in comparison to other media forms (e.g., text or audio) in digital communication.

In digital communication, information can be shared as text, audio or video. Video combines moving pictures, sound, text and graphics, so it usually has a stronger impact than the other forms.

Impact of video

•      High engagement: moving pictures and sound attract and hold attention for longer; this is why short videos and YouTube are so popular.

•      Better understanding and memory: people understand and remember what they see and hear more easily than what they only read. Complex processes (a science experiment, how to cook) are explained quickly by video.

•      Emotional effect and trust: facial expressions, tone and real scenes create emotion and credibility, which is useful in advertising, news and education.

•      Wide reach: videos can be understood even by people who cannot read well and can be shared easily on social media.

 

Limitations of video

Video needs more storage, higher internet speed, more cost and technical skill, and cannot be accessed easily in areas with poor connectivity.

Conclusion: Video has a stronger impact than text or audio because it is engaging, easy to understand and memorable, but the best media depends on the purpose, audience and available resources, and often a combination is the best.

24. Study the following Python program and answer the given questions.

try:

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

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

    print(a / b)

except ZeroDivisionError:

    print("Cannot divide by zero")

(a) Purpose of the try block:

The try block is used to write the statements that may cause an error (exception) while the program is running. Python first tries to execute the statements of this block normally. If everything is correct, the result a / b is displayed and the except block is skipped. If an error occurs, the remaining statements of the try block are skipped and the control immediately goes to the matching except block. In this way the try block helps to handle errors without the program crashing.

(b) When does ZeroDivisionError occur?

ZeroDivisionError occurs when a number is divided by zero. In this program it occurs when the user enters 0 as the second number (b), because a / 0 is mathematically undefined. In that case, the except ZeroDivisionError block is executed and the message "Cannot divide by zero" is displayed instead of the program stopping with an error.

Example: Input a = 10, b = 2 gives 5.0. Input a = 10, b = 0 gives "Cannot divide by zero". (If the user types a letter instead of a number, a ValueError occurs, which is not handled in this program.)

25. Discuss the ethical concerns in AI, focusing on bias, privacy, and security. Explain the role of AI in social media platforms.

Ethics means the moral principles of what is right and wrong. As AI becomes more powerful and is used in daily life, it raises several ethical concerns.

Ethical concerns in AI

•      Bias: AI learns from data. If the training data is unfair, incomplete or reflects social prejudices, the AI will give biased and discriminatory results against certain gender, caste, religion or race. Example: a hiring AI that prefers male candidates because most past employees were male.

•      Privacy: AI systems collect and analyse huge amounts of personal data such as photos, location, voice, browsing and shopping habits. This data can be used or sold without the person's knowledge or permission, and face recognition and surveillance can reduce personal freedom.

•      Security: AI systems can be hacked or tricked, and AI can be misused to create deepfake videos, fake news, phishing scams and cyber-attacks. Leakage of stored personal data is another risk.

•      Other concerns: job loss due to automation, lack of transparency and accountability (who is responsible when AI makes a wrong decision), and over-dependence on machines.

Role of AI in social media platforms

•      Content recommendation: AI studies what a user likes, watches and shares, and suggests posts, videos, reels and pages (e.g., Facebook feed, YouTube and TikTok).

•      Face recognition and auto-tagging: suggests names to tag in photos and applies filters.

•      Content moderation: detects and removes hate speech, violent or adult content, spam, fake accounts and fake news automatically.

•      Targeted advertising: shows advertisements according to the user's interests, helping businesses reach the right customers.

•      Chatbots and translation: chatbots answer customer questions, and AI translates posts into different languages and creates captions and subtitles.