SarkariManzil
BPSC · TRE Teacher Recruitment

BPSC TRE Computer Science Set 6

By Archit Kumar · Published: 18 October 2026 · 40 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 40 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.Python Programming

What is the output of the following Python code? x = 0 for i in range(3): x += i * i print(x)

निम्नलिखित Python कोड का आउटपुट क्या है? x = 0 for i in range(3): x += i * i print(x)

  1. A.55✓ Correct
  2. B.33
  3. C.99
  4. D.1414
Answer: A — 5
range(3) gives 0, 1, 2; x = 0 + 0 + 1 + 4 = 5.range(3) से 0, 1, 2 मिलते हैं; x = 0 + 0 + 1 + 4 = 5।
Q2.Python Programming

If s = "COMPUTER", what is the value of s[2:5]?

यदि s = "COMPUTER" है, तो s[2:5] का मान क्या है?

  1. A.OMPOMP
  2. B.MPUMPU✓ Correct
  3. C.MUTMUT
  4. D.PUTPUT
Answer: B — MPU
Indexing starts at 0: s[2]='M', s[3]='P', s[4]='U'; the slice s[2:5] stops before index 5, giving 'MPU'.Indexing 0 से शुरू होती है: s[2]='M', s[3]='P', s[4]='U'; slice s[2:5] index 5 से पहले रुकता है, इसलिए 'MPU' मिलता है।
Q3.Python Programming

What does the following recursive function return for f(4)? def f(n): if n == 0: return 1 return n + f(n - 1)

निम्न recursive function f(4) के लिए क्या लौटाता है? def f(n): if n == 0: return 1 return n + f(n - 1)

  1. A.1010
  2. B.99
  3. C.1111✓ Correct
  4. D.2424
Answer: C — 11
f(0) = 1; f(1) = 1 + f(0) = 2; f(2) = 2 + 2 = 4; f(3) = 3 + 4 = 7; f(4) = 4 + 7 = 11.f(0) = 1; f(1) = 1 + f(0) = 2; f(2) = 2 + 2 = 4; f(3) = 3 + 4 = 7; f(4) = 4 + 7 = 11।
Q4.Python Programming

What is printed by the following code? d = {'a': 5} print(d.get('b', 20))

निम्न कोड द्वारा क्या print होता है? d = {'a': 5} print(d.get('b', 20))

  1. A.55
  2. B.NoneNone
  3. C.KeyError: 'b'KeyError: 'b'
  4. D.2020✓ Correct
Answer: D — 20
dict.get(key, default) returns the default value 20 when the key 'b' is absent, instead of raising an error.dict.get(key, default) key 'b' के अनुपस्थित होने पर error के बजाय default मान 20 लौटाता है।
Q5.Python Programming

What is the size of the set {1, 2, 3} & {2, 3, 4}?

Set {1, 2, 3} & {2, 3, 4} का आकार क्या है?

  1. A.33
  2. B.22✓ Correct
  3. C.44
  4. D.66
Answer: B — 2
The intersection & keeps only the common elements {2, 3}, so its size is 2.Intersection & केवल उभयनिष्ठ तत्व {2, 3} रखता है, इसलिए इसका आकार 2 है।
Q6.Data Structures

What is the value of the postfix expression 6 2 3 + * ?

Postfix व्यंजक 6 2 3 + * का मान क्या है?

  1. A.1111
  2. B.3636
  3. C.2525
  4. D.3030✓ Correct
Answer: D — 30
First 2 + 3 = 5 is computed, then 6 * 5 = 30.पहले 2 + 3 = 5 की गणना होती है, फिर 6 * 5 = 30।
Q7.Data Structures

In a circular queue of size n implemented on an array, the queue is full when —

Array पर बने आकार n के circular queue में, queue कब full होता है —

  1. A.(rear + 1) % n == front(rear + 1) % n == front✓ Correct
  2. B.rear == frontrear == front
  3. C.rear == n - 1 alwaysrear सदैव n - 1 हो
  4. D.front == 0 and rear == 0front == 0 और rear == 0 हो
Answer: A — (rear + 1) % n == front
In a circular queue, one slot is kept empty and the queue is full when advancing rear by one (mod n) meets front.Circular queue में एक slot खाली रखा जाता है और queue तब full होता है जब rear को एक आगे बढ़ाने (mod n) पर वह front से मिल जाए।
Q8.Data Structures

In a singly linked list that maintains only a head pointer, deleting the last node takes —

केवल head pointer रखने वाली singly linked list में, अंतिम node को हटाने में लगता है —

  1. A.O(1) timeO(1) समय
  2. B.O(log n) timeO(log n) समय
  3. C.O(n) time, because the second-last node must be locatedO(n) समय, क्योंकि अंतिम से पहला node खोजना पड़ता है✓ Correct
  4. D.O(n²) timeO(n²) समय
Answer: C — O(n) time, because the second-last node must be located
To delete the last node, its predecessor must be found by traversing the whole list from the head, so the operation is O(n).अंतिम node को हटाने के लिए उसके पूर्ववर्ती को head से पूरी list में खोजना पड़ता है, इसलिए यह संक्रिया O(n) है।
Q9.Data Structures

If the keys 10, 20, 30, 40 are inserted in this order into an empty Binary Search Tree, the tree degenerates into —

यदि keys 10, 20, 30, 40 को इसी क्रम में खाली Binary Search Tree में डाला जाए, तो tree बदल जाता है —

  1. A.a linked-list-like chain, because every new key goes to the rightlinked-list जैसी शृंखला में, क्योंकि हर नई key दाईं ओर जाती है✓ Correct
  2. B.a balanced tree of height 2ऊँचाई 2 के संतुलित tree में
  3. C.a complete binary treecomplete binary tree में
  4. D.a max-heapmax-heap में
Answer: A — a linked-list-like chain, because every new key goes to the right
Already-sorted insertions make every new node the right child of the previous one, so the BST becomes a chain of height 4.पहले से क्रमबद्ध insertions से हर नया node पिछले का right child बनता है, इसलिए BST ऊँचाई 4 की शृंखला बन जाता है।
Q10.Data Structures

Which sorting algorithm is stable by nature in its standard form and also guarantees O(n log n) worst-case time? —

कौन-सा sorting algorithm अपने मानक रूप में स्वभाव से stable है और O(n log n) worst-case समय की गारंटी भी देता है —

  1. A.Quick sortQuick sort
  2. B.Heap sortHeap sort
  3. C.Selection sortSelection sort
  4. D.Merge sortMerge sort✓ Correct
Answer: D — Merge sort
Merge sort preserves the relative order of equal elements (stable) and always runs in O(n log n); quick, heap and selection sorts are not stable in their standard forms.Merge sort समान तत्वों का सापेक्ष क्रम बनाए रखता है (stable) और सदैव O(n log n) में चलता है; quick, heap और selection sort अपने मानक रूपों में stable नहीं हैं।
Q11.Data Structures

In hashing, the load factor of a hash table is defined as —

Hashing में hash table का load factor परिभाषित है —

  1. A.the number of collisions divided by the number of keyscollisions की संख्या भाग keys की संख्या
  2. B.the number of stored keys divided by the number of slots (buckets)संग्रहीत keys की संख्या भाग slots (buckets) की संख्या✓ Correct
  3. C.the size of the largest bucketसबसे बड़े bucket का आकार
  4. D.the number of empty slotsखाली slots की संख्या
Answer: B — the number of stored keys divided by the number of slots (buckets)
Load factor α = n/m, where n is the number of stored elements and m is the number of slots in the table.Load factor α = n/m, जहाँ n संग्रहीत तत्वों की संख्या और m table में slots की संख्या है।
Q12.Operating Systems

The Shortest Remaining Time First (SRTF) algorithm is —

Shortest Remaining Time First (SRTF) algorithm है —

  1. A.the non-preemptive version of Round RobinRound Robin का non-preemptive रूप
  2. B.another name for FCFS schedulingFCFS scheduling का दूसरा नाम
  3. C.the preemptive version of SJF schedulingSJF scheduling का preemptive रूप✓ Correct
  4. D.a disk-scheduling algorithmएक disk-scheduling algorithm
Answer: C — the preemptive version of SJF scheduling
SRTF is the preemptive form of Shortest Job First: a newly arrived shorter job can preempt the currently running job.SRTF, Shortest Job First का preemptive रूप है: नया आया छोटा job चल रहे job को preempt कर सकता है।
Q13.Operating Systems

The LRU page replacement algorithm replaces the page that —

LRU page replacement algorithm उस page को बदलता है जो —

  1. A.will not be used for the longest time in the futureभविष्य में सबसे लंबे समय तक उपयोग नहीं होगा
  2. B.was loaded earliest into memoryस्मृति में सबसे पहले load हुआ था
  3. C.has the smallest page numberजिसका page number सबसे छोटा है
  4. D.has not been used for the longest time in the pastअतीत में सबसे लंबे समय से उपयोग नहीं हुआ✓ Correct
Answer: D — has not been used for the longest time in the past
LRU (Least Recently Used) evicts the page whose last use is the oldest, using past behaviour as a guide.LRU (Least Recently Used) उस page को हटाता है जिसका अंतिम उपयोग सबसे पुराना है, अतीत के व्यवहार को मार्गदर्शक बनाकर।
Q14.Operating Systems

In the SCAN disk-scheduling algorithm, the disk arm —

SCAN disk-scheduling algorithm में disk arm —

  1. A.always restarts from track 0 after each requestप्रत्येक अनुरोध के बाद सदैव track 0 से शुरू होता है
  2. B.serves the nearest request in any directionकिसी भी दिशा में निकटतम अनुरोध पूरा करता है
  3. C.moves in one direction serving requests, then reverses, like an elevatorएक दिशा में अनुरोधों को पूरा करते हुए चलता है, फिर दिशा बदलता है, lift की तरह✓ Correct
  4. D.serves requests strictly in arrival orderअनुरोधों को केवल आगमन क्रम में पूरा करता है
Answer: C — moves in one direction serving requests, then reverses, like an elevator
SCAN is called the elevator algorithm: the head sweeps in one direction servicing requests and then reverses direction.SCAN को elevator algorithm कहा जाता है: head एक दिशा में चलते हुए अनुरोध पूरे करता है और फिर दिशा बदलता है।
Q15.Operating Systems

A key difference between a hard link and a soft (symbolic) link in Unix/Linux is that —

Unix/Linux में hard link और soft (symbolic) link के बीच मुख्य अंतर है कि —

  1. A.a hard link stores a full copy of the file's datahard link file के data की पूरी प्रति रखता है
  2. B.a soft link can point to a file on a different file system and can become dangling, a hard link cannotsoft link किसी अन्य file system की file की ओर संकेत कर सकता है और dangling हो सकता है, hard link नहीं✓ Correct
  3. C.only a soft link has its own inode numberकेवल soft link का अपना inode number होता है
  4. D.a hard link can point to directories freelyhard link directories की ओर स्वतंत्र रूप से संकेत कर सकता है
Answer: B — a soft link can point to a file on a different file system and can become dangling, a hard link cannot
A hard link is another name for the same inode within the same file system; a symbolic link stores a pathname, so it can cross file systems and can dangle if the target is deleted.Hard link उसी file system के भीतर उसी inode का दूसरा नाम है; symbolic link एक pathname रखता है, इसलिए वह file systems को पार कर सकता है और लक्ष्य हटने पर dangling हो सकता है।
Q16.Operating Systems

RAID Level 0 improves performance by striping data across disks, but it provides —

RAID Level 0 disks पर data को stripe करके प्रदर्शन बढ़ाता है, किंतु यह प्रदान करता है —

  1. A.no redundancy, so one disk failure loses the array's dataकोई redundancy नहीं, इसलिए एक disk की विफलता से array का data नष्ट हो जाता है✓ Correct
  2. B.full mirroring of every diskप्रत्येक disk का पूर्ण mirroring
  3. C.parity-based recovery of any one diskकिसी एक disk की parity-आधारित पुनर्प्राप्ति
  4. D.hot-spare automatic rebuildinghot-spare द्वारा स्वतः पुनर्निर्माण
Answer: A — no redundancy, so one disk failure loses the array's data
RAID 0 stripes blocks across disks with no parity or mirroring, so it has zero fault tolerance.RAID 0 बिना parity या mirroring के blocks को disks पर stripe करता है, इसलिए इसमें शून्य fault tolerance है।
Q17.DBMS

Which of the following SQL commands is a DDL (Data Definition Language) command? —

निम्नलिखित में से कौन-सा SQL command DDL (Data Definition Language) command है —

  1. A.INSERT INTOINSERT INTO
  2. B.UPDATEUPDATE
  3. C.CREATE TABLECREATE TABLE✓ Correct
  4. D.SELECTSELECT
Answer: C — CREATE TABLE
DDL commands define the schema — CREATE, ALTER and DROP; INSERT, UPDATE and SELECT are DML/DQL commands.DDL commands schema को परिभाषित करते हैं — CREATE, ALTER और DROP; INSERT, UPDATE और SELECT, DML/DQL commands हैं।
Q18.DBMS

The degree of a relation (table) means —

किसी relation (table) की degree का अर्थ है —

  1. A.the number of tuples (rows) in the relationrelation में tuples (rows) की संख्या
  2. B.the number of attributes (columns) in the relationrelation में attributes (columns) की संख्या✓ Correct
  3. C.the number of candidate keys in the relationrelation में candidate keys की संख्या
  4. D.the number of foreign keys in the relationrelation में foreign keys की संख्या
Answer: B — the number of attributes (columns) in the relation
In relational terminology, degree = number of attributes, while cardinality = number of tuples.Relational शब्दावली में degree = attributes की संख्या, जबकि cardinality = tuples की संख्या होती है।
Q19.DBMS

If a functional dependency X → Y holds and Y → Z also holds, then X → Z follows by the rule of —

यदि functional dependency X → Y हो और Y → Z भी हो, तो X → Z किस नियम से बनता है —

  1. A.reflexivityप्रतिवर्तीता (reflexivity)
  2. B.augmentationवर्धन (augmentation)
  3. C.decompositionअपघटन (decomposition)
  4. D.transitivityसंक्रामकता (transitivity)✓ Correct
Answer: D — transitivity
This is Armstrong's transitivity rule for functional dependencies.यह functional dependencies के लिए Armstrong का transitivity नियम है।
Q20.DBMS

A dirty read in transaction processing occurs when —

Transaction processing में dirty read तब होता है जब —

  1. A.a transaction reads data written by another transaction that has not yet committedकोई transaction ऐसा data पढ़े जो किसी अन्य transaction ने लिखा हो किंतु अभी commit न किया हो✓ Correct
  2. B.a transaction reads the same row twice and gets different valuesकोई transaction एक ही row दो बार पढ़े और भिन्न मान पाए
  3. C.a transaction reads a row inserted by a committed transactionकोई transaction committed transaction द्वारा डाली गई row पढ़े
  4. D.a transaction fails to read its own writesकोई transaction अपने ही writes न पढ़ पाए
Answer: A — a transaction reads data written by another transaction that has not yet committed
A dirty read reads uncommitted data; if the writing transaction later rolls back, the read data never really existed.Dirty read में uncommitted data पढ़ा जाता है; यदि लिखने वाला transaction बाद में rollback हो जाए, तो पढ़ा गया data वास्तव में कभी अस्तित्व में था ही नहीं।
Q21.DBMS

In SQL, writing SELECT DISTINCT name FROM students ensures that —

SQL में SELECT DISTINCT name FROM students लिखने से सुनिश्चित होता है कि —

  1. A.names are sorted in descending ordernames अवरोही क्रम में क्रमबद्ध हों
  2. B.duplicate names appear only once in the resultduplicate names परिणाम में केवल एक बार आएँ✓ Correct
  3. C.only the first row of the table is returnedtable की केवल पहली row लौटे
  4. D.null names are converted to blanksnull names रिक्त में बदल जाएँ
Answer: B — duplicate names appear only once in the result
DISTINCT removes duplicate rows from the query result.DISTINCT query के परिणाम से duplicate rows हटा देता है।
Q22.DBMS

If an UPDATE statement in SQL is written without a WHERE clause, then —

यदि SQL में UPDATE statement बिना WHERE clause के लिखा जाए, तो —

  1. A.all rows of the table are updatedtable की सभी rows update हो जाती हैं✓ Correct
  2. B.only the first row is updatedकेवल पहली row update होती है
  3. C.an error is always raisedसदैव error आता है
  4. D.no row is updatedकोई row update नहीं होती
Answer: A — all rows of the table are updated
Without a WHERE clause, UPDATE applies to every row of the table.बिना WHERE clause के UPDATE table की प्रत्येक row पर लागू होता है।
Q23.Computer Networks

In classful IPv4 addressing, a Class A address has its first octet in the range —

Classful IPv4 addressing में Class A address के पहले octet की range होती है —

  1. A.128 to 191128 से 191
  2. B.192 to 223192 से 223
  3. C.224 to 239224 से 239
  4. D.1 to 1261 से 126✓ Correct
Answer: D — 1 to 126
Class A: first octet 1–126 (leading bit 0); Class B: 128–191; Class C: 192–223; Class D: 224–239 (multicast).Class A: पहला octet 1–126 (अग्रणी bit 0); Class B: 128–191; Class C: 192–223; Class D: 224–239 (multicast)।
Q24.Computer Networks

The FTP protocol uses which TCP port for its control connection by default? —

FTP protocol अपने control connection के लिए default रूप से कौन-सा TCP port उपयोग करता है —

  1. A.2525
  2. B.5353
  3. C.2121✓ Correct
  4. D.110110
Answer: C — 21
FTP's control connection uses port 21 (data connection traditionally uses port 20).FTP का control connection port 21 उपयोग करता है (data connection पारंपरिक रूप से port 20 उपयोग करता है)।
Q25.Computer Networks

A repeater is used in a network to —

Network में repeater का उपयोग होता है —

  1. A.route packets between different networksविभिन्न networks के बीच packets को route करने के लिए
  2. B.convert digital signals to analog signalsdigital signals को analog signals में बदलने के लिए
  3. C.assign IP addresses to hostshosts को IP addresses देने के लिए
  4. D.regenerate and amplify a weak signal so it can travel a longer distanceकमज़ोर signal को पुनः उत्पन्न और प्रवर्धित करने के लिए ताकि वह अधिक दूरी तय कर सके✓ Correct
Answer: D — regenerate and amplify a weak signal so it can travel a longer distance
A repeater works at the physical layer and regenerates the signal, extending the length of a network segment.Repeater physical layer पर कार्य करता है और signal को पुनः उत्पन्न करके network segment की लंबाई बढ़ाता है।
Q26.Computer Networks

Data travels through an optical fibre cable in the form of —

Optical fibre cable में data किस रूप में यात्रा करता है —

  1. A.electrical voltages on a copper coreताँबे के core पर विद्युत वोल्टता के रूप में
  2. B.light pulses, guided by total internal reflectionप्रकाश स्पंदों के रूप में, पूर्ण आंतरिक परावर्तन द्वारा निर्देशित✓ Correct
  3. C.radio waves in free spaceमुक्त आकाश में radio तरंगों के रूप में
  4. D.sound vibrations in glassकाँच में ध्वनि कंपनों के रूप में
Answer: B — light pulses, guided by total internal reflection
Optical fibres carry light pulses that are kept inside the core by total internal reflection.Optical fibres प्रकाश स्पंद ले जाते हैं जो पूर्ण आंतरिक परावर्तन द्वारा core के भीतर रखे जाते हैं।
Q27.Digital Electronics

What is the octal equivalent of the binary number 101011?

Binary संख्या 101011 का octal समतुल्य क्या है?

  1. A.4343
  2. B.6363
  3. C.5353✓ Correct
  4. D.5151
Answer: C — 53
Group the bits in threes from the right: 101 = 5 and 011 = 3, so the octal form is 53.दाईं ओर से bits को तीन-तीन के समूहों में बाँटें: 101 = 5 और 011 = 3, इसलिए octal रूप 53 है।
Q28.Digital Electronics

How many flip-flops are required to build a MOD-16 counter?

MOD-16 counter बनाने के लिए कितने flip-flops आवश्यक हैं?

  1. A.44✓ Correct
  2. B.1616
  3. C.88
  4. D.55
Answer: A — 4
An n-flip-flop binary counter counts 2^n states; for MOD-16, 2^n = 16 gives n = 4.n flip-flops वाला binary counter 2^n अवस्थाएँ गिनता है; MOD-16 के लिए 2^n = 16 से n = 4।
Q29.Computer Organisation

A processor has a 20-bit address bus. The maximum memory it can directly address is —

किसी processor में 20-bit address bus है। वह अधिकतम कितनी memory को सीधे address कर सकता है —

  1. A.64 KB64 KB
  2. B.20 MB20 MB
  3. C.1 MB1 MB✓ Correct
  4. D.1 GB1 GB
Answer: C — 1 MB
A 20-bit address bus gives 2^20 distinct addresses = 1,048,576 locations ≈ 1 MB.20-bit address bus से 2^20 भिन्न addresses = 1,048,576 locations ≈ 1 MB मिलते हैं।
Q30.Computer Organisation

In relative addressing mode, the effective address of the operand is computed as —

Relative addressing mode में operand का effective address कैसे गणना किया जाता है —

  1. A.the content of the base register plus the displacementbase register की सामग्री जमा displacement
  2. B.the address field itself, used directlyaddress field स्वयं, सीधे उपयोग किया गया
  3. C.the content of the accumulatoraccumulator की सामग्री
  4. D.the content of the Program Counter plus the displacement given in the instructionProgram Counter की सामग्री जमा instruction में दिया गया displacement✓ Correct
Answer: D — the content of the Program Counter plus the displacement given in the instruction
In relative (PC-relative) addressing, EA = PC + displacement, which makes the code position-independent.Relative (PC-relative) addressing में EA = PC + displacement होता है, जिससे code position-independent बनता है।
Q31.Software Engineering

Regression testing is carried out to —

Regression testing क्यों किया जाता है —

  1. A.confirm that a change or fix has not broken previously working functionalityयह पुष्टि करने के लिए कि किसी बदलाव या fix ने पहले से कार्यरत functionality को नहीं तोड़ा✓ Correct
  2. B.test the software for the very first timesoftware का पहली बार परीक्षण करने के लिए
  3. C.measure the maximum load the system can bearsystem द्वारा सँभाला जा सकने वाला अधिकतम load मापने के लिए
  4. D.check the software against security attackssoftware को security आक्रमणों के विरुद्ध जाँचने के लिए
Answer: A — confirm that a change or fix has not broken previously working functionality
Regression testing re-runs earlier test cases after modifications to ensure existing features still work.Regression testing बदलावों के बाद पहले के test cases को फिर चलाकर सुनिश्चित करता है कि मौजूदा features अभी भी कार्य करते हैं।
Q32.Software Engineering

The SRS (Software Requirements Specification) document primarily records —

SRS (Software Requirements Specification) दस्तावेज़ मुख्यतः क्या दर्ज करता है —

  1. A.the complete source code of the systemsystem का संपूर्ण source code
  2. B.what the system should do — its functional and non-functional requirementssystem को क्या करना चाहिए — उसकी functional और non-functional आवश्यकताएँ✓ Correct
  3. C.the marketing plan for the productउत्पाद की marketing योजना
  4. D.the salary structure of the development teamविकास दल की वेतन संरचना
Answer: B — what the system should do — its functional and non-functional requirements
An SRS describes the system's functional and non-functional requirements and serves as the reference for design, development and testing.SRS system की functional और non-functional आवश्यकताओं का वर्णन करता है और design, development तथा testing के लिए संदर्भ का कार्य करता है।
Q33.Web Technologies

In an HTML <img> tag, the attribute that specifies the path (location) of the image is —

HTML <img> tag में वह attribute जो image का path (स्थान) बताता है, है —

  1. A.srcsrc✓ Correct
  2. B.hrefhref
  3. C.linklink
  4. D.altalt
Answer: A — src
The src attribute of <img> gives the image's URL/path; alt gives alternate text for the image.<img> का src attribute image का URL/path देता है; alt image के लिए वैकल्पिक पाठ देता है।
Q34.Web Technologies

In CSS, the selector used to style one specific element with id "menu" is written as —

CSS में id "menu" वाले एक विशिष्ट element को style करने वाला selector लिखा जाता है —

  1. A..menu.menu
  2. B.menu*menu*
  3. C.@menu@menu
  4. D.#menu#menu✓ Correct
Answer: D — #menu
An id selector in CSS begins with the hash symbol: #menu; a class selector begins with a dot.CSS में id selector hash चिह्न से शुरू होता है: #menu; class selector dot से शुरू होता है।
Q35.IoT & AI

Grouping unlabelled customers into clusters of similar buying behaviour, without any predefined categories, is an example of —

बिना पूर्व-परिभाषित श्रेणियों के, अलेबल किए गए ग्राहकों को समान क्रय-व्यवहार के समूहों में बाँटना किसका उदाहरण है —

  1. A.supervised learning (classification)supervised learning (classification)
  2. B.unsupervised learning (clustering)unsupervised learning (clustering)✓ Correct
  3. C.regressionregression
  4. D.reinforcement learning onlyकेवल reinforcement learning
Answer: B — unsupervised learning (clustering)
Clustering works on unlabelled data and discovers natural groups, so it is unsupervised learning.Clustering अलेबल data पर कार्य करता है और प्राकृतिक समूह खोजता है, इसलिए यह unsupervised learning है।
Q36.Cyber Security

The primary job of a firewall in a computer network is to —

Computer network में firewall का प्राथमिक कार्य है —

  1. A.remove viruses already stored on the hard diskhard disk पर पहले से मौजूद viruses हटाना
  2. B.encrypt every file on the computercomputer की प्रत्येक file को encrypt करना
  3. C.monitor and filter incoming and outgoing network traffic according to security rulessecurity नियमों के अनुसार आने-जाने वाले network traffic की निगरानी और छँटाई✓ Correct
  4. D.increase the speed of the internet connectioninternet connection की गति बढ़ाना
Answer: C — monitor and filter incoming and outgoing network traffic according to security rules
A firewall enforces an access-control policy on traffic passing between networks, allowing or blocking packets by rule.Firewall networks के बीच से गुजरने वाले traffic पर access-control नीति लागू करता है, नियमों के अनुसार packets को अनुमति देता या रोकता है।
Q37.Cloud & Emerging Tech

Platform as a Service (PaaS) mainly provides —

Platform as a Service (PaaS) मुख्यतः प्रदान करता है —

  1. A.only raw virtual machines on rentकिराए पर केवल raw virtual machines
  2. B.a ready platform to develop, run and manage applications without maintaining the underlying infrastructureअंतर्निहित infrastructure का रखरखाव किए बिना applications विकसित करने, चलाने और प्रबंधित करने का तैयार platform✓ Correct
  3. C.finished office software used directly in a browserbrowser में सीधे उपयोग होने वाला तैयार office software
  4. D.physical servers delivered to the customer's officeग्राहक के कार्यालय में दिए जाने वाले physical servers
Answer: B — a ready platform to develop, run and manage applications without maintaining the underlying infrastructure
PaaS gives developers the runtime, tools and infrastructure as a managed platform, so they focus only on their application code.PaaS developers को runtime, tools और infrastructure एक managed platform के रूप में देता है, ताकि वे केवल अपने application code पर ध्यान दें।
Q38.Computer Fundamentals

The BIOS/UEFI firmware of a computer, which runs the start-up tests when the machine is switched on, is stored in —

Computer का BIOS/UEFI firmware, जो machine चालू होने पर start-up परीक्षण चलाता है, कहाँ संग्रहीत होता है —

  1. A.RAMRAM
  2. B.cache memorycache memory
  3. C.non-volatile memory (ROM/flash chip on the motherboard)non-volatile memory (motherboard पर ROM/flash chip)✓ Correct
  4. D.the hard disk's free spacehard disk के खाली स्थान
Answer: C — non-volatile memory (ROM/flash chip on the motherboard)
BIOS/UEFI must survive power-off, so it is kept in non-volatile ROM/flash memory on the motherboard.BIOS/UEFI को बिजली बंद होने पर भी बना रहना चाहिए, इसलिए इसे motherboard पर non-volatile ROM/flash memory में रखा जाता है।
Q39.Data Structures

The minimum possible height of a binary tree with 15 nodes (counting a single-node tree as height 1) is —

15 nodes वाले binary tree की न्यूनतम संभव ऊँचाई (एकल-node tree की ऊँचाई 1 मानकर) है —

  1. A.1515
  2. B.88
  3. C.33
  4. D.44✓ Correct
Answer: D — 4
A complete binary tree of height 4 can hold up to 2^4 − 1 = 15 nodes, so the minimum height for 15 nodes is 4.ऊँचाई 4 का complete binary tree अधिकतम 2^4 − 1 = 15 nodes रख सकता है, इसलिए 15 nodes के लिए न्यूनतम ऊँचाई 4 है।
Q40.Computer Networks

The ping command is used to —

Ping command का उपयोग होता है —

  1. A.test whether a host is reachable on the network, using ICMP echo request and replyICMP echo request और reply का उपयोग करके जाँचने के लिए कि कोई host network पर पहुँच योग्य है या नहीं✓ Correct
  2. B.transfer files between two hostsदो hosts के बीच files स्थानांतरित करने के लिए
  3. C.translate a domain name into an IP addressdomain name का IP address में अनुवाद करने के लिए
  4. D.assign an IP address to a new hostनए host को IP address देने के लिए
Answer: A — test whether a host is reachable on the network, using ICMP echo request and reply
Ping sends ICMP echo requests and listens for echo replies to check connectivity and round-trip time.Ping, connectivity और round-trip time जाँचने के लिए ICMP echo requests भेजता है और echo replies सुनता है।
▶ Play this set online — free, with timer, score & rank
← Set 5All BPSC TRE practice setsSet 7 →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 ↗