Page 1
FOR HARYANA CLASS 12 PREPARATION
HBSE Class 12 Sample
Paper 2027 Computer
Science
EXAM YEAR TYPE SUBJECT
Haryana Class 12 2027 Sample Paper Computer Science
Notes · Sample Papers · Previous Year Papers · Mock Tests
Page 2
co 12th (Sr. Secondary) m .
. s e
HBSE Class 12 Sample Paper 2027 Computer Science
emRoll
CLASS:
l a
as No. ag
Subject Code: 906
कቘኚयूटर वि्ሺान
COMPUTER SCIENCE
Model Question Paper 2026-27
समय: 2.30 घ्ቂे Time allowed:
पूर्ाां क: 40
2.30 Hours
m
om
Maximum Marks: 40
. co
. c em
e m
कृपया जााँ च कर लें वक इस ्ቚ्-प्ቔ में मुवित पृ् 5 तथा ्ቚ् 15 हैं ।
l as
l as
Please make sure that the printed pages in this question paper are 5 in number
ag
ag
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.
m
.co
iv) SECTION D consists of 3 Essay type questions of 4 marks each with
Internal Choice.
e m
l as
नोट: ्ቚ् प्ቔ चार अनुभागोों (A, B, C, D) में बाोंटा गया है।
से्ቋन A के ्ቚ् सों्ቅा 1 में 1 अोंक के 10 व्ቜुनन् ्ቚकार के ्ቚ् हैं।
ag
i)
ii) से्ቋन B में 1 अोंक के 4 अनि लघु उ्ቈर ्ቚकार के ्ቚ् हैं।
iii) से्ቋन C में 2 अोंकोों के 7 लघु उ्ቈरीय ्ቚकार के ्ቚ् हैं।
iv) से्ቋन D में आों िररक नवक्ቜ के साथ 4 अोंकोों के 3 ननबोंध ्ቚकार के ्ቚ् हैं।
_________________________________________________________________________
SECTION-A
(अनुभाग - ए)
m
.co
1.
m
.co
i) Which device regenerates weak signals in a network?
ने टवर्क में र्मजोर सि्ሿलोों र्ो पुनः मजबूत र्रने वाला उपर्रण र्ौन-िा है ?
e m
e m a) Hub / हब
las
las b) Repeater / ररपीटर
ag
ag c) Switch / ्ऽिच
d) Gateway / गेटवे
ii) Which malware secretly collects user information?
र्ौन-िा मै लवेयर गु् रूप िे उपयोगर्ताक र्ी जानर्ारी एर््ቔ र्रता है ?
a) Spyware / ्ቢाइवेयर
b) Firewall / फ़ायरवॉल
c) Router / राऊटर
d) Modem / मॉडे म
m . c
1
e m
em as
s
gl
Page 1 of 5
Page 3
iii) Which clause is executed when no exception occurs HBSE Class 12 Sample Paper 2027 Computer Science
in a try block?
टर ाई ्ॉर् में र्ोई ए्ऽेप्शन न होने पर र्ौन-िा ्षॉज सन्ቡासित होता है ?
a) except
b) raise
c) else
d) finally
iv) Which SQL command is used to modify existing records in a table?
टे बल में मौजू ि ररर्ॉडक र्ो िोंशोसित र्रने र्े सलए र्ौन-िी SQL र्माों ड उपयोग र्ी जाती है ?
a) INSERT
b) UPDATE
c) SELECT
d) CREATE
v) __________ topology connects every node to every other node.
__________ टोपोलॉजी में ्ቚ्ቓे र् नोड अ् िभी नोड् ि िे जु डा होता है ।
vi) __________ is the protocol used for transferring files over a network.
__________ वह ्ቚोटोर्ॉल है सजिर्ा उपयोग ने टवर्क पर फाइलोों र्े स्थानाों तरण र्े सलए सर्या जाता
है ।
vii) Bluetooth is a wired communication technology. (True/False)
्ू टूथ एर् वायडक िोंचार तर्नीर् है । (ि्ቓ/अि्ቓ)
viii) Queue follows the LIFO principle. (True/False)
्िू LIFO सिद्ाों त र्ा पालन र्रती है । (ि्ቓ/अि्ቓ)
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:
वन्शे श: नीचे व्शए गए ्ቚ्नों में, कथन (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 (Last In, First Out) सिद्ाों त र्ा पालन र्रता है।
कारण (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): Cookies are used by websites to store user-related information.
कथन (A): र्ुर्ीज़ र्ा उपयोग वेबिाइटोों ्ቛारा उपयोगर्ताक िोंबोंिी जानर्ारी िों्ቇहीत र्रने र्े सलए
सर्या जाता है ।
Reason (R): Cookies are antivirus programs that remove malware from a computer.
कारण (R): र्ुर्ीज़ एों टीवायरि ्ቚो्ቇाम होते हैं जो र्ों्ूटर िे मैलवेयर हटाते हैं।
a) Both (A) and (R) are true, and (R) is the correct explanation of (A).
(A) और (R) ्शनननों सही हैं , और (R), (A) की सही ्ቤा्ቅा करता है ।
2
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 2 of 5
Page 4
.
m .co s e m
b) Both (A) and (R) are true, but (R) is not the correct explanation HBSE Class 12 Sample Paper 2027 Computer Science
of (A).
as e laनहीों करता है।
(A) और (R) ्शनननों सही हैं , लेवकन (R), (A) की सही ्ቤा्ቅा
g
c) (A) is true, but (R) is false. a
(A) स्ቓ है , लेवकन (R) अस्ቓ है ।
d) (A) is false, but (R) is true.
(A) अस्ቓ है , लेवकन (R) स्ቓ है ।
SECTION-B
(अनुभाग - बी)
2. What is the purpose of the finally clause in exception handling?
ए्ऽेप्शन हैं डसलों ग में finally ्षॉज र्ा उ्ቌे ्ብ ्िा है ?
m
om
3. What is the use of the DELETE command in SQL?
. co
. c
SQL में DELETE र्माों ड र्ा उपयोग ्िा है ?
e m
e m
4. What is stack in data structure?
l as
as
डाटा ኚर ्ሯर में ኚै क ्ቄा है ?
l ag
ag
5. Write the full form of PAN?
PAN र्ा पूणक रूप ्िा है ?
OR / या
What is Computer Network?
र्ों्ूटर नेटवर्क ्िा है ?
SECTION-C
(अनुभाग - सी)
m
.co
6. Case Study:
Neha receives many unwanted pop-up advertisements while browsing the
e m
l as
internet. नेहा इों टरनेट ्ቜाउज़ र्रते िमय बार-बार अनचाहे पॉप-अप सव्ሺापन िे खती है ।
ag
i) Which type of malware is commonly responsible for such advertisements?
ऐिे सव्ሺापनोों र्े सलए िामा्तः र्ौन-िा मैलवेयर सज्ቜेिार होता है ?
a) Worm / वमक
b) Adware / एडवेयर
c) Trojan / टर ोजन
d) Firewall / फायरवॉल
m
.co
ii) Which software helps protect a system from malware?
m र्ौन-िा िॉ्ቊवेयर सि्म र्ो मैलवेयर िे िुरसित रखने में मिि र्रता है ?
m .co a) Antivirus / एों टीवायरि
s e m
s e b) Compiler / र््माइलर
g la
g la c) Interpreter / इों टर्ቚेटर a
a d) Assembler / अिे ्ቚलर
7. Differentiate between Hackers and Crackers.
है र्िक और ्ቅैर्िक में अोंतर बताइए।
8. Describe any two SQL aggregate functions with examples.
वक्ቡी ्शन SQL ए्ቇीगेट फों्ቋोंस कन उ्शाहरर् सवहत समझाएों ।
m . c
3
e m
em as
s
glPage 3 of 5
Page 5
OR / या HBSE Class 12 Sample Paper 2027 Computer Science
Write an SQL statement to create an EMPLOYEE table with EmpID, EmpName,
and Salary where EmpID is the Primary Key.
EmpID, EmpName तथा Salary वाले EMPLOYEE टे बल र्ो बनाने र्े सलए SQL ्े टमेंट
सल्ऽखए, जहााँ EmpID ्ቚाथसमर् र्ुोंजी (Primary Key) है ।।
9. What is the difference between a text file and a binary file?
टे ्ि फाइल और बाइनरी फाइल में ्िा अोंतर है ?
10. Explain any two network topologies.
वक्ቡीों ्शन नेटिकक टनपनलनजी कन ्ቢ्ቖ कीवजए।
11. What is the need of exception handling?
ए्ऽेप्शन हैं डसलों ग र्ी आव्ብर्ता ्िा है ?
OR/या
Write the file mode in python that will be used for opening the following files.
पाइथन में वन्ቖवलखित फाइलनों कन िनलने के वलए उपयनग वकए जाने िाले फाइल मनड वलिें।
a) A text file "salary.txt" in both read and write mode.
एक टे ኚ᭬ फाइल "salary.txt" कन पढ़ने और वलिने ्शनननों मनड में।
b) A binary file "ecode.dat" in write mode.
एक बाइनरी फाइल "ecode.dat" कन वलिने के मनड में।
12. Case Study Question:
Arjun downloads a file at a speed of 2 Mbps.
अजुकन 2 Mbps र्ी गसत िे एर् फाइल डाउनलोड र्रता है ।
i) What does Mbps stand for?
Mbps र्ा ्िा अथक है ?
a) Mega Bytes per second / मेगा बाइट् ि ्ቚसत िे र्ोंड
b) Mega Bits per second / मेगा सबट् ि ्ቚसत िे र्ोंड
c) Mega Binary per second / मेगा बाइनरी ्ቚसत िे र्ोंड
d) Mega Bandwidth per second / मेगा बैंडसवड् थ ्ቚसत िे र्ोंड
ii) Which speed is higher?
सन्मसल्ऽखत में िे र्ौन-िी गसत असिर् है ?
a) 512 Kbps / 512 सर्लोसबट् ि ्ቚसत िेर्ोंड
b) 1 Mbps / 1 मेगा सबट ्ቚसत िेर्ोंड
c) 2 Mbps / 2 मेगा सबट ्ቚसत िेर्ोंड
d) 256 Kbps / 256 सर्लोसबट् ि ्ቚसत िेर्ोंड
SECTION-D
(अनुभाग - डी)
13. Write a Python program to implement a stack.
्ै र् कन लागू करने के वलए पायथन ्ቚन्ቇाम वलिें ।
OR/या
Explain the concept of BUBBLE sort with an example.
बबल सॉटक की अिधारर्ा कन एक उ्शाहरर् के साथ समझाएों ।
4
For more Question Papers, Sample Papers, Notes & Syllabus visit Page 4 of 5
Page 6
.
.co s e m
HBSE Class 12 Sample Paper 2027 Computer Science
s em l a
ag
14. What is a Database? Explain the following:
a डे टाबेि ्िा है ? सन्मसल्ऽखत र्ो िमझाइए:
i) Primary Key / ्ቚाथसमर् र्ुोंजी
ii) Foreign Key / सविे शी र्ुोंजी
iii) Candidate Key / र्ैंसडडे ट र्ुोंजी
OR / या
m
om
Consider the following table: . co
. c e m
सन्मसल्ऽखत तासलर्ा पर सवचार र्ीसजए:
e m l as
l as ag
g
EmpID Name Salary
a E01 Ravi 25000
E02 Neha 30000
E03 Aman 28000
m
a) Identify the Primary Key.
m .co
्ቚाथसमर् र्ुोंजी र्ी पहचान र्ीसजए।
b) Write an SQL query to display a
e
allsrecords.
l
ag्ቊेरी सल्ऽखए।
िभी ररर्ॉडक ्ቚिसशकत र्रने हे तु SQL
c) What is the degree of the table?
टे बल र्ी सड्ቇी ्िा है ?
d) What is the cardinality of the table?
टे बल र्ी र्ासडक नैसलटी ्िा है ?
m
.co
15. What is Bandwidth? Explain the relationship between Bandwidth and Data
m
.co m
Transfer Rate (DTR). Also explain the units bps, Kbps, Mbps, Gbps and Tbps.
m s e
बैंडसवड् थ ्िा है ? बैंडसवड् थ और डे टा टर ाों िफर रे ट (DTR) र्े बीच िोंबोंि िमझाइए। िाथ ही bps,
s e Kbps, Mbps, Gbps तथा Tbps इर्ाइयोों र्ो िमझाइए।
g la
g la OR/ या a
a Write short note on the following protocols:
वन्ቖवलखित ्ቚोटोर्ॉल पर सोंवि् वट्ቔर्ी वलखिए:
a) SMTP
b) FTP
c) HTTP
d) IP
m . c
5
e m
em as
s
glPage 5 of 5