Computer Science Previous Year Questions (page 14)
723 Computer Science questions asked in Bihar STET previous year papers, each with the correct answer and explanation. Read them free on UTpaper, or attempt the full papers as timed online tests.
In an operating system, a "buffer cache" is used to:एक ऑपरेटिंग सिस्टम में, "बफ़र कैश" का उपयोग किया जाता है:
AStore files in memoryमेमोरी में फाइल्स को संग्रहीत करने के लिए
BStore copies of frequently used files in memoryबार-बार उपयोग की जाने वाली फ़ाइलों की प्रतियों को मेमोरी में संग्रहीत करने के लिए
CStore the operating system kernelऑपरेटिंग सिस्टम कर्नेल को संग्रहित करने के लिए
DStore input/output devicesइनपुट/आउटपुट उपकरणों को संग्रहित करने के लिए
Show answerHide answer
Correct answer: (B)Store copies of frequently used files in memoryबार-बार उपयोग की जाने वाली फ़ाइलों की प्रतियों को मेमोरी में संग्रहीत करने के लिए
Explanation
The buffer cache keeps copies of recently or frequently used disk blocks and files in main memory, so repeated accesses avoid slow disk I/O.buffer cache हाल में या बार-बार उपयोग हुए डिस्क ब्लॉक और फाइलों की प्रतियाँ मुख्य मेमोरी में रखता है, ताकि बार-बार पहुँच पर धीमे डिस्क I/O से बचा जा सके।
File manipulation operations in an operating system include:एक ऑपरेटिंग सिस्टम में फ़ाइल कार्यसाधन संचालन में शामिल होता हैं:
AAllocating memory to filesफ़ाइलों को मेमोरी आवंटित करना
BAssigning file names to processesप्रक्रियाओं को फ़ाइल नाम निर्दिष्ट करना
CLoading files into CPU registersसीपीयू रजिस्टरों में फ़ाइलें लोड करना
DReading, writing, and modifying file contentफ़ाइल सामग्री को पढ़ना, लिखना और संशोधित करना
Show answerHide answer
Correct answer: (D)Reading, writing, and modifying file contentफ़ाइल सामग्री को पढ़ना, लिखना और संशोधित करना
Explanation
File manipulation system calls include create, open, read, write, reposition and delete, which change a file's content. Memory allocation and CPU registers are not file operations.फाइल मैनिपुलेशन सिस्टम कॉल में create, open, read, write, reposition और delete शामिल हैं, जो फाइल की सामग्री बदलते हैं। मेमोरी आवंटन और CPU रजिस्टर फाइल संक्रियाएँ नहीं हैं।
The I/O subsystem in an operating system is responsible for:एक ऑपरेटिंग सिस्टम में I/O सबसिस्टम (उपप्रणाली) निम्नलिखित में से किसके लिए उत्तरदायी है?
AAllocating memory for processesप्रक्रियाओं के लिए मेमोरी आवंटित करने के लिए
BManaging the file systemफ़ाइल सिस्टम का प्रबंधन करने के लिए
CManaging input/output operations between processes and input/output devicesप्रक्रियाओं और इनपुट/आउटपुट डिवाइस के बीच इनपुट/आउटपुट संचालन का प्रबंधन करने के लिए
DAllocating CPU time to processesप्रक्रियाओं को CPU समय आवंटित करने के लिए
Show answerHide answer
Correct answer: (C)Managing input/output operations between processes and input/output devicesप्रक्रियाओं और इनपुट/आउटपुट डिवाइस के बीच इनपुट/आउटपुट संचालन का प्रबंधन करने के लिए
Explanation
The I/O subsystem manages communication between processes and devices: device drivers, buffering, caching, spooling and scheduling of input/output operations.I/O सबसिस्टम प्रोसेस और डिवाइसों के बीच संचार को प्रबंधित करता है: डिवाइस ड्राइवर, बफरिंग, कैशिंग, स्पूलिंग और इनपुट/आउटपुट संक्रियाओं की शेड्यूलिंग।
The primary goal of load control is to:लोड कण्ट्रोल का प्राथमिक उद्देश्य क्या है?
APrevent processes from running concurrentlyप्रक्रियाओं को एक साथ चलने से रोकना है।
BAvoid context switching between processesप्रक्रियाओं के बीच कांटेक्स्ट (संदर्भ) को बदलने से रोकना है।
CEnsure that CPU time is evenly distributed among processesइस बात को सुनिश्चित करना है कि प्रक्रियाओं के बीच CPU समय समान रूप से वितरित है।
DMaximize the usage of virtual memoryवर्चुअल मेमोरी का अधिकतम उपयोग करना है।
Show answerHide answer
Correct answer: (C)Ensure that CPU time is evenly distributed among processesइस बात को सुनिश्चित करना है कि प्रक्रियाओं के बीच CPU समय समान रूप से वितरित है।
Explanation
Load control decides how many processes are kept active in memory (the degree of multiprogramming). This prevents thrashing and keeps CPU time effectively shared among the processes.Load control तय करता है कि मेमोरी में कितने प्रोसेस सक्रिय रखे जाएँ (multiprogramming की डिग्री)। इससे thrashing रुकता है और CPU समय प्रोसेसों में प्रभावी ढंग से बँटता है।
The purpose of a page table in a paging system is to:पेजिंग सिस्टम में पेज टेबल का उद्देश्य क्या है?
AStore pages of memoryमेमोरी के पेज को संग्रहित करना
BManage input/output operationsइनपुट/आउटपुट संचालन को प्रबंधित करना
CTranslate virtual addresses to physical addressesआभासी एड्रेस(वर्चुअल एड्रेस) का भौतिक एड्रेस(फिजिकल एड्रेस) में अनुवाद करना
DStore program instructionsप्रोग्राम इंस्ट्रक्शन को सांग्रहित करना
Show answerHide answer
Correct answer: (C)Translate virtual addresses to physical addressesआभासी एड्रेस(वर्चुअल एड्रेस) का भौतिक एड्रेस(फिजिकल एड्रेस) में अनुवाद करना
Explanation
A page table maps each virtual page number to a physical frame number, so the MMU can translate virtual addresses into physical addresses.पेज टेबल हर वर्चुअल पेज नंबर को एक फिजिकल फ्रेम नंबर से जोड़ती है, ताकि MMU वर्चुअल एड्रेस को फिजिकल एड्रेस में बदल सके।
In multiprogramming with fixed partitions, if a process requires more memory than is available in a partition, it may lead to:निश्चित विभाजन के साथ मल्टीप्रोग्रामिंग में, यदि किसी प्रक्रिया को विभाजन में उपलब्ध मेमोरी से अधिक मेमोरी की आवश्यकता होती है, तो इसके परिणामस्वरूप क्या हो सकता है?
Fixed partitions waste memory: a small process leaves unused space inside its partition (internal fragmentation), and a process bigger than a free partition cannot use the space that is free.Fixed partition मेमोरी बर्बाद करते हैं: छोटा प्रोसेस अपने partition के अंदर खाली जगह छोड़ देता है (internal fragmentation), और खाली partition से बड़ा प्रोसेस उस खाली जगह का उपयोग नहीं कर सकता।
ADBMS is a collection of queriesDBMS प्रश्नों का एक संग्रह है।
B) DBMS is a high-level languageDBMS एक हाई लेवल लैंग्वेज है।
CDBMS is a programming languageDBMS एक प्रोग्रामिंग लैंग्वेज है।
DDBMS stores, modifies and retrieves dataDBMS डेटा को संग्रहीत, संशोधित और पुनर्प्राप्त करता है।
Show answerHide answer
Correct answer: (D)DBMS stores, modifies and retrieves dataDBMS डेटा को संग्रहीत, संशोधित और पुनर्प्राप्त करता है।
Explanation
A DBMS (Database Management System) is software that stores, modifies and retrieves data in a database. It is not a single language or just a set of queries.DBMS (Database Management System) एक सॉफ्टवेयर है जो डेटाबेस में डेटा संग्रहीत, संशोधित और पुनः प्राप्त करता है। यह केवल एक भाषा या क्वेरी का समूह नहीं है।
Which of the following is correct according to the technology deployed by DBMS?DBMS द्वारा प्रयुक्त तकनीक के अनुसार निम्नलिखित में से कौन सा सही है?
APointers are used to maintain transactional integrity and consistencyलेन-देन की इंटीग्रिटी और स्थिरता को बनाए रखने के लिए पॉइंटर्स का उपयोग किया जाता है।
BCursors are used to maintain transactional integrity and consistencyलेन-देन की इंटीग्रिटी और स्थिरता को बनाए रखने के लिए कर्सर का उपयोग किया जाता है।
CLocks are used to maintain transactional integrity and consistencyलेन-देन की इंटीग्रिटी और स्थिरता बनाए रखने के लिए लॉक्स ( ताले) का उपयोग किया जाता है।
DTriggers are used to maintain transactional integrity and consistencyलेन-देन की इंटीग्रिटी और स्थिरता को बनाए रखने के लिए ट्रिगर्स का उपयोग किया जाता है।
Show answerHide answer
Correct answer: (C)Locks are used to maintain transactional integrity and consistencyलेन-देन की इंटीग्रिटी और स्थिरता बनाए रखने के लिए लॉक्स ( ताले) का उपयोग किया जाता है।
Explanation
A DBMS uses locks (concurrency control) so concurrent transactions do not interfere with each other, which keeps the database consistent and transactions atomic and isolated.DBMS locks (concurrency control) का उपयोग करता है ताकि एक साथ चल रहे ट्रांजेक्शन एक-दूसरे में दखल न दें, जिससे डेटाबेस सुसंगत रहता है और ट्रांजेक्शन atomic और isolated रहते हैं।
NTFS stands for New Technology File System. It is the standard file system of Windows NT and later versions.NTFS का अर्थ है New Technology File System। यह Windows NT और उसके बाद के संस्करणों का मानक फाइल सिस्टम है।
Which of the following is a top-down approach in which the entity's higher level can be divided into two lower sub-entities?निम्नलिखित में से कौन सा एक टॉप-डाउन दृष्टिकोण है जिसमें इकाई के उच्च स्तर को दो निम्न उप-इकाईयों में विभाजित किया जा सकता है?
AAggregationऐग्रीगेशन
BGeneralizationजनरलाइजेशन
CSpecializationस्पेशलाइजेशन
DAll of the aboveउपरोक्त सभी
Show answerHide answer
Correct answer: (C)Specializationस्पेशलाइजेशन
Explanation
Specialization is top-down: a higher-level entity is split into lower-level sub-entities, for example Employee into Manager and Clerk. Generalization is the bottom-up reverse.Specialization टॉप-डाउन है: एक उच्च-स्तरीय एंटिटी को निम्न-स्तरीय उप-एंटिटी में बाँटा जाता है, जैसे Employee को Manager और Clerk में। Generalization इसका बॉटम-अप उल्टा रूप है।
BData flow documentडेटा फ़्लो डॉक्यूमेंट (डेटा प्रवाह दस्तावेज़)
CData flow diagramडेटा फ़्लो डाइग्राम (डेटा प्रवाह आरेख)
DNone of the aboveइनमे से कोई भी नहीं
Show answerHide answer
Correct answer: (C)Data flow diagramडेटा फ़्लो डाइग्राम (डेटा प्रवाह आरेख)
Explanation
DFD stands for Data Flow Diagram. It shows how data moves between processes, data stores and external entities.DFD का अर्थ है Data Flow Diagram। यह दिखाता है कि डेटा प्रोसेसों, डेटा स्टोरों और बाहरी एंटिटी के बीच कैसे प्रवाहित होता है।
FAT stands for File Allocation Table. This table records which disk clusters belong to each file in the FAT file system.FAT का अर्थ है File Allocation Table। यह तालिका FAT फाइल सिस्टम में दर्ज करती है कि कौन से डिस्क क्लस्टर किस फाइल के हैं।
The term "Data" refers to:"डेटा" शब्द का अर्थ क्या है?
AThe electronic representation of the information(or data)जानकारी (या डेटा) का इलेक्ट्रॉनिक प्रतिनिधित्व
BBasic informationमूल जानकारी
CRow Facts and figuresकच्चे तथ्य और आँकड़े
DBoth A and CA और C दोनों
Show answerHide answer
Correct answer: (C)Row Facts and figuresकच्चे तथ्य और आँकड़े
Explanation
Data means raw, unprocessed facts and figures. Once data is processed and given meaning, it becomes information.Data का अर्थ है कच्चे, अप्रसंस्कृत तथ्य और आँकड़े। जब डेटा को प्रोसेस करके अर्थ दे दिया जाता है, तो वह सूचना (information) बन जाता है।
What is the primary function of routing in the network layer?नेटवर्क लेयर में रूटिंग का प्राथमिक कार्य क्या है?
AData framingडेटा फ़्रेमिंग
BError correctionत्रुटि सुधार (एरर करेक्शन)
CFinding the best path for dataडेटा के लिए सर्वोत्तम मार्ग ढूँढना
DFlow controlप्रवाह नियंत्रण (फ्लो कण्ट्रोल)
Show answerHide answer
Correct answer: (C)Finding the best path for dataडेटा के लिए सर्वोत्तम मार्ग ढूँढना
Explanation
Routing at the network layer chooses the best path for packets from source to destination across interconnected networks.नेटवर्क लेयर में routing आपस में जुड़े नेटवर्कों के पार स्रोत से गंतव्य तक पैकेटों के लिए सबसे अच्छा रास्ता चुनती है।
What is a socket in the context of process-to-process communication?प्रोसेस-टू-प्रोसेस संचार के संदर्भ में सॉकेट क्या है?
AA hardware device for data transmissionडेटा संचरण के लिए एक हार्डवेयर डिवाइस
BA software interface for network communicationनेटवर्क संचार के लिए एक सॉफ्टवेयर इंटरफ़ेस
CA type of cable used for high-speed data transmissionतेज-गति के डेटा संचरण के लिए उपयोग की जाने वाली एक प्रकार की तार
Dtype of network topologyनेटवर्क टोपोलॉजी का प्रकार
Show answerHide answer
Correct answer: (B)A software interface for network communicationनेटवर्क संचार के लिए एक सॉफ्टवेयर इंटरफ़ेस
Explanation
A socket is a software endpoint (IP address + port) that a process uses to send and receive data over a network.सॉकेट एक सॉफ्टवेयर एंडपॉइंट (IP एड्रेस + पोर्ट) है जिसका उपयोग कोई प्रोसेस नेटवर्क पर डेटा भेजने और पाने के लिए करता है।
Parallel transmission sends several bits at the same time over multiple lines. Serial sends one bit at a time, and duplex modes describe direction, not the number of paths.Parallel transmission कई लाइनों पर एक साथ कई बिट भेजता है। Serial एक बार में एक बिट भेजता है, और duplex मोड दिशा बताते हैं, रास्तों की संख्या नहीं।
Which of the following is NOT a network topology?निम्नलिखित में से कौन सा नेटवर्क टोपोलॉजी नहीं है?
AStarस्टार
BRingरिंग
CDiskडिस्क
DMeshमैश
Show answerHide answer
Correct answer: (C)Diskडिस्क
Explanation
Star, ring and mesh are network topologies. "Disk" is a storage device, not a topology.Star, ring और mesh नेटवर्क टोपोलॉजी हैं। "Disk" एक स्टोरेज डिवाइस है, टोपोलॉजी नहीं।
Ethernet uses CSMA/CD, a contention-based MAC protocol where stations compete for the medium. Token Ring uses controlled access with a token.Ethernet CSMA/CD का उपयोग करता है, जो एक contention-आधारित MAC प्रोटोकॉल है जहाँ स्टेशन माध्यम के लिए प्रतिस्पर्धा करते हैं। Token Ring टोकन के साथ नियंत्रित पहुँच का उपयोग करता है।
ADividing data into framesडेटा को फ़्रेम में विभाजित करना
BManaging flow controlप्रवाह नियंत्रण(फ्लो कण्ट्रोल) का प्रबंध करना
CDetermining the best path for data packetsडेटा पैकेट के लिए सर्वोत्तम पथ निर्धारित करना
DCorrecting errors in data transmissionडेटा संचरण में त्रुटियों को ठीक करना
Show answerHide answer
Correct answer: (C)Determining the best path for data packetsडेटा पैकेट के लिए सर्वोत्तम पथ निर्धारित करना
Explanation
Routing decides the best path for data packets from source to destination using routing tables and algorithms. Framing and error correction belong to the data link layer.Routing राउटिंग टेबल और एल्गोरिथ्म की मदद से स्रोत से गंतव्य तक डेटा पैकेटों का सबसे अच्छा रास्ता तय करती है। Framing और error correction डेटा लिंक लेयर से संबंधित हैं।
What is the purpose of ARP (Address Resolution Protocol)?ARP (एड्रेस रेजोल्यूशन प्रोटोकॉल) का उद्देश्य क्या है?
ATo assign IP addresses to devicesडिवाइस को IP एड्रेस निर्दिष्ट करना
BTo resolve domain names to IP addressesडोमेन नेम को IP एड्रेस पर सही करना
CTo map MAC addresses to IP addressesमैक एड्रेस को IP एड्रेस पर मैप करना
DTo manage network congestionनेटवर्क कंजेशन को प्रबंधित करना
Show answerHide answer
Correct answer: (C)To map MAC addresses to IP addressesमैक एड्रेस को IP एड्रेस पर मैप करना
Explanation
ARP finds the MAC (hardware) address for a known IP address on a local network. DNS resolves names, and DHCP assigns IP addresses.ARP लोकल नेटवर्क पर ज्ञात IP एड्रेस के लिए MAC (हार्डवेयर) एड्रेस खोजता है। DNS नामों को हल करता है, और DHCP IP एड्रेस देता है।
Which software life cycle model allows for iterative development and incorporates risk analysis?कौन-सा सॉफ़्टवेयर जीवन चक्र मॉडल पुनरावृत्तीय विकास की अनुमति देता है और जोखिम विश्लेषण को शामिल करता है?
The Spiral model (Boehm) develops software in iterative loops, and each loop includes explicit risk analysis.Spiral मॉडल (Boehm) सॉफ्टवेयर को पुनरावृत्त लूपों में विकसित करता है, और हर लूप में स्पष्ट जोखिम विश्लेषण (risk analysis) शामिल होता है।
What is the main goal of software quality assurance?सॉफ़्टवेयर गुणवत्ता आश्वासन का मुख्य लक्ष्य क्या है?
ATo eliminate all defects from the softwareसॉफ्टवेयर से सभी दोषों को दूर करना
BTo ensure the software is defect-free before releaseयह सुनिश्चित करना कि जारी करने से पहले सॉफ़्टवेयर दोष-मुक्त है।
CTo establish and enforce standards and processes to improve software qualityसॉफ़्टवेयर गुणवत्ता में सुधार के लिए मानकों और प्रक्रियाओं को स्थापित करना और लागू करना
DTo test software under different conditionsविभिन्न परिस्थितियों में सॉफ्टवेयर का परीक्षण करना
Show answerHide answer
Correct answer: (C)To establish and enforce standards and processes to improve software qualityसॉफ़्टवेयर गुणवत्ता में सुधार के लिए मानकों और प्रक्रियाओं को स्थापित करना और लागू करना
Explanation
SQA sets up and enforces standards, processes and reviews so that quality is built into development. Removing every defect is not realistic.SQA मानक, प्रक्रियाएँ और समीक्षाएँ स्थापित और लागू करता है ताकि गुणवत्ता विकास में ही बनी रहे। हर दोष को हटाना व्यावहारिक नहीं है।
Reverse engineering is primarily used for:रिवर्स इंजीनियरिंग (अभियांत्रीकरण) का मुख्य रूप से उपयोग किया जाता है:
ACreating new software from scratchशुरुआत से नया सॉफ्टवेयर बनाने के लिए
BImproving software performanceसॉफ़्टवेयर प्रदर्शन को सुधरने में
CUnderstanding and documenting existing softwareमौजूदा सॉफ़्टवेयर को समझने और उसका दस्तावेज़ीकरण करने में
DTesting software componentsसॉफ़्टवेयर घटकों का परीक्षण करने में
Show answerHide answer
Correct answer: (C)Understanding and documenting existing softwareमौजूदा सॉफ़्टवेयर को समझने और उसका दस्तावेज़ीकरण करने में
Explanation
Reverse engineering analyses existing software to recover its design and specifications, mainly to understand and document legacy systems.Reverse engineering मौजूदा सॉफ्टवेयर का विश्लेषण करके उसका डिज़ाइन और विनिर्देश वापस पाती है, मुख्यतः पुराने (legacy) सिस्टम को समझने और दस्तावेज़ बनाने के लिए।
Which testing approach involves testing individual components or units of code?किस टेस्टिंग दृष्टिकोण में व्यक्तिगत घटकों या कोड की इकाइयों का परीक्षण शामिल है?
AIntegration Testingइंटीग्रेशन टेस्टिंग
BSystem Testingसिस्टम टेस्टिंग
CUnit Testingयूनिट टेस्टिंग
DAcceptance Testingएक्सेप्टनशन टेस्टिंग
Show answerHide answer
Correct answer: (C)Unit Testingयूनिट टेस्टिंग
Explanation
Unit testing checks individual modules, functions or classes in isolation, usually done by developers.Unit testing अलग-अलग मॉड्यूल, फलनों या क्लासों को अकेले जाँचती है, जो आमतौर पर डेवलपर करते हैं।
What is the main goal of System Testing?सिस्टम परीक्षण का मुख्य लक्ष्य क्या है?
ATesting individual components in isolationअलग-अलग घटकों का पृथक्क़रण में परीक्षण करना
BTesting the integration between different software componentsविभिन्न सॉफ़्टवेयर घटकों के बीच इंटीग्रेशन का परीक्षण करना
CTesting software functionality from the user's perspectiveउपयोगकर्ता के दृष्टिकोण से सॉफ़्टवेयर कार्यक्षमता का परीक्षण करना
DIdentifying defects in the source codeस्रोत कोड में दोषों की पहचान करना
Show answerHide answer
Correct answer: (C)Testing software functionality from the user's perspectiveउपयोगकर्ता के दृष्टिकोण से सॉफ़्टवेयर कार्यक्षमता का परीक्षण करना
Explanation
System testing checks the complete, integrated system against the requirements, testing its overall behaviour from the end user's point of view.System testing पूरे एकीकृत सिस्टम को आवश्यकताओं के विरुद्ध जाँचती है और अंतिम उपयोगकर्ता की दृष्टि से उसके समग्र व्यवहार को परखती है।
Which metric is used for estimating the size of a software project?किसी सॉफ़्टवेयर प्रोजेक्ट के आकार का अनुमान लगाने के लिए किस मीट्रिक का उपयोग किया जाता है?
Function Points measure software size from its functionality (inputs, outputs, inquiries, files, interfaces). Cyclomatic complexity measures code complexity, not project size.Function Points सॉफ्टवेयर का आकार उसकी कार्यक्षमता (इनपुट, आउटपुट, पूछताछ, फाइलें, इंटरफेस) से मापते हैं। Cyclomatic complexity कोड की जटिलता मापती है, प्रोजेक्ट का आकार नहीं।
What is the purpose of staffing level estimation in software project management?सॉफ्टवेयर प्रोजेक्ट मैनेजमेंट में कार्मिक व्यवस्था स्तर के आकलन का उद्देश्य क्या है?
ATo determine the number of hardware components requiredआवश्यक हार्डवेयर घटकों की संख्या निर्धारित करना
BTo identify potential risks in the projectपरियोजना में संभावित जोखिमों की पहचान करना
CTo allocate appropriate resources to the projectपरियोजना के लिए उचित संसाधन आवंटित करना
DTo estimate the maintenance costs of the softwareसॉफ़्टवेयर की रखरखाव लागत का अनुमान लगाना
Show answerHide answer
Correct answer: (B)To identify potential risks in the projectपरियोजना में संभावित जोखिमों की पहचान करना
Explanation
Note: the answer key gives (B), but staffing level estimation (for example the Norden/Putnam model) works out how many engineers are needed over the project's duration, which means allocating resources (C). Risk identification is a separate activity.नोट: आधिकारिक उत्तर कुंजी (B) देती है, लेकिन staffing level का अनुमान (जैसे Norden/Putnam मॉडल) यह निकालता है कि प्रोजेक्ट की अवधि में कितने इंजीनियर चाहिए, जो संसाधनों का आवंटन (C) है। जोखिम की पहचान एक अलग गतिविधि है।
Which keyword is used to create an instance of a class in most programming languages?अधिकांश प्रोग्रामिंग लैंग्वेज में क्लास का इंस्टेंस बनाने के लिए किस कीवर्ड का उपयोग किया जाता है?
Aallocalloc
Bnewnew
Ccreatecreate
Dinstanceinstance
Show answerHide answer
Correct answer: (B)newnew
Explanation
The "new" keyword creates (instantiates) an object of a class in Java, C++, C# and similar languages."new" कीवर्ड Java, C++, C# और ऐसी भाषाओं में किसी क्लास का ऑब्जेक्ट बनाता (instantiate करता) है।
What is an abstract class in OOP?OOP (ऑब्जेक्ट ओरिएंटेड प्रोग्रामिंग) में एक एब्सट्रैक्ट क्लास क्या है?
AA class with no methodsएक क्लास जिसमें कोई मेथड नहीं है।
BA class that cannot be instantiatedएक क्लास जिसका इंस्टेंस नहीं बनाया जा सकता
CA class that can only have private membersएक क्लास जिसमें केवल प्राइवेट मेम्बर हो सकते हैं।
DA class that cannot have methods with parametersएक क्लास जिसमें पैरामीटर के साथ विधियाँ नहीं हो सकतीं है।
Show answerHide answer
Correct answer: (B)A class that cannot be instantiatedएक क्लास जिसका इंस्टेंस नहीं बनाया जा सकता
Explanation
An abstract class cannot be instantiated directly. It may have abstract and concrete methods, and subclasses must implement its abstract methods.एब्सट्रैक्ट क्लास का सीधे instance नहीं बनाया जा सकता। उसमें abstract और concrete दोनों मेथड हो सकते हैं, और सबक्लास को उसके abstract मेथड लागू करने होते हैं।
What is the purpose of the "super" keyword in Java and other similar languages?जावा और अन्य समान लैंग्वेज में "super" कीवर्ड का उद्देश्य क्या होता है?
AIt refers to the superclass in inheritanceयह इनहेरिटेंस में सुपरक्लास को संदर्भित करता है।
BIt creates a new object instanceयह एक नया ऑब्जेक्ट इंस्टेंस बनाता है।
CIt defines a new classयह एक नये क्लास को परिभाषित करता है।
DIt handles exceptionsयह एक्सेप्शन को हैंडल करता है।
Show answerHide answer
Correct answer: (A)It refers to the superclass in inheritanceयह इनहेरिटेंस में सुपरक्लास को संदर्भित करता है।
Explanation
"super" refers to the immediate parent class. It is used to call the parent's constructor or methods and to access the parent's fields."super" निकटतम पैरेंट क्लास को संदर्भित करता है। इसका उपयोग पैरेंट का कंस्ट्रक्टर या मेथड कॉल करने और पैरेंट के फील्ड तक पहुँचने के लिए होता है।
Which of the following best defines a class?निम्नलिखित में से कौन एक क्लास को सर्वोत्तम रूप से परिभाषित करता है?
AAn instance of an objectकिसी ऑब्जेक्ट का एक इंस्टैंस
BA blueprint for creating objectsऑब्जेक्ट बनाने का एक ब्लूप्रिंट
CA variable holding dataएक वेरिएबल होल्डिंग डेटा
DA function with a return valueरिटर्न वैल्यू वाला एक फ़ंक्शन
Show answerHide answer
Correct answer: (B)A blueprint for creating objectsऑब्जेक्ट बनाने का एक ब्लूप्रिंट
Explanation
A class is a blueprint or template that defines data and methods. Objects are instances created from it.क्लास एक ब्लूप्रिंट या टेम्पलेट है जो डेटा और मेथड परिभाषित करता है। ऑब्जेक्ट उससे बने instance होते हैं।
Which principle ensures that only essential information is visible to the outside world?कौन-सा सिद्धांत यह सुनिश्चित करता है कि केवल आवश्यक जानकारी ही बाहरी दुनिया को दिखाई दे?
Information hiding hides internal implementation details, so only the essential interface is visible outside. Encapsulation is the mechanism (bundling plus access control) used to achieve it.Information hiding आंतरिक कार्यान्वयन का विवरण छिपाती है, ताकि बाहर केवल आवश्यक इंटरफेस दिखे। Encapsulation वह तंत्र (बंडलिंग और एक्सेस कंट्रोल) है जिससे इसे प्राप्त किया जाता है।
What is the main purpose of inheritance in OOP?OOP में इनहेरिटेंस का मुख्य उद्देश्य क्या है?
ATo create instances of classesक्लास के इंस्टैंस बनाना
BTo prevent data abstractionडेटा एब्सट्रैक्शन को रोकना
CTo establish a parent-child relationship between classesक्लास के बीच पैरेंट-चाइल्ड रिलेशनशीप स्थापित करना
DTo define exceptionsएक्सेप्शन को परिभाषित करना
Show answerHide answer
Correct answer: (C)To establish a parent-child relationship between classesक्लास के बीच पैरेंट-चाइल्ड रिलेशनशीप स्थापित करना
Explanation
Inheritance creates a parent-child (is-a) relationship, so a subclass reuses and extends the members of its parent class.Inheritance पैरेंट-चाइल्ड (is-a) संबंध बनाती है, जिससे सबक्लास अपने पैरेंट क्लास के सदस्यों को दोबारा उपयोग और विस्तारित करती है।
What are abstract methods?एब्सट्रैक्ट मेथड्स क्या हैं?
AMethods that are inaccessible to the outside worldवे मेथड्स जो बाहरी दुनिया के लिए अप्राप्य हैं।
BMethods that have implementation detailsवे मेथड्स जिनमें कार्यान्वयन विवरण हैं।
CMethods without a body, defined in an abstract classकिसी एब्सट्रैक्ट क्लास में परिभाषित बिना किसी बॉडी के मेथड्स
DMethods that cannot be inheritedवे मेथड्स जो इनहेरिटेड में नहीं मिल सकतीं हैं।
Show answerHide answer
Correct answer: (C)Methods without a body, defined in an abstract classकिसी एब्सट्रैक्ट क्लास में परिभाषित बिना किसी बॉडी के मेथड्स
Explanation
An abstract method is declared without a body, inside an abstract class (or interface). Concrete subclasses must provide its implementation.Abstract मेथड बिना बॉडी के, किसी abstract क्लास (या इंटरफेस) के अंदर घोषित होता है। Concrete सबक्लास को उसका कार्यान्वयन देना होता है।
Which protocol is commonly used for sending emails?ईमेल भेजने के लिए आमतौर पर किस प्रोटोकॉल का उपयोग किया जाता है?
A.HTTPS.HTTPS
BFTPFTP
CSMTPSMTP
DTCPTCP
Show answerHide answer
Correct answer: (C)SMTPSMTP
Explanation
SMTP (Simple Mail Transfer Protocol) sends email. POP3 or IMAP are used to retrieve it.SMTP (Simple Mail Transfer Protocol) ईमेल भेजता है। उसे प्राप्त करने के लिए POP3 या IMAP का उपयोग होता है।
CSS stands for Cascading Style Sheets. It is used to style and lay out HTML pages.CSS का अर्थ है Cascading Style Sheets। इसका उपयोग HTML पेजों की स्टाइलिंग और लेआउट के लिए होता है।
Which library simplifies JavaScript tasks like HTML document traversal and manipulation?कौन-सी लाइब्रेरी HTML डाक्यूमेंट्स ट्रैवर्सल और मैनीपुलेशन जैसे जावास्क्रिप्ट कार्यों को सरल बनाती है?
AJavaFXJavaFX
BBootstrapBootstrap
CReactReact
DjQueryjQuery
Show answerHide answer
Correct answer: (D)jQueryjQuery
Explanation
jQuery is a JavaScript library that simplifies HTML DOM traversal and manipulation, event handling and AJAX. Bootstrap is a CSS framework, and React is a UI library.jQuery एक JavaScript लाइब्रेरी है जो HTML DOM ट्रैवर्सल और मैनिपुलेशन, इवेंट हैंडलिंग और AJAX को सरल बनाती है। Bootstrap एक CSS फ्रेमवर्क है, और React एक UI लाइब्रेरी है।
AAsynchronous JavaScript and XMLअसिंक्रोनश जावास्क्रिप्ट और XML
BAutomated JavaScript and XHTMLऑटोमेटेड जावास्क्रिप्ट और XHTML
CAdvanced JavaScript and XMLएडवांस जावास्क्रिप्ट और XML
DAsynchronous JSON and XHTMLअसिंक्रोनश JSON और XHTML
Show answerHide answer
Correct answer: (A)Asynchronous JavaScript and XMLअसिंक्रोनश जावास्क्रिप्ट और XML
Explanation
AJAX stands for Asynchronous JavaScript and XML. It updates parts of a web page by exchanging data with the server in the background.AJAX का अर्थ है Asynchronous JavaScript and XML। यह पृष्ठभूमि में सर्वर से डेटा का आदान-प्रदान करके वेब पेज के कुछ हिस्सों को अपडेट करता है।
How does the DOM tree structure reflect the hierarchy of HTML elements?DOM ट्री स्ट्रक्चर HTML एलिमेंट के हायर्की को कैसे दर्शाती है?
AIn alphabetical orderवर्णमाला क्रम में
BBased on the element's sizeएलिमेंट-साइज़ के आधार पर
CIn a parent-child relationshipपैरेंट-चाइल्ड रिलेशनशिप में
DAccording to the element's colorएलिमेंट कलर के अनुसार
Show answerHide answer
Correct answer: (C)In a parent-child relationshipपैरेंट-चाइल्ड रिलेशनशिप में
Explanation
The DOM represents a document as a tree, with nested elements as parent and child nodes.DOM किसी दस्तावेज़ को एक ट्री के रूप में दर्शाता है, जिसमें नेस्टेड एलिमेंट पैरेंट और चाइल्ड नोड होते हैं।
In XML, which attribute is used to uniquely identify an element?XML में, किसी एलिमेंट की विशिष्ट पहचान के लिए किस विशेषता का उपयोग किया जाता है?
Aidid
Bclassclass
Cnamename
Dtagtag
Show answerHide answer
Correct answer: (A)idid
Explanation
The id attribute (an ID-type attribute) gives an element a unique identifier within the document. Class and name values can repeat.id एट्रिब्यूट (ID-प्रकार का एट्रिब्यूट) किसी एलिमेंट को दस्तावेज़ में एक अद्वितीय पहचानकर्ता देता है। Class और name के मान दोहराए जा सकते हैं।
The Kleene Star operation accepts the following string of finite length over set A = {0,1} | where string s contains even number of 0 and 1.क्लेन स्टार ऑपरेशन सेट A = {0,1} | पर परिमित लंबाई की निम्नलिखित स्ट्रिंग को स्वीकार करता है, जहां स्ट्रिंग s में 0 और 1 की सम संख्या है।
Each string must have an even count of both 0s and 1s. ε (0 and 0), 0011 (2 and 2) and 11001100 (4 and 4) all qualify. In 11001101, the counts of 1s (5) and 0s (3) are odd.हर स्ट्रिंग में 0 और 1 दोनों की संख्या सम होनी चाहिए। ε (0 और 0), 0011 (2 और 2) और 11001100 (4 और 4) सभी योग्य हैं। 11001101 में 1 (5) और 0 (3) की संख्या विषम है।
A Language for which DFA exist is a________एक भाषा, जिसके लिए DFA मौजूद होता है, वह ________ होती है।
ARegular Languageनियमित भाषा
BNon-Regular Languageअनियमित भाषा
CAny languageकोई भी भाषा
DCannot be saidकहा नहीं जा सकता है।
Show answerHide answer
Correct answer: (A)Regular Languageनियमित भाषा
Explanation
A language is regular exactly when some DFA (equivalently an NFA or regular expression) accepts it.कोई भाषा तभी regular होती है जब कोई DFA (या इसके समतुल्य NFA अथवा regular expression) उसे स्वीकार करे।
Let u=’1101’, v=’0001’, then uv=11010001 and vu= 00011101.Using the given information what is the identity element for the string?मान लीजिए u = '1101', v = '0001', तब uv = 11010001 और vu = 00011101। दी गई जानकारी का उपयोग करते हुए, स्ट्रिंग के लिए पहचान अवयव क्या है?
Au-1u-1
Bv-1v-1
Cu-1v-1u-1v-1
Dεε
Show answerHide answer
Correct answer: (D)εε
Explanation
For string concatenation, the empty string ε is the identity: uε = εu = u for every string u.स्ट्रिंग concatenation के लिए खाली स्ट्रिंग ε पहचान अवयव है: हर स्ट्रिंग u के लिए uε = εu = u।
For a DFA accepting binary numbers whose decimal equivalent is divisible by 3, what are all the possible remainders?द्विआधारी संख्याओं को स्वीकार करने वाले DFA के लिए, जिसका दशमलव समतुल्य 3 से विभाज्य है, सभी संभावित शेषफल क्या होते हैं?
A00
B0,20,2
C0,1,20,1,2
D0,1,2,30,1,2,3
Show answerHide answer
Correct answer: (C)0,1,20,1,2
Explanation
A number mod 3 can only leave remainder 0, 1 or 2, so the DFA has three states. The state for remainder 0 is the accepting one.किसी संख्या का mod 3 केवल शेषफल 0, 1 या 2 छोड़ सकता है, इसलिए DFA में तीन अवस्थाएँ होती हैं। शेषफल 0 वाली अवस्था स्वीकार करने वाली (accepting) होती है।
Minimum Number of states require to accept string ends with 101.101 के साथ समाप्त होने वाली स्ट्रिंग को स्वीकार करने के लिए आवश्यक अवस्थाओं की न्यूनतम संख्या है।
A33
B22
C11
Dcan’t be representedनिरूपित नहीं की जा सकती है।
Show answerHide answer
Correct answer: (B)22
Explanation
Note: the answer key gives (B), but a DFA (or NFA) for strings ending in "101" needs 4 states, tracking the progress ε, 1, 10, 101. Two states cannot remember the last three symbols.नोट: आधिकारिक उत्तर कुंजी (B) देती है, लेकिन "101" पर समाप्त होने वाली स्ट्रिंग के लिए DFA (या NFA) को 4 अवस्थाएँ चाहिए, जो प्रगति ε, 1, 10, 101 को ट्रैक करती हैं। दो अवस्थाएँ पिछले तीन प्रतीकों को याद नहीं रख सकतीं।
If NFA of 5 states excluding the initial state is converted into DFA, maximum possible number of states for the DFA is?यदि प्रारंभिक अवस्था को छोड़कर 5 अवस्थाओं के NFA को DFA में परिवर्तित किया जाता है, तो DFA के लिए अवस्थाओं की अधिकतम संभावित संख्या क्या है?
A6464
B3232
C128128
D187187
Show answerHide answer
Correct answer: (A)6464
Explanation
5 states plus the initial state is 6 NFA states. Subset construction can give at most 2^6 = 64 DFA states.5 अवस्थाएँ और प्रारंभिक अवस्था मिलाकर 6 NFA अवस्थाएँ हुईं। Subset construction से अधिकतम 2^6 = 64 DFA अवस्थाएँ बन सकती हैं।
Note: the answer key gives (D), but context-free languages are closed under union, concatenation and Kleene star (repeated concatenation). They are not closed under intersection (B), for example a^n b^n c^m ∩ a^m b^n c^n = a^n b^n c^n.नोट: आधिकारिक उत्तर कुंजी (D) देती है, लेकिन context-free भाषाएँ union, concatenation और Kleene star (बार-बार concatenation) के अंतर्गत संवृत (closed) हैं। वे intersection (B) के अंतर्गत संवृत नहीं हैं, उदाहरण के लिए a^n b^n c^m ∩ a^m b^n c^n = a^n b^n c^n।
Which among the following is not true about IoT?IoT के बारे में निम्नलिखित में से कौन-सा सत्य नहीं है?
AIoT uses Micro ControllersIoT माइक्रो कंट्रोलर्स (नियंत्रकों) का उपयोग करता है।
BIoT is fully safeIoT पूरी तरह से सुरक्षित है।
CIoT uses Sensors and ActuatorsIoT सेंसर और एक्चुएटर्स का उपयोग करता है।
DIoT uses wireless technologyIoT वायरलेस (तारहीन) तकनीक का उपयोग करता है।
Show answerHide answer
Correct answer: (B)IoT is fully safeIoT पूरी तरह से सुरक्षित है।
Explanation
IoT devices face many security threats (weak passwords, botnets, data leaks), so "IoT is fully safe" is false. The other statements are true.IoT उपकरणों को कई सुरक्षा खतरे हैं (कमजोर पासवर्ड, botnet, डेटा लीक), इसलिए "IoT पूरी तरह सुरक्षित है" गलत है। बाकी कथन सही हैं।
About IoT, which among the followings isnot correct?IoT के बारे में, निम्नलिखित में से कौन-सा सही नहीं है?
ALight sensor is analogप्रकाश सेंसर एनालॉग होता है।
Bmicrophone is a digital sensorमाइक्रोफ़ोन एक डिजिटल सेंसर है।
CKeyboard is a digital sensorकीबोर्ड एक डिजिटल सेंसर है।
DPush button is a digital Sensorपुश बटन एक डिजिटल सेंसर है।
Show answerHide answer
Correct answer: (B)microphone is a digital sensorमाइक्रोफ़ोन एक डिजिटल सेंसर है।
Explanation
A microphone gives a continuously varying analog signal, so calling it a digital sensor is incorrect. Push buttons and keyboards give on/off digital outputs.माइक्रोफोन लगातार बदलता एनालॉग सिग्नल देता है, इसलिए उसे डिजिटल सेंसर कहना गलत है। पुश बटन और कीबोर्ड ऑन/ऑफ डिजिटल आउटपुट देते हैं।
ABluetooth large energyब्लूटूथ अधिक ऊर्जा (ब्लूटूथ लार्ज एनर्जी)
BBluetooth low energyब्लूटूथ निम्न ऊर्जा (ब्लूटूथ लो एनर्जी)
CBluetooth light energyब्लूटूथ प्रकाश ऊर्जा
DBluetooth long energyब्लूटूथ दीर्घ ऊर्जा
Show answerHide answer
Correct answer: (B)Bluetooth low energyब्लूटूथ निम्न ऊर्जा (ब्लूटूथ लो एनर्जी)
Explanation
BLE stands for Bluetooth Low Energy (Bluetooth Smart). It is a low-power version of Bluetooth widely used in IoT devices.BLE का अर्थ है Bluetooth Low Energy (Bluetooth Smart)। यह Bluetooth का कम-शक्ति वाला संस्करण है जो IoT उपकरणों में व्यापक रूप से उपयोग होता है।
How to use these Bihar STET Computer Science questions
Every question here was asked in a real Bihar STET paper; the paper and shift are shown on the card, and the number opens the question on its own page. Try each one before tapping Show answer, then attempt the full Bihar STET papers as timed tests to check your speed under exam conditions.