SarkariManzil
BPSC · TRE Teacher Recruitment

BPSC TRE Computer Science Set 7

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.Cloud & Emerging Tech

According to the CAP theorem, when a network partition occurs in a distributed system, the system must trade off between:

CAP प्रमेय के अनुसार, वितरित प्रणाली में network partition होने पर प्रणाली को किसके बीच समझौता करना पड़ता है?

  1. A.Consistency and Availabilityसंगति (Consistency) और उपलब्धता (Availability)✓ Correct
  2. B.Consistency and Latency onlyकेवल संगति और विलंबता
  3. C.Availability and Storage size onlyकेवल उपलब्धता और भंडारण आकार
  4. D.Partition tolerance and Speed onlyकेवल partition सहनशीलता और गति
Answer: A — Consistency and Availability
During a partition, a distributed system cannot guarantee both strong consistency and full availability at the same time; partition tolerance is not optional in a real network.Partition के दौरान वितरित प्रणाली एक साथ मज़बूत संगति और पूर्ण उपलब्धता दोनों की गारंटी नहीं दे सकती; वास्तविक network में partition सहनशीलता वैकल्पिक नहीं है।
Q2.Data Structures

A Bloom filter is a probabilistic data structure in which:

Bloom filter एक प्रायिकता-आधारित डेटा संरचना है जिसमें:

  1. A.False positives and false negatives both occur equallyFalse positive और false negative दोनों समान रूप से होते हैं
  2. B.False positives are possible, but false negatives do not occurFalse positive संभव हैं, परंतु false negative नहीं होते✓ Correct
  3. C.Every lookup is always exactप्रत्येक खोज सदैव सटीक होती है
  4. D.Elements can be deleted easily with counters absentबिना counters के तत्व आसानी से हटाए जा सकते हैं
Answer: B — False positives are possible, but false negatives do not occur
A Bloom filter may wrongly say an element is present (false positive), but if it says an element is absent, that is definite.Bloom filter किसी तत्व के उपस्थित होने का गलत संकेत दे सकता है (false positive), परंतु यदि वह कहे कि तत्व अनुपस्थित है तो वह निश्चित है।
Q3.Computer Networks

A Content Delivery Network (CDN) improves the loading speed of a website mainly by:

Content Delivery Network (CDN) किसी website की loading गति मुख्यतः कैसे सुधारता है?

  1. A.Increasing the size of the origin server’s hard diskOrigin server की hard disk का आकार बढ़ाकर
  2. B.Compressing all images into a single fileसभी चित्रों को एक ही file में संपीड़ित करके
  3. C.Caching copies of content on servers located near the users, so requests are served from a nearby serverContent की प्रतियाँ उपयोगकर्ताओं के निकट स्थित servers पर cache करके, ताकि अनुरोध निकटवर्ती server से पूरे हों✓ Correct
  4. D.Replacing HTTP with a completely new protocolHTTP को पूरी तरह नए protocol से बदलकर
Answer: C — Caching copies of content on servers located near the users, so requests are served from a nearby server
A CDN stores cached copies of static content on edge servers spread across many locations; each user is served by a nearby edge server, which cuts distance and latency.CDN स्थिर content की cache प्रतियाँ कई स्थानों पर फैले edge servers पर रखता है; प्रत्येक उपयोगकर्ता को निकटवर्ती edge server से सेवा मिलती है, जिससे दूरी और विलंबता (latency) घटती है।
Q4.Web Technologies

In REST APIs, the HTTP PUT method is considered idempotent because:

REST API में HTTP PUT विधि को idempotent माना जाता है क्योंकि:

  1. A.It always creates a new resourceयह सदैव नया संसाधन बनाती है
  2. B.It never changes server stateयह सर्वर स्थिति कभी नहीं बदलती
  3. C.It can be used only for reading dataयह केवल डेटा पढ़ने के लिए प्रयोग होती है
  4. D.Repeating the same PUT request has the same final effect as sending it onceएक ही PUT अनुरोध दोहराने का अंतिम प्रभाव उसे एक बार भेजने जैसा ही होता है✓ Correct
Answer: D — Repeating the same PUT request has the same final effect as sending it once
Idempotent means multiple identical requests leave the resource in the same state as a single request; PUT replaces the resource with the given representation.Idempotent का अर्थ है कि कई समान अनुरोध संसाधन को उसी स्थिति में छोड़ते हैं जैसी एक अनुरोध छोड़ता; PUT संसाधन को दिए गए रूप से प्रतिस्थापित करता है।
Q5.Cloud & Emerging Tech

A Docker container differs from a virtual machine mainly because a container:

Docker container, virtual machine से मुख्यतः इस कारण भिन्न है कि container:

  1. A.Shares the host operating system's kernel instead of running a full guest OSपूर्ण guest OS चलाने के बजाय host operating system का kernel साझा करता है✓ Correct
  2. B.Cannot run on LinuxLinux पर नहीं चल सकता
  3. C.Always needs more RAM than a VMसदैव VM से अधिक RAM चाहिए
  4. D.Stores data only on optical disksडेटा केवल optical disks पर रखता है
Answer: A — Shares the host operating system's kernel instead of running a full guest OS
Containers package the application and its dependencies and share the host kernel, making them lighter and faster to start than VMs that run a complete guest OS.Container अनुप्रयोग और उसकी निर्भरताओं को बाँधकर host kernel साझा करते हैं, इसलिए वे पूर्ण guest OS चलाने वाले VM की तुलना में हल्के और शीघ्र शुरू होते हैं।
Q6.IoT & AI

The ReLU activation function used in neural networks is defined as:

Neural networks में प्रयोग होने वाला ReLU activation function इस प्रकार परिभाषित है:

  1. A.f(x) = 1 / (1 + e^-x)f(x) = 1 / (1 + e^-x)
  2. B.f(x) = tanh(x)f(x) = tanh(x)
  3. C.f(x) = max(0, x)f(x) = max(0, x)✓ Correct
  4. D.f(x) = x^2f(x) = x^2
Answer: C — f(x) = max(0, x)
ReLU (Rectified Linear Unit) outputs x for positive input and 0 for negative input, i.e. max(0, x); the sigmoid formula in option A is a different function.ReLU (Rectified Linear Unit) धनात्मक input पर x और ऋणात्मक input पर 0 देता है, अर्थात max(0, x); विकल्प A का sigmoid सूत्र एक भिन्न function है।
Q7.IoT & AI

In classification, precision is calculated as:

वर्गीकरण (classification) में precision इस प्रकार निकाला जाता है:

  1. A.TP / (TP + FN)TP / (TP + FN)
  2. B.TN / (TP + TN)TN / (TP + TN)
  3. C.(TP + TN) / Total(TP + TN) / कुल
  4. D.TP / (TP + FP)TP / (TP + FP)✓ Correct
Answer: D — TP / (TP + FP)
Precision is the fraction of predicted positives that are actually positive: TP/(TP+FP). TP/(TP+FN) is recall.Precision उन अनुमानित positives का अंश है जो वास्तव में positive हैं: TP/(TP+FP)। TP/(TP+FN) recall होता है।
Q8.Software Engineering

In Git, the rebase command is mainly used to:

Git में rebase command मुख्यतः किसके लिए प्रयोग होता है?

  1. A.Delete the remote repositoryRemote repository हटाने के लिए
  2. B.Move or replay a branch's commits onto another base commit, rewriting commit historyकिसी branch के commits को दूसरे base commit पर पुनः लगाकर commit इतिहास को पुनः लिखने के लिए✓ Correct
  3. C.Encrypt the repositoryRepository को encrypt करने के लिए
  4. D.Compile the project automaticallyProject को स्वतः compile करने के लिए
Answer: B — Move or replay a branch's commits onto another base commit, rewriting commit history
Rebasing replays commits one by one onto a new base, producing a linear history; because it rewrites history, rebasing shared public branches is discouraged.Rebasing commits को नए base पर एक-एक करके पुनः लगाता है और रैखिक इतिहास बनाता है; इतिहास पुनः लिखा जाता है, इसलिए साझा public branches को rebase करना अनुचित माना जाता है।
Q9.Cyber Security

In a TLS certificate verification, the browser primarily checks that:

TLS certificate सत्यापन में browser मुख्यतः यह जाँचता है कि:

  1. A.The certificate is signed by a trusted Certificate Authority and matches the domain nameCertificate किसी विश्वसनीय Certificate Authority द्वारा हस्ताक्षरित है और domain name से मेल खाता है✓ Correct
  2. B.The server has the fastest processorServer के पास सबसे तेज़ processor है
  3. C.The website has no imagesWebsite में कोई चित्र नहीं है
  4. D.The certificate is stored on a CDCertificate CD पर रखा है
Answer: A — The certificate is signed by a trusted Certificate Authority and matches the domain name
The browser validates the CA signature chain, expiry and that the certificate's subject/SAN matches the requested hostname before trusting the encrypted connection.Browser, encrypted connection पर विश्वास करने से पहले CA हस्ताक्षर शृंखला, समाप्ति तिथि और यह जाँचता है कि certificate का विषय/SAN माँगे गए hostname से मेल खाता है।
Q10.Cloud & Emerging Tech

In Apache Kafka, message ordering is guaranteed:

Apache Kafka में संदेशों का क्रम किस स्तर पर गारंटित होता है?

  1. A.Across all topics in the clusterCluster के सभी topics में
  2. B.Across all partitions of a topicTopic के सभी partitions में
  3. C.Only on the producer's hard diskकेवल producer की hard disk पर
  4. D.Only within a single partitionकेवल एक ही partition के भीतर✓ Correct
Answer: D — Only within a single partition
Kafka preserves the order of records inside one partition; records in different partitions have no global ordering guarantee.Kafka एक partition के भीतर records का क्रम बनाए रखता है; भिन्न partitions के records के लिए कोई वैश्विक क्रम गारंटी नहीं है।
Q11.IoT & AI

In a decision tree, entropy is used as a measure of:

Decision tree में entropy किसके माप के रूप में प्रयोग होता है?

  1. A.The height of the treeTree की ऊँचाई
  2. B.Impurity or disorder of a set of examplesउदाहरणों के समूह की अशुद्धता या अव्यवस्था✓ Correct
  3. C.The number of leaf nodes onlyकेवल leaf nodes की संख्या
  4. D.Training time in secondsसेकंड में training समय
Answer: B — Impurity or disorder of a set of examples
Entropy quantifies how mixed the classes are in a node; splits are chosen to reduce entropy (information gain), making child nodes purer.Entropy यह मापता है कि किसी node में वर्ग कितने मिश्रित हैं; विभाजन entropy घटाने (information gain) के लिए चुने जाते हैं ताकि child nodes अधिक शुद्ध बनें।
Q12.DBMS

Redis is best described as:

Redis का सर्वोत्तम वर्णन है:

  1. A.A relational database that stores only tablesकेवल tables रखने वाला relational database
  2. B.A web browser engineWeb browser engine
  3. C.An in-memory key-value data store often used for caching and fast lookupsप्रायः caching और तीव्र खोज के लिए प्रयोग होने वाला in-memory key-value डेटा भंडार✓ Correct
  4. D.A type of printer driverPrinter driver का एक प्रकार
Answer: C — An in-memory key-value data store often used for caching and fast lookups
Redis keeps data structures such as strings, hashes and sorted sets in memory, giving very low-latency reads/writes, and is widely used as a cache or message broker.Redis strings, hashes और sorted sets जैसी संरचनाएँ memory में रखता है, जिससे अत्यंत कम विलंबता वाले read/write मिलते हैं, और यह cache या message broker के रूप में व्यापक रूप से प्रयोग होता है।
Q13.Software Engineering

The Open/Closed Principle of SOLID design states that a software module should be:

SOLID design का Open/Closed Principle कहता है कि software module को होना चाहिए:

  1. A.Open for modification but closed for extensionसंशोधन के लिए खुला परंतु विस्तार के लिए बंद
  2. B.Closed for both extension and modificationविस्तार और संशोधन दोनों के लिए बंद
  3. C.Open only during testingकेवल testing के समय खुला
  4. D.Open for extension but closed for modification of existing codeविस्तार के लिए खुला परंतु विद्यमान code के संशोधन के लिए बंद✓ Correct
Answer: D — Open for extension but closed for modification of existing code
New behaviour should be addable by extending a module (e.g. new classes/interfaces) without editing its already-tested existing code.नई कार्यक्षमता module का विस्तार करके (जैसे नई classes/interfaces) जोड़ी जा सके, बिना उसके पहले से परीक्षित विद्यमान code को बदले।
Q14.Cloud & Emerging Tech

In Hadoop HDFS, the default replication factor for a data block is typically:

Hadoop HDFS में डेटा block का default replication factor प्रायः होता है:

  1. A.3 copies3 प्रतियाँ✓ Correct
  2. B.1 copy1 प्रति
  3. C.10 copies10 प्रतियाँ
  4. D.0 copies0 प्रतियाँ
Answer: A — 3 copies
HDFS by default stores three replicas of each block on different nodes/racks, so data survives node failures.HDFS default रूप से प्रत्येक block की तीन प्रतियाँ भिन्न nodes/racks पर रखता है, ताकि node विफल होने पर भी डेटा सुरक्षित रहे।
Q15.Cloud & Emerging Tech

In Kubernetes, the smallest deployable unit that can be created and managed is a:

Kubernetes में बनाई और प्रबंधित की जा सकने वाली सबसे छोटी deployable इकाई है:

  1. A.ClusterCluster
  2. B.NodeNode
  3. C.PodPod✓ Correct
  4. D.NamespaceNamespace
Answer: C — Pod
A Pod wraps one or more containers that share storage and network resources and is the basic unit Kubernetes schedules.Pod एक या अधिक containers को लपेटता है जो भंडारण और network संसाधन साझा करते हैं, और यही वह मूल इकाई है जिसे Kubernetes schedule करता है।
Q16.Cyber Security

OAuth 2.0 is primarily a framework for:

OAuth 2.0 मुख्यतः किसके लिए framework है?

  1. A.Compressing filesFiles संपीड़ित करने के लिए
  2. B.Delegated authorisation — letting an application access a resource on a user's behalf without the user's passwordप्रत्यायोजित प्राधिकरण — उपयोगकर्ता का password दिए बिना किसी अनुप्रयोग को उपयोगकर्ता की ओर से संसाधन तक पहुँचने देने के लिए✓ Correct
  3. C.Designing database tablesDatabase tables बनाने के लिए
  4. D.Sending emailEmail भेजने के लिए
Answer: B — Delegated authorisation — letting an application access a resource on a user's behalf without the user's password
OAuth 2.0 issues access tokens so a client can act on a user's behalf with limited scope; authentication itself is handled by layers such as OpenID Connect.OAuth 2.0 access tokens जारी करता है ताकि client सीमित दायरे में उपयोगकर्ता की ओर से कार्य कर सके; स्वयं प्रमाणीकरण OpenID Connect जैसी परतों से होता है।
Q17.Cyber Security

A JSON Web Token (JWT) consists of which three parts, separated by dots?

JSON Web Token (JWT) में dots से पृथक कौन-से तीन भाग होते हैं?

  1. A.Username, password and dateUsername, password और तिथि
  2. B.Header, footer and bodyHeader, footer और body
  3. C.Key, lock and signatureKey, lock और signature
  4. D.Header, Payload and SignatureHeader, Payload और Signature✓ Correct
Answer: D — Header, Payload and Signature
A JWT is header.payload.signature — the header states the algorithm, the payload carries claims, and the signature lets the receiver verify integrity.JWT header.payload.signature होता है — header algorithm बताता है, payload में दावे (claims) होते हैं, और signature से प्राप्तकर्ता अखंडता सत्यापित करता है।
Q18.DBMS

Database sharding means:

Database sharding का अर्थ है:

  1. A.Deleting old rows every nightप्रत्येक रात पुरानी rows हटाना
  2. B.Splitting data horizontally across multiple servers, each holding a subset of rowsडेटा को कई servers पर क्षैतिज रूप से बाँटना, प्रत्येक के पास rows का एक उपसमूह होना✓ Correct
  3. C.Making three backups dailyप्रतिदिन तीन backups बनाना
  4. D.Encrypting every columnप्रत्येक column encrypt करना
Answer: B — Splitting data horizontally across multiple servers, each holding a subset of rows
Sharding partitions rows by a shard key across servers so load and storage scale horizontally; it differs from vertical partitioning by columns.Sharding rows को shard key के आधार पर servers पर बाँटता है ताकि load और भंडारण क्षैतिज रूप से बढ़ सके; यह columns द्वारा बाँटने (vertical partitioning) से भिन्न है।
Q19.Web Technologies

A key advantage of GraphQL over a typical REST API is that the client can:

सामान्य REST API की तुलना में GraphQL का एक प्रमुख लाभ है कि client:

  1. A.Request exactly the fields it needs in a single query, avoiding over-fetchingएक ही query में ठीक वही fields माँग सकता है जिनकी आवश्यकता है, जिससे अनावश्यक डेटा (over-fetching) नहीं आता✓ Correct
  2. B.Bypass all authenticationसभी प्रमाणीकरण को bypass कर सकता है
  3. C.Store data without a serverबिना server के डेटा रख सकता है
  4. D.Run without any schemaबिना किसी schema के चल सकता है
Answer: A — Request exactly the fields it needs in a single query, avoiding over-fetching
GraphQL's query language lets clients specify the exact shape of the response, reducing over-fetching and under-fetching common with fixed REST endpoints.GraphQL की query भाषा client को response का ठीक वही रूप निर्दिष्ट करने देती है, जिससे निश्चित REST endpoints में होने वाला अनावश्यक या अपर्याप्त डेटा आना घटता है।
Q20.Cloud & Emerging Tech

In Apache Spark, an RDD is:

Apache Spark में RDD है:

  1. A.A type of relational table onlyकेवल relational table का एक प्रकार
  2. B.A printer command languagePrinter command भाषा
  3. C.A Resilient Distributed Dataset — a fault-tolerant, partitioned collection of records processed in parallelResilient Distributed Dataset — एक दोष-सहिष्णु, विभाजित records संग्रह जिसका समानांतर संसाधन होता है✓ Correct
  4. D.A single file on one diskएक disk पर एकल file
Answer: C — A Resilient Distributed Dataset — a fault-tolerant, partitioned collection of records processed in parallel
RDDs are immutable partitioned collections distributed across a cluster; Spark can recompute lost partitions from lineage, giving fault tolerance.RDD अपरिवर्तनीय, विभाजित संग्रह होते हैं जो cluster पर वितरित रहते हैं; Spark खोए partitions को lineage से पुनः गणना कर सकता है, जिससे दोष-सहिष्णुता मिलती है।
Q21.Software Engineering

The Observer design pattern is best used when:

Observer design pattern का सर्वोत्तम प्रयोग तब होता है जब:

  1. A.Only one object must ever existकेवल एक ही object कभी होना चाहिए
  2. B.One object's state changes must automatically notify and update dependent objectsएक object की स्थिति बदलने पर आश्रित objects को स्वतः सूचना और अद्यतन मिलना चाहिए✓ Correct
  3. C.A database must be normalisedDatabase को normalise करना हो
  4. D.Files must be compressedFiles संपीड़ित करनी हों
Answer: B — One object's state changes must automatically notify and update dependent objects
In the Observer (publish-subscribe) pattern, subjects maintain a list of observers and notify them on state change, keeping components loosely coupled.Observer (publish-subscribe) pattern में subject, observers की सूची रखता है और स्थिति बदलने पर उन्हें सूचित करता है, जिससे घटक शिथिल रूप से जुड़े रहते हैं।
Q22.Cloud & Emerging Tech

In the Raft consensus algorithm, a new leader is chosen by:

Raft consensus algorithm में नया leader किस प्रकार चुना जाता है?

  1. A.Election among servers, where a candidate needs votes from a majority of serversServers के बीच चुनाव द्वारा, जहाँ उम्मीदवार को servers के बहुमत के मत चाहिए✓ Correct
  2. B.Picking the server with the largest diskसबसे बड़ी disk वाले server को चुनकर
  3. C.The client application directlyसीधे client application द्वारा
  4. D.Random selection with no votingबिना मतदान के यादृच्छिक चयन द्वारा
Answer: A — Election among servers, where a candidate needs votes from a majority of servers
Raft followers become candidates when they time out without a heartbeat; a candidate that wins a majority of votes becomes leader for that term.Raft में heartbeat न मिलने पर follower उम्मीदवार बनता है; जो उम्मीदवार बहुमत के मत जीतता है वह उस term का leader बनता है।
Q23.IoT & AI

In a convolutional neural network (CNN), a convolution layer primarily:

Convolutional neural network (CNN) में convolution layer मुख्यतः:

  1. A.Sorts the input pixels alphabeticallyInput pixels को वर्णक्रम से क्रमबद्ध करती है
  2. B.Deletes the input imageInput चित्र हटाती है
  3. C.Translates text between languagesभाषाओं के बीच पाठ अनुवाद करती है
  4. D.Slides filters over the input to extract local features such as edges into feature mapsInput पर filters सरकाकर किनारों जैसी स्थानीय विशेषताएँ feature maps में निकालती है✓ Correct
Answer: D — Slides filters over the input to extract local features such as edges into feature maps
Convolution filters (kernels) scan local regions of an image and respond to patterns like edges and textures, producing feature maps used by later layers.Convolution filters (kernels) चित्र के स्थानीय क्षेत्रों को scan करके किनारों और बनावट जैसे patterns पर प्रतिक्रिया देते हैं और feature maps बनाते हैं जिनका प्रयोग बाद की layers करती हैं।
Q24.IoT & AI

In gradient descent, the learning rate controls:

Gradient descent में learning rate किसे नियंत्रित करता है?

  1. A.The number of training examplesTraining उदाहरणों की संख्या
  2. B.The colour depth of imagesचित्रों की रंग गहराई
  3. C.The size of each step taken toward the minimum of the loss functionLoss function के न्यूनतम की ओर प्रत्येक कदम का आकार✓ Correct
  4. D.The number of CPU cores usedप्रयोग होने वाले CPU cores की संख्या
Answer: C — The size of each step taken toward the minimum of the loss function
Too large a learning rate can overshoot the minimum and diverge; too small a rate makes training very slow. It is a key hyperparameter.बहुत बड़ा learning rate न्यूनतम को पार करके diverge कर सकता है; बहुत छोटा rate training को अत्यंत धीमा बनाता है। यह एक प्रमुख hyperparameter है।
Q25.Software Engineering

A microservices architecture is characterised by:

Microservices architecture की विशेषता है:

  1. A.Small, independently deployable services, each responsible for one business capabilityछोटी, स्वतंत्र रूप से deployable सेवाएँ, प्रत्येक एक व्यावसायिक क्षमता के लिए उत्तरदायी✓ Correct
  2. B.One single executable containing all featuresसभी सुविधाओं वाला एकल executable
  3. C.Storing all data in one text fileसारा डेटा एक text file में रखना
  4. D.Having no network communicationकोई network संचार न होना
Answer: A — Small, independently deployable services, each responsible for one business capability
Microservices split an application into loosely coupled services that can be developed, deployed and scaled independently, usually communicating over APIs.Microservices किसी अनुप्रयोग को शिथिल रूप से जुड़ी सेवाओं में बाँटते हैं जिन्हें स्वतंत्र रूप से विकसित, deploy और scale किया जा सकता है, और वे प्रायः API द्वारा संवाद करती हैं।
Q26.Software Engineering

A CI/CD pipeline in software development automates:

Software development में CI/CD pipeline किसे स्वचालित करती है?

  1. A.Only writing documentationकेवल दस्तावेज़ लिखना
  2. B.Hiring of developersDevelopers की भर्ती
  3. C.Only manual testing on paperकेवल कागज़ पर manual testing
  4. D.Building, testing and deploying code changes whenever they are integratedCode परिवर्तन integrate होने पर उन्हें बनाना, test करना और deploy करना✓ Correct
Answer: D — Building, testing and deploying code changes whenever they are integrated
Continuous Integration merges and tests changes frequently; Continuous Delivery/Deployment then automates releasing the verified build to production.Continuous Integration परिवर्तनों को बार-बार merge और test करती है; Continuous Delivery/Deployment फिर सत्यापित build को production में जारी करना स्वचालित करती है।
Q27.IoT & AI

Tokenisation in natural language processing (NLP) means:

Natural language processing (NLP) में tokenisation का अर्थ है:

  1. A.Encrypting a paragraphParagraph encrypt करना
  2. B.Printing text on tokensText को tokens पर छापना
  3. C.Splitting text into smaller units such as words or sub-words for processingसंसाधन हेतु पाठ को शब्दों या उप-शब्दों जैसी छोटी इकाइयों में बाँटना✓ Correct
  4. D.Translating text into Morse codeपाठ को Morse code में बदलना
Answer: C — Splitting text into smaller units such as words or sub-words for processing
Tokenisation is the first step of most NLP pipelines — breaking raw text into tokens that models can count, embed and learn from.Tokenisation अधिकांश NLP pipelines का पहला चरण है — कच्चे पाठ को tokens में तोड़ना जिन्हें models गिन सकें, embed कर सकें और जिनसे सीख सकें।
Q28.DBMS

Databases that follow the BASE model (as in many NoSQL systems) provide:

BASE model अपनाने वाले databases (जैसे कई NoSQL systems) क्या प्रदान करते हैं?

  1. A.Immediate consistency after every write, alwaysसदैव प्रत्येक write के बाद तत्काल संगति
  2. B.Eventual consistency — replicas converge to the same state over timeEventual consistency — प्रतिकृतियाँ समय के साथ एक ही स्थिति पर पहुँचती हैं✓ Correct
  3. C.No availability during partitionsPartition के समय कोई उपलब्धता नहीं
  4. D.Only single-server storageकेवल एकल-server भंडारण
Answer: B — Eventual consistency — replicas converge to the same state over time
BASE stands for Basically Available, Soft state, Eventually consistent — favouring availability and scale over instant consistency.BASE का अर्थ है Basically Available, Soft state, Eventually consistent — तत्काल संगति की तुलना में उपलब्धता और विस्तार को प्राथमिकता देना।
Q29.Computer Networks

A Layer-7 (application layer) load balancer differs from a Layer-4 balancer because it can route traffic based on:

Layer-7 (application layer) load balancer, Layer-4 balancer से इसलिए भिन्न है क्योंकि यह traffic को किसके आधार पर भेज सकता है?

  1. A.Only the cable lengthकेवल cable की लंबाई
  2. B.The colour of the serverServer का रंग
  3. C.Only the MAC addressकेवल MAC address
  4. D.HTTP content such as URL path, headers or cookiesURL path, headers या cookies जैसी HTTP सामग्री✓ Correct
Answer: D — HTTP content such as URL path, headers or cookies
Layer-7 balancers understand application protocols, so they can route by path/header/cookie and do SSL termination; Layer-4 balancers only see IP address and port.Layer-7 balancer application protocols समझते हैं, इसलिए वे path/header/cookie के आधार पर routing और SSL termination कर सकते हैं; Layer-4 balancer केवल IP address और port देखते हैं।
Q30.Cyber Security

Two-factor authentication (2FA) improves account security by requiring:

Two-factor authentication (2FA) खाता सुरक्षा कैसे बढ़ाता है?

  1. A.Two passwords typed twiceदो बार दो passwords लिखकर
  2. B.Logging in only on weekdaysकेवल सप्ताह के दिनों में login करके
  3. C.Evidence from two different categories, such as a password (knowledge) and a phone code (possession)दो भिन्न श्रेणियों के प्रमाण, जैसे password (ज्ञान) और phone code (कब्ज़ा)✓ Correct
  4. D.A longer usernameलंबा username रखकर
Answer: C — Evidence from two different categories, such as a password (knowledge) and a phone code (possession)
2FA combines factors from different categories — something you know, have, or are — so stealing one factor alone is not enough to break in.2FA भिन्न श्रेणियों के कारक जोड़ता है — जो आप जानते हैं, जो आपके पास है, या जो आप हैं — ताकि केवल एक कारक चोरी होने से खाता न टूटे।
Q31.Python Programming

Python's Global Interpreter Lock (GIL) means that in CPython:

Python के Global Interpreter Lock (GIL) का अर्थ है कि CPython में:

  1. A.Only one process can be installed per machineप्रति machine केवल एक process install हो सकता है
  2. B.Only one thread executes Python bytecode at a time in a single process, limiting CPU-bound multithreadingएक process में एक समय पर केवल एक thread Python bytecode चलाता है, जिससे CPU-bound multithreading सीमित होता है✓ Correct
  3. C.Global variables cannot be declaredGlobal variables घोषित नहीं हो सकते
  4. D.Files are locked forever after openingFiles खुलने के बाद सदैव locked रहती हैं
Answer: B — Only one thread executes Python bytecode at a time in a single process, limiting CPU-bound multithreading
The GIL protects interpreter internals; threads still help I/O-bound work, but CPU-bound parallelism usually needs multiprocessing.GIL interpreter के आंतरिक भागों की रक्षा करता है; threads I/O-bound कार्य में सहायक हैं, परंतु CPU-bound समानांतर कार्य के लिए प्रायः multiprocessing चाहिए।
Q32.Operating Systems

In cache replacement, the LFU policy evicts the item that is:

Cache replacement में LFU नीति वह item हटाती है जो:

  1. A.Least Frequently Used — accessed the fewest timesLeast Frequently Used — सबसे कम बार प्रयोग हुआ हो✓ Correct
  2. B.Largest in size alwaysसदैव आकार में सबसे बड़ा हो
  3. C.Most recently addedसबसे हाल में जोड़ा गया हो
  4. D.Alphabetically firstवर्णक्रम में पहला हो
Answer: A — Least Frequently Used — accessed the fewest times
LFU removes the least frequently accessed entry, unlike LRU which removes the least recently used one.LFU सबसे कम बार प्रयोग हुआ entry हटाती है, जबकि LRU सबसे लंबे समय से प्रयोग न हुआ entry हटाती है।
Q33.DBMS

The SQL window function RANK() is used to:

SQL window function RANK() किसके लिए प्रयोग होता है?

  1. A.Delete duplicate rows permanentlyDuplicate rows स्थायी रूप से हटाने के लिए
  2. B.Create a new tableनई table बनाने के लिए
  3. C.Assign a rank to each row within a partition, with gaps after tiesकिसी partition के भीतर प्रत्येक row को rank देने के लिए, बराबरी (tie) के बाद अंतराल सहित✓ Correct
  4. D.Encrypt a columnColumn encrypt करने के लिए
Answer: C — Assign a rank to each row within a partition, with gaps after ties
RANK() numbers rows within an ORDER BY window; tied rows share a rank and the next rank skips accordingly (DENSE_RANK does not skip).RANK() ORDER BY window के भीतर rows को क्रमांक देती है; बराबर rows एक ही rank साझा करती हैं और अगली rank तदनुसार छोड़ती है (DENSE_RANK नहीं छोड़ती)।
Q34.Operating Systems

Removing the "hold and wait" condition is a technique for deadlock:

"Hold and wait" शर्त को हटाना deadlock के लिए एक तकनीक है:

  1. A.Prevention — a process must request all resources at once or release held ones before requesting moreनिवारण (Prevention) — process को सभी संसाधन एक साथ माँगने होंगे या अधिक माँगने से पहले धारित संसाधन छोड़ने होंगे✓ Correct
  2. B.Detection onlyकेवल पहचान
  3. C.Recovery by rebooting dailyप्रतिदिन reboot करके पुनर्प्राप्ति
  4. D.Ignoring deadlocks completelyDeadlocks को पूर्णतः अनदेखा करना
Answer: A — Prevention — a process must request all resources at once or release held ones before requesting more
Deadlock prevention works by negating one of the four necessary conditions; breaking hold-and-wait removes a circular dependency's precondition.Deadlock निवारण चार आवश्यक शर्तों में से एक को नकारकर कार्य करता है; hold-and-wait तोड़ने से चक्रीय निर्भरता की पूर्व-शर्त हटती है।
Q35.DBMS

A B+ tree index is preferred for range queries on a database column because:

Database column पर range queries के लिए B+ tree index इसलिए पसंद किया जाता है क्योंकि:

  1. A.It stores data only in internal nodesयह डेटा केवल internal nodes में रखता है
  2. B.It has no leaf nodesइसमें leaf nodes नहीं होते
  3. C.It cannot be balancedयह संतुलित नहीं हो सकता
  4. D.All actual records/keys are in the leaf level and leaves are linked in order, allowing an ordered scan of a rangeसभी वास्तविक records/keys leaf स्तर पर होते हैं और leaves क्रम में जुड़े होते हैं, जिससे range का क्रमबद्ध scan संभव होता है✓ Correct
Answer: D — All actual records/keys are in the leaf level and leaves are linked in order, allowing an ordered scan of a range
In a B+ tree, internal nodes only guide search while leaves hold all keys and are linked sequentially, making range retrieval efficient.B+ tree में internal nodes केवल खोज का मार्गदर्शन करते हैं जबकि leaves सभी keys रखते हैं और क्रमिक रूप से जुड़े होते हैं, जिससे range प्राप्ति कुशल होती है।
Q36.Cyber Security

DNSSEC primarily adds what protection to the Domain Name System?

DNSSEC, Domain Name System में मुख्यतः कौन-सी सुरक्षा जोड़ता है?

  1. A.Faster downloadsतीव्र downloads
  2. B.Authentication of DNS data through digital signatures, so forged responses can be detectedDigital signatures द्वारा DNS डेटा का प्रमाणीकरण, ताकि जाली उत्तर पहचाने जा सकें✓ Correct
  3. C.Free domain namesमुफ्त domain names
  4. D.Automatic website designस्वतः website design
Answer: B — Authentication of DNS data through digital signatures, so forged responses can be detected
DNSSEC signs DNS records so resolvers can verify responses really came from the authoritative source and were not altered; it does not encrypt queries.DNSSEC DNS records पर हस्ताक्षर करता है ताकि resolver सत्यापित कर सकें कि उत्तर वास्तव में प्राधिकृत स्रोत से आया है और बदला नहीं गया; यह queries को encrypt नहीं करता।
Q37.Software Engineering

In Scrum (Agile), a Sprint is best defined as:

Scrum (Agile) में Sprint का सर्वोत्तम अर्थ है:

  1. A.A race between developersDevelopers के बीच दौड़
  2. B.The final release day onlyकेवल अंतिम release दिवस
  3. C.A fixed, time-boxed iteration (usually 1-4 weeks) in which a usable product increment is builtएक निश्चित, समय-सीमाबद्ध पुनरावृत्ति (प्रायः 1-4 सप्ताह) जिसमें प्रयोग-योग्य product increment बनता है✓ Correct
  4. D.An overtime work ruleOvertime कार्य नियम
Answer: C — A fixed, time-boxed iteration (usually 1-4 weeks) in which a usable product increment is built
Sprints are short fixed-length cycles ending with a potentially releasable increment and a review/retrospective.Sprint छोटे निश्चित-अवधि के चक्र होते हैं जो संभावित रूप से जारी किए जा सकने वाले increment और review/retrospective के साथ समाप्त होते हैं।
Q38.DBMS

A composite index in a database is an index built on:

Database में composite index वह index है जो बना होता है:

  1. A.Only the primary keyकेवल primary key पर
  2. B.A compressed backup fileसंपीड़ित backup file पर
  3. C.A single column onlyकेवल एक column पर
  4. D.Two or more columns together, where column order matters for lookupsदो या अधिक columns पर एक साथ, जहाँ खोज के लिए columns का क्रम महत्वपूर्ण होता है✓ Correct
Answer: D — Two or more columns together, where column order matters for lookups
A composite (multi-column) index can serve queries filtering on its leading columns in order; the leftmost-prefix rule decides its usefulness.Composite (बहु-column) index क्रम में अपने अग्रणी columns पर filter करने वाली queries के काम आता है; leftmost-prefix नियम इसकी उपयोगिता तय करता है।
Q39.Data Structures

Average-case time complexity of searching a key in a well-distributed hash table is:

सुव्यवस्थित (well-distributed) hash table में key खोजने की average-case time complexity है:

  1. A.O(n)O(n)
  2. B.O(1)O(1)✓ Correct
  3. C.O(n log n)O(n log n)
  4. D.O(n^2)O(n^2)
Answer: B — O(1)
With a good hash function and a controlled load factor, hash table lookup, insertion and deletion are O(1) on average, though worst case can degrade to O(n).अच्छे hash function और नियंत्रित load factor के साथ hash table में खोज, प्रविष्टि और विलोपन औसतन O(1) होते हैं, यद्यपि worst case O(n) तक बिगड़ सकता है।
Q40.Computer Fundamentals

In programming languages with automatic garbage collection, the garbage collector’s main job is to:

स्वचालित garbage collection वाली programming भाषाओं में garbage collector का मुख्य कार्य है:

  1. A.Automatically reclaim memory occupied by objects that are no longer reachable or in useउन objects द्वारा घेरी गई memory को स्वतः मुक्त करना जो अब पहुँच-योग्य या प्रयोग में नहीं हैं✓ Correct
  2. B.Delete source code files that fail to compileउन source code files को हटाना जो compile नहीं हो पातीं
  3. C.Remove viruses from the running programचल रहे program से virus हटाना
  4. D.Compress the program’s executable fileProgram की executable file को संपीड़ित करना
Answer: A — Automatically reclaim memory occupied by objects that are no longer reachable or in use
The garbage collector periodically finds objects that the program can no longer reach and frees their memory, preventing memory leaks without manual free() calls by the programmer.Garbage collector समय-समय पर उन objects को खोजकर उनकी memory मुक्त करता है जिन तक program अब नहीं पहुँच सकता, जिससे programmer को manual free() किए बिना memory leak रुकता है।
▶ Play this set online — free, with timer, score & rank
← Set 6All BPSC TRE practice setsBPSC 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 ↗