Connection restored!
Notification Center
Loading notifications...
Loading announcements...
INCOMING 1v1 DUEL! 10:00
@friend challenged you!
Topic · Room #HQ-0000
Accept & Join
Mention Scholar ↑↓ Enter / Click
Last time you were studying on Page 2.
STUDY & LEARNING DECK

Govt Exam PYQs

Showing 25 of 4040 total questions (Latest Added First).

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

Try clearing filters or unchecking "Saved" / "Hide".

Question 1951 NEW
📜 PYQs EASY
JavaScript is primarily designed as a ________ scripting language that runs directly inside web browsers without preliminary compilation.
जावास्क्रिप्ट मुख्य रूप से एक ________ स्क्रिप्टिंग भाषा है जो बिना पूर्व कंपाइलेशन के सीधे वेब ब्राउज़र के अंदर चलती है।
A
Client-side
क्लाइंट-साइड
Correct
B
Assembly-level
असेंबली-लेवल
C
Machine-level
मशीन-लेवल
D
Hardware-only
केवल हार्डवेयर
Solution Breakdown:
-> JavaScript is an interpreted client-side scripting language embedded directly in web pages to make them interactive (though with Node.js, it can now also run on servers). -> Hence, Option (A) is the correct answer.
-> जावास्क्रिप्ट एक इंटरप्रेटेड क्लाइंट-साइड स्क्रिप्टिंग भाषा है जो वेब पेजों को इंटरैक्टिव बनाती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1952 NEW
📜 PYQs EASY
What is the official standardized specification name of JavaScript?
जावास्क्रिप्ट का आधिकारिक मानकीकृत नाम क्या है?
A
WireScript
वायरस्क्रिप्ट
B
JavaLite
जावालाइट
C
ECMAScript
एकमास्क्रिप्ट
Correct
D
WebScript
वेबस्क्रिप्ट
Solution Breakdown:
-> JavaScript is officially standardized by Ecma International under the specification name "ECMAScript" (such as ES6 -> Hence, Option (C) is the correct answer.
-> ES2015). / जावास्क्रिप्ट का आधिकारिक मानक नाम 'एकमास्क्रिप्ट' (ECMAScript) है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1953 NEW
📜 PYQs EASY
Who invented the "JavaScript" programming language in 1995 (originally named "LiveScript")?
1995 में "जावास्क्रिप्ट" प्रोग्रामिंग भाषा का आविष्कार किसने किया था (जिसे शुरू में "लाइवस्क्रिप्ट" कहा गया)?
A
James Gosling
जेम्स गोसलिंग
B
Tim Berners-Lee
टिम बर्नर्स-ली
C
Brendan Eich
ब्रेंडन ईच
Correct
D
Linus Torvalds
लिनस टोरवाल्ड्स
Solution Breakdown:
-> Brendan Eich created JavaScript in just 10 days at Netscape in 1995. It was first called Mocha, then LiveScript, and finally renamed JavaScript. -> Hence, Option (C) is the correct answer.
-> ब्रेंडन ईच ने 1995 में नेटस्केप में जावास्क्रिप्ट का आविष्कार किया था, जिसका शुरुआती नाम लाइवस्क्रिप्ट था। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1954 NEW
📜 PYQs MEDIUM
Why does Java NOT support "Multiple Inheritance" using classes (i.e., a class cannot extend two parent classes directly)?
जावा क्लासेस के माध्यम से "मल्टीपल इनहेरिटेंस" को सपोर्ट क्यों नहीं करता?
A
Because Java is not object-oriented
क्योंकि जावा ऑब्जेक्ट-ओरिएंटेड नहीं है
B
To avoid ambiguity and complexity such as the "Diamond Problem" (achieved cleanly via Interfaces instead)
"डायमंड प्रॉब्लम" जैसी अस्पष्टता और जटिलता से बचने के लिए (इसके बजाय इंटरफेस का उपयोग किया जाता है)
Correct
C
Because Java cannot use constructors
क्योंकि जावा में कंस्ट्रक्टर नहीं होते
D
Because Java only runs on Windows
क्योंकि जावा केवल विंडोज़ पर चलता है
Solution Breakdown:
-> If two parent classes had methods with the same name, the child class wouldn't know which one to inherit. Java solves this cleanly by allowing a class to implement multiple Interfaces. -> Hence, Option (B) is the correct answer.
-> दो पैरेंट क्लासेस में समान नाम के मेथड होने से उत्पन्न होने वाले भ्रम (डायमंड प्रॉब्लम) से बचने के लिए जावा में एक क्लास केवल एक ही क्लास को एक्सटेंड कर सकती है, लेकिन कई इंटरफेस लागू कर सकती है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1955 NEW
📜 PYQs EASY
Which keyword in Java is used to inherit properties and methods from a parent class?
जावा में किसी पैरेंट क्लास से गुणों और मेथड्स को इनहेरिट करने के लिए किस कीवर्ड का उपयोग किया जाता है?
A
`inherits`
`inherits`
B
`extends`
`extends`
Correct
C
`implements`
`implements`
D
`super`
`super`
Solution Breakdown:
-> In Java, a class uses `extends` to inherit from another class (e.g., `class Dog extends Animal`), and `implements` to implement an Interface. -> Hence, Option (B) is the correct answer.
-> जावा में एक क्लास दूसरी क्लास को इनहेरिट करने के लिए `extends` और इंटरफेस को लागू करने के लिए `implements` कीवर्ड का उपयोग करती है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1956 NEW
📜 PYQs MEDIUM
What is the difference between JDK, JRE, and JVM in Java?
जावा में JDK, JRE और JVM के बीच क्या अंतर है?
A
JDK is for developing Java apps (includes compiler & JRE), JRE is for running Java apps (includes libraries & JVM), and JVM executes Bytecode
JDK विकास के लिए (कंपाइलर व JRE सहित), JRE चलाने के लिए (लाइब्रेरी व JVM सहित), और JVM बाइटकोड निष्पादित करता है
Correct
B
All three are identical
तीनों बिल्कुल एक समान हैं
C
JVM is larger than JDK
JVM, JDK से बड़ा होता है
D
JRE is a web browser
JRE एक वेब ब्राउज़र है
Solution Breakdown:
-> Hierarchy: `JDK = JRE + Development Tools (javac, debugger)` and `JRE = JVM + Standard Class Libraries`. Developers install the JDK, while end-users only need the JRE. -> Hence, Option (A) is the correct answer.
-> डेवलपर्स को कोडिंग व कंपाइल करने के लिए JDK चाहिए, जबकि सामान्य उपयोगकर्ता को केवल जावा ऐप चलाने के लिए JRE की आवश्यकता होती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1957 NEW
📜 PYQs EASY
Which programming language is historically the primary official language for native Android mobile app development (alongside Kotlin)?
कोटलिन के साथ-साथ नेटिव एंड्रॉइड मोबाइल ऐप डेवलपमेंट की प्रमुख आधिकारिक भाषा कौन सी है?
A
COBOL
कोबोल
B
FORTRAN
फोरट्रान
C
Java
जावा
Correct
D
Pascal
पास्कल
Solution Breakdown:
-> Java has been the foundational language for Android app development since Android's launch, running on Android's runtime (ART/Dalvik). -> Hence, Option (C) is the correct answer.
-> एंड्रॉइड की शुरुआत से ही जावा एंड्रॉइड मोबाइल एप्लिकेशन बनाने की प्रमुख भाषा रही है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1958 NEW
📜 PYQs EASY
What is the full form of "JVM" in Java?
जावा में "JVM" का पूर्ण रूप क्या है?
A
Java Visual Monitor
जावा विजुअल मॉनिटर
B
Java Variable Manager
जावा वेरिएबल मैनेजर
C
Java Virtual Machine
जावा वर्चुअल मशीन
Correct
D
Java Version Module
जावा वर्जन मॉड्यूल
Solution Breakdown:
-> The Java Virtual Machine (JVM) is an abstract computing engine that provides the runtime environment to convert Java Bytecode into native machine instructions for the host CPU. -> Hence, Option (C) is the correct answer.
-> जावा वर्चुअल मशीन (JVM) वह रन-टाइम इंजन है जो जावा बाइटकोड को होस्ट कंप्यूटर की मशीन भाषा में बदलकर निष्पादित करता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1959 NEW
📜 PYQs EASY
When Java source code (`.java`) is compiled by `javac`, what intermediate code is generated?
जब जावा सोर्स कोड (`.java`) को `javac` द्वारा कंपाइल किया जाता है, तो कौन सा मध्यवर्ती कोड बनता है?
A
Assembly Code
असेंबली कोड
B
Bytecode
बाइटकोड
Correct
C
ASCII Code
एएससीआईआई कोड
D
Native Machine Code
नेटिव मशीन कोड
Solution Breakdown:
-> The Java compiler converts `.java` source files into platform-independent Bytecode (`.class` files). This bytecode is then executed on any operating system by the Java Virtual Machine (JVM). -> Hence, Option (B) is the correct answer.
-> जावा कंपाइलर सोर्स कोड को प्लेटफॉर्म-इंडिपेंडेंट बाइटकोड (`.class`) में बदलता है, जिसे JVM किसी भी ऑपरेटिंग सिस्टम पर चला सकता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1960 NEW
📜 PYQs EASY
Who developed the Java programming language at Sun Microsystems (initially released in 1995)?
सन माइक्रोसिस्टम्स में जावा प्रोग्रामिंग भाषा का विकास किसने किया था (जिसे 1995 में रिलीज़ किया गया)?
A
Dennis Ritchie
डेनिस रिची
B
James Gosling
जेम्स गोसलिंग
Correct
C
Brendan Eich
ब्रेंडन ईच
D
Bjarne Stroustrup
ब्योर्न स्ट्राउस्ट्रप
Solution Breakdown:
-> Java was created by James Gosling and his team at Sun Microsystems (later acquired by Oracle). Its famous motto is "Write Once, Run Anywhere" (WORA) because of platform independence. -> Hence, Option (B) is the correct answer.
-> जावा का विकास जेम्स गोसलिंग ने सन माइक्रोसिस्टम्स में किया था। अपनी प्लेटफॉर्म इंडिपेंडेंस के कारण इसका प्रसिद्ध सिद्धांत "Write Once, Run Anywhere" है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1961 NEW
Most Important EASY
Which statement best summarizes the relationship between C and C++?
कौन सा कथन C और C++ के बीच के संबंध का सबसे अच्छा सारांश है?
A
C++ is an object-oriented extension of C that adds classes, objects, inheritance, polymorphism, and templates while retaining C's high performance
C++, C का एक ऑब्जेक्ट-ओरिएंटेड विस्तार है जो C की उच्च गति को बनाए रखते हुए क्लासेस, ऑब्जेक्ट्स, इनहेरिटेंस और टेम्पलेट्स जोड़ता है
Correct
B
C++ was invented before C
C++ का आविष्कार C से पहले हुआ था
C
C++ is an interpreted scripting language
C++ एक इंटरप्रेटेड स्क्रिप्टिंग भाषा है
D
C++ cannot run on Windows
C++ विंडोज़ पर नहीं चल सकता
Solution Breakdown:
-> C++ combines low-level speed with high-level OOP abstractions, making it the top choice for game engines, browsers, and high-performance systems. -> Hence, Option (A) is the correct answer.
-> C++ अपनी तेज़ गति और OOP विशेषताओं के कारण गेम इंजन और हाई-परफॉर्मेंस सॉफ्टवेयर बनाने में प्रमुखता से उपयोग होता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1962 NEW
Most Important MEDIUM
Match the C++ Feature with its Syntax/Keyword: 1. Scope Resolution — (a) `virtual void f() = 0;` 2. Pure Virtual Function — (b) `::` 3. Dynamic Array Deallocation — (c) `try { ... } catch { ... }` 4. Exception Handling — (d) `delete[]`
C++ फीचर को उसके सिंटैक्स/कीवर्ड से सुमेलित करें: 1. स्कोप रिज़ॉल्यूशन — (a) `virtual void f() = 0;` 2. प्योर वर्चुअल फंक्शन — (b) `::` 3. डायनामिक एरे डी-एलोकेशन — (c) `try { ... } catch { ... }` 4. एक्सेप्शन हैंडलिंग — (d) `delete[]`
A
1-a, 2-b, 3-c, 4-d
1-a, 2-b, 3-c, 4-d
B
1-b, 2-d, 3-a, 4-c
1-b, 2-d, 3-a, 4-c
C
1-b, 2-a, 3-d, 4-c
1-b, 2-a, 3-d, 4-c
Correct
D
1-c, 2-a, 3-d, 4-b
1-c, 2-a, 3-d, 4-b
Solution Breakdown:
-> Correct matches: Scope Resolution (`::`), Pure Virtual (`= 0`), Dynamic Array Deallocation (`delete[]`), Exception Handling (`try...catch`). -> Hence, Option (C) is the correct answer.
-> सही मिलान: 1-b, 2-a, 3-d, 4-c। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1963 NEW
Most Important MEDIUM
Match the Data Structure with its Primary Application: 1. Stack — (a) Print Spooler & BFS Traversal 2. Queue — (b) Undo (`Ctrl+Z`) & Recursion Call Stack 3. Binary Search Tree — (c) Fast $O(1)$ Key-Value Lookup 4. Hash Table — (d) Fast Sorted Data Retrieval (Inorder)
डेटा स्ट्रक्चर को उसके मुख्य अनुप्रयोग से सुमेलित करें: 1. स्टैक — (a) प्रिंट स्पूलर और BFS ट्रैवर्सल 2. क्यू — (b) अनडू (`Ctrl+Z`) और रिकर्शन कॉल स्टैक 3. बाइनरी सर्च ट्री — (c) तेज़ $O(1)$ की-वैल्यू खोज 4. हैश टेबल — (d) तेज़ सॉर्टेड डेटा प्राप्ति (इनऑर्डर)
A
1-a, 2-b, 3-c, 4-d
1-a, 2-b, 3-c, 4-d
B
1-b, 2-a, 3-d, 4-c
1-b, 2-a, 3-d, 4-c
Correct
C
1-b, 2-d, 3-a, 4-c
1-b, 2-d, 3-a, 4-c
D
1-d, 2-a, 3-b, 4-c
1-d, 2-a, 3-b, 4-c
Solution Breakdown:
-> Correct matches: Stack (Undo/Recursion), Queue (Print Spooler/BFS), BST (Sorted Inorder), Hash Table ($O(1)$ lookup). -> Hence, Option (B) is the correct answer.
-> सही मिलान: 1-b, 2-a, 3-d, 4-c। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1964 NEW
Most Important MEDIUM
What is a "Circular Linked List"?
"सर्कुलर लिंक्ड लिस्ट" क्या होती है?
A
A linked list whose LAST node points back to the FIRST (Head) node instead of `NULL`
ऐसी लिंक्ड लिस्ट जिसका अंतिम नोड `NULL` के बजाय वापस पहले (हेड) नोड की ओर संकेत करता है
Correct
B
A linked list with only 1 node
केवल 1 नोड वाली लिंक्ड लिस्ट
C
A sorted array
एक सॉर्टेड एरे
D
A binary tree
एक बाइनरी ट्री
Solution Breakdown:
-> Circular Linked Lists allow continuous looping through all nodes (commonly used in Round Robin OS scheduling and music playlists). -> Hence, Option (A) is the correct answer.
-> सर्कुलर लिंक्ड लिस्ट में अंतिम नोड पहले नोड से जुड़ा होता है, जिससे यह एक चक्र (लूप) बनाती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1965 NEW
Most Important EASY
In C++, which operator is used with `cin` to read input from the keyboard?
C++ में कीबोर्ड से इनपुट पढ़ने के लिए `cin` के साथ किस ऑपरेटर का उपयोग किया जाता है?
A
`<<`
`<<`
B
`>>`
`>>`
Correct
C
`::`
`::`
D
`->`
`->`
Solution Breakdown:
-> `cin >> x;` uses the Extraction (get-from) operator `>>`, whereas `cout << x;` uses the Insertion (put-to) operator `<<`. -> Hence, Option (B) is the correct answer.
-> इनपुट के लिए `cin` के साथ `>>` और आउटपुट के लिए `cout` के साथ `<<` का उपयोग होता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1966 NEW
Most Important MEDIUM
What is the guaranteed worst-case Time Complexity of "Merge Sort"?
"मर्ज सॉर्ट" की निश्चित वर्स्ट-केस टाइम कॉम्प्लेक्सिटी क्या होती है?
A
$O(n^2)$
$O(n^2)$
B
$O(n \log n)$
$O(n \log n)$
Correct
C
$O(n)$
$O(n)$
D
$O(1)$
$O(1)$
Solution Breakdown:
-> Merge Sort uses Divide and Conquer to consistently deliver $O(n \log n)$ performance in best, average, and worst cases (at the cost of $O(n)$ extra memory). -> Hence, Option (B) is the correct answer.
-> मर्ज सॉर्ट हर स्थिति में $O(n \log n)$ की स्थिर और तेज़ गति प्रदान करता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1967 NEW
Most Important MEDIUM
What is the worst-case Time Complexity of "Bubble Sort", "Selection Sort", and "Insertion Sort"?
बबल सॉर्ट, सेलेक्शन सॉर्ट और इंसर्शन सॉर्ट की वर्स्ट-केस टाइम कॉम्प्लेक्सिटी क्या होती है?
A
$O(n^2)$
$O(n^2)$
Correct
B
$O(\log n)$
$O(\log n)$
C
$O(1)$
$O(1)$
D
$O(n \log n)$
$O(n \log n)$
Solution Breakdown:
-> Simple nested-loop sorting algorithms (Bubble, Selection, Insertion) take $O(n^2)$ time in the worst case, whereas Merge Sort guarantees $O(n \log n)$. -> Hence, Option (A) is the correct answer.
-> साधारण सॉर्टिंग एल्गोरिदम (बबल, सेलेक्शन, इंसर्शन) की वर्स्ट-केस टाइम कॉम्प्लेक्सिटी $O(n^2)$ होती है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1968 NEW
Most Important EASY
Which of the following is the ODD one out?
निम्नलिखित में से कौन सा विषम है?
A
Array
एरे
B
Stack
स्टैक
C
Queue
क्यू
D
Graph
ग्राफ
Correct
Solution Breakdown:
-> Array, Stack, and Queue are Linear data structures, whereas Graph is a Non-Linear data structure. -> Hence, Option (D) is the correct answer.
-> एरे, स्टैक और क्यू लीनियर हैं, जबकि ग्राफ एक नॉन-लीनियर डेटा स्ट्रक्चर है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 1969 NEW
Most Important MEDIUM
Evaluate the following statements about Data Structures: (I) A Stack follows LIFO order and uses only one end (`Top`). (II) A Queue follows FIFO order and uses two ends (`Front` and `Rear`).
डेटा स्ट्रक्चर के बारे में निम्नलिखित कथनों का मूल्यांकन करें: (I) स्टैक LIFO क्रम का पालन करता है और केवल एक सिरे का उपयोग करता है। (II) क्यू FIFO क्रम का पालन करता है और दो सिरों का उपयोग करता है।
A
Only (I) is true
केवल (I) सत्य है
B
Only (II) is true
केवल (II) सत्य है
C
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
Correct
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Solution Breakdown:
-> Both statements accurately summarize the core structural difference between Stacks and Queues. -> Hence, Option (C) is the correct answer.
-> दोनों कथन स्टैक और क्यू के बीच के मूलभूत अंतर को बिल्कुल सही दर्शाते हैं। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 1970 NEW
Most Important MEDIUM
Evaluate the following statements about C++: (I) A class in C++ can hold both data members and member functions. (II) All members of a C++ class are `public` by default.
C++ के बारे में निम्नलिखित कथनों का मूल्यांकन करें: (I) C++ में एक क्लास में डेटा सदस्य और मेंबर फंक्शन दोनों हो सकते हैं। (II) C++ क्लास के सभी सदस्य डिफ़ॉल्ट रूप से पब्लिक होते हैं।
A
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
B
Only (I) is true
केवल (I) सत्य है
Correct
C
Only (II) is true
केवल (II) सत्य है
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Solution Breakdown:
-> Statement (I) is true. Statement (II) is false because C++ class members are `private` by default (`struct` members are `public` by default). -> Hence, Option (B) is the correct answer.
-> कथन (I) सत्य है, जबकि C++ क्लास के सदस्य डिफ़ॉल्ट रूप से `private` होते हैं। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1971 NEW
Most Important MEDIUM
What is a "Friend Function" in C++?
C++ में "फ्रेंड फंक्शन" क्या होता है?
A
A non-member function declared with the `friend` keyword that is granted special permission to access a class's `private` and `protected` members
`friend` कीवर्ड से घोषित एक नॉन-मेंबर फंक्शन जिसे किसी क्लास के प्राइवेट और प्रोटेक्टेड सदस्यों को एक्सेस करने की विशेष अनुमति होती है
Correct
B
A function with no name
बिना नाम वाला फंक्शन
C
A constructor
एक कंस्ट्रक्टर
D
A recursive function
एक रिकर्सिव फंक्शन
Solution Breakdown:
-> A friend function is not a member of the class, yet it can inspect private data of two different classes (often used in operator overloading). -> Hence, Option (A) is the correct answer.
-> फ्रेंड फंक्शन क्लास का सदस्य न होते हुए भी उसके प्राइवेट डेटा को एक्सेस कर सकता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 1972 NEW
Most Important MEDIUM
In C++, what does the STL stand for (providing ready-made containers like `vector`, `stack`, `queue`, and `map`)?
C++ में "STL" का पूर्ण रूप क्या है (जो `vector`, `stack`, `queue` और `map` जैसे तैयार कंटेनर प्रदान करता है)?
A
System Type Language
सिस्टम टाइप लैंग्वेज
B
Standard Template Library
स्टैंडर्ड टेम्पलेट लाइब्रेरी
Correct
C
Simple Text Loader
सिंगल टेक्स्ट लोडर
D
Static Thread Link
स्टैटिक थ्रेड लिंक
Solution Breakdown:
-> The C++ Standard Template Library (STL) provides generic, highly optimized data structures (containers) and algorithms (`sort`, `binary_search`). -> Hence, Option (B) is the correct answer.
-> STL (स्टैंडर्ड टेम्पलेट लाइब्रेरी) C++ में पहले से बने डेटा स्ट्रक्चर और एल्गोरिदम प्रदान करती है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1973 NEW
Most Important MEDIUM
What is the main advantage of a "Circular Queue" over a simple linear array-based Queue?
साधारण लीनियर एरे-आधारित क्यू की तुलना में "सर्कुलर क्यू" का मुख्य लाभ क्या है?
A
It uses less CPU clock speed
यह कम CPU गति लेता है
B
It connects the rear back to the front, efficiently reusing empty spaces left behind after deletions
यह रियर को वापस फ्रंट से जोड़ देता है, जिससे डिलीशन के बाद खाली हुई जगह का कुशलतापूर्वक पुनः उपयोग होता है
Correct
C
It converts FIFO to LIFO
यह FIFO को LIFO में बदलता है
D
It never overflows
यह कभी ओवरफ्लो नहीं होता
Solution Breakdown:
-> In a linear array queue, once `rear` reaches the end, no new items can be added even if `front` slots are empty. A Circular Queue wraps around using modulo arithmetic to prevent wasted space. -> Hence, Option (B) is the correct answer.
-> सर्कुलर क्यू में पिछला सिरा अगले सिरे से जुड़ा होता है, जिससे खाली हुए स्थानों का दोबारा उपयोग हो पाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1974 NEW
Most Important EASY
What is a "Priority Queue"?
"प्रायोरिटी क्यू" क्या होता है?
A
A queue where elements are removed strictly by arrival time
ऐसा क्यू जहाँ तत्व केवल आने के समय से हटते हैं
B
A special queue where every element has a priority, and the element with the HIGHEST priority is always served/removed first
एक विशेष क्यू जहाँ हर तत्व की एक प्राथमिकता होती है और सबसे उच्च प्राथमिकता वाला तत्व सबसे पहले बाहर निकलता है
Correct
C
A stack of integers
पूर्णांकों का एक स्टैक
D
A circular array
एक सर्कुलर एरे
Solution Breakdown:
-> Priority Queues are typically implemented using a Binary Heap and are used in OS CPU scheduling and Dijkstra's shortest-path algorithm. -> Hence, Option (B) is the correct answer.
-> प्रायोरिटी क्यू में सबसे अधिक प्राथमिकता वाले तत्व को पहले प्रोसेस किया जाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 1975 NEW
Most Important MEDIUM
What is a "Hash Table" (Hash Map) primarily famous for in Data Structures?
डेटा स्ट्रक्चर में "हैश टेबल" मुख्य रूप से किसके लिए प्रसिद्ध है?
A
Providing ultra-fast $O(1)$ average-case time complexity for searching, inserting, and deleting key-value pairs
की-वैल्यू जोड़ों को खोजने, जोड़ने और हटाने के लिए औसत $O(1)$ की अत्यधिक तेज़ गति प्रदान करने के लिए
Correct
B
Sorting data alphabetically
डेटा को वर्णमाला क्रम में सॉर्ट करने के लिए
C
Drawing flowcharts
फ्लोचार्ट बनाने के लिए
D
Storing sequential audio
क्रमिक ऑडियो स्टोर करने के लिए
Solution Breakdown:
-> A Hash Function converts a key directly into an array index, enabling instant $O(1)$ lookups (used in Python Dictionaries and Java HashMaps). -> Hence, Option (A) is the correct answer.
-> हैश फंक्शन कुंजी को सीधे एरे इंडेक्स में बदल देता है, जिससे $O(1)$ समय में तुरंत डेटा मिल जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Prev 77 78 79 80 81 Next
ESSENTIAL STUDY KIT

Master Govt Exam PYQs Faster with Recommended Resources

Pair your daily MCQ practice with these educator-picked books, practice sets, and typing gear tailored for this syllabus.

Visit Exam Store
Dell KB216 Wired Multimedia USB Keyboard (Black)
Typing Keyboards Best for Mangal Typing Amazon
Dell KB216 Wired Multimedia USB Keyboard (Black)

Soft chiclet keys and zero lag — the best keyboard for UPP Computer Operator and DSSSB 40+ WPM Hindi/English typing tests.

₹299 ₹999 70% OFF
Affiliate Disclosure: HappyQuiz may earn a small commission on qualifying purchases at no extra cost to you.
Saved to your dashboard!