Set 2 Pg no. 872
Group
'B': Short Answer Questions
11.
What is broadband? How does it differ from dial-up connections?
Broadband is a
high-speed, always-on internet connection that uses a wide range of frequencies
(high bandwidth) so that many signals can be carried at the same time. Because
voice, video and data are sent on different channels, the user can browse,
stream and make calls together. Examples of broadband are fibre optic, cable
internet, DSL and wireless broadband (4G/5G).
Dial-up is an old
method in which the computer uses a modem to dial a telephone number of the ISP
through an ordinary telephone line to get connected to the internet.
|
Basis |
Broadband |
Dial-up |
|
Speed |
High
speed (Mbps to Gbps) |
Very
slow (maximum 56 kbps) |
|
Connection |
Always
on; no dialling needed |
Must
dial every time to connect |
|
Telephone
line |
Phone
line remains free while using internet |
Phone
line becomes busy during internet use |
|
Uses |
Streaming,
online classes, video calls, downloads |
Only
simple text email and basic browsing |
|
Cost
/ quality |
More
reliable and efficient |
Cheap
but unreliable and outdated |
12.
Draw and explain the ring topology.
Ring
topology
is a network layout in which every computer (node) is connected to exactly two
other computers so that the connections form a closed circle or ring. There is
no central device such as a hub or switch.
Advantages
· Equal
opportunity for all nodes to transmit; data collision is very low.
· Easy to install
and expand; performs well under heavy load.
· No central server
or hub is required, so cost is lower.
Disadvantages
· If one computer
or cable fails, the whole network may stop working.
· Difficult to
troubleshoot and find the fault.
· Adding or
removing a computer disturbs the network temporarily.
13.
Differentiate between data and information with one example.
|
Basis |
Data |
Information |
|
Meaning |
Raw,
unprocessed facts and figures |
Processed,
organised and meaningful data |
|
Value |
Has
no meaning or use by itself |
Has
meaning and is useful |
|
Use |
Is
the input of processing |
Is
the output of processing; helps in decision making |
|
Form |
Numbers,
letters, symbols, images |
Reports,
summaries, charts, results |
Example: The marks 45,
67 and 80 are data. After processing, the statement "The average mark of
the student is 64 and the student has passed" is information.
14.
Write the differences between raster graphics and vector graphics.
15.
Write a Python program to find the greater of two numbers.
def greater(a, b):
if
a > b:
print(a, "is greater")
elif b > a:
print(b, "is greater")
else:
print("Both numbers are equal")
a = int(input("Enter first number:
"))
b = int(input("Enter second number:
"))
greater(a, b)
16.
Write a Python program to display Pass or Fail based on inputted marks.
def result(marks):
if
marks >= 40:
print("Pass")
else:
print("Fail")
marks = float(input("Enter marks:
"))
result(marks)
17.
A teacher shows exam results only in tables. Students find it difficult to
understand their performance. How can data visualization help solve this
problem? Explain with reasons.
Data
visualization
is the presentation of data in a graphical form such as bar charts, line
graphs, pie charts and histograms. In Python this can be done using libraries
such as Matplotlib and Pandas. Instead of reading many numbers in
rows and columns, students can look at a picture and understand the result
instantly.
How
it solves the problem
· Easy to
understand:
a bar chart of subject-wise marks shows the strong and weak subjects at a
glance, while a table needs careful reading of each number.
· Saves time: patterns,
highest and lowest marks are visible instantly without calculation.
· Better
decisions:
teachers and parents can quickly identify weak areas and provide extra help;
students become motivated to improve.
18.
Explain the concept of Artificial Intelligence (AI) and Machine Learning (ML).
Discuss how ML is a subset of AI with suitable examples.
Artificial
Intelligence (AI)
is the branch of computer science that makes machines or software think, learn,
reason, solve problems and make decisions like human beings. Examples: voice
assistants (Google Assistant, Siri), chatbots, face recognition, self-driving
cars, and robots.
Machine
Learning (ML)
is an approach of AI in which a computer learns from data and past experience
and improves its performance automatically without being explicitly programmed
for each task. The more data the system receives, the more accurate it becomes.
Examples: spam email filtering, movie recommendations on YouTube/Netflix,
predicting house prices.
ML
is a subset of AI
AI
is the large, broad goal of building intelligent machines. There are many ways
of achieving that goal, such as rule-based systems, expert systems, robotics
and natural language processing. Machine learning is one of these methods, in
which intelligence is achieved by learning from data. Because ML lies inside AI
and is only one of the techniques used to achieve AI, it is called a subset
of AI. (Deep learning is further a subset of ML.)
Example: An email spam
filter is an AI application. It uses machine learning: it is trained on
thousands of emails marked as spam or not spam, learns the patterns (words,
senders), and
then
classifies new emails by itself.
19.
How does cloud computing support online learning platforms?
Cloud
computing
provides storage, servers, software and databases through the internet. Online
learning platforms such as Google Classroom, Zoom, Microsoft Teams and Moodle
run on cloud computing, and it supports them in the following ways:
· Anytime,
anywhere access:
lessons, videos, notes and assignments are stored on cloud servers, so students
can learn from any place using a computer or mobile with internet.
· Low cost: schools and
institutions do not need to buy and maintain expensive servers; they pay only
for the service they use.
· Backup and
security:
learning materials and student records are automatically backed up and
protected from loss.
· Easy updating: teachers upload
new content and everyone gets the latest version immediately.
20.
A government launches an online citizen service portal. How does this support
e-Governance?
e-Governance is the use of
ICT (internet, computers and mobile) by the government to deliver services and
information to citizens, businesses and government offices in an easy, fast and
transparent way. An online citizen service portal (such as for citizenship,
tax, driving licence, bill payment and vital registration) supports
e-Governance in the following ways:
· Saves time and
cost:
citizens can apply, pay and get information from home without travelling to
government offices or standing in long queues.
· Available 24
hours:
services can be used at any time, even on holidays.
· Transparency and
reduced corruption:
every application is recorded and can be tracked online, so there is little
chance of delay or bribery.
· Efficiency and
paperless work:
digital records reduce paper use and speed up government work.
Group
'C': Long Answer Questions
21.
Explain the differences between client-server and peer-to-peer network
architectures.
Network
architecture is the design of a network that decides how computers share
resources and communicate.
Client-server
network
In
a client-server network, one or more powerful central computers called servers
store data, run services and control the network, while other computers called clients
request services from the server. Examples are a school network with a file
server, bank networks, and websites. Servers can be file server, web server,
mail server, print server, etc.
Peer-to-peer
(P2P) network
In
a peer-to-peer network, all computers have equal status. There is no
dedicated server; every computer can share its own files and printers and also
use those of other computers. It is used in small homes, small offices and
computer labs, and in file-sharing systems such as BitTorrent.
|
Basis |
Client-server |
Peer-to-peer |
|
Meaning |
Clients
depend on a dedicated server |
All
computers are equal; each acts as client and server |
|
Control |
Centralised
control by server |
No
central control; each computer is independent |
|
Cost |
Expensive
(needs server, network OS and administrator) |
Cheap
(no dedicated server needed) |
|
Security |
High;
user accounts and permissions are managed centrally |
Low;
each user manages own security |
|
Scalability |
Easy
to expand to hundreds of users |
Suitable
for only a few computers (about 10) |
|
Performance |
Better
as server is dedicated and powerful |
Slows
down when many computers share resources |
|
Backup |
Centralised
backup is easy |
Each
computer must be backed up separately |
|
Failure |
Whole
network is affected if the server fails |
Failure
of one computer does not stop others |
|
Example |
School,
bank, university network |
Small
home or office network |
22.
Explain DML. Describe INSERT, SELECT, UPDATE, and DELETE commands with
examples.
DML
(Data Manipulation Language) is the group of SQL commands used to
add, view, modify and remove the data stored in the tables of a database. DML
works on the records (data) of a table, whereas DDL works on the structure of a
table. The main DML commands are INSERT, SELECT, UPDATE and DELETE. Consider
the table Student(StudentID, Name, Class, Address).
1.
INSERT: adds a new record to a table.
Syntax:
INSERT INTO table_name VALUES (value1, value2, ...);
INSERT INTO Student VALUES (1, 'Ram', 10,
'Kathmandu');
INSERT INTO Student VALUES (2, 'Sita', 9,
'Pokhara');
2.
SELECT: retrieves (displays) data from a table.
Syntax:
SELECT column_names FROM table_name WHERE condition;
SELECT * FROM Student; -- all records
SELECT Name, Class FROM Student; -- selected fields
SELECT * FROM Student WHERE Class = 10; -- with condition
3.
UPDATE: modifies existing data of a table.
Syntax:
UPDATE table_name SET column = value WHERE condition;
UPDATE Student SET Address = 'Lalitpur' WHERE
StudentID = 1;
4.
DELETE: removes one or more records from a table.
Syntax:
DELETE FROM table_name WHERE condition;
DELETE FROM Student WHERE StudentID = 2;
23.
Compare the use of multimedia in YouTube and Google Earth platforms. Explain
the similarities and differences you can identify.
Multimedia means the
combination of text, images, audio, video and animation. Both YouTube and
Google Earth use multimedia, but for different purposes.
YouTube
YouTube
is a video sharing platform where users upload, watch, like, comment on and
share videos. It mainly uses video and audio, along with text (titles,
descriptions, comments, subtitles), thumbnails (images) and animations in the
videos. It is used for entertainment, education, news and advertising.
Google
Earth
Google
Earth is a virtual globe that shows the earth using satellite images, aerial
photographs, 3D buildings and terrain, maps, street view, text labels and
sometimes video and audio tours. It is used for exploring places, geography
learning, navigation and planning.
Similarities
· Both use more
than one media element together (text, image, audio, video, animation).
· Both are
interactive and internet-based and let users search, zoom, play, pause and
explore.
· Both are free to
use for the public and are widely used in education and information sharing.
· Both use
graphics and visual presentation to make content attractive and easy to
understand.
Differences
|
YouTube |
Google
Earth |
|
Sharing and watching videos. |
Exploring maps and the Earth in
3D. |
|
Mainly uses video and audio. |
Uses satellite images, 3D
graphics, maps and text labels. |
|
Users upload, watch, comment on
and share videos. |
Users mainly view, zoom, search
and explore places. |
|
Content is created by millions of
users and creators. |
Content is provided by Google
using satellite and street imagery. |
|
Users can play, pause, like,
comment and subscribe. |
Users can zoom, rotate, tilt,
measure distances and use Street View. |
|
Provides a linear experience
(watching videos in sequence). |
Provides a non-linear experience
(users decide where to go). |
24.
Study the following Python program and answer the given questions.
import turtle
t = turtle.Turtle()
for i in range(4):
t.forward(100)
t.right(90)
(a)
What shape is drawn?
The program draws a square with each
side 100 units long.
(b) What is function of right(90):
The function right(90) turns the turtle
90 degrees clockwise (to the right) from its current direction. It only
changes the direction and does not move the turtle or draw any line. It is
needed so that the turtle can start drawing the next side at a right angle to
the previous one. (Similarly, left(90) turns the turtle to the left.)
25.
Define cloud computing. List and explain any four major services provided by
cloud computing platforms.
Cloud
computing
is the delivery of computing services such as servers, storage, databases,
software, networking and analytics over the internet (the cloud)
Cloud computing provides different services through the internet. The four major services are:
1. IaaS (Infrastructure as a Service)-Renting computers and servers through the internet.
It provides virtual computers, storage and networking through the internet.
Users can install their own operating systems and software.
They do not need to buy physical computers or servers.
Example : A IT company can rent virtual servers from Amazon AWS or Microsoft Azure to run its website.
2. PaaS (Platform as a Service)- Getting a ready-made platform to create software.
It provides a ready-made platform to develop and run software.
Programmers can create applications without managing servers.
Example : A software developer can use Google App Engine to develop and run an online school management system
3. SaaS (Software as a Service)- Using ready-made software through the internet.
It provides ready-made software through the internet.
Users can use the software without installing it on their computers.
Example : Teachers and students use Gmail for email, Google Docs for writing and Zoom for online classes.
4. Storage as a Service (Cloud Storage)- Storing files on the internet instead of only on a computer.
It allows users to store, share and access files through the internet.
Files can be accessed from different devices anytime.
Example: A teacher can store notes, question papers and student results in Google Drive and access them from home or school.