Set 1 Pg no. 871

 




Group 'B' – Short Answer Questions

11. What is bandwidth? How is it measured?

Bandwidth is the maximum amount of data that can be transmitted through a communication channel in a given amount of time.

Bandwidth is measured in bits per second (bps).

 12. Differentiate between LAN and MAN.

LAN (Local Area Network) and MAN (Metropolitan Area Network) are two types of computer networks.

LAN(Local Area Network.)

MAN(Metropolitan Area Network.)

1. It covers a small geographical area.

1. It covers a large geographical area, usually a city.

2. It is generally owned by an individual or organization.

2. It may be owned by an organization or service provider.

3. Example: Network within a school or computer lab.

3. Example: Network connecting different branches of a bank within a city.

13. Define a database and write one importance of it.

Database: A database is an organized collection of related data that can be easily accessed, managed, updated and retrieved.

Importance of Database:

  1. Easy Data Management: It helps to store and manage a large amount of data systematically.
  2. Easy Data Retrieval: It allows users to search and find required information quickly.
  3. Data Security: It helps to protect data from unauthorized access.
  4. Data Sharing: It allows multiple authorized users to access and share data.

Example: A school database stores students' names, roll numbers, addresses and marks.

14. What is an image file format? Give two examples.

Image File Format: An image file format is a standard way of storing digital images in a computer. It determines how image data is saved and compressed.

Examples:

  1. JPEG (.jpg): It is commonly used for photographs and reduces file size through lossy compression.
  2. PNG (.png): It supports transparency and is commonly used for logos, icons and graphics.

Other examples include GIF, BMP and TIFF.

15. Write a Python program to input two numbers and display their sum.

def add(a, b):

    s = a + b

    print("Sum =", s)

 

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

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

add(num1, num2)

16. Write a Python program to check whether an inputted number is even or odd using a function.

def check(n):   

      if n % 2 == 0:       

           print("Even Number")   

      else:        

           print("Odd Number")

 

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

check(n)

17. A school stores students' marks in a CSV file. The principal wants to quickly understand the performance of each student. How can the Pandas library help in this task? Explain with reasons.

Pandas is a Python library used for data analysis and manipulation. It helps to read, organize, process and analyze data stored in CSV files.

The Pandas library can help in the following ways:

  1. Read CSV File: It can read students' marks directly from a CSV file using read_csv().
  2. Organize Data: It organizes student records into rows and columns using a DataFrame.
  3. Calculate Results: It can calculate total marks, average marks and other statistical information.
  4. Analyze Performance: It can sort students according to marks and identify students who scored the highest or lowest marks.

 

18. A school wants to predict students' exam results using past records. Which type of machine learning would be suitable and why?

Supervised Learning would be suitable for predicting students' exam results.

Reasons:

  1. Supervised learning uses labelled data to train a machine learning model.
  2. Past students' records contain input data such as attendance, previous marks and study hours, along with their actual exam results.
  3. The machine learns the relationship between these records and exam results.
  4. After training, it can predict the possible exam results of new students based on their records.

Example: A school uses previous students' attendance, study hours and marks to predict whether a new student may achieve high or low marks.

19. A company stores all its data on cloud servers instead of local computers. Discuss two advantages and one risk of this approach.

Cloud Computing: Cloud computing is a technology that allows users to store, manage and access data and applications through the internet instead of using only local computers.

Advantages:

  1. Easy Accessibility: Users can access their data from anywhere and at any time through the internet.
  2. Cost Saving: The company does not need to purchase and maintain expensive storage devices and servers.

Risk:

1. Security and Privacy Risk: Data stored on cloud servers may be exposed to hacking, data theft or unauthorized access.

Example: Google Drive and Microsoft OneDrive are cloud storage services.

20. How can Extended Reality (XR) improve education and training?

Extended Reality (XR): XR is a technology that combines Virtual Reality (VR), Augmented Reality (AR) and Mixed Reality (MR) to create interactive and immersive digital experiences.

XR can improve education and training in the following ways:

  1. Interactive Learning: Students can learn through 3D objects and virtual environments.
  2. Practical Experience: It allows students to perform virtual experiments and practical activities safely.
  3. Better Understanding: Complex subjects such as science, anatomy and engineering can be understood through realistic visualization.
  4. Skill Development: It provides realistic training environments for pilots, doctors, engineers and other professionals.

Example: Medical students can practice surgery in a virtual environment without risking a real patient's life.

Group 'C' – Long Answer Questions

21. Describe the evolution of mobile communication technologies from 3G to 5G. How does each generation differ in terms of speed and data capacity?

Mobile communication technology has developed through different generations to provide faster internet, better communication and improved data services.

The evolution of mobile communication from 3G to 5G is explained below:

1. 3G (Third Generation)

  • 3G introduced faster mobile internet and multimedia services.
  • It supports video calling, mobile browsing and email.
  • Its typical data speed ranges from a few hundred Kbps to several Mbps.
  • It provides better data capacity than 2G.

2. 4G (Fourth Generation)

  • 4G provides high-speed internet and better data communication.
  • It supports HD video streaming, online gaming and video conferencing.
  • Its typical speed ranges from 10 Mbps to 100 Mbps or more, depending on the network.
  • It has higher data capacity than 3G.

3. 5G (Fifth Generation)

  • 5G is the latest generation of mobile communication technology.
  • It provides very high-speed internet and extremely low latency.
  • It supports smart cities, self-driving vehicles, IoT and advanced applications.
  • Its potential speed can reach up to 10 Gbps or more under suitable conditions.
  • It supports a much larger number of connected devices.

Difference between 3G, 4G and 5G:

Basis

3G

4G

5G

Full Form

Third Generation

Fourth Generation

Fifth Generation

Speed

Few Mbps

Up to 100 Mbps or more in typical usage

Up to 10 Gbps or more in ideal conditions

Data Capacity

Low

High

Very High

Main Service

Video calling and browsing

HD streaming and online gaming

IoT, smart cities and advanced applications

Latency

High

Lower than 3G

Very low

22. Explain DDL. Describe CREATE, ALTER, and DROP commands with examples.

DDL (Data Definition Language): DDL is a category of SQL commands used to define, create and modify the structure of database objects such as tables and databases.

The main DDL commands are:

1. CREATE Command

  • The CREATE command is used to create a new database or table.
  • It defines the structure of a database object.

Syntax:

CREATE TABLE table_name

(

    column1 datatype,

    column2 datatype

);

Example:

CREATE TABLE Student

(

    Roll INT,

    Name VARCHAR(30),

    Class INT

);

2. ALTER Command

  • The ALTER command is used to modify the structure of an existing table.
  • It can be used to add, modify or remove columns.

Syntax:

ALTER TABLE table_name

ADD column_name datatype;

Example:

ALTER TABLE Student

ADD Address VARCHAR(50);

3. DROP Command

  • The DROP command is used to permanently delete a database object such as a table or database.
  • It removes both the structure and the stored records of the table.

Syntax:

DROP TABLE table_name;

Example:

DROP TABLE Student;

23. What is interactive multimedia? Explain the importance of compression in multimedia.

Interactive Multimedia: Interactive multimedia is a type of multimedia that allows users to interact with digital content using different input devices such as a mouse, keyboard or touchscreen.It combines different media elements such as text, images, audio, video and animation.

Examples:

  • Educational games
  • Interactive websites
  • E-learning applications
  • Interactive presentations

Importance of Compression in Multimedia:

Compression is the process of reducing the size of multimedia files by reducing the amount of data required to store them.

Its importance is explained below:

  1. Reduces File Size: Compression reduces the size of audio, video and image files.
  2. Saves Storage Space: It helps to store more multimedia files using less storage space.
  3. Faster Transmission: Compressed files can be transferred more quickly over the internet.
  4. Reduces Bandwidth Usage: It requires less network bandwidth while sharing or streaming multimedia content.
  5. Easy Sharing: Smaller multimedia files are easier to upload, download and share.

Types of Compression:

  1. Lossless Compression: It reduces file size without losing the original data. The original file can be restored exactly.
    • Examples: PNG and ZIP.
  2. Lossy Compression: It reduces file size by removing some data permanently, which may slightly reduce quality.
    • Examples: JPEG and MP3.

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

import turtle

t = turtle.Turtle()

for i in range(4):

    t.forward(100)

   t.right(90)

(a) Which shape is drawn by the above program?

The program draws a Square because it draws four equal sides of 100 units and turns 90 degrees after drawing each side.

(b) What is the function of right(90)?

The right(90) function turns the turtle clockwise by 90 degrees from its current direction. It helps the turtle to draw the four corners of a square.

25. Explain the concept of Artificial Intelligence (AI) and Machine Learning (ML). Discuss how ML is a subset of AI with suitable examples.

Artificial Intelligence is a branch of computer science that enables machines and computers to perform tasks that normally require human intelligence, such as learning, reasoning, problem-solving and decision-making.

Examples of AI:

  • ChatGPT
  • Google Assistant
  • Self-driving cars
  • Face recognition systems

Machine Learning is a branch of Artificial Intelligence that enables computers to learn from data and improve their performance without being explicitly programmed for every task.

Examples of ML:

  • Email spam detection
  • Movie recommendations
  • Predicting weather
  • Predicting students' exam results

Relationship between AI and ML:

Machine Learning is a subset of Artificial Intelligence. This means that all machine learning is a part of AI, but not all AI systems use machine learning.

AI is the broader concept of making machines intelligent, whereas ML is one of the techniques used to achieve artificial intelligence by learning from data.

Difference between AI and ML:

Artificial Intelligence (AI)

Machine Learning (ML)

2. It enables machines to perform tasks requiring human intelligence.

2. It enables machines to learn from data.

3. It is a broader field of computer science.

3. It is a subset of AI.

4. Example: Rule-based expert system and virtual assistant.

4. Example: Spam detection and recommendation systems.

Example:An email filtering system uses AI to identify spam emails. When it learns from previously labelled spam and non-spam emails to identify new spam messages, it uses Machine Learning.