SarkariManzil
BPSC · TRE Teacher Recruitment

BPSC TRE Computer Science (11–12) — Starter Set

By Archit Kumar · Published: 18 October 2026 · 80 questions · English + हिंदी
BPSC TRE marking rule: +1 for a correct answer, −1/3 for a wrong answer and −1/3 for a question left blank. In the online test, choose option E (Do not attempt) to skip a question safely at 0 marks — never leave a question blank.
▶ Play this set online — free, with timer, score & rank

Read all 80 questions below with answers and explanations, or play the set online in the SarkariManzil practice app. In the app, sets unlock in order — submit Set N to open Set N+1.

Q1.Digital Electronics

What is the decimal equivalent of the binary number 101101?

द्विआधारी संख्या 101101 का दशमलव समतुल्य क्या है?

  1. A.4343
  2. B.4545✓ Correct
  3. C.5353
  4. D.6161
Answer: B — 45
1+4+0+8+0+32 = 45.1+4+0+8+0+32 = 45.
Q2.Digital Electronics

What will be the 8-bit binary representation of decimal 25?

दशमलव 25 का 8-बिट द्विआधारी प्रतिनिधित्व क्या होगा?

  1. A.0001100100011001✓ Correct
  2. B.0001010100010101
  3. C.0000110100001101
  4. D.0001101100011011
Answer: A — 00011001
25 = 16+8+1 → 00011001.25 = 16+8+1 -> 00011001.
Q3.Digital Electronics

What is the binary equivalent of the hexadecimal number A5?

षोडशाधारी संख्या A5 का द्विआधारी समतुल्य क्या है?

  1. A.1010010110100101✓ Correct
  2. B.1010100110101001
  3. C.1001011010010110
  4. D.0101101001011010
Answer: A — 10100101
A=1010, 5=0101 → 10100101.A=1010, 5=0101 -> 10100101.
Q4.Digital Electronics

When is the output of an XOR gate 1?

XOR गते का निर्गम कब 1 होता है?

  1. A.When both inputs are 1जब दोनों इनपुट 1 होन
  2. B.When both inputs are 0जब दोनों इनपुट 0 होन
  3. C.When the inputs are differentजब इंपुतस अलग होन✓ Correct
  4. D.When any one input is 1 without conditionजब कोई एक इनपुट बिना शर्त 1 हो
Answer: C — When the inputs are different
XOR gives 1 only when inputs are unequal (1⊕0=1, 1⊕1=0).XOR तभी 1 देता है जब इंपुतस असमान होन (1⊕0=1, 1⊕1=0).
Q5.Digital Electronics

Why is a NAND gate called a universal gate?

NAND गते को सार्वभौमिक गते क्यों कहते हैं?

  1. A.It is the fastestसबसे तेज है
  2. B.All basic gates (AND, OR, NOT) can be built using itIs से सभी बुनियादी द्वार (एंड, या, NOT) बनाये जा सकते हैं✓ Correct
  3. C.It takes only 2 inputsसिर्फ 2 इनपुट लेता है
  4. D.It stores memoryमेमोरी दुकान करता है
Answer: B — All basic gates (AND, OR, NOT) can be built using it
All logic gates can be implemented using NAND (and NOR).NAND (और न) से सभी तर्क द्वार बनाये जा सकते हैं.
Q6.Digital Electronics

In a 2-variable K-map, what simplified term is obtained when minterms m₀(A′B′) and m₂(AB′) are covered in one group?

2-चर K-नक्शा में जब मिनटर्म m₀(A′B′) और m₂(अब′) एक समूह में कवर होते हैं तो क्या सरल पद मिलता है?

  1. A.B′B′✓ Correct
  2. B.BB
  3. C.AA
  4. D.A′A′
Answer: A — B′
m₀+m₂ = A′B′+AB′ = B′(A′+A) = B′ — B is constant 0 in both cells.m₀+m₂ = A′B′+अब′ = B′(A′+A) = B′ — दोनों कोशिकाएँ में B 0 पर स्थिर.
Q7.Digital Electronics

What is the main benefit of K-map simplification?

K-नक्शा सरललन (सरलीकरण) का मुख्य फायदा क्या है?

  1. A.The number of gates and cost are reducedद्वार की संख्या और लागत घटती है✓ Correct
  2. B.Speed decreasesगति घटती है
  3. C.Power increasesशक्ति बढ़ता है
  4. D.Memory increasesमेमोरी बढ़ती है
Answer: A — The number of gates and cost are reduced
K-map gives minimal SOP/POS → fewer gates, lower cost.K-नक्शा न्यूनतम SOP/POS देता है -> कम द्वार, कम लागत.
Q8.Digital Electronics

What is (A+B)' equal to, as per De Morgan's theorem?

De मॉर्गन के प्रमेया (प्रमेय) के अनुसार (A+B)' किसके बराबर है?

  1. A.A'+B'A'+B'
  2. B.A'·B'A'·B'✓ Correct
  3. C.A·BA·B
  4. D.A+BA+B
Answer: B — A'·B'
(A+B)' = A'·B' — De Morgan #1.(A+B)' = A'·B' — De मॉर्गन #1.
Q9.Digital Electronics

How many inputs does a full adder take?

पूर्ण योजक कितने इनपुट लेता है?

  1. A.22
  2. B.33✓ Correct
  3. C.44
  4. D.11
Answer: B — 3
Full adder: A, B, Carry-in = 3 inputs; Sum and Carry-out are outputs.पूर्ण योजक: A, B, कैरी-इन = 3 इनपुट; जोड़ और कैरी-आउट निर्गम हैं.
Q10.Digital Electronics

Which is the forbidden state of an SR latch?

SR लतच की निषिद्ध राज्य कौन सी है?

  1. A.S=0,R=0S=0,R=0
  2. B.S=1,R=0S=1,R=0
  3. C.S=0,R=1S=0,R=1
  4. D.S=1,R=1S=1,R=1✓ Correct
Answer: D — S=1,R=1
In a NOR-SR latch, at S=R=1 both outputs become 0 — invalid/forbidden state.न-SR लतच में, S=R=1 पर दोनों निर्गम 0 हो जाते हैं — अवैध/निषिद्ध राज्य.
Q11.Digital Electronics

How many select lines does a 4:1 multiplexer have?

4:1 मल्टीप्लेक्सर में कितनी सेलेक्ट लाइंस होती हैं?

  1. A.11
  2. B.22✓ Correct
  3. C.33
  4. D.44
Answer: B — 2
2^n inputs → n select lines; 4=2² → 2 select lines.2ⁿ इनपुट -> n सेलेक्ट लाइंस; 4=2² -> 2 सेलेक्ट लाइंस.
Q12.Digital Electronics

What distinguishes a sequential circuit from a combinational one?

क्रमिक परिपथ संयोजनात्मक से किस में अलग है?

  1. A.It has memory/feedback elementsIs में मेमोरी/फीडबैक तत्व होते हैं✓ Correct
  2. B.It has only AND gatesसिर्फ एंड द्वार होते हैं
  3. C.It never has a clockघड़ी कभी नहीं होता
  4. D.Output depends only on current inputsनिर्गम सिर्फ वर्तमान इंपुतस पर निर्भर
Answer: A — It has memory/feedback elements
Sequential circuits have memory (flip-flops); output also depends on past state.क्रमिक परिपथ में मेमोरी (उलटना-फ़्लॉप्स) होती है; निर्गम बीते राज्य पर भी निर्भर.
Q13.Digital Electronics

What is the range of an 8-bit signed integer (2's complement)?

8-बिट हस्ताक्षरित पूर्णांक (2's पूरक) की सीमा क्या है?

  1. A.-128 to 127-128 से 127✓ Correct
  2. B.-127 to 128-127 से 128
  3. C.0 to 2550 से 255
  4. D.-255 to 255-255 से 255
Answer: A — -128 to 127
n-bit 2's complement range: -2^(n-1) to 2^(n-1)-1.n-बिट 2's पूरक सीमा: -2^(n-1) से 2^(n-1)-1.
Q14.Digital Electronics

What is the main drawback of a ripple carry adder?

लहर कैरी योजक की मुख्य कमी?

  1. A.It needs more gatesज़्यादा द्वार चाहिए
  2. B.Sequential delay of carry — slow additionकैरी का क्रमिक देरी — धीमी जोड़✓ Correct
  3. C.It works only on 4 bitsसिर्फ 4 बिट पर काम करता है
  4. D.It consumes more powerज़्यादा शक्ति खाता है
Answer: B — Sequential delay of carry — slow addition
Each stage must wait for the previous carry → slow for large widths.हर मंच को पिछले कैरी का इंतेज़र करना पढ़ता है -> बड़ी चौड़ाई के लिए धीमा.
Q15.Operating System

What is the main function of an OS?

OS का मुख्य कार्य क्या है?

  1. A.Only scanning for virusesसिर्फ विषाणु स्कैन करना
  2. B.Managing hardware resources and giving users an interfaceहार्डवेयर संसाधन का प्रबंधन और उपयोगकर्ता को अंतरापृष्ठ देना✓ Correct
  3. C.Only printing filesसिर्फ फ़ाइल प्रिंट करना
  4. D.Updating antivirusएंटीवायरस अद्यतन करना
Answer: B — Managing hardware resources and giving users an interface
OS = resource manager + bridge between user and hardware.OS = संसाधन प्रबंधक + उपयोगकर्ता और हार्डवेयर के बीच सेतु.
Q16.Operating System

What does time quantum mean in Round Robin scheduling?

दौर रॉबिन शेड्यूलिंग में समय क्वांटम का क्या मतलब?

  1. A.Total process countकुल प्रक्रिया गिंती
  2. B.Fixed CPU time slice given to each processहर प्रक्रिया को दी गयी फिक्स CPU समय स्लिसे✓ Correct
  3. C.Memory sizeमेमोरी आकार
  4. D.Priority numberप्राथमिकता संख्या
Answer: B — Fixed CPU time slice given to each process
In RR every ready process gets a fixed time slice (quantum).RR में हर तैयार प्रक्रिया को फिक्स समय स्लिसे (क्वांटम) मिलता है.
Q17.Operating System

Which of the following is one of the four Coffman conditions required for deadlock?

डेडलॉक के लिए char कॉफ़मैन शर्तों में से कौन सी है?

  1. A.Mutual exclusionपारस्परिक एक्सक्लूज़न✓ Correct
  2. B.CPU double speedCPU दोगुना चाल
  3. C.Zero context switchशून्य संदर्भ स्विच
  4. D.Infinite memoryअनंत मेमोरी
Answer: A — Mutual exclusion
The four conditions: mutual exclusion, hold-and-wait, no preemption, circular wait.चार शर्तें: पारस्परिक एक्सक्लूज़न, थामना-एंड-प्रतीक्षा, नो प्रीएम्प्शन, गोलाकार प्रतीक्षा.
Q18.Operating System

What is the convoy effect in FCFS scheduling?

FCFS शेड्यूलिंग में क़ाफिला प्रभाव क्या है?

  1. A.Short processes wait behind a long processछोटे प्रक्रिया लंबे प्रक्रिया के पीछे इंतेज़र करते हैं✓ Correct
  2. B.CPU never idlesCPU कभी निष्क्रिय नहीं होता
  3. C.Context switch is fastसंदर्भ स्विच तेज होता है
  4. D.Priority gets invertedप्राथमिकता उलट जाती है
Answer: A — Short processes wait behind a long process
Small processes stay stuck in a queue behind one long process.छोटे प्रक्रिया एक लंबे प्रक्रिया के पीछे कतार में अटके रहते हैं.
Q19.Operating System

Why does internal fragmentation occur in paging?

पेजिंग में आंतरिक विखंडन क्यों होती है?

  1. A.The last page stays half-empty in fixed-size pagesफिक्स-आकार पृष्ठ में आख़िरी पृष्ठ आधा खाली रहता है✓ Correct
  2. B.Pages are scatteredपृष्ठ बिखर जाते हैं
  3. C.Swap is slowस्वैप धीमा है
  4. D.TLB misses are highTLB चूकना ज़्यादा होते हैं
Answer: A — The last page stays half-empty in fixed-size pages
With fixed pages, an imperfect size match with the process causes internal wastage.फिक्स पृष्ठ में, प्रक्रिया के आकार से अपूर्ण मिलन होने पर अंदरूनी बर्बादी.
Q20.Operating System

What does the concept of virtual memory allow?

विरतुअल मेमोरी की अवधारणा से क्या संभव होता है?

  1. A.A process can be larger than physical RAMप्रक्रिया भौतिक RAM से बड़ा हो सकता है✓ Correct
  2. B.RAM speed increasesRAM की गति बढ़ जाती है
  3. C.CPU runs at double speedCPU दोगुना चाल पर चलता है
  4. D.The need for disk disappearsडिस्क की ज़रूरत ख़त्म
Answer: A — A process can be larger than physical RAM
Demand paging/swap makes an address space larger than RAM possible.माँग पेजिंग/स्वैप से RAM से बड़ा पता स्पसे संभव.
Q21.Operating System

What is one way to prevent thrashing?

थ्रैशिंग रोकने का एक तरीका क्या है?

  1. A.Reboot on page faultपृष्ठ कमी पर रिबूट
  2. B.Working set model — give the process enough framesवर्किंग सेत मॉडल — प्रक्रिया को काफी फ्रेम दो✓ Correct
  3. C.Give all memory to one processसारी मेमोरी एक प्रक्रिया को दो
  4. D.Disable swapस्वैप बैंड करो
Answer: B — Working set model — give the process enough frames
The working set model controls thrashing.वर्किंग सेत मॉडल थ्रैशिंग को नियंत्रित करता है.
Q22.Operating System

What is a semaphore used for?

सेमाफोर किस लिए इस्तेमाल होता है?

  1. A.Setting the CPU clockCPU घड़ी सेत करने के लिए
  2. B.Synchronization — preventing race conditionsसमकालन — दौड़ स्थितियाँ रोकने के लिए✓ Correct
  3. C.Formatting diskडिस्क प्रारूप करने के लिए
  4. D.Compressing filesफ़ाइल संपीड़ित करने के लिए
Answer: B — Synchronization — preventing race conditions
Semaphores give mutual exclusion/sync over shared resources.सेमाफोर साझा संसाधन पर पारस्परिक एक्सक्लूज़न/सिंक देते हैं.
Q23.Operating System

What is Banker's algorithm used for?

बैंकर्स एल्गोरिथम किस लिए इस्तेमाल होता है?

  1. A.Deadlock avoidanceडेडलॉक परहेज✓ Correct
  2. B.Deadlock detectionडेडलॉक पता लगाना
  3. C.File backupफ़ाइल बैकअप
  4. D.Memory compactionमेमोरी संघनन
Answer: A — Deadlock avoidance
Banker's algorithm computes a "safe sequence" to avoid deadlock.बैंकर्स एल्गोरिथम डेडलॉक से बचने के लिए 'सुरक्षित सेक़ुएनसे' संगणना करता है.
Q24.Operating System

What happens in a context switch?

संदर्भ स्विच में क्या होता है?

  1. A.Saving the CPU state and loading another process's stateCPU राज्य सहेजना करके दूसरे प्रक्रिया का राज्य भार करना✓ Correct
  2. B.Clearing RAMRAM साफ़ करना
  3. C.Spinning the diskडिस्क घुमाना
  4. D.Resetting the clockघड़ी रीसेट करना
Answer: A — Saving the CPU state and loading another process's state
PCB save/restore — pure overhead, no user work.PCB सहेजना/पुनःस्थापित — शुद्ध उपरिव्यय, कोई उपयोगकर्ता काम नहीं.
Q25.Operating System

What is a system call?

प्रणाली कॉल क्या है?

  1. A.A hardware interruptएक हार्डवेयर बाधित करना
  2. B.The way a user program requests kernel servicesवो तरीका जिससे उपयोगकर्ता प्रोग्रम कर्नेल सेवा मांगता है✓ Correct
  3. C.A virus nameएक विषाणु का नाम
  4. D.A scheduling algorithmएक शेड्यूलिंग एल्गोरिथम
Answer: B — The way a user program requests kernel services
System calls like read/write/fork are the user→kernel service interface.read/write/fork जैसे प्रणाली कॉल उपयोगकर्ता→कर्नेल सेवा अंतरापृष्ठ हैं.
Q26.Operating System

What is a zombie process?

ज़ॉम्बी प्रक्रिया क्या है?

  1. A.A process that terminated but whose parent has not read its exit statusवो प्रक्रिया जो समाप्त करना हो गया लेकिन माता-पिता ने उस्का निकास स्थिति अभी पधा नहीं✓ Correct
  2. B.A running processएक चलता हुआ प्रक्रिया
  3. C.A sleeping processएक सोया हुआ (सोना) प्रक्रिया
  4. D.An orphan processएक अनाथ प्रक्रिया
Answer: A — A process that terminated but whose parent has not read its exit status
If the parent does not call wait(), the terminated entry stays zombie.माता-पिता अगर प्रतीक्षा() कॉल ना करे तो समाप्त प्रविष्टि ज़ॉम्बी बनी रहती है.
Q27.Operating System

What does `chmod 755 file` mean in Linux?

लिनक्स में 'चमोद 755 फिले' का क्या मतलब?

  1. A.Owner rwx, group/others rxमालिक rwx, समूह/अन्य रक्स✓ Correct
  2. B.Everyone rwxसभी rwx
  3. C.Everyone r--सभी r--
  4. D.Owner r--मालिक r--
Answer: A — Owner rwx, group/others rx
7=rwx (owner), 5=r-x (group), 5=r-x (others).7=rwx (मालिक), 5=r-x (समूह), 5=r-x (अन्य).
Q28.Operating System

Which is the most accurate description of a kernel?

कर्नेल का सबसे सटीक वर्णन कौन सा है?

  1. A.The core part of the OS that interacts with hardwareOS का मुख्य हिस्सा जो हार्डवेयर से काम करता है✓ Correct
  2. B.An application programएक आवेदन प्रोग्रम
  3. C.A compilerएक कंपाइलर
  4. D.A deviceएक उपकरण
Answer: A — The core part of the OS that interacts with hardware
The kernel is the heart of the OS — always resident in memory.कर्नेल OS का दिल है — हमेशा मेमोरी में निवासी.
Q29.Computer Organization

What is the full form of CPU?

CPU का पूर्ण फॉर्म क्या है?

  1. A.Central Processing Unitकेंद्रीय प्रसंस्करण इकाई✓ Correct
  2. B.Computer Program Unitकोंपुतेर प्रोग्रम इकाई
  3. C.Control Process Utilityनियंत्रण प्रक्रिया उपयोगिता
  4. D.Central Program Unitकेंद्रीय प्रोग्रम इकाई
Answer: A — Central Processing Unit
CPU = Central Processing Unit.CPU = केंद्रीय प्रसंस्करण इकाई.
Q30.Computer Organization

What is the function of MAR and MDR?

MAR और MDR का कार्य क्या है?

  1. A.MAR holds the address, MDR holds the dataMAR पता रखता है, MDR डेटा रखता है✓ Correct
  2. B.Both hold addressesदोनों पता रखते हैं
  3. C.Both hold dataदोनों डेटा रखते हैं
  4. D.MAR holds data, MDR holds the addressMAR डेटा रखता है, MDR पता रखता है
Answer: A — MAR holds the address, MDR holds the data
MAR = address register; MDR = data register (memory↔CPU transfer).MAR = पता रजिस्टर; MDR = डेटा रजिस्टर (मेमोरी↔CPU स्थानांतरण).
Q31.Computer Organization

Which is the correct order of steps in the instruction cycle?

निर्देश चक्र में चरण का सही क्रम कौन सा है?

  1. A.Decode → Fetch → Executeडिकोड → फेच → निष्पादित
  2. B.Fetch → Decode → Executeफेच → डिकोड → निष्पादित✓ Correct
  3. C.Execute → Fetch → Decodeनिष्पादित → फेच → डिकोड
  4. D.Store → Fetch → Executeदुकान → फेच → निष्पादित
Answer: B — Fetch → Decode → Execute
Classic cycle: Fetch instruction, Decode, Execute.क्लासिक चक्र: फेच निर्देश, डिकोड, निष्पादित.
Q32.Computer Organization

Why is cache memory used?

कैश मेमोरी का इस्तेमाल क्यों होता है?

  1. A.To reduce the speed mismatch between CPU and main memoryCPU और मैं मेमोरी के बीच गति के अंतर को कम करने के लिए✓ Correct
  2. B.To increase costलागत बढ़ाने के लिए
  3. C.For permanent storageस्थायी भंडारण के लिए
  4. D.For virus scanningविषाणु स्कैन के लिए
Answer: A — To reduce the speed mismatch between CPU and main memory
Cache gives fast access to frequently used data.कैश अक्सर इस्तेमाल होने वाले डेटा को तेज पहुँच देती है.
Q33.Computer Organization

What is the benefit of pipelining?

पाइपलाइनिंग का फायदा क्या है?

  1. A.Every instruction becomes fasterहर निर्देश तेज होती है
  2. B.Throughput increases — multiple instructions overlapथ्रूपुट बढ़ता है — कई निर्देश परस्पर-व्याप होती हैं✓ Correct
  3. C.Memory increasesमेमोरी बढ़ती है
  4. D.Power decreasesशक्ति घटती है
Answer: B — Throughput increases — multiple instructions overlap
A pipeline improves throughput, not latency.पाइपलाइन थ्रूपुट सुधरता है, विलंबता नहीं.
Q34.Computer Organization

What is the main feature of RISC?

RISC की मुख्य विशेषता क्या है?

  1. A.More complex instructionsज़्यादा जटिल निर्देश
  2. B.Fewer, simple, fixed-length instructionsकम, सरल, फिक्स-लंबाई निर्देश✓ Correct
  3. C.Stack-based onlyसिर्फ स्टैक-आधारित
  4. D.Only on mainframesसिर्फ मेनफ्रेम पर
Answer: B — Fewer, simple, fixed-length instructions
RISC: simple fixed-length instructions, load-store architecture.RISC: सरल फिक्स-लंबाई निर्देश, भार-दुकान वास्तुकला.
Q35.Computer Organization

What is an interrupt?

बाधित करना क्या है?

  1. A.A signal to the CPU to stop its current workCPU को वर्तमान काम रोकने का संकेत✓ Correct
  2. B.Always a memory errorहमेशा मेमोरी त्रुटि
  3. C.A virusएक विषाणु
  4. D.A compilerएक कंपाइलर
Answer: A — A signal to the CPU to stop its current work
On an interrupt, the CPU executes the ISR and returns.बाधित करना पर, CPU ISR निष्पादित करके वापस आता है.
Q36.Computer Organization

What is the benefit of DMA?

DMA का फायदा क्या है?

  1. A.Memory↔I/O transfer without the CPU — CPU stays freeबिना CPU के मेमोरी↔I/O स्थानांतरण — CPU खाली रहता है✓ Correct
  2. B.Faster CPUतेज CPU
  3. C.Larger memoryबड़ी मेमोरी
  4. D.Smaller cacheछोटा कैश
Answer: A — Memory↔I/O transfer without the CPU — CPU stays free
With Direct Memory Access, the I/O device talks directly to memory.सीधा मेमोरी पहुँच में, I/O उपकरण सीधे मेमोरी से बात करता है.
Q37.Computer Organization

What is the job of the ALU?

ALU का काम क्या है?

  1. A.Arithmetic and logic operationsअंकगणित और तर्क संचालन✓ Correct
  2. B.Only storing memoryसिर्फ मेमोरी दुकान करना
  3. C.Control signalsनियंत्रण संकेत
  4. D.Renderingप्रस्तुतीकरण
Answer: A — Arithmetic and logic operations
ALU = Arithmetic Logic Unit: add/sub/compare/logic ops.ALU = अंकगणित तर्क इकाई: जोड़ना/घटाव/तुलना/तर्क संचालन.
Q38.Computer Organization

What is the key property of the von Neumann architecture?

वॉन नॉएमान वास्तुकला की मुख्य विशेषता क्या है?

  1. A.Program and data stay in the same memory as binaryप्रोग्रम और डेटा वही मेमोरी में द्विआधारी रूप में रहते हैं✓ Correct
  2. B.Harvard-style separate memoryहार्वर्ड-शैली अलग मेमोरी
  3. C.No program counterकोई प्रोग्रम काउंटर नहीं
  4. D.No ALUकोई ALU नहीं
Answer: A — Program and data stay in the same memory as binary
Stored-program concept: the program also stays in memory like data.संग्रहित-प्रोग्रम अवधारणा: प्रोग्रम भी डेटा की तरह मेमोरी में रहता है.
Q39.Data Structures

What is the principle of a stack?

स्टैक का सिद्धांत क्या है?

  1. A.FIFOFIFO
  2. B.LIFOLIFO✓ Correct
  3. C.Randomयादृच्छिक
  4. D.Sortedक्रमबद्ध
Answer: B — LIFO
Stack: Last-In-First-Out (push/pop from the top).स्टैक: अंतिम-इन-पहला-आउट (ऊपर से push/pop).
Q40.Data Structures

What is the principle of a queue?

कतार का सिद्धांत क्या है?

  1. A.FIFOFIFO✓ Correct
  2. B.LIFOLIFO
  3. C.FILOFILO
  4. D.LILOLILO
Answer: A — FIFO
Queue: First-In-First-Out (enqueue at rear, dequeue at front).कतार: पहला-इन-पहला-आउट (पिछला पर एनक्यू, सामने पर डीक्यू).
Q41.Data Structures

What is the time complexity of binary search?

द्विआधारी खोज की समय जटिलता क्या है?

  1. A.O(n)O(n)
  2. B.O(log n)O(लोग n)✓ Correct
  3. C.O(n log n)O(n लोग n)
  4. D.O(1)O(1)
Answer: B — O(log n)
The search space halves at every step.हर कदम पर खोज क्षेत्र आधा होता है.
Q42.Data Structures

What is the worst-case complexity of bubble sort?

बबल छाँटना की सबसे ख़राब-केस जटिलता?

  1. A.O(n)O(n)
  2. B.O(log n)O(लोग n)
  3. C.O(n²)O(n²)✓ Correct
  4. D.O(n log n)O(n लोग n)
Answer: C — O(n²)
Bubble sort worst/avg: O(n²).बबल छाँटना सबसे ख़राब/औसत: O(n²).
Q43.Data Structures

What do you get by applying inorder traversal on a BST?

BST पर इनोरदेर अनुगमन लगाने से क्या मिलता है?

  1. A.Sorted orderक्रमबद्ध क्रम✓ Correct
  2. B.Reverse sortedउल्टा क्रमबद्ध
  3. C.Randomयादृच्छिक
  4. D.Like preorderपूर्वक्रम जैसा
Answer: A — Sorted order
Inorder traversal of a BST gives the sorted sequence.BST का इनोरदेर अनुगमन क्रमबद्ध अनुक्रम देता है.
Q44.Data Structures

What is the complexity of insertion at the head of a linked list?

जुड़ा list के सिर पर निवेशन की जटिलता?

  1. A.O(n)O(n)
  2. B.O(1)O(1)✓ Correct
  3. C.O(log n)O(लोग n)
  4. D.O(n log n)O(n लोग n)
Answer: B — O(1)
Inserting at the head = constant time (only pointers change).सिर पर डालना = स्थिर समय (सिर्फ संकेतक बदलते हैं).
Q45.Data Structures

What is one way to handle hash collisions?

हैश टक्कर संभालने का एक तरीका क्या है?

  1. A.Chainingशृंखलन✓ Correct
  2. B.Binary searchद्विआधारी खोज
  3. C.Sortingछँटाई
  4. D.Recursionपुनरावर्तन
Answer: A — Chaining
Chaining/open-addressing handle collisions.शृंखलन/open-अद्द्रेस्सिंग टक्कर संभालते हैं.
Q46.Data Structures

What does Big-O notation measure?

बिग-O अंकन क्या मापता है?

  1. A.Worst-case growth rateसबसे ख़राब-केस वृद्धि दर✓ Correct
  2. B.Exact timeसटीक समय
  3. C.Memory addressमेमोरी पता
  4. D.Line countलाइन गिनती
Answer: A — Worst-case growth rate
Big-O gives the upper bound on an algorithm's growth.बिग-O एल्गोरिथम के वृद्धि का ऊपरी बँधा देता है.
Q47.IoT & AI

What is the full form of IoT?

IoT का पूर्ण फॉर्म क्या है?

  1. A.Internet of Thingsइंटरनेट ऑफ़ थिंगस✓ Correct
  2. B.Integration of Toolsएकीकरण ऑफ़ उपकरण
  3. C.Intranet of Techइंट्रानेट ऑफ़ तकनीक
  4. D.Interface of Thingsअंतरापृष्ठ ऑफ़ थिंगस
Answer: A — Internet of Things
IoT: Internet of Things — connected devices/sensors.IoT: इंटरनेट ऑफ़ थिंगस — जुड़े उपकरण/सेंसर.
Q48.IoT & AI

What is the basic idea of "machine learning" in AI?

AI में 'मशीन लेअरनिंग' का बुनियादी विचार क्या है?

  1. A.Writing every rule for machines manuallyमशीन के लिए हर नियम हाथ से लिखना
  2. B.Learning patterns from data and improvingडेटा से प्रतिरूप सीखना और सुधरना✓ Correct
  3. C.Making hardware fasterहार्डवेयर को तेज करना
  4. D.Compressing codeकोड संपीड़ित करना
Answer: B — Learning patterns from data and improving
ML systems learn patterns from data — no explicit rules.ML तंत्र डेटा से प्रतिरूप सीखते हैं — स्पष्ट नियम नहीं.
Q49.IoT & AI

What is required in supervised learning?

पर्यवेक्षित लर्निंग में क्या ज़रूरी है?

  1. A.Labeled training dataनामांकित प्रशिक्षण डेटा✓ Correct
  2. B.Only unlabeled dataसिर्फ अचिह्नित डेटा
  3. C.No dataकोई डेटा नहीं
  4. D.Only rulesसिर्फ नियम
Answer: A — Labeled training data
Supervised learning trains on labelled examples (input→output).पर्यवेक्षित लर्निंग लेबल किया उदाहरणों (इनपुट→निर्गम) पर रेल होती है.
Q50.IoT & AI

What is the role of sensors in IoT?

IoT में सेंसर की भूमिका क्या है?

  1. A.Collecting data (temperature, motion etc.)डेटा इकट्ठा करना (तापमन, गति आदि)✓ Correct
  2. B.Running the internet without a routerराउटर के बिना इंटरनेट चलाना
  3. C.Screen displayस्क्रीन प्रदर्शन
  4. D.Generating powerशक्ति बनना
Answer: A — Collecting data (temperature, motion etc.)
Sensors convert physical-world data into digital form.सेंसर भौतिक दुनिया के डेटा को डिजिटल रूप में बदलते हैं.
Q51.IoT & AI

When is a neural network called "deep"?

तंत्रिकीय नेटवर्क को 'दीप' कब कहा जाता है?

  1. A.Very many neurons in one layerएक परत में बहुत ज़्यादा तंत्रिकाकोशिकाएँ
  2. B.It has many hidden layersIs में कई छिपा परतें हैं✓ Correct
  3. C.Only 1 layerसिर्फ 1 परत
  4. D.Works only on imagesसिर्फ छवियाँ पर काम करता है
Answer: B — It has many hidden layers
Deep learning = neural networks with multiple hidden layers.गहरा लर्निंग = कई छिपा परतें वाले तंत्रिकीय नेटवर्क.
Q52.IoT & AI

Where is the MQTT protocol mainly used?

MQTT प्रोटोकॉल मुख्य रूप से कहाँ इस्तेमाल होता है?

  1. A.In lightweight messaging of IoT devicesIoT उपकरण के हल्का संदेश में✓ Correct
  2. B.Serving web pagesवेब पृष्ठ सेवा करना करने में
  3. C.Video streamingवीडियो स्ट्रीमिंग में
  4. D.Sending emailईमेल भेजने में
Answer: A — In lightweight messaging of IoT devices
MQTT is a popular protocol for low-bandwidth IoT messaging.MQTT कम-बैंडविड्थ IoT संदेश का लोकप्रिय प्रोटोकॉल है.
Q53.IoT & AI

What is the purpose of the Turing test?

ट्यूरिंग परीक्षण का उद्देश्य क्या है?

  1. A.Testing computer speedकोंपुतेर की गति परीक्षण करना
  2. B.Judging whether a machine can hold a human-like conversationये जाँचना की क्या मशीन मानव जैसी बात-चीत कर सकती है✓ Correct
  3. C.Memory testमेमोरी परीक्षण
  4. D.Programming testप्रोग्रामिंग परीक्षण
Answer: B — Judging whether a machine can hold a human-like conversation
The Turing test evaluates human-like intelligence in AI.ट्यूरिंग परीक्षण AI में मानव जैसी बुद्धि का मूल्यंकन करता है.
Q54.Computer Networks

How many layers are there in the OSI model?

OSI मॉडल में कितनी परतें हैं?

  1. A.44
  2. B.55
  3. C.77✓ Correct
  4. D.99
Answer: C — 7
OSI: 7 layers — Physical, Data Link, Network, Transport, Session, Presentation, Application.OSI: 7 परतें — भौतिक, डेटा लिंक, नेटवर्क, परिवहन, सत्र, प्रस्तुतीकरण, आवेदन.
Q55.Computer Networks

How many bits is an IPv4 IP address?

IPv4 IP पता कितने बिट का है?

  1. A.1616
  2. B.3232✓ Correct
  3. C.6464
  4. D.128128
Answer: B — 32
IPv4 = 32-bit address (4 octets). IPv6 = 128-bit.IPv4 = 32-बिट पता (4 अष्टक). IPv6 = 128-बिट.
Q56.Computer Networks

What is the key difference between TCP and UDP?

TCP और UDP के बीच मुख्य अंतर क्या है?

  1. A.TCP is reliable/connection-oriented, UDP is fast/unreliableTCP विश्वसनीय/संबंध-उन्मुख है, UDP तेज/अविश्वसनीय✓ Correct
  2. B.TCP is always slowTCP हमेशा धीमा
  3. C.UDP is connection-orientedUDP संबंध-उन्मुख है
  4. D.There is no differenceकोई अंतर नहीं
Answer: A — TCP is reliable/connection-oriented, UDP is fast/unreliable
TCP: handshake, ack, reliable. UDP: connectionless, fast.TCP: हाथ मिलाना, ack, विश्वसनीय. UDP: कनेक्शनरहित, तेज़.
Q57.Computer Networks

What is the job of DNS?

DNS का काम क्या है?

  1. A.Resolving domain names to IP addressesडोमेन नाम को IP पते में बदलना✓ Correct
  2. B.Downloading filesफ़ाइल डाउनलोड करना
  3. C.Sending emailईमेल भेजना
  4. D.Configuring routersराउटर कॉन्फ़िगर करना करना
Answer: A — Resolving domain names to IP addresses
DNS: human-readable names → IP (phonebook of the internet).DNS: मानव-पढ़-के लिए-नाम → IP (इंटरनेट का फोनबुक).
Q58.Computer Networks

What is the default port number of HTTP?

HTTP का डिफ़ॉल्ट बंदरगाह संख्या क्या है?

  1. A.2121
  2. B.8080✓ Correct
  3. C.443443
  4. D.2525
Answer: B — 80
HTTP=80, HTTPS=443, FTP=21, SMTP=25.HTTP=80, HTTPS=443, FTP=21, SMTP=25.
Q59.Computer Networks

What is the difference between LAN and WAN?

LAN और WAN के बीच अंतर क्या है?

  1. A.In size/geography — LAN covers a small local area, WAN is large and distributedआकार/भूगोल में — LAN छोटे स्थानीय क्षेत्र को कवर करता है, WAN बड़ा और फ़ैला हुआ है✓ Correct
  2. B.LAN is never fastLAN कभी तेज नहीं होता
  3. C.WAN has no routersWAN में राउटर नहीं होते
  4. D.Both are the sameदोनों एक जैसे हैं
Answer: A — In size/geography — LAN covers a small local area, WAN is large and distributed
LAN: office/building scale; WAN: cities/countries (the internet is the largest WAN).LAN: कार्यालय/इमारत मापनी; WAN: शहर/देश (इंटरनेट सबसे बड़ा WAN है).
Q60.Software Engineering

What is the full form of SDLC?

SDLC का पूर्ण फॉर्म क्या है?

  1. A.Software Development Life Cycleसॉफ़्टवेयर विकास जीवन चक्र✓ Correct
  2. B.System Design Logic Codeप्रणाली डिज़ाइन तर्क कोड
  3. C.Software Data Link Controlसॉफ़्टवेयर डेटा लिंक नियंत्रण
  4. D.Source Debug Load Compileस्रोत डीबग भार संकलित करना
Answer: A — Software Development Life Cycle
SDLC: requirements → design → code → test → deploy → maintain.SDLC: आवश्यकताएँ → डिज़ाइन → कोड → परीक्षण → परिनियोजन → बनाए रखना.
Q61.Software Engineering

What is the biggest limitation of the waterfall model?

झरना मॉडल की सबसे बड़ी सीमा क्या है?

  1. A.Phases are rigid — going back is hard, feedback comes lateचरण कठोर हैं — पीछे जाना मुश्किल, फीडबैक देर से मिलता है✓ Correct
  2. B.It is very flexibleये बहुत लचीला है
  3. C.Less documentationकम प्रलेखन
  4. D.Fast deliveryतेज वितरण
Answer: A — Phases are rigid — going back is hard, feedback comes late
In the waterfall model, returning to an earlier phase is expensive.झरना में पहले चरण पर लौटना महंगा पढ़ता है.
Q62.Software Engineering

What is the core idea of Agile?

एजाइल का मुख्य विचार क्या है?

  1. A.Deliver everything in one goसब कुछ एक साथ पहुँचाना करना
  2. B.Small iterations, continuous feedback and working softwareछोटे पुनरावृत्तियाँ, निरंतर फीडबैक और वर्किंग सॉफ़्टवेयर✓ Correct
  3. C.No documentation everकभी प्रलेखन नहीं
  4. D.No customer interactionग्राहक से बात-चीत नहीं
Answer: B — Small iterations, continuous feedback and working software
Agile: iterative sprints + customer collaboration + adapt.एजाइल: पुनरावृत्तिपरक स्प्रिंट + ग्राहक सहयोग + अपनाना.
Q63.Software Engineering

At which level is unit testing done?

इकाई परीक्षण किस तारा पर की जाती है?

  1. A.Individual functions/modulesअलग-अलग फंक्शन/मॉड्यूल✓ Correct
  2. B.The whole system at onceपूरा प्रणाली एक साथ
  3. C.At the customer siteग्राहक स्थल पर
  4. D.On hardwareहार्डवेयर पर
Answer: A — Individual functions/modules
Unit testing covers the smallest testable units (functions/classes).इकाई परीक्षण सबसे छोटी परीक्षणीय इकाइयों (फंक्शन/कक्षाएँ) को कवर करती है.
Q64.Software Engineering

In black-box testing, what does the tester look at?

ब्लकक-बॉक्स परीक्षण में परीक्षक क्या देखता है?

  1. A.Code line-by-lineकोड लाइन-बाय-लाइन
  2. B.Only input→output behavior, not the inner codeसिर्फ इनपुट→निर्गम व्यवहार, अंदर का कोड नहीं✓ Correct
  3. C.Database schemaडेटाबेस स्कीमा
  4. D.Compiler outputकंपाइलर निर्गम
Answer: B — Only input→output behavior, not the inner code
Black-box: functionality testing without seeing internal structure.ब्लकक-बॉक्स: अंदरूनी संरचना देखे बिना कार्यक्षमता परीक्षण.
Q65.Software Engineering

What is the ideal combination of coupling and cohesion?

युग्मन और संसक्ति का आदर्श मेल कौन सा है?

  1. A.High coupling, high cohesionउच्च युग्मन, उच्च संसक्ति
  2. B.Low coupling, high cohesionकम युग्मन, उच्च संसक्ति✓ Correct
  3. C.High coupling, low cohesionउच्च युग्मन, कम संसक्ति
  4. D.Both lowदोनों कम
Answer: B — Low coupling, high cohesion
Modules independent (low coupling) but internally focused (high cohesion).मॉड्यूल स्वतंत्र (कम युग्मन) लेकिन अंदरूनी रूप से केंद्रित (उच्च संसक्ति).
Q66.DBMS

What is the rule for a primary key?

प्राथमिक केय का नियम क्या है?

  1. A.Unique + NOT NULL, identifies every rowअनूठा + NOT शून्य, हर पंक्ति की पहचान✓ Correct
  2. B.Duplicates allowedनकली अल्लोवेद
  3. C.Nulls allowedशून्य अल्लोवेद
  4. D.Many primary keys per tableएक तालिका में कई प्राथमिक कुंजियाँ
Answer: A — Unique + NOT NULL, identifies every row
PK: a unique, non-null identifier of every row.PK: हर पंक्ति की अनूठा, गैर-शून्य पहचान.
Q67.DBMS

What is the basic syntax of a SQL SELECT statement?

SQL सेलेक्ट कथन का बुनियादी सिन्टैक्स क्या है?

  1. A.SELECT col FROM table;SELECT col FROM table;✓ Correct
  2. B.GET col FROM table;GET col FROM table;
  3. C.FETCH col table;FETCH col table;
  4. D.READ col table;READ col table;
Answer: A — SELECT col FROM table;
SELECT columns FROM table [WHERE ...];SELECT columns FROM table [WHERE ...];
Q68.DBMS

What is the main purpose of normalization?

सामान्यीकरण का मुख्य उद्देश्य क्या है?

  1. A.Reducing redundancy and improving data integrityअतिरेक घटाना और डेटा अखंडता सुधरना✓ Correct
  2. B.Making queries always fasterक्वेरी हमेशा तेज बनना
  3. C.Increasing table count without reasonबिना वजह तालिका गिंती बढ़ाना
  4. D.Taking backupबैकअप लेना
Answer: A — Reducing redundancy and improving data integrity
1NF→3NF→BCNF reduce redundancy/anomalies.1NF→3NF→BCNF अतिरेक/विसंगतियाँ घटाते हैं.
Q69.DBMS

What does a foreign key ensure?

विदेशी केय क्या सुनिश्चित करता है?

  1. A.Referential integrity in the link to another tableदूसरी तालिका से लिंक में संदर्भात्मक अखंडता✓ Correct
  2. B.Uniqueness within the same tableवही तालिका में विशिष्टता
  3. C.Speedगति
  4. D.Encryptionकूटलेखन
Answer: A — Referential integrity in the link to another table
An FK enforces the link to a row of the parent (referenced) table.FK माता-पिता (संदर्भित) तालिका की पंक्ति से लिंक को लागू करता है.
Q70.DBMS

What does "A" stand for in ACID?

अम्ल में 'A' का मतलब?

  1. A.Atomicityपरमाण्विकता✓ Correct
  2. B.Accuracyसटीकता
  3. C.Accessपहुँच
  4. D.Aggregationएकत्रीकरण
Answer: A — Atomicity
ACID: Atomicity, Consistency, Isolation, Durability.अम्ल: परमाण्विकता, स्थिरता, अलगाव, स्थायित्व.
Q71.Web Technology

What is the full form of HTML?

HTML का पूर्ण फॉर्म क्या है?

  1. A.HyperText Markup Languageहाइपरटेक्स्ट मार्कअप भाषा✓ Correct
  2. B.HighText Machine Languageहाईटेक्स्ट मशीन भाषा
  3. C.Hyper Transfer Markup Linkअति स्थानांतरण मार्कअप लिंक
  4. D.Home Tool Markup Languageघर औज़ार मार्कअप भाषा
Answer: A — HyperText Markup Language
HTML: HyperText Markup Language — the skeleton of the web.HTML: हाइपरटेक्स्ट मार्कअप भाषा — वेब का ढांचा.
Q72.Web Technology

What does CSS do?

CSS क्या करता है?

  1. A.Page styling/layoutपृष्ठ स्टाइलिंग/विन्यास✓ Correct
  2. B.Database queriesडेटाबेस प्रश्न
  3. C.Server hostingसर्वर होस्टिंग
  4. D.Compilingसंकलन
Answer: A — Page styling/layout
CSS: presentation layer — colors, layout, fonts.CSS: प्रस्तुतीकरण परत — रंग, विन्यास, फ़ॉन्ट.
Q73.Web Technology

Where does JavaScript mainly run (traditionally)?

JavaScript (पारंपरिक रूप से) मुख्य रूप से कहाँ चलता है?

  1. A.Browser client-sideब्राउज़र ग्राहक-ओर✓ Correct
  2. B.Only on serversसिर्फ सर्वर पर
  3. C.In databasesडेटाबेस में
  4. D.In printersप्रिंटर में
Answer: A — Browser client-side
JS was originally client-side scripting; today it also runs on servers via Node.js.JS मूल रूप से ग्राहक-ओर स्क्रिप्टिंग थी; आज नोड.जस से सर्वर पर भी चलती है.
Q74.Web Technology

What does the "S" in HTTPS stand for?

HTTPS में 'S' का मतलब?

  1. A.Secure (TLS/SSL encryption)सुरक्षित (TLS/SSL कूटलेखन)✓ Correct
  2. B.Speedचाल
  3. C.Standardमानक
  4. D.Serverसर्वर
Answer: A — Secure (TLS/SSL encryption)
HTTPS = HTTP over TLS — encrypted communication.HTTPS = HTTP ओवर TLS — एन्क्रिप्टेड संचार.
Q75.Web Technology

What is a cookie used for?

कुकी किस लिए इस्तेमाल होती है?

  1. A.Storing small data in the browser — sessions/preferencesब्राउज़र में छोटा डेटा दुकान करना — सत्र/प्राथमिकताएँ✓ Correct
  2. B.The server hard diskसर्वर कठोर डिस्क
  3. C.Resizing imagesछवि आकार बदलना करना
  4. D.Compiling codeकोड संकलित करना करना
Answer: A — Storing small data in the browser — sessions/preferences
Cookies: store site state (login, cart) in the browser.कुकीज़: ब्राउज़र में स्थल राज्य (लॉगिन, ठेला) दुकान करती हैं.
Q76.Misc

What is the difference between a compiler and an interpreter?

कंपाइलर और इंटरप्रेटर के बीच अंतर क्या है?

  1. A.A compiler translates the whole code at once; an interpreter goes line-by-lineकंपाइलर पूरे कोड का अनुवाद एक साथ करता है; इंटरप्रेटर लाइन-बाय-लाइन✓ Correct
  2. B.Both are the sameदोनों एक जैसे
  3. C.Interpreters are fasterदुभाषिए तेज होते हैं
  4. D.A compiler goes line-by-line at runtimeकंपाइलर रनटाइम पर लाइन-बाय-लाइन जाता है
Answer: A — A compiler translates the whole code at once; an interpreter goes line-by-line
C/C++: compiler; Python: interpreter-style execution.C/C++: कंपाइलर; पायथन: इंटरप्रेटर-शैली निष्पादन.
Q77.Misc

Why is RAM called volatile?

RAM को अस्थिर क्यों कहते हैं?

  1. A.Data vanishes when power is offशक्ति बंद होने पर डेटा ग़ायब हो जाता है✓ Correct
  2. B.It is slowये धीमा है
  3. C.It is cheapये सस्ता है
  4. D.It is encryptedये एन्क्रिप्टेड है
Answer: A — Data vanishes when power is off
RAM: temporary working memory — power gone, data gone.RAM: अस्थायी वर्किंग मेमोरी — शक्ति गया, डेटा गया.
Q78.Misc

How many MB is 1 GB?

1 GB में कितने MB?

  1. A.100100
  2. B.10001000
  3. C.10241024✓ Correct
  4. D.1000010000
Answer: C — 1024
In binary units, 1 GB = 1024 MB.द्विआधारी इकाइयाँ में, 1 GB = 1024 MB.
Q79.Misc

What does open-source software mean?

ओपेन-स्रोत सॉफ़्टवेयर का मतलब?

  1. A.Source code public, modify/distribute free (with license)स्रोत कोड सार्वजनिक, संशोधित करना/बाँटना करना मुफ्त (लाइसेंस के साथ)✓ Correct
  2. B.Software without internetबिना इंटरनेट का सॉफ़्टवेयर
  3. C.Only free trialसिर्फ मुफ़त परीक्षण
  4. D.Paid softwareपेड़ सॉफ़्टवेयर
Answer: A — Source code public, modify/distribute free (with license)
Open source: code openly available (e.g., Linux).ओपेन स्रोत: कोड खुले रूप में उपलब्ध (उदा: लिनक्स).
Q80.Misc

What is a phishing attack?

फ़िशिंग हमला क्या है?

  1. A.Stealing credentials via fake messages/sitesफ़र्ज़ी संदेश/स्थल से परिचयपत्र चुराना✓ Correct
  2. B.Catching fishमछली पकड़ना
  3. C.Hardware failureहार्डवेयर विफलता
  4. D.Cutting a network cableनेटवर्क केबल काटना
Answer: A — Stealing credentials via fake messages/sites
Phishing: password/OTP theft through fake emails/links.फ़िशिंग: फ़र्ज़ी ईमेल/कड़ियाँ से पासवर्ड/OTP चोरी.
▶ Play this set online — free, with timer, score & rank
All BPSC TRE practice setsSet 2 →BPSC TRE exam guide →

Get daily exam updates on Telegram

Join the SarkariManzil channel — new jobs, results, admit cards and daily current affairs, first on Telegram. Free.

Join SarkariManzil on Telegram ↗