Skip to content

Class 11th IP (065) 3 Marks Important Questions

Class 11th IP (065) 3 Marks Important Questions

Unit 1 – Introduction to Computer System

Q.1 Explain the evolution of computing devices briefly.
Answer :-
The evolution of computing devices refers to the gradual development of computers from simple calculating tools to advanced electronic machines. Initially, manual devices like the abacus were used for basic arithmetic operations. Later, mechanical devices such as Pascaline and analytical engines were developed to improve calculation accuracy.
The next stage involved electro-mechanical computers, which used electrical signals along with mechanical parts. With the invention of electronic components, computers entered the first generation, which used vacuum tubes and were very large, costly, and consumed excessive power.
The second generation introduced transistors, making computers smaller, faster, and more reliable. The third generation used integrated circuits (ICs), further improving efficiency and reducing size. The fourth generation marked the use of microprocessors, leading to personal computers.
Today, modern computers are based on advanced technologies such as artificial intelligence and cloud computing. Each stage of evolution has made computers more powerful, user-friendly, and accessible.
Q.2 Describe the main components of a computer system.
Answer :- A computer system consists of several essential components that work together to perform data processing. The primary components include input devices, Central Processing Unit (CPU), memory, and output devices.
Input devices are used to enter data and instructions into the computer. Common input devices include keyboard, mouse, scanner, and microphone. The CPU, also known as the brain of the computer, processes the data. It consists of three parts: Arithmetic Logic Unit (ALU), Control Unit (CU), and registers.
Memory is used to store data, instructions, and results. It includes primary memory such as RAM and ROM, and secondary memory such as hard disks and pen drives. Output devices display the processed information in a usable form, such as monitor, printer, and speakers.
All these components are interconnected through the motherboard, enabling smooth communication. The proper coordination of these components allows a computer system to function efficiently.
Q.3 Explain the role of Control Unit (CU).
Answer :- A computer system consists of several essential components that work together to perform data processing. The primary components include input devices, Central Processing Unit (CPU), memory, and output devices.
Input devices are used to enter data and instructions into the computer. Common input devices include keyboard, mouse, scanner, and microphone. The CPU, also known as the brain of the computer, processes the data. It consists of three parts: Arithmetic Logic Unit (ALU), Control Unit (CU), and registers.
Memory is used to store data, instructions, and results. It includes primary memory such as RAM and ROM, and secondary memory such as hard disks and pen drives. Output devices display the processed information in a usable form, such as monitor, printer, and speakers.
All these components are interconnected through the motherboard, enabling smooth communication. The proper coordination of these components allows a computer system to function efficiently.
Q.4 Differentiate between input and output devices.
Answer :-  Input and output devices are essential components of a computer system, but they perform different functions. Input devices are used to enter data and instructions into the computer for processing. Examples of input devices include keyboard, mouse, scanner, and microphone. These devices help users communicate with the computer.
On the other hand, output devices are used to display or present the results after processing. Examples include monitor, printer, speaker, and projector. Output devices convert processed data into a human-readable or understandable form.
The direction of data flow is another major difference. In input devices, data flows from the user to the computer, whereas in output devices, data flows from the computer to the user.
Both input and output devices are equally important for the functioning of a computer system, as they enable interaction between users and machines and ensure effective data processing and communication.
Q.5 Explain RAM and ROM.
Answer :- RAM (Random Access Memory) and ROM (Read Only Memory) are two types of primary memory used in a computer system. RAM is a volatile memory that temporarily stores data, programs, and instructions that are currently being used by the CPU. The contents of RAM are lost when the computer is turned off. It allows fast access to data, which improves system performance.
ROM, on the other hand, is a non-volatile memory that permanently stores essential instructions required to start the computer, such as the booting program. The data stored in ROM cannot be easily modified or erased.
RAM is larger in size and faster compared to ROM, whereas ROM is smaller and mainly used for storing fixed instructions. Both RAM and ROM play an important role in the functioning of a computer system by supporting processing and system startup operations.
Q.6 What are the units of memory? Explain any three.
Answer :- RAM (Random Access Memory) and ROM (Read Only Memory) are two types of primary memory used in a computer system. RAM is a volatile memory that temporarily stores data, programs, and instructions that are currently being used by the CPU. The contents of RAM are lost when the computer is turned off. It allows fast access to data, which improves system performance.
ROM, on the other hand, is a non-volatile memory that permanently stores essential instructions required to start the computer, such as the booting program. The data stored in ROM cannot be easily modified or erased.
RAM is larger in size and faster compared to ROM, whereas ROM is smaller and mainly used for storing fixed instructions. Both RAM and ROM play an important role in the functioning of a computer system by supporting processing and system startup operations.
Q.7 What is secondary memory? Give examples.
Answer :- Secondary memory, also known as secondary storage, is used to store data permanently in a computer system. Unlike primary memory, secondary memory is non-volatile, meaning it retains data even when the computer is turned off.
Secondary memory is mainly used to store large amounts of data, programs, and files for long-term use. It is slower than primary memory but has a much larger storage capacity. Examples of secondary memory devices include hard disk drives (HDD), solid-state drives (SSD), pen drives, memory cards, and CD/DVDs.
Secondary storage devices are essential for data backup, software installation, and file storage. They allow users to store information securely and retrieve it whenever required. Without secondary memory, computers would not be able to store data permanently.
Q.8 Explain volatile and non-volatile memory.
Answer :- Volatile and non-volatile memory are two categories of computer memory based on data retention. Volatile memory requires a continuous power supply to retain data. Once the power is switched off, all stored data is lost. The most common example of volatile memory is RAM. It is used to store temporary data and instructions during processing.
Non-volatile memory, on the other hand, retains data even when power is turned off. Examples include ROM, hard disk, pen drive, and SSD. Non-volatile memory is used for permanent storage of data and system programs.
Volatile memory provides fast access speed, while non-volatile memory offers long-term data storage. Both types of memory are important for the smooth operation of a computer system.
 
Q.9 What happens when data is deleted from a computer?
Answer :- When data is deleted from a computer, it is not immediately removed from the storage device. Instead, the system removes the reference or address of the file, marking the space as available for new data. The actual data remains on the storage medium until it is overwritten.
Because of this, deleted data can often be recovered using special data recovery software. This poses serious security risks, especially if sensitive or personal data is involved. Unauthorized recovery of deleted files can lead to data theft and privacy breaches.
To permanently remove data, secure deletion methods such as overwriting data multiple times or using data shredding tools are required. Understanding the data deletion process is important for maintaining data security and privacy.
Q.10 Explain any three examples of output devices.
Answer :-
Output devices are hardware components that present processed information to the user. One common output device is the monitor, which displays visual information such as text, images, and videos on the screen. It provides soft copy output.
Another output device is the printer, which produces information on paper, known as hard copy. Printers are commonly used to print documents, reports, and images.
The speaker is also an output device that produces audio output from the computer. It is used to play music, voice, and sound effects.
These output devices help users understand and use the results generated by the computer system effectively.

END

 
 

UNIT 2: INTRODUCTION TO PYTHON

Q.1 Explain the structure of a Python program with the help of an example.

Answer :-  A Python program generally consists of comments, import statements, function definitions, and main executable statements. Execution starts from the first line and proceeds sequentially.
Example:

# This is a comment import math def square(x): return x * x print(square(5))

Q.2 Explain keywords and constants in Python with suitable examples.

Answer :-

1. Keywords in Python
Keywords are reserved words in Python that have a predefined meaning and cannot be used as identifiers (variable, function, or class names).
Examples of Python Keywords
Some commonly used keywords are:
if, else, for, while, break, continue, def, return, True, False, None, class, import
Example
if True: print("This is a keyword example")
2. Constants in Python
Constants are fixed values whose value does not change during program execution.
Python does not enforce constants strictly, but they are written in uppercase by convention.
Types of Constants
  • Numeric constants10, 3.14
  • String constants"Hello", 'Python'
  • Boolean constantsTrue, False
  • Special constantNone
Example

PI = 3.14 MAX_LIMIT = 100

Q.3 Describe different types of operators used in Python.

Solution :- 

Types of Operators in Python

1. Arithmetic Operators

Used for mathematical calculations.

Operator Purpose Example
+Addition5 + 2 = 7
-Subtraction5 - 2 = 3
*Multiplication5 * 2 = 10
/Division5 / 2 = 2.5
%Modulus5 % 2 = 1
//Floor Division5 // 2 = 2
**Exponent2 ** 3 = 8

2. Relational (Comparison) Operators

Used to compare two values.

Operator Example
==5 == 5
!=5 != 3
>5 > 3
<5 < 3
>=5 >= 5
<=5 <= 4

3. Logical Operators

Used to combine conditions.

Operator Meaning Example
andBoth truex > 0 and x < 10
orAny one truex > 0 or x < 0
notReverse resultnot(x > 5)

4. Assignment Operators

Used to assign values.

Operator Example
=x = 10
+=x += 5
-=x -= 2
*=x *= 3
/=x /= 2

5. Membership Operators

Used to check presence in a sequence.

Operator Example
in'a' in "apple"
not in5 not in [1, 2, 3]

6. Identity Operators

Used to compare memory location.

Operator Example
isx is y
is notx is not y

7. Bitwise Operators

Used to perform operations at bit level.

Operator Example
&5 & 3 = 1
|5 | 3 = 7
^5 ^ 3 = 6
~~5 = -6
<<5 << 1 = 10
>>5 >> 1 = 2

Q.4 Explain mutable and immutable data types with examples.

Solution  :- 

Mutable Data Types

Mutable data types are those whose values can be changed after creation without changing their identity.

Examples

  • list

  • dict

  • set

lst = [1, 2, 3] lst[0] = 10 print(lst) # Output: [10, 2, 3]

Immutable Data Types

Immutable data types are those whose values cannot be changed after creation.
Any modification creates a new object.

Examples

  • int

  • float

  • str

  • tuple

s = "Python" s = s + "3" print(s) # Output: Python3

Q.5 Explain input and output statements in Python.’

Solution  :-

Input Statement in Python

The input() function is used to take data from the user at runtime.
It always returns the input in string format, so type conversion may be required.

Example

name = input("Enter your name: ") age = int(input("Enter your age: "))

Output Statement in Python

The print() function is used to display output on the screen.
It can print text, variables, and expressions.

Example

print("Hello", name) print("Age:", age)

Key Points (Exam-Ready) input() → takes input from the user print() → displays output Type conversion like int(), float() may be used with input()

Q.6 What is the difference between for loop and while loop?

Solution  :- 

Difference between For Loop and While Loop

Difference between for Loop and while Loop

for Loop while Loop
Used when the number of iterations is known Used when the number of iterations is not known
Iterates over a sequence (list, string, range) Executes based on a condition
Initialization and increment are implicit Initialization and increment are explicit
More compact and readable Requires careful condition control

Example of for Loop

for i in range(5):
    print(i)

Example of while Loop

i = 0
while i < 5:
    print(i)
    i += 1

In short:
for loop → fixed / known iterations
while loop → condition-based / unknown iterations

Q.7 Explain any three list methods used for insertion and deletion.

Solution  :- 

List Methods for Insertion and Deletion in Python

List Methods for Insertion and Deletion in Python

Introduction

A list in Python is a mutable and ordered collection of elements. Being mutable, lists allow elements to be added or removed dynamically during program execution using built-in list methods. These methods help in efficient data storage and manipulation.


Insertion Methods

The following methods are used to insert elements into a list:

Method Description Example
append() Adds a single element at the end of the list
lst = [1, 2, 3]
lst.append(4)
insert() Inserts an element at a specified index position
lst = [1, 2, 3]
lst.insert(1, 10)
extend() Adds multiple elements from another list or iterable
lst = [1, 2]
lst.extend([3, 4])

Deletion Methods

The following methods are used to remove elements from a list:

Method Description Example
remove() Removes the first occurrence of a specified element
lst = [1, 2, 3]
lst.remove(2)
pop() Removes and returns an element at a given index (last by default)
lst = [1, 2, 3]
lst.pop()
clear() Removes all elements from the list
lst = [1, 2, 3]
lst.clear()

Important Theory Points

  • Insertion methods increase the size of the list.
  • Deletion methods decrease the size of the list.
  • All these methods modify the original list directly.
  • Lists allow duplicate elements.
  • Since lists are mutable, changes reflect in the same memory object.

In short:
Insertion → append(), insert(), extend()
Deletion → remove(), pop(), clear()

Q.8 Explain how elements are accessed and updated in a dictionary.

Solution  :- 

Accessing and Updating Elements in a Dictionary

Accessing and Updating Elements in a Dictionary

Introduction

A dictionary in Python is a mutable and unordered collection of data stored in the form of key–value pairs. Each key is unique and is used to access its corresponding value. Dictionaries provide fast data access.


Accessing Elements in a Dictionary

Dictionary elements are accessed using their keys, not index numbers.

Using Square Brackets [ ]

This method returns the value for the specified key. It gives an error if the key does not exist.

student = {"name": "Amit", "age": 18}
print(student["name"])

Using get() Method

The get() method safely returns the value of a key. If the key is not found, it returns None instead of an error.

print(student.get("age"))

Updating Elements in a Dictionary

Since dictionaries are mutable, their values can be changed after creation.

Updating an Existing Key

student["age"] = 19

Adding a New Key–Value Pair

student["grade"] = "A"

Additional Theory Points

  • Keys must be of immutable types such as int, string, or tuple.
  • Values can be of any data type.
  • Dictionaries do not allow duplicate keys.
  • Any change made affects the original dictionary.

In short:
Access → by keys using [ ] or get()
Update → assign a new value to a key
Dictionary → mutable and dynamic

Q.9 What is NumPy? Write any two uses of NumPy.

Solution  :- 

Introduction to NumPy

What is NumPy?

NumPy (Numerical Python) is a powerful Python library used for numerical and scientific computing. It provides support for multi-dimensional arrays, mathematical functions, and fast operations on large datasets. NumPy is faster than Python lists because it uses optimized C-based implementation.


Uses of NumPy

1. Efficient Array and Matrix Operations

NumPy provides the ndarray object to store large amounts of numerical data. It supports fast operations like addition, multiplication, slicing, and reshaping of arrays.

import numpy as np
a = np.array([1, 2, 3])
b = a * 2

2. Mathematical and Statistical Computations

NumPy is widely used for performing mathematical and statistical operations such as mean, sum, standard deviation, and trigonometric calculations.

import numpy as np
arr = np.array([10, 20, 30])
print(np.mean(arr))

In short:

  • NumPy is a library for numerical and scientific computing.
  • It is used for fast array and matrix operations.
  • It helps in mathematical and statistical calculations.

Q.10 Explain how a NumPy array is created from a Python list.

Solution  :- 

Creating a NumPy Array from a Python List

Creating a NumPy Array from a Python List

Explanation

A NumPy array is created from a Python list using the array() function provided by the NumPy library. This conversion allows faster numerical operations because NumPy arrays store elements of the same data type in contiguous memory.


Steps to Create a NumPy Array

  • Import the NumPy library
  • Create a Python list
  • Pass the list to np.array()

Example Code

import numpy as np

lst = [1, 2, 3, 4]
arr = np.array(lst)

print(arr)

Additional Theory Points

  • The resulting array is called an ndarray.
  • All elements in a NumPy array are of the same data type.
  • NumPy arrays support fast and vectorized mathematical operations.

In short:
A NumPy array is created using np.array(list), which converts a Python list into a fast and efficient numerical array.

END

UNIT 3: DATABASE CONCEPTS & SQL

SOLUTIONS

DBMS Exam Notes (Brief with Theory)

1.Explain the need for database systems.

A Database System is a computerized system used to store, organize, and manage large volumes of data in a structured manner. It overcomes the limitations of traditional file systems.

  • Minimizes data redundancy by avoiding duplicate data
  • Maintains data consistency across applications
  • Provides data security using authorization and access control
  • Allows multiple users to access data simultaneously
  • Ensures data integrity using constraints
  • Makes data retrieval fast and efficient

Example: A school database maintains student, teacher, and marks data in one centralized system.

2. Differentiate between file system and DBMS.

File System DBMS
Data stored in separate files Data stored in structured databases
High data redundancy Controlled redundancy
Limited security High level of security
No query language Uses SQL for querying
No integrity constraints Supports data integrity rules

3. Explain the terms tuple and relation with an example.

In the relational model, data is represented in the form of tables. A relation refers to a table, while a tuple represents a single row of that table.

RollNo Name Marks
1 Ravi 85
  • The STUDENT table is a relation
  • The row (1, Ravi, 85) is a tuple

4.Explain candidate key and primary key with suitable examples.

Keys are used to uniquely identify records in a table. A candidate key is any attribute that can uniquely identify a tuple, while a primary key is the chosen candidate key.

Example: STUDENT(RollNo, Aadhaar, Name)

  • Candidate Keys: RollNo, Aadhaar
  • Primary Key: RollNo

5. Write a short note on advantages of SQL.

SQL (Structured Query Language) is the standard language used to interact with relational databases.

  • Simple and easy to understand
  • Standard language supported by all DBMS
  • Supports data definition and manipulation
  • Provides data security and user control
  • Handles large amounts of data efficiently
SELECT * FROM STUDENT;

6.Explain Data Definition Language (DDL) commands.

DDL commands are used to define, modify, and remove the structure of database objects such as tables and schemas.

  • CREATE – creates database objects
  • ALTER – modifies existing objects
  • DROP – deletes objects permanently
  • TRUNCATE – removes all records from a table
CREATE TABLE STUDENT ( RollNo INT, Name VARCHAR(20) );

7. What is Data Manipulation Language (DML)? Explain with examples.

DML commands are used to manipulate data stored inside database tables. They allow users to insert, modify, delete, and retrieve records.

  • INSERT – adds new records
  • UPDATE – modifies existing records
  • DELETE – removes records
  • SELECT – retrieves records
INSERT INTO STUDENT VALUES (1, 'Ravi');

8. Explain SELECT and FROM clauses with an example.

The SELECT clause specifies the columns to be displayed, while the FROM clause specifies the table from which data is retrieved.

SELECT Name, Marks FROM STUDENT;

9.Explain relational operators used in SQL.

Relational operators are used in SQL conditions to compare values.

Operator Meaning
=Equal to
>Greater than
<Less than
>=Greater than or equal
<=Less than or equal
<>Not equal
SELECT * FROM STUDENT WHERE Marks > 60;

10. Explain IS NULL and IS NOT NULL operators.

These operators are used to check whether a column contains missing values. NULL represents unknown or unavailable data.

  • IS NULL – checks for missing values
  • IS NOT NULL – checks for existing values
SELECT * FROM STUDENT WHERE Marks IS NULL; SELECT * FROM STUDENT WHERE Marks IS NOT NULL;
 

END

 
 

UNIT 4: INTRODUCTION TO THE EMERGING TRENDS

SOLUTIONS

3 Mark Questions – Emerging Technologies (Long Theory)

1. Explain any three applications of Artificial Intelligence

Artificial Intelligence (AI) is a branch of computer science that focuses on creating systems capable of performing tasks that normally require human intelligence. These tasks include learning, reasoning, problem-solving, decision-making, and understanding language.

AI is widely used in different sectors to improve efficiency, accuracy, and automation.

  • Healthcare: AI systems analyze patient data, medical images, and reports to help doctors detect diseases at an early stage and recommend suitable treatments.
  • Education: AI is used in smart tutoring systems, adaptive learning platforms, and automated evaluation systems to personalize learning for students.
  • Banking and Finance: AI helps detect fraud, manage risk, automate customer support through chatbots, and analyze financial trends.
Example: Chatbots and virtual assistants use AI to answer customer queries and provide support.

2. Differentiate between Artificial Intelligence and Machine Learning

Artificial Intelligence is a broad concept that aims to make machines intelligent so that they can simulate human thinking and behavior. Machine Learning is a subset of AI that focuses on enabling machines to learn automatically from data without being explicitly programmed.

AI systems may use rules, logic, and reasoning, while ML systems improve their performance by analyzing patterns in data.

  • Artificial Intelligence: Focuses on making machines think and act like humans.
  • Machine Learning: Focuses on teaching machines to learn from experience and data.
Example: An AI-based system may include decision-making logic, while ML models predict outcomes such as weather or stock prices.

3. Explain the concept of Natural Language Processing with examples

Natural Language Processing (NLP) is a subfield of Artificial Intelligence that enables computers to understand, interpret, and respond to human language in a meaningful way. It bridges the gap between human communication and computer understanding.

NLP involves tasks such as text analysis, speech recognition, language translation, and sentiment analysis.

  • Converts spoken language into text
  • Analyzes written text to understand meaning and intent
Example: Voice assistants understand spoken commands and respond using NLP techniques.

4. Differentiate between Augmented Reality (AR) and Virtual Reality (VR)

Augmented Reality (AR) and Virtual Reality (VR) are immersive technologies used to enhance user experience. AR adds digital elements to the real-world environment, whereas VR completely replaces the real world with a simulated environment.

  • Augmented Reality: Enhances real-world view by overlaying digital content.
  • Virtual Reality: Creates a fully immersive digital world that blocks the real environment.
Example: AR is used in mobile camera filters, while VR is used in gaming and training simulators.

5. Explain Robotics and its applications

Robotics is a branch of engineering and technology that deals with the design, development, operation, and application of robots. Robots are programmable machines capable of performing tasks automatically or with minimal human intervention.

Robotics improves productivity, precision, and safety, especially in hazardous environments.

  • Industrial automation and manufacturing
  • Medical surgery and healthcare assistance
  • Space exploration and defense
Example: Industrial robots are widely used in automobile manufacturing plants.

6. Explain the characteristics of Big Data

Big Data refers to extremely large and complex datasets that cannot be managed or processed using traditional data processing techniques. Big Data is defined by its unique characteristics.

  • Volume: Refers to the massive amount of data generated every second.
  • Velocity: Refers to the speed at which data is generated and processed.
  • Variety: Refers to different types of data such as text, images, audio, and video.
Example: Social media platforms generate huge volumes of diverse data continuously.

7. Explain the role of sensors in IoT systems

Sensors are crucial components of Internet of Things (IoT) systems. They collect data from the physical environment and convert it into digital form for further processing and analysis.

Sensors enable automation, monitoring, and intelligent decision-making in IoT applications.

  • Measure temperature, humidity, pressure, motion, and light
  • Support real-time data collection and control
Example: Motion sensors are used in smart security systems.

8. What is a smart city? Explain its key features

A smart city uses digital technologies, IoT, and data analytics to improve urban infrastructure, enhance public services, and improve the quality of life of citizens.

Smart cities focus on sustainable development and efficient resource utilization.

  • Smart transportation and traffic management
  • Efficient energy and water management
  • Smart healthcare, security, and governance
Example: Smart traffic systems adjust signal timings based on traffic flow.

9. Explain Software as a Service (SaaS) with examples

Software as a Service (SaaS) is a cloud computing model in which software applications are delivered over the internet and accessed using a web browser. Users do not need to install or maintain software locally.

SaaS offers flexibility, scalability, and cost-effectiveness.

  • Accessible from anywhere with internet
  • No maintenance or hardware dependency
Example: Online email services and cloud-based office applications.

10. Explain Grid Computing in brief

Grid computing is a distributed computing approach where multiple computers, often located in different places, are connected to work together on a single large task. It allows sharing of computing power, storage, and resources.

Grid computing is used for solving complex scientific and research problems.

  • Improves computational efficiency
  • Supports large-scale data processing
Example: Weather forecasting and scientific simulations use grid computing.
 

END