aglasem.com
Home Schools Admission Career Mock Test PDF Docs Playground
ClassChoose class
StateSelect state

HBSE Class 12 Sample Paper 2026 Computer Science

Download HBSE Class 12 Sample Paper 2026 Computer Science PDF. Here at aglasem.com get latest Haryana Board Model Question Papers. HBSE Class 12 Computer Science Sample Paper 2026 is given below. More Detail
HBSE Class 12 Sample Paper 2026 Computer Science - Page 1 of 8

Finished viewing? Save it for later —

Download HBSE Class 12 Sample Paper 2026 Computer Science (PDF · 8 pages)
Downloaded 26 times

About HBSE Class 12 Sample Paper 2026 Computer Science

HBSE Class 12 Sample Paper 2026 Computer Science is available here for free download. Published by Haryana Board for Class 12, this sample paper can be viewed online or downloaded as a PDF (8 pages). Candidates preparing for Class 12 can use HBSE Class 12 Sample Paper 2026 Computer Science to understand the exam pattern, the type of questions asked, and the overall difficulty level.

Frequently Asked Questions

How can I download HBSE Class 12 Sample Paper 2026 Computer Science?

Open this page and click the Download button to save HBSE Class 12 Sample Paper 2026 Computer Science as a PDF. It is completely free on AglaSem Docs.

Is HBSE Class 12 Sample Paper 2026 Computer Science free to download?

Yes. HBSE Class 12 Sample Paper 2026 Computer Science can be viewed online and downloaded as a PDF free of cost on AglaSem Docs.

How many pages does HBSE Class 12 Sample Paper 2026 Computer Science have?

HBSE Class 12 Sample Paper 2026 Computer Science contains 8 pages, which you can read online or download together as a single PDF.

Where can I find more Class 12 study material?

You can find more Class 12 question papers, sample papers, syllabus, and answer keys on AglaSem Docs.

HBSE Class 12 Sample Paper 2026 Computer Science – Text

Read the full text of this sample paper below — useful to quickly search, copy and reference the content online without downloading the PDF.

📄 View text version (8 pages)

Page 1

CLASS: 12th (Sr. Secondary)

Roll Subject Code: 906

No.
कम्प्यूटर विज्ञान

COMPUTER SCIENCE

Model Question Paper 2025-26

समय: 2.30 घण्टे Time allowed: 2.30 Hours
पर्
ू ाांक: 40 Maximum Marks: 40

 कृपया जााँच कर लें कक इस प्रश्न-पत्र में मद्रु ित पष्ृ ठ 8 तथा प्रश्न 15 हैं।
Please make sure that the printed pages in this question paper are 8 in
number and it contains 15 questions.
___________________________________________________________________
NOTE: The question paper is divided in to four sections (A, B, C, and D)
i) SECTION A consists of 1 Question (10 Objective Type Questions of 1
mark each).
ii) SECTION B consists of 4 Very Short Answer type questions of 1 mark
each.
iii) SECTION C consists of 7 Short Answer type questions of 2 marks each.
iv) SECTION D consists of 3 Essay type questions of 4 marks each with
Internal Choice.
नोट: प्रश्न पत्र चार अनभ
ु ागों (A, B, C, D) में बाांटा गया है ।
i) सेक्शन A के प्रश्न सांख्या 1 में 1 अांक के 10 वस्तनु नष्ठ प्रकार के प्रश्न हैं।
ii) सेक्शन B में 1 अांक के 4 अनत लघु उत्तर प्रकार के प्रश्न हैं।
iii) सेक्शन C में 2 अांकों के 7 लघु उत्तरीय प्रकार के प्रश्न हैं।
iv) सेक्शन D में आांतररक ववकल्प के साथ 4 अांकों के 3 ननबांध प्रकार के प्रश्न हैं।
_________________________________________________________________________

SECTION-A
ु ाग - ए)
1.
i) Which SQL function is used to retrieve the smallest value from a
specific column in a database table?
डेटाबेस टे बल में एक विशिष्ट कॉलम से सबसे छोटा मान प्रा्त करने के शलए ककस
SQL फ़ंक्िन का उपयोग ककया जाता है?
a) LEAST ()

1

Page 2

b) MIN ()
c) SMALLEST ()
d) BOTTOM ()
ii) Which of the following is a valid Python exception handling clause?
ननम्पनशलखित में से कौन सा पायथन एक्से्िन हैंडशल़ंग क्लॉज़ मान्य है?
a) if-else
b) try-finally
c) while-try
d) for-except
iii) Which type of cable carries data in the form of light signals?
कौन से प्रकार का केबल डेटा को प्रकाि स़ंकेतों के रूप में ले जाता है ?
a) Twisted Pair Cable / ट्विस्टे ड पेयर केबल
b) Coaxial Cable / कोएक्क्सयल केबल
c) Fiber Optic Cable / फाइबर ऑक््टक केबल
d) Ethernet Cable / ईथरनेट केबल
iv) Which of the following is not a type of malware?
ननम्पनशलखित में से कौन सा मैलिेयर का प्रकार नह ़ं है ?
a) Adware / एडिेयर
b) Trojan / ट्रोज़न
c) Repeater / ररपीटर
d) Worm / िॉमम
v) Full form of SMTP is ____________________ Protocol.
SMTP का परू ा नाम ____________________ प्रोटोकॉल है ।
vi) ________________ is the largest type of network that spans over countries
or even continents.
________________ सबसे बड़े प्रकार का नेटिकम है जो दे िों या महाद्िीपों तक फैला होता
है ।
vii) Mesh topology is more expensive than other topologies because of its high
cable requirement. (True/False)
मेि टोपोलॉजी अन्य टोपोलॉजी की तल
ु ना में अधिक मह़ं गी होती है क्योंकक इसमें अधिक
केबल की आिश्यकता होती है । (सत्य/असत्य)
viii) In a queue, the insertion of elements happens at the front end, and the
deletion occurs at the rear end. (True/False)
क्यू (Queue) में एशलमें ट का इ़ंसिमन वपछले छोर (Rear) से होता है , और डडल िन अगले
छोर (Front) से होता है ।(सत्य/असत्य)
Direction: In the questions given below, there are two statements marked as
Assertion (A) and Reason (R). Choose the correct option out of the
choices given below in each question:

2

Page 3

ननदे ि: नीचे द्रदए गए प्रश्नों में , कथन (A) और कारर् (R) के रूप में धचक्ननत दो कथन हैं।
प्रत्येक प्रश्न में नीचे द्रदए गए विकल्पों में से सह विकल्प का चयन कीक्जए:
ix) Assertion (A): A stack follows the LIFO (Last In, First Out) principle.
Reason (R): In a stack, the element inserted first is always removed first.
कथन (A): स्टै क LIFO (लास्ट इन, फस्टम आउट) शसद्िा़ंत का पालन करता है ।
कारण (R): स्टै क में सबसे पहले डाला गया तत्ि हमेिा सबसे पहले हटाया जाता है ।
a) Both (A) and (R) are true, and (R) is the correct explanation of (A).
(A) और (R) दोनों सह हैं, और (R), (A) की सह व्याख्या करता है ।
b) Both (A) and (R) are true, but (R) is not the correct explanation of (A).
(A) और (R) दोनों सह हैं, लेककन (R), (A) की सह व्याख्या नह ़ं करता है।
c) (A) is true, but (R) is false.
(A) सत्य है , लेककन (R) असत्य है ।
d) (A) is false, but (R) is true.
(A) असत्य है , लेककन (R) सत्य है ।
x) Assertion (A): A router is used to connect multiple networks and direct data
packets between them.
कथन (A): राउटर का उपयोग कई नेटिकम को जोड़ने और उनके बीच डेटा पैकेट को ननदे शित
करने के शलए ककया जाता है ।
Reason (R): A router operates only within a Local Area Network (LAN).
कारण (R): राउटर केिल एक लोकल एररया नेटिकम (LAN) के भीतर कायम करता है ।
a) Both (A) and (R) are true, and (R) is the correct explanation of (A).
(A) और (R) दोनों सह हैं, और (R), (A) की सह व्याख्या करता है ।
b) Both (A) and (R) are true, but (R) is not the correct explanation of (A).
(A) और (R) दोनों सह हैं, लेककन (R), (A) की सह व्याख्या नह ़ं करता है।
c) (A) is true, but (R) is false.
(A) सत्य है , लेककन (R) असत्य है ।
d) (A) is false, but (R) is true.
(A) असत्य है , लेककन (R) सत्य है ।
SECTION-B
ु ाग - बी)
2. What is the syntax of the close() method in Python while working with files?
पायथन में फाइलों के साथ काम करने के शलए close() मेथड का शस़ंटैक्स क्या है ?
3. What does the INSERT command do in SQL?
SQL में INSERT कमा़ंड क्या करती है?
4. What is stack in data structure?
डाटा स्ट्रक्चर में स्टै क क्या है ?
5. Write the names of any two commonly used networking devices.
ककन्ह दो सामान्य रूप से उपयोग ककए जाने िाल नेटिककांग डडिाइस के नाम शलिें ।
OR / या
3

Page 4

What do you understand by the term “computer network”?
आप “क़ं्यट
ू र नेटिकम” िब्द से क्या समझते हैं?

SECTION-C
ु ाग - सी)
6. Case Study:
Rahul recently downloaded a free game from an unknown website. After
installing it, he noticed his computer slowed down significantly. On further
inspection, he found that the game was silently running other unknown
programs in the background and sending unusual data over the internet.
राहुल ने हाल ह में एक अज्ञात िेबसाइट से एक मफ्ु त गेम डाउनलोड ककया। इ़ंस्टॉल करने के
बाद उसने दे िा कक उसका क़ं्यटू र काफी िीमा हो गया है । जा़ंच करने पर पता चला कक गेम
चप
ु चाप अन्य अज्ञात प्रोग्रामाम चला रहा था और इ़ंटरनेट के मायमयम से असामान्य डेटा भेज रहा
था।
i) What type of malware is most likely responsible for this behavior?
इस व्यवहार के ललए सबसे अधधक सांभावना ककस प्रकार के मैलवेयर की है ?
a) Worm / िमम
b) Spyware / स्पायिेयर
c) Trojan / ट्रोजन
d) Ransomware / रैंसमिेयर
ii) What is a common purpose of this malware?
इस मैलवेयर का एक सामान्य उद्दे श्य क्या होता है ?
a) To display unwanted ads / अनचाहे विज्ञापन द्रदिाना
b) To steal personal data or control the system secretly / व्यक्क्तगत डेटा चरु ाना या
शसस्टम को ग्ु त रूप से ननय़ंत्रत्रत करना
c) To demand money for unlocking files / फाइलों को अनलॉक करने के शलए पैसे की
मा़ंग करना
d) To delete important files / महत्िपर्
ू म फाइलों को हटाना
7. How is a Spyware different from an adware?
एक स्पायिेयर, एडिेयर से कैसे शभन्न है?

8. Describe any two SQL aggregate functions with examples.
ककन्ह दो SQL एग्रामीगेट फ़ंक्ि़ंस को उदाहरर् सद्रहत समझाए़ं।
OR / या

4

Page 5

Consider the following table named “Product”, showing details of products being
sold in a grocery shop. / एक टे बल पर विचार करें क्जसका नाम "Product" है , जो एक
ककराने की दक
ु ान में बेचे जा रहे उत्पादों के वििरर् को द्रदिाती है ।

PCode PName UPrice Manufacturer

Washing
P01 120 Surf
Powder

P02 Toothpaste 54 Colgate

P03 Soap 25 Lux

P04 Toothpaste 65 Pepsodent

P05 Soap 38 Dove

P06 Shampoo 245 Sunsilk
Write an SQL query to create the "Product" table with appropriate data types
including primary key declaration.
प्राइमर की सद्रहत उपयक्
ु त डेटा प्रकारों के साथ "Product" टे बल बनाने के शलए एक SQL
क्िेर शलिें ।
9. When is the ImportError built-in exception raised? Provide an example to
support your answer.
ImportError त्रबल्ट-इन एक्से्िन कब उठाई जाती है? अपने उत्तर का समथमन करने के शलए
एक उदाहरर् दें ।
10. Explain any two network topologies.
ककन्ह ़ं दो नेटिकम टोपोलोजी को स्पष्ट कीक्जए।

11. Define the following: / ननम्पनशलखित को पररभावित करें :
a) Throwing an exception / थ्रोइ़ंग ऐन एक्से्िन (अपिाद फेंकना)
b) Catching an exception / कैधच़ंग ऐन एक्से्िन (अपिाद पकड़ना)
OR/या
Write the file mode in python that will be used for opening the following files.
पाइथन में ननम्पनशलखित फाइलों को िोलने के शलए उपयोग ककए जाने िाले फाइल मोड शलिें ।
a) A text file "example.txt" in both read and write mode.
एक टे क्स्ट फाइल "example.txt" को पढ़ने और शलिने दोनों मोड में ।
b) A binary file "bfile.dat" in write mode.
एक बाइनर फाइल "bfile.dat" को शलिने के मोड में ।

12. Case Study Question:
Priya is attending her online class through a video conferencing app. During the

5

Page 6

session, her video and audio keep buffering. She checks her internet speed and
finds that her current download speed is only 512 Kbps, which is much lower
than the required speed for smooth streaming.
वप्रया िीडडयो कॉन्रेंशस़ंग ऐप के मायमयम से अपनी ऑनलाइन क्लास में भाग ले रह है । सत्र के
दौरान, उसका िीडडयो और ऑडडयो बार-बार बफर हो रहे हैं। िह अपनी इ़ंटरनेट स्पीड जा़ंचती है
और पाती है कक उसकी ितममान डाउनलोड स्पीड केिल 512 Kbps है , जो सच
ु ारू स्ट्र शम़ंग के
शलए आिश्यक स्पीड से बहुत कम है ।
i) What does Kbps stand for?
Kbps का क्या अथथ है?
a) KiloBytes per second / ककलोबाइट्स प्रनत सेक़ंड
b) KiloBits per second / ककलोत्रबट्स प्रनत सेक़ंड
c) KiloBeams per second / ककलोबीम्पस प्रनत सेक़ंड
d) KiloBauds per second / ककलोबॉड्स प्रनत सेक़ंड
ii) Which of the following speeds is higher than 512 Kbps?
ननम्न में से कौन सी स्पीड 512 Kbps से अधधक है?
a) 256 Kbps
b) 128 Kbps
c) 1 Mbps
d) 64 Kbps

SECTION-D
ु ाग - डी)
13. Write a Python program to implement a queue.
क्यू को लागू करने के शलए पायथन प्रोग्रामाम शलिें ।
OR/या
Explain the concept of selection sort with an example.
शसलेक्िन सॉटम की अििारर्ा को एक उदाहरर् के साथ समझाए़ं।

14. What is RDBMS? Explain the following terms in the context of the relational
data model:
RDBMS क्या है? ररलेिनल डेटा मॉडल के स़ंदभम में ननम्पनशलखित िब्दों की व्याख्या करें :
i) Domain / डोमेन
ii) Tuple / टपल
iii) Relation / ररलेिन

OR/या

The XYZ School maintains records of its students and their subjects in two
tables: STUDENT and SUBJECT. The tables contain the following data:
6

Page 7

XYZ स्कूल अपने छात्रों और उनके विियों का ररकॉडम दो टे बल्स: STUDENT और SUBJECT
में रिता है । टे बल्स में ननम्पनशलखित डेटा है :
STUDENT Table:

RollNumber Name Address Grade StudentID

1001 Aarav Delhi A S001

1002 Riya Noida B S002

1003 Rahul Gurgaon A S003

SUBJECT Table:

StudentID SubjectName Marks

S001 Math 85

S001 Science 90

S002 English 75

S003 History 80

a) Identify the candidate key/s in the STUDENT table.
STUDENT टे बल में कैं डडडेट क़ंु जी/s की पहचान करें ।
b) Write an SQL query to retrieve the SubjectName and Marks for all subjects
of the student with StudentID S001.
एक SQL क्िेर शलिें जो StudentID S001 िाले छात्र के सभी विियों के शलए SubjectName
और Marks प्रा्त करे ।
c) What is the degree of the SUBJECT table?
SUBJECT टे बल की डडग्रामी क्या है?
d) What is the cardinality of the STUDENT table?
STUDENT टे बल की काडडमनशै लट क्या है?

15. What do you understand by Data Transfer Rate (DTR)? Explain the different
units of data transfer rate, such as bps, Kbps, Mbps, Gbps, and Tbps. Also,
7

Page 8

explain how increasing the bandwidth of a network affects the DTR.
डेटा ट्रा़ंसफर रे ट (DTR) से आप क्या समझते हैं? डेटा ट्रा़ंसफर रे ट की विशभन्न इकाइयााँ जैसे
bps, Kbps, Mbps, Gbps, और Tbps को समझाएाँ। नेटिकम की बैंडविड्थ बढ़ाने से DTR पर
क्या प्रभाि पड़ता है?
OR/ या
Write short note on the following:
ननम्पनशलखित पर स़ंक्षि्त द्रट्पर्ी शलखिए:
a) FTP
b) Bluetooth / ब्लट
ू ूथ
c) HTTP
d) Wi-Fi

8

Document Details

Board / OrgHaryana Board
ExamClass 12
TypeSample Paper
Pages8
Updated24 Sep 2026