Are you preparing for the CBSE Class 12 Computer Science Exam 2026? Looking for the latest Computer Science sample paper 2026 with practice questions? You’re in the right place!
In this post, you’ll get the official CBSE sample paper for Class 12 Computer Science (083), the marking scheme, and a set of practice papers to help you get ready for your board exam with confidence.
Topics Covered
About the Class 12 Computer Science Sample Paper 2026
The CBSE Computer Science Sample Paper 2026 is designed according to the latest syllabus and exam pattern for the academic year 2025–26. It helps students to:
- Understand the question paper format
- Know the weightage of each unit
- Practice expected types of MCQs, short and long answers
- Improve time management and accuracy
Download CBSE Class 12 Computer Science Sample Paper 2026 (PDF)
Get the official sample paper released by CBSE along with the marking scheme below:
- Download CBSE Sample Paper 2026 – Computer Science PDF
- Download Marking Scheme 2026 – Computer Science PDF
These PDFs give you a clear idea of what to expect in the final board exam.
Class 12 Computer Science Exam Pattern 2026
| Section | Question Nos. | Marks per Question | Total Marks |
|---|---|---|---|
| A | Q1–Q21 | 1 mark each | 21 marks |
| B | Q22–Q28 | 2 marks each | 14 marks |
| C | Q29–Q31 | 3 marks each | 9 marks |
| D | Q32–Q35 | 4 marks each | 16 marks |
| E | Q36–Q37 | 5 marks each | 10 marks |
| Total | Q1–Q37 | 70 marks |
Question wise analysis Class 12 computer science Sample Paper 2026
Get the question wise analysis from each chapter. Download the PDF now.
Blueprint each chapter weightage Class12 Computer Science Paper 2026
Download the blue print for each chapter weightage from this PDF:
Watch this video for more understand:
Class 12 Computer Science 2026 Syllabus – Topics Covered
The sample paper and practice papers cover the following topics:
- Python Programming (Python revision tour, Functions, File Handling, Exception Handling, Stack, Python MySQL Connectivity)
- SQL and Database Management
- Computer Networks and Communication
Section A Very short answer questions – 1 Mark questions
[1] State if the following statement is True or False:
Using the statistics module, the output of the below statements will be 20:
import statistics
statistics.median([10, 20, 10, 30, 10, 20, 30])
[2] What will be the output of the following code?
L = ["India", "Incredible", "Bharat"]
print(L[1][0] + L[2][-1])
a) IT
b) it
c) It
d) iT
[3] Consider the given expression: print(19<11 and 29>19 or not 75>30)
Which of the following will be the correct output of the given expression?
a) True
b) False
c) Null
d) No output
[4] In SQL, which type of Join(s) may contain duplicate column(s)?
[5] What will be the output of the following Python code?
str= "Soft Skills"
print(str[-3::-3])
a) lSf
b) Stkl
c) StKi
d) l
[6] Write the output of the following Python code :
for k in range(7,40,6):
print ( k + '-' )
[7] What will be the output of the following Python statement:
print(10-3**2**2+144/12)
[8] Consider the given SQL Query:
SELECT department, COUNT(*) FROM employees HAVING COUNT(*) > 5 GROUP BY department;
Saanvi is executing the query but not getting the correct output. Write the correction.
[9] What will be the output of the following Python code?
try:
x = 10 / 0
except Exception:
print("Some other error!")
except ZeroDivisionError:
print("Division by zero error!")
a) Division by zero error!
b) Some other error!
c) ZeroDivisionError
d) Nothing is printed
[10] What will be the output of the following Python code?
my_dict = {"name": "Alicia", "age": 27, "city": "DELHI"}
print(my_dict.get("profession", "Not Specified"))
a) Alicia
b)DELHI
c)None
d)Not Specified
[11] What possible output is expected to be displayed on the screen at the time of execution of the Python program from the following code?
import random
L=[10,30,50,70]
Lower=random.randint(2,2)
Upper=random.randint(2,3)
for K in range(Lower, Upper+1):
print(L[K], end="@")
a) 50@70@
b) 90@
c) 10@30@50@
d) 10@30@50@70@
[12] What will be the output of the following Python code?
i = 5
print(i,end='@@')
def add():
global i
i = i+7
print(i,end='##')
add()
print(i)
a) 5@@12##15
b) 5@@5##12
c) 5@@12##12
d)12@@12##12
[13] Which SQL command can change the cardinality of an existing relation?
a) Insert
b) Delete
c) Both a) & b)
d) Drop
[14] What is the output of the given Python code?
st='Waterskiing is thrilling!'
print(st.split("i"))
a) [‘Watersk’, ‘ng ‘, ‘s thr’, ‘ll’, ‘ng!’]
b) [‘Watersk’, ”, ‘ng ‘, ‘s thr’, ‘ll’, ‘ng!’]
c) [‘Watersk’, ‘i’, ‘ng ‘, ‘s thr’, ‘ll’, ‘ng!’]
d) Error
[15] In SQL, a relation consists of 5 columns and 6 rows. If 2 columns and 3 rows are added to the existing relation, what will be the updated degree of a relation?
a) Degree: 7
b) Degree: 8
c) Degree: 9
d) Degree: 6
[16] Which SQL command is used to remove a column from a table in MySQL?
a) UPDATE
b) ALTER
c) DROP
d) DELETE
[17] __________ is a protocol used for retrieving emails from a mail server.
a) SMTP
b) FTP
c) POP3
d) PPP
[18] Which of the following is correct about using a Hub and Switch in a computer network?
a) A hub sends data to all devices in a network, while a switch sends data to the specific device.
b) A hub sends data only to the devices it is connected to, while a switch sends data to all devices in a network.
c) A hub and switch function the same way and can be used interchangeably.
d) A hub and switch are both wireless networking devices.
[19] Which of the following is used to create the structure of a web page?
a) CSS
b) HTML
c) JavaScript
d) FTP
Q20 and Q21 are Assertion(A) and Reason(R) based questions. Mark the correct choice as:
a) Both A and R are True and R is the correct explanation for A.
b) Both A and R are True and R is not the correct explanation for A.
c) A is True but R is False.
d) A is False but R is True.
[20] Assertion (A): The expression (1, 2, 3, 4).append(5) in Python will modify the original sequence datatype.
Reason (R): The append() method adds an element to the end of a list and modifies the list in place.
[21] Assertion (A): A primary key must be unique and cannot have NULL values.
Reasoning (R): The primary key uniquely identifies each row in the table.
Watch this video for more understanding:
Section B Short Answer Questions – 2 Marks Questions
[22] A. Explain the difference between explicit and implicit type conversion in Python with a suitable example.
Ans.:
| Explicit Type Conversion | Implicit Type Conversion |
| Done manually by the programmer. | Done by Python itself. |
Use built‑in functions like int(), float(), str(), list(), etc. | Python converts one data type to another without losing information. |
| Also called type casting because programmer explicitly tell Python what type he want | Happens mainly in expressions with mixed data types |
| E.g.: a=”10″ b=int(a) | E.g.: a=10 b=6 c=a/b |
(1 mark for correct difference point each)
(1/2 mark for each correct example)
OR
B. Explain the difference between break and continue statements in Python with a suitable example.
break | continue |
|---|---|
| Ends the loop entirely | Skips the current iteration only |
| Moves control outside the loop | Moves control to the next iteration |
| When loop should stop | When some values should be skipped |
| E.g. for i in range(1,7): if i==3: break print(i) | E.g. for i in range(4): if i==3: continue print(i) |
(1 mark for correct difference point each)
(1/2 mark for each correct example)
[23] The code provided below is intended to remove the first and last characters of a given string and return the resulting string. However, there are syntax and logical errors in the code. Rewrite it after removing all the errors. Also, underline all the corrections made.
define remove_first_last(str):
if len(str) < 2:
return str
new_str = str[1:-2]
return new_str
result = remove_first_last("Hello")
Print("Resulting string: " result)
Ans.:
def remove_first_last(str): #Syntax Error
if len(str) < 2:
return str
new_str = str[1:-1] #Logical Error
return new_str
result = remove_first_last("Hello")
print("Resulting string: ", result) #Syntax Error
(1⁄2 mark each for correcting 4 mistakes)
[24] A. (Answer using Python built-in methods/functions only):
I. Write a statement to find the index of the first occurrence of the substring “good” in a string named review.
II. Write a statement to sort the elements of list L1 in descending order.
Ans.:
I.
# Using Find
index = review.find("good")
# Using Index
pos = review.index("good")
# Using split
str1=review.lower().split()
for i in range(len(str1)):
if str1[i]=='good':
print(i)
II.
# Using sort
L1.sort(reverse=True)
# Using Soreted
L1_sorted = sorted(L1, reverse=True)
(1 mark for each correct answer)
B. Predict the output of the following Python code:
text="Learn Python with fun and practice"
print(text.partition("with"))
print(text.count("a"))
Ans.:
("Learn Python", "with", "fun and practice")
3
(1 mark for correct line)
[25] A. Write a function remove_element() in Python that accepts a list L and a number n. If the number n exists in the list, it should be removed. If it does not exist, print a message saying “Element not found”.
Ans.:
def remove_element(L,n):
if n in L:
L.remove(n)
print(L)
else:
print("Elemet not found")
(½ mark for function definition)
(1½ mark for correct logic)
B. Write a Python function add_contact() that accepts a dictionary phone_book, a name, and a phone number. The function should add the name and phone number to the dictionary. If the name already exists, print “Contact already exists” instead of updating it.
Ans.:
def add_contact(phone_book, name, number):
if name in phone_book:
print("Contact already exists")
else:
phone_book[name]=number or phone_book.setdefault(name, number)
print("Contact added...")
(½ mark for function definition)
(1½ mark for the correct logic)
[26] Predict the output of the Python code given below :
emp = {"Arv": (85000,90000),"Ria": (78000,88000),"Jay": (72000,80000),"Tia": (80000,70000)}
selected = [ ]
for name in emp:
salary = emp[name]
average = (salary[0] + salary[1]) / 2
if average > 80000:
selected.append(name)
print(selected)
Ans.:
[‘Arv’,’Ria’]
(2 marks for the correct output)
[27] A. Write suitable commands to do the following in MySQL.
I. View the table structure.
II. Create a database named SQP
Ans.:
I.
desc table_name; or describe table_name;
II.
create database SQP;
(1 mark for each correct answer.)
B. Differentiate between drop and delete query in SQL with a suitable example.
Ans.:
DELETE | DROP |
|---|---|
| Removes rows (data) from a table. | Removes the entire database object (table, database, view, etc.). |
| Only affects the data; table structure remains. | Removes the structure; all its data permanently. |
Can use WHERE to remove specific rows; if omitted, removes all rows. | Does not support WHERE — drops the whole object. |
| Can be rolled back if inside a transaction | Cannot be rolled back — once dropped |
| Slower for very large tables | Faster for removing all data |
| Structure remains; table can be reused after | Structure is removed — table no longer exists. |
DELETE FROM employees WHERE emp_id=101; | DROP TABLE employees; |
(1 mark for correct difference point each)
(1/2 mark for each correct example)
[28] A. Define the following terms:
I. Modem
II. Gateway
Ans.:
I. A modem is a device that helps connect your computer or other devices to the internet. It converts digital signals from your device into analog signals that can travel through phone lines or other networks, and vice versa.
II. A gateway is a device that connects two different networks and helps them communicate with each other. It translates the data between different network types, allowing them to work together.
(1 mark for each correct definition)
B. I. Expand the following terms: HTTP and FTP
II. Differentiate between web server and web browser.
Ans.:
I. HTTP: Hypertext Transfer Protocol
FTP: File Transfer Protocol
(1/2 mark for each correct expansion.)
II.
| Web Server | Web Browser |
|---|---|
| Software (and sometimes hardware) that stores, processes, and delivers web pages to clients over the internet. | Application software used by the user to request, retrieve, and display web content from servers. |
| Serves web content (HTML, CSS, JS, images, etc.) to clients. | Requests web content from a server and renders it for the user. |
| Apache HTTP Server, Nginx, Microsoft IIS, LiteSpeed. | Google Chrome, Mozilla Firefox, Microsoft Edge, Safari. |
| Run by website owners/administrators. | Used by end-users. |
| Runs on remote machines (hosting servers). | Runs on the user’s local device (PC, mobile, tablet). |
| Receives HTTP/HTTPS requests → Processes them → Sends HTTP/HTTPS responses. | Sends HTTP/HTTPS requests → Receives and renders responses. |
| Stores and manages website files and databases. | Interprets and displays files (HTML, CSS, JS) to the user. |
| Responds to requests over protocols like HTTP, HTTPS, FTP. | Sends requests using protocols like HTTP, HTTPS, FTP. |
(1 mark for correct point of difference)
Section C Short Answer Questions – 3 marks questions
[29] A. Write a Python function that displays the number of times the word “Python” appears in a text file named “Prog.txt”.
Ans.:
def cnt_python():
f=open("Prog.txt")
dt=f.read()
w=dt.split()
cnt=0
for i in w:
if i=='Python':
cnt+=1
print("Python appears ",cnt," times..")
# Using with open
def cnt_python():
with open("Prog.txt") as f:
dt=f.read()
w=dt.split()
cnt=0
for i in w:
if i=='Python':
cnt+=1
print("Python appears ",cnt," times..")
(1/2 mark for correct function header)
(1/2 mark for correctly opening a file)
(1/2 mark for correctly reading from the file)
(1/2 mark for splitting the text into words)
(1/2 mark for correct use of counter variable)
(1/2 mark for displaying the result)
OR
B. Write and call a Python function to read lines from a text file STORIES.TXT and display those lines which doesn’t start with a vowel (A, E, I, O, U) irrespective of their case.
Ans.:
def lines_novowels():
with open("progs.TXT") as f:
l=f.readlines()
for i in l:
if i[0].lower() not in 'aeiou':
print(i,end='')
lines_novowels()
(1/2 mark for correct function header)
(1/2 mark for correctly opening a file)
(1/2 mark for correctly reading from the file)
(1 mark for correctly displaying the desired lines )
(1/2 mark for correctly calling the function)
[30] A list containing records of products as
L = [(“Laptop”, 90000), (“Mobile”, 30000), (“Pen”, 50), (“Headphones”, 1500)]
Write the following user-defined functions to perform operations on a stack named Product to:
- Push_element() – To push an item containing the product name and price of products costing more than 50 into the stack.
Output: [(‘Laptop’, 90000), (‘Mobile’, 30000), (‘Headphones’, 1500)] - Pop_element() – To pop the items from the stack and display them. Also, display “Stack Empty” when there are no elements in the stack.
Output:
(‘Headphones’, 1500)
(‘Mobile’, 30000)
(‘Laptop’, 90000)
Stack Emply
Ans.:
I.
L = [("Laptop", 90000), ("Mobile", 30000), ("Pen", 50), ("Headphones", 1500)]
products=[]
def Push_element(L):
for i in L:
if i[1]>50:
products.append(i)
II.
def Pop_element(products):
while products!=[]:
print(products.pop())
else:
print("Stack Empty")
(1½ marks for each correct part)
[31] A. Predict the output of the following Python code:
s1="SQP-25"
s2=""
i=0
while i<len(s1):
if s1[i]>='0' and s1[i]<='9':
Num=int(s1[i])
Num-=1
s2=s2+str(Num)
elif s1[i]>='A' and s1[i]<='Z':
s2=s2+s1[i+1]
else:
s2=s2+'^'
i+=1
print(s2)
Ans.: QP-^14
Explanation:
While loop will traverse the string. The first if condition checks if the string contains any digit will be converted into integer and decrement it by 1. Then will be added to the variable s2. Here, the string SQP-25 containts 2 and 5 as digits. These digits will be decremented by 1. So it becomes 14.
The eleif block checks for the capital letters and contact the next letter into s2. Hence it will be done as follows:
S - Q
Q - P
P - -
The else block will be applied to the - and convert it into ^.
Hence the final output will be QP-^14.
(3 marks for the correct output)
B. Predict the output of the following Python code:
wildlife_sanctuary = ["Kaziranga", "Ranthambhore", "Jim Corbett", "Sundarbans", "Periyar", "Gir", "Bandipur"]
output = [ ]
for sanctuary in wildlife_sanctuary:
if sanctuary[-1] in 'aeiou':
output.append(sanctuary[0].upper())
print(output)
Ans.: [“K”,”R”]
Explanation:
-1 will check for the last charatcer, if it is one of them like 'aeiou', the first letter will be appended to the list.
The list contains following elements contains vowels as last letter:
Kaziranga, Ranthambhore
The first letters are as: 'K'and 'R'
(3 marks for the correct output)
Section D Competency Based Questions – 4 Marks questions
[32] Consider the table SALES as given below:

A. Write the following queries:
I. To display the total quantity sold for each product whose total quantity sold exceeds 12.
II. To display the records of SALES table sorted by Product name in descending order.
III. To display the distinct Product names from the SALES table.
IV. To display the records of customers whose names end with the letter ‘e’.
Ans.:
I. select product, sum(quantity_sold) from sales group by product having sum(quantity_sold)>7;
II. select * from sales order by product desc;
III. select distinct (product) from sales;
IV. select * from sales where customer_name like '%e';
(4 x 1 mark for each correct query)
OR
B. Predict the output of the following:
I. SELECT * FROM Sales where product=’Tablet’;
II. SELECT sales_id, customer_name FROM Sales WHERE product LIKE ‘S%’;
III. SELECT COUNT(*) FROM Sales WHERE product in (‘Laptop’, ‘Tablet’);
IV. SELECT AVG(price) FROM Sales where product=’Tablet’;
Ans.:
I.
+----------+---------------+---------+---------------+-------+
| sales_id | customer_name | product | quantity_sold | price |
+----------+---------------+---------+---------------+-------+
| S003 | Michael Lee | Tablet | 3 | 15000 |
| S007 | Mark | Tablet | 5 | 34000 |
+----------+---------------+---------+---------------+-------+
II.
+----------+---------------+
| sales_id | customer_name |
+----------+---------------+
| S002 | Jane Smith |
| S005 | Emily Davis |
| S006 | David |
+----------+---------------+
III.
+----------+
| COUNT(*) |
+----------+
| 3 |
+----------+
IV.
+------------+
| AVG(price) |
+------------+
| 24500.0000 |
+------------+
(4 x 1 mark for each correct query output)
[33] Raj is the manager of a medical store. To keep track of sales records, he has created a CSV file named Sales.csv, which stores the details of each sale.
The columns of the CSV file are: Product_ID, Product_Name, Quantity_Sold and Price_Per_Unit.
Help him to efficiently maintain the data by creating the following user-defined functions:
I. Accept() – to accept a sales record from the user and add it to the file Sales.csv.
II. CalculateTotalSales() – to calculate and return the total sales based on the Quantity_Sold and Price_Per_Unit.
Ans.:
I.
import csv
def Accept():
product_id = input("Enter Product ID: ")
product_name = input("Enter Product Name: ")
quantity_sold = int(input("Enter Quantity Sold: "))
price_per_unit = float(input("Enter Price Per Unit: "))
with open('Sales.csv', 'a', newline='') as file:
writer = csv.writer(file)
writer.writerow([product_id, product_name, quantity_sold, price_per_unit])
print("Sales record added successfully.")
(1⁄2 mark for correctly taking user input)
(1⁄2 mark for opening the file in append mode)
(1⁄2 mark for correctly creating the writer object)
(1⁄2 mark for correctly using writerow() of writer object)
II.
def CalculateTotalSales():
total_sales = 0.0
with open('Sales.csv', 'r') as file:
reader = csv.reader(file)
for row in reader:
total_sales += int(row[2]) * float(row[3])
print("Total Sales is:", total_sales)
(1⁄2 mark for opening in the file in right mode)
(1⁄2 mark for correctly creating the reader object)
(1⁄2 mark for correctly checking the condition)
(1⁄2 mark for correctly displaying the total sales)
Note (for both parts (I) and (II)):
Ignore import csv as it may be considered the part of the complete program.
[34] Pranav is managing a Travel Database and needs to access certain information from the Hotels and Bookings tables for an upcoming tourism survey. Help him extract the required information by writing the appropriate SQL queries as per the tasks mentioned below:

I. To display a list of customer names who have bookings in any hotel of ‘Delhi’ city.
II. To display the booking details for customers who have booked hotels in ‘Mumbai’, ‘Chennai’, or ‘Kolkata’.
III. To delete all bookings where the check-in date is before 2024-12-03.
IV. A. To display the Cartesian Product of the two tables.
OR
B. To display the customer’s name along with their booked hotel’s name.
Ans.:
I.
SELECT Customer_Name FROM Hotels, Bookings
WHERE Hotels.H_ID = Bookings.H_ID AND City = 'Delhi';
II.
SELECT Bookings.* FROM Hotels, Bookings
WHERE Hotels.H_ID = Bookings.H_ID AND City IN ('Mumbai', 'Chennai', 'Kolkata');
III. DELETE FROM Bookings WHERE Check_In < '2024-12-03';
IV. A. SELECT * FROM Hotels, Bookings;
OR
B. SELECT Customer_Name, Hotel_Name FROM Hotels, Bookings
WHERE Hotels.H_ID = Bookings.H_ID;
(4 x 1 mark for each correct query)
[35] MySQL database named WarehouseDB has a product_inventory table in MySQL which contains the following attributes:
- Item_code: Item code (Integer)
- Product_name: Name of product (String)
- Quantity: Quantity of product (Integer)
- Cost: Cost of product (Integer)
Consider the following details to establish Python-MySQL connectivity:
- Username: admin_user
- Password: warehouse2024
- Host: localhost
Write a Python program to change the Quantity of the product to 91 whose Item_code is 208 in the product_inventory table.
Ans.:
import mysql.connector
connection = mysql.connector.connect(host='localhost',user='admin_user',password='warehouse2024',database='WarehouseDB')
cursor = connection.cursor()
update_query = "UPDATE product_inventory SET Quantity = 91 WHERE Item_code = 208"
cursor.execute(update_query)
connection.commit()
print("Data updated successfully.")
cursor.close()
connection.close()
(1⁄2 mark for correctly importing the connector object)
(1⁄2 mark for correctly creating the connection object)
(1⁄2 mark for correctly creating the cursor object)
(1 mark for correct creation of update query)
(1 mark for correctly executing the query with commit)
(1⁄2 mark for correctly closing the connection)
Section E Long Answer Questions – 5 Marks Questions
[36] Mr. Ravi, a manager at a tech company, needs to maintain records of employees. Each record should include: Employee_ID, Employee_Name, Department and Salary.
Write the Python functions to:
I. Input employee data and append it to a binary file.
II. Update the salary of employees in the “IT” department to 200000.
Ans.:
I.
import pickle
def append_data():
with open("emp.dat", 'ab') as file:
employee_id = int(input("Enter Employee ID: "))
employee_name = input("Enter Employee Name: ")
department = input("Enter Department: ")
salary = float(input("Enter Salary: "))
pickle.dump([employee_id, employee_name, department, salary], file)
print("Employee data appended successfully.")
#append_data()
(1/2 mark for correctly defining the function header)
(1/2 mark for correctly opening the file in append mode)
(1/2 mark for correctly taking user input)
(1/2 mark for using dump() method of the pickle module)
II.
def update_data():
updated = False
emp=[]
with open("emp.dat", 'rb') as file:
while True:
try:
employee = pickle.load(file)
emp.append(employee)
except EOFError:
break
for i in range(len(emp)):
if emp[i][2]=='IT':
emp[i][3]=300000
with open("emp.dat", 'wb') as file:
for employee in emp:
pickle.dump(employee, file)
if updated:
print("Salaries updated for IT department.")
with open("emp.dat","rb") as file:
try:
while True:
ed=pickle.load(file)
print(ed)
except EOFError:
pass
update_data()
(1/2 mark for correctly defining the function header)
(1/2 mark for correctly opening the file)
(1 mark for using load() with while loop and try-except block)
(1 mark for checking the condition and updating the value)
Note (for both parts (I) and (II)): (i) Ignore import pickle as it may be considered the part of the complete program.
[37] XYZNova Inc. is planning a new campus in Hyderabad while maintaining its headquarters in Bengaluru. The campus will have four buildings: HR, Finance, IT, and Logistics. As a network expert, you are tasked with proposing the best network solutions for their needs based on the following:
| From | To | Distance (in meters) |
| HR | Finance | 50 |
| HR | IT | 175 |
| HR | Logistic | 90 |
| Finance | IT | 60 |
| Finance | Logistic | 70 |
| IT | Logistic | 60 |
Number of Computers in Each Block:
| Block | Number of computers |
| HR | 60 |
| Finance | 40 |
| IT | 90 |
| Logistic | 35 |
I. Suggest the best location for the server in the Hyderabad campus and explain your reasoning.
II. Suggest the placement of the following devices:
a) Repeater b) Switch
III. Suggest and draw a cable layout of connections between the buildings inside the campus.
IV. The organisation plans to provide a high-speed link with its head office using a wired connection. Which of the cables will be most suitable for this job?
V. A. What is the use of VoIP?
OR
B. Which type of network (PAN, LAN, MAN, or WAN) will be formed while connecting the Hyderabad campus to Bengaluru Headquarters?
Ans.:
I. Block IT should house the server as it has maximum number of computers. Following the 80:20 rule, you would locate the server in Block IT’s LAN so 80% of traffic stays local and only 20% is from remote users via the backbone.
II. a) Repeater is to be placed between Block IT to Block HR as distance between them is more than 100 metres.
b) Switch is to be placed in each and every building.
III. Draw the star topology cable layout.

IV. Optical Fibre
V. A. Voice over Internet Protocol (VoIP) is a technology that allows users to make phone calls and other communications over the Internet instead of a traditional phone line.
OR
B. WAN will be formed.
(5 x 1 mark for each correct part)
Free Practice Papers for Class 12 Computer Science 2026
To help you prepare better, here are free downloadable practice papers based on the latest CBSE syllabus and pattern:
All practice papers come with solutions and answer keys to help you self-assess your performance. Coming soon!
Tips to Score High in Computer Science 2026
- Master Python Programming – Focus on real-world problems and logic.
- Practice SQL Queries Regularly – Revise commands like SELECT, WHERE, GROUP BY and joins.
- Revise Networking Basics – IP, protocols, topologies, cyber security.
- Solve CBSE Sample and Practice Papers – Time yourself and review solutions.
- Revise from NCERT and Focus on Marking Scheme – Understand how marks are awarded.
Final Words
The Class 12 Computer Science Sample Paper 2026 is your gateway to board exam success. With
consistent practice using the official paper and the additional practice sets, you can strengthen your preparation and boost your confidence.
Don’t wait! Download the sample and practice papers today and get started.
Follow this link to get previous year sample papers:
| S.No | Sample Paper Link |
| 1 | CBSE Sample Paper 2024-25 |
| 2 | CBSE Sample Paper 2023-24 |
| 3 | CBSE Sample Paper 2022-23 |
Stay updated with the latest CBSE news, exam resources, and study material. Bookmark this blog and share it with your classmates!