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 Filtered: Most Important

Govt Exam PYQs

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

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

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

Question 651 NEW
Most Important EASY
Which statement best summarizes the difference between Low-Level Languages and High-Level Languages?
कौन सा कथन लो-लेवल लैंग्वेज और हाई-लेवल लैंग्वेज के बीच के अंतर का सबसे अच्छा सारांश है?
A
Low-Level Languages are hardware-specific and fast but hard to write, whereas High-Level Languages are human-friendly, portable, and require a compiler/interpreter
लो-लेवल भाषाएँ हार्डवेयर-विशिष्ट और तेज़ लेकिन लिखने में कठिन होती हैं, जबकि हाई-लेवल भाषाएँ मानव-अनुकूल व पोर्टेबल होती हैं और उन्हें कंपाइलर/इंटरप्रेटर की आवश्यकता होती है
Correct
B
Low-Level Languages are written in English sentences
लो-लेवल भाषाएँ अंग्रेजी वाक्यों में लिखी जाती हैं
C
High-Level Languages run directly on the CPU without translation
हाई-लेवल भाषाएँ बिना अनुवाद के सीधे CPU पर चलती हैं
D
Both are completely identical
दोनों बिल्कुल एक समान हैं
Solution Breakdown:
-> Low-level languages prioritize direct hardware control and raw speed, while high-level languages prioritize developer speed, readability, and cross-platform portability. -> Hence, Option (A) is the correct answer.
-> लो-लेवल भाषाएँ सीधे हार्डवेयर नियंत्रण व गति देती हैं, जबकि हाई-लेवल भाषाएँ आसान कोडिंग और पोर्टेबिलिटी प्रदान करती हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 652 NEW
Most Important MEDIUM
Match the Algorithmic Technique with its Core Idea: 1. Divide and Conquer — (a) Stores sub-problem answers to avoid recalculating 2. Greedy Algorithm — (b) Tries all possible solutions exhaustively 3. Dynamic Programming — (c) Picks the best immediate local choice at each step 4. Brute Force — (d) Splits problem into smaller sub-problems and merges results
एल्गोरिदम तकनीक को उसके मुख्य विचार से सुमेलित करें: 1. डिवाइड एंड कॉनकर — (a) दोबारा गणना से बचने के लिए उप-समस्याओं के उत्तर स्टोर करना 2. ग्रीडी एल्गोरिदम — (b) सभी संभावित समाधानों को आज़माना 3. डायनामिक प्रोग्रामिंग — (c) हर चरण में सबसे बेहतर तात्कालिक विकल्प चुनना 4. ब्रूट फोर्स — (d) समस्या को छोटे भागों में बांटकर परिणामों को जोड़ना
A
1-a, 2-b, 3-c, 4-d
1-a, 2-b, 3-c, 4-d
B
1-d, 2-b, 3-a, 4-c
1-d, 2-b, 3-a, 4-c
C
1-d, 2-c, 3-a, 4-b
1-d, 2-c, 3-a, 4-b
Correct
D
1-c, 2-d, 3-a, 4-b
1-c, 2-d, 3-a, 4-b
Solution Breakdown:
-> Correct matches: Divide & Conquer (Split & merge), Greedy (Best local choice), Dynamic Programming (Store sub-problem results), Brute Force (Try all). -> Hence, Option (C) is the correct answer.
-> सही मिलान: 1-d, 2-c, 3-a, 4-b। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 653 NEW
Most Important MEDIUM
Match the Assembly Mnemonic with its Operation: 1. `MOV` — (a) Unconditional jump to another address 2. `CMP` — (b) Copies data from source to destination 3. `JMP` — (c) Does nothing for one clock cycle 4. `NOP` — (d) Compares two operands and sets CPU flags
असेंबली निमोनिक को उसके कार्य से सुमेलित करें: 1. `MOV` — (a) किसी अन्य एड्रेस पर बिना शर्त जंप करना 2. `CMP` — (b) स्रोत से गंतव्य में डेटा कॉपी करना 3. `JMP` — (c) एक क्लॉक साइकिल तक कुछ न करना 4. `NOP` — (d) दो ऑपरेंड की तुलना करके CPU फ्लैग्स सेट करना
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
Correct
C
1-b, 2-a, 3-d, 4-c
1-b, 2-a, 3-d, 4-c
D
1-d, 2-b, 3-a, 4-c
1-d, 2-b, 3-a, 4-c
Solution Breakdown:
-> Correct matches: `MOV` (Copy data), `CMP` (Compare & set flags), `JMP` (Jump), `NOP` (No operation). -> Hence, Option (B) is the correct answer.
-> सही मिलान: 1-b, 2-d, 3-a, 4-c। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 654 NEW
Most Important MEDIUM
What is an "Infinite Recursion"?
"इनफाइनाइट रिकर्शन" क्या होता है?
A
A loop that stops after 10 steps
10 चरणों के बाद रुकने वाला लूप
B
A recursive function that keeps calling itself endlessly because its base case is missing or never reached, eventually causing a Stack Overflow
एक रिकर्सिव फंक्शन जो बेस केस न होने के कारण अनंत काल तक खुद को कॉल करता रहता है और अंततः स्टैक ओवरफ्लो कर देता है
Correct
C
A fast sorting algorithm
एक तेज़ सॉर्टिंग एल्गोरिदम
D
A type of compiler
एक प्रकार का कंपाइलर
Solution Breakdown:
-> Unlike an infinite loop (which just hangs forever), infinite recursion rapidly exhausts the Call Stack memory and crashes the program. -> Hence, Option (B) is the correct answer.
-> इनफाइनाइट रिकर्शन कॉल स्टैक मेमोरी को तुरंत भरकर प्रोग्राम को क्रैश कर देता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 655 NEW
Most Important MEDIUM
What is "Operator Associativity"?
"ऑपरेटर एसोसिएटिविटी" (साहचर्यता) क्या होती है?
A
The rule that decides the evaluation direction (Left-to-Right or Right-to-Left) when two operators of the SAME precedence appear in an expression
वह नियम जो यह तय करता है कि समान प्राथमिकता वाले दो ऑपरेटर एक साथ आने पर गणना किस दिशा में (बाएं से दाएं या दाएं से बाएं) होगी
Correct
B
Combining two programs
दो प्रोग्रामों को जोड़ना
C
Connecting a keyboard
कीबोर्ड जोड़ना
D
Naming a class
किसी क्लास का नाम रखना
Solution Breakdown:
-> For example, `*` and `/` have Left-to-Right associativity, while the assignment operator `=` has Right-to-Left associativity (`a = b = 5`). -> Hence, Option (A) is the correct answer.
-> `*` और `/` बाएं से दाएं हल होते हैं, जबकि असाइनमेंट ऑपरेटर `=` दाएं से बाएं हल होता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 656 NEW
Most Important EASY
Which of the following is the ODD one out?
निम्नलिखित में से कौन सा विषम है?
A
Encapsulation
एनकैप्सुलेशन
B
Inheritance
इनहेरिटेंस
C
Polymorphism
पॉलीमॉर्फिज़्म
D
Defragmentation
डीफ्रैग्मेंटेशन
Correct
Solution Breakdown:
-> Encapsulation, Inheritance, and Polymorphism are pillars of Object-Oriented Programming (OOP), whereas Defragmentation is a Hard Disk utility process. -> Hence, Option (D) is the correct answer.
-> डीफ्रैग्मेंटेशन हार्ड डिस्क की प्रक्रिया है, जबकि बाकी तीनों OOP के मुख्य स्तंभ हैं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 657 NEW
Most Important EASY
Which of the following is the ODD one out?
निम्नलिखित में से कौन सा विषम है?
A
`MOV`
`MOV`
B
`ADD`
`ADD`
C
`JMP`
`JMP`
D
`<html>`
`<html>`
Correct
Solution Breakdown:
-> `MOV`, `ADD`, and `JMP` are Low-Level Assembly Language mnemonics, whereas `<html>` is a web Markup Language tag. -> Hence, Option (D) is the correct answer.
-> `MOV`, `ADD` और `JMP` असेंबली भाषा के निमोनिक्स हैं, जबकि `<html>` एक वेब मार्कअप टैग है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 658 NEW
Most Important MEDIUM
Evaluate the following statements: (I) Recursion requires a Base Case to prevent Stack Overflow. (II) In Call by Reference, modifying the parameter inside the function changes the original variable.
निम्नलिखित कथनों का मूल्यांकन करें: (I) स्टैक ओवरफ्लो से बचने के लिए रिकर्शन में बेस केस होना आवश्यक है। (II) कॉल बाय रेफरेंस में, फंक्शन के अंदर पैरामीटर बदलने से मूल वेरिएबल का मान भी बदल जाता है।
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 are core programming fundamentals and completely accurate. -> Hence, Option (C) is the correct answer.
-> दोनों कथन प्रोग्रामिंग के मूलभूत और बिल्कुल सही नियम हैं। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 659 NEW
Most Important MEDIUM
Evaluate the following statements: (I) Pseudocode follows strict compiler syntax rules and can be executed directly by the CPU. (II) Flowcharts use a Parallelogram symbol for Input/Output operations.
निम्नलिखित कथनों का मूल्यांकन करें: (I) स्यूडोकोड सख्त कंपाइलर सिंटैक्स नियमों का पालन करता है और इसे CPU द्वारा सीधे चलाया जा सकता है। (II) फ्लोचार्ट में इनपुट/आउटपुट ऑपरेशंस के लिए समांतर चतुर्भुज प्रतीक का उपयोग होता है।
A
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
B
Only (II) is true
केवल (II) सत्य है
Correct
C
Only (I) is true
केवल (I) सत्य है
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Solution Breakdown:
-> Statement (I) is false because Pseudocode is informal and cannot be executed by a CPU. Statement (II) is true. -> Hence, Option (B) is the correct answer.
-> कथन (I) असत्य है क्योंकि स्यूडोकोड को सीधे चलाया नहीं जा सकता; कथन (II) सत्य है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 660 NEW
Most Important MEDIUM
Evaluate the following statements: (I) A Compiler translates High-Level Language into Machine Language. (II) Machine Language is portable (machine-independent) across all CPU architectures.
निम्नलिखित कथनों का मूल्यांकन करें: (I) कंपाइलर हाई-लेवल लैंग्वेज को मशीन लैंग्वेज में बदलता है। (II) मशीन लैंग्वेज सभी CPU आर्किटेक्चर पर पोर्टेबल (मशीन-इंडिपेंडेंट) होती है।
A
Only (I) is true
केवल (I) सत्य है
Correct
B
Only (II) is true
केवल (II) सत्य है
C
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Solution Breakdown:
-> Statement (I) is true. Statement (II) is false because Machine Language is strictly machine-dependent (tied to a specific CPU's ISA). -> Hence, Option (A) is the correct answer.
-> कथन (I) सत्य है, जबकि मशीन लैंग्वेज मशीन-डिपेंडेंट होती है, पोर्टेबल नहीं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 661 NEW
Most Important MEDIUM
What is a "Boolean Expression"?
"बूलियन व्यंजक" क्या होता है?
A
An expression that always prints a name
एक व्यंजक जो हमेशा नाम प्रिंट करता है
B
An expression that only adds decimal numbers
एक व्यंजक जो केवल दशमलव संख्याएँ जोड़ता है
C
A hardware circuit only
केवल एक हार्डवेयर सर्किट
D
Any logical expression (like `age >= 18 && hasID`) that evaluates strictly to either `True` or `False`
कोई भी तार्किक व्यंजक जिसका अंतिम मान केवल `True` या `False` आता है
Correct
Solution Breakdown:
-> Boolean expressions control every `if`, `while`, and `for` decision in a computer program. -> Hence, Option (D) is the correct answer.
-> बूलियन व्यंजक प्रोग्राम में सभी शर्तों (`if`, `while`, `for`) के निर्णय को नियंत्रित करते हैं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 662 NEW
Most Important MEDIUM
What is "Dead Code" in a computer program?
कंप्यूटर प्रोग्राम में "डेड कोड" किसे कहा जाता है?
A
Code that crashes the PC
पीसी को क्रैश करने वाला कोड
B
Code written in Assembly
असेंबली में लिखा गया कोड
C
Sections of source code that can NEVER be reached or executed (e.g., statements written right after a `return` statement)
सोर्स कोड के वे हिस्से जो कभी भी निष्पादित नहीं हो सकते (जैसे `return` स्टेटमेंट के ठीक बाद लिखी गई लाइनें)
Correct
D
Encrypted code
एन्क्रिप्टेड कोड
Solution Breakdown:
-> Optimizing compilers automatically detect and remove Dead Code to shrink the final executable file size. -> Hence, Option (C) is the correct answer.
-> ऑप्टिमाइज़िंग कंपाइलर फाइनल फाइल का आकार छोटा करने के लिए डेड कोड को अपने आप हटा देते हैं। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 663 NEW
Most Important MEDIUM
What is "Code Refactoring"?
"कोड रीफैक्टरिंग" क्या होती है?
A
Deleting the entire project
पूरे प्रोजेक्ट को डिलीट करना
B
Restructuring and cleaning up existing source code to make it simpler and easier to maintain WITHOUT changing its external behavior or output
बाहरी व्यवहार या आउटपुट को बदले बिना मौजूदा सोर्स कोड की संरचना को साफ और सरल बनाना ताकि उसका रखरखाव आसान हो सके
Correct
C
Adding new bugs
नए बग्स जोड़ना
D
Translating code to machine language
कोड को मशीन भाषा में बदलना
Solution Breakdown:
-> Refactoring removes duplicate code, improves variable names, and keeps long-term software projects healthy. -> Hence, Option (B) is the correct answer.
-> रीफैक्टरिंग से कोड साफ-सुथरा और व्यवस्थित बनता है जबकि प्रोग्राम का परिणाम बिल्कुल वही रहता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 664 NEW
Most Important EASY
What is "ASCII" vs. "Unicode" in programming?
प्रोग्रामिंग में "ASCII" और "Unicode" में क्या मुख्य अंतर है?
A
ASCII supports only basic English characters (128/256 codes), whereas Unicode provides a unique code for almost every character and script in the world (including Hindi and emojis)
ASCII केवल मूल अंग्रेजी अक्षरों (128/256 कोड) को सपोर्ट करता है, जबकि Unicode दुनिया की लगभग सभी भाषाओं (हिंदी और इमोजी सहित) के प्रत्येक अक्षर को यूनिक कोड देता है
Correct
B
Unicode supports only numbers
Unicode केवल संख्याओं को सपोर्ट करता है
C
ASCII supports Hindi and Chinese
ASCII हिंदी और चीनी भाषा को सपोर्ट करता है
D
Both are programming languages
दोनों प्रोग्रामिंग भाषाएँ हैं
Solution Breakdown:
-> Modern programming languages (Python 3, Java, JavaScript) use Unicode by default so apps can easily support multilingual text globally. -> Hence, Option (A) is the correct answer.
-> आधुनिक भाषाएँ डिफ़ॉल्ट रूप से Unicode का उपयोग करती हैं ताकि दुनिया की किसी भी भाषा में सॉफ्टवेयर बनाया जा सके। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 665 NEW
Most Important MEDIUM
In Assembly Language, what is the difference between a "One-Pass Assembler" and a "Two-Pass Assembler"?
असेंबली लैंग्वेज में "वन-पास असेंबलर" और "टू-पास असेंबलर" में क्या अंतर है?
A
One-Pass Assembler translates High-Level Languages
वन-पास असेंबलर हाई-लेवल भाषाओं का अनुवाद करता है
B
Two-Pass Assembler requires two CPUs
टू-पास असेंबलर को दो CPU चाहिए
C
Both work identically
दोनों एक समान काम करते हैं
D
A One-Pass Assembler scans source code once (struggling with forward references), whereas a Two-Pass Assembler scans twice to cleanly resolve all forward label addresses
वन-पास असेंबलर कोड को एक बार स्कैन करता है (फॉरवर्ड रेफरेंस में कठिनाई होती है), जबकि टू-पास असेंबलर दो बार स्कैन करके सभी लेबल एड्रेस को सटीक रूप से हल करता है
Correct
Solution Breakdown:
-> Two-Pass Assemblers are the industry standard because they build a complete Symbol Table in Pass 1 and generate exact machine code in Pass 2. -> Hence, Option (D) is the correct answer.
-> टू-पास असेंबलर पहले पास में सिंबल टेबल बनाता है और दूसरे पास में सटीक मशीन कोड तैयार करता है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 666 NEW
Most Important MEDIUM
What is a "Syntax Highlighter" in modern programming editors?
आधुनिक प्रोग्रामिंग एडिटर्स में "सिंटैक्स हाइलाइटर" क्या करता है?
A
Fixes all logical bugs automatically
सभी लॉजिकल बग्स अपने आप ठीक करता है
B
Converts C code into Java
C कोड को Java में बदलता है
C
Displays keywords, strings, variables, and comments in different colors to improve code readability
कोड को पढ़ने में आसान बनाने के लिए कीवर्ड्स, स्ट्रिंग्स, वेरिएबल्स और कमेंट्स को अलग-अलग रंगों में दिखाता है
Correct
D
Compiles the code faster
कोड को तेज़ी से कंपाइल करता है
Solution Breakdown:
-> Color-coding helps programmers spot misspelled keywords or unclosed quotes instantly while typing. -> Hence, Option (C) is the correct answer.
-> अलग-अलग रंगों से कोडिंग करते समय टाइपिंग की गलतियाँ और अधूरे कोट्स तुरंत पकड़ में आ जाते हैं। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 667 NEW
Most Important MEDIUM
What is "Garbage Value" in low-level/C programming?
लो-लेवल या C प्रोग्रामिंग में "गार्बेज वैल्यू" क्या होती है?
A
A deleted file in Recycle Bin
रीसायकल बिन में डिलीट की गई फाइल
B
Random, unpredictable leftover data sitting in an uninitialized local variable's RAM location
किसी अन-इनिशियलाइज़्ड लोकल वेरिएबल की RAM लोकेशन में पहले से पड़ा हुआ अनिश्चित और बेकार डेटा
Correct
C
Always equal to zero
हमेशा शून्य के बराबर
D
A syntax error
एक सिंटैक्स एरर
Solution Breakdown:
-> If you declare `int x;` in C without assigning an initial value, `x` holds whatever random leftover bits were previously in that RAM address (Garbage Value). -> Hence, Option (B) is the correct answer.
-> यदि C में वेरिएबल को शुरुआती मान न दिया जाए, तो उसमें उस मेमोरी स्थान का पुराना अनिश्चित डेटा आ जाता है जिसे गार्बेज वैल्यू कहते हैं। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 668 NEW
Most Important MEDIUM
What is "Hardcoding" in programming?
प्रोग्रामिंग में "हार्डकोडिंग" क्या होती है?
A
Embedding fixed data/values (like a password or file path) directly into source code instead of reading them dynamically from user input or a config file
यूज़र इनपुट या कॉन्फ़िग फाइल से लेने के बजाय निश्चित मानों (जैसे पासवर्ड या फाइल पाथ) को सीधे सोर्स कोड में लिख देना
Correct
B
Coding on a hard disk
हार्ड डिस्क पर कोडिंग करना
C
Writing very difficult algorithms
बहुत कठिन एल्गोरिदम लिखना
D
Using C++ instead of Python
पायथन के बजाय C++ का उपयोग करना
Solution Breakdown:
-> Hardcoding is considered bad practice because changing a hardcoded value requires editing and recompiling the entire program. -> Hence, Option (A) is the correct answer.
-> हार्डकोडिंग एक खराब आदत मानी जाती है क्योंकि मान बदलने के लिए पूरे प्रोग्राम को दोबारा एडिट और कंपाइल करना पड़ता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 669 NEW
Most Important EASY
How many times will `"Hello"` be printed by the following pseudocode? Set i = 1 While i <= 4 do Print "Hello" i = i + 1 End While
उपरोक्त स्यूडोकोड द्वारा `"Hello"` कुल कितनी बार प्रिंट होगा?
A
3 times
3 बार
B
5 times
5 बार
C
Infinite times
अनंत बार
D
4 times
4 बार
Correct
Solution Breakdown:
-> The loop runs for `i = 1, 2, 3, 4` (4 times). When `i` becomes `5`, `i <= 4` becomes False and the loop stops. -> Hence, Option (D) is the correct answer.
-> लूप `i` के मान 1, 2, 3 और 4 के लिए कुल 4 बार चलेगा और `i = 5` होने पर रुक जाएगा। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 670 NEW
Most Important EASY
What is the output of the following pseudocode? Set x = 5 Set y = 3 If x > y then Print x + y Else Print x - y
उपरोक्त स्यूडोकोड का आउटपुट क्या होगा?
A
2
2
B
15
15
C
8
8
Correct
D
5
5
Solution Breakdown:
-> Since `x = 5` and `y = 3`, the condition `x > y` (`5 > 3`) is True. Therefore, the `If` block executes and prints `x + y` = `5 + 3 = 8`. -> Hence, Option (C) is the correct answer.
-> चूंकि `5 > 3` सत्य है, इसलिए `If` ब्लॉक चलेगा और `5 + 3 = 8` प्रिंट करेगा। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 671 NEW
Most Important MEDIUM
What is "Modular Programming"?
"मॉड्यूलर प्रोग्रामिंग" क्या होती है?
A
Writing an entire 10,000-line program inside a single `main()` function
पूरे 10,000 लाइन के प्रोग्राम को एक ही `main()` फंक्शन में लिखना
B
Dividing a large complex program into smaller, independent, manageable modules (functions/files) that can be developed and tested separately
एक बड़े जटिल प्रोग्राम को छोटे, स्वतंत्र और प्रबंधनीय मॉड्यूल (फंक्शन/फाइल) में बांटना जिन्हें अलग-अलग बनाया और टेस्ट किया जा सके
Correct
C
Using only machine language
केवल मशीन भाषा का उपयोग करना
D
Removing all functions
सभी फंक्शन हटा देना
Solution Breakdown:
-> Modular programming enables large software teams to work on different modules simultaneously and simplifies debugging. -> Hence, Option (B) is the correct answer.
-> मॉड्यूलर प्रोग्रामिंग बड़े सॉफ्टवेयर को टीम के बीच बांटकर बनाने और डीबग करने को बहुत आसान बना देती है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 672 NEW
Most Important MEDIUM
What is "Spaghetti Code" in software programming?
सॉफ्टवेयर प्रोग्रामिंग में "स्पेगेटी कोड" किसे कहा जाता है?
A
Poorly structured, tangled, and hard-to-read source code (often caused by excessive use of `goto` statements)
खराब संरचना वाला, उलझा हुआ और पढ़ने में कठिन सोर्स कोड (जो अक्सर `goto` स्टेटमेंट के अत्यधिक उपयोग से बनता है)
Correct
B
Code written in Italy
इटली में लिखा गया कोड
C
Highly optimized assembly code
अत्यंत तेज़ असेंबली कोड
D
A type of encryption
एक प्रकार का एन्क्रिप्शन
Solution Breakdown:
-> Structured programming (using clean functions, loops, and `if-else` instead of `goto`) was specifically invented to eliminate Spaghetti Code. -> Hence, Option (A) is the correct answer.
-> स्ट्रक्चर्ड प्रोग्रामिंग का विकास इसी उलझे हुए 'स्पेगेटी कोड' से बचने के लिए किया गया था। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 673 NEW
Most Important EASY
What is a "Syntax-Free" or "Visual" programming language (like Scratch, developed by MIT) primarily designed for?
"विजुअल प्रोग्रामिंग भाषा" (जैसे MIT द्वारा विकसित Scratch) मुख्य रूप से किसके लिए बनाई गई है?
A
Writing Linux device drivers
लिनक्स डिवाइस ड्राइवर लिखने के लिए
B
Hacking bank servers
बैंक सर्वर हैक करने के लिए
C
Designing CPU hardware
CPU हार्डवेयर डिज़ाइन करने के लिए
D
Teaching programming logic to kids and beginners by snapping together graphical drag-and-drop code blocks
बच्चों और शुरुआती छात्रों को ड्रैग-एंड-ड्रॉप ग्राफिकल कोड ब्लॉक्स जोड़कर प्रोग्रामिंग लॉजिक सिखाने के लिए
Correct
Solution Breakdown:
-> Visual block-based languages eliminate frustrating syntax errors so beginners can focus purely on loops, conditions, and logical thinking. -> Hence, Option (D) is the correct answer.
-> विजुअल भाषाओं में सिंटैक्स एरर नहीं होते, जिससे बच्चे और शुरुआती छात्र आसानी से कोडिंग लॉजिक सीख पाते हैं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 674 NEW
Most Important MEDIUM
In OOP, what is the difference between an "Abstract Class" and a normal "Concrete Class"?
OOP में "एब्स्ट्रैक्ट क्लास" और सामान्य "कंक्रीट क्लास" में क्या अंतर है?
A
Concrete classes cannot have methods
कंक्रीट क्लास में मेथड नहीं हो सकते
B
Both can be instantiated directly
दोनों के ऑब्जेक्ट सीधे बनाए जा सकते हैं
C
You CANNOT create an object directly from an Abstract Class; it is designed only to be inherited by subclasses
एब्स्ट्रैक्ट क्लास का सीधा ऑब्जेक्ट नहीं बनाया जा सकता; इसे केवल सब-क्लासेस द्वारा इनहेरिट किए जाने के लिए बनाया जाता है
Correct
D
Abstract classes cannot contain variables
एब्स्ट्रैक्ट क्लास में वेरिएबल नहीं हो सकते
Solution Breakdown:
-> An Abstract Class serves as an incomplete base template (often containing abstract/pure virtual methods) that child classes must complete before objects can be created. -> Hence, Option (C) is the correct answer.
-> एब्स्ट्रैक्ट क्लास एक अधूरा आधार ढांचा है जिसे चाइल्ड क्लास द्वारा पूरा किया जाता है, इसलिए इसका सीधा ऑब्जेक्ट नहीं बन सकता। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 675 NEW
Most Important MEDIUM
What is "Code Reusability" in Object-Oriented Programming?
ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग में "कोड रीयूज़ेबिलिटी" (पुनः उपयोगिता) क्या होती है?
A
Writing the same code 10 times
एक ही कोड को 10 बार लिखना
B
Using existing tested classes, functions, or libraries in new programs (especially via Inheritance) instead of writing everything from scratch
सब कुछ नए सिरे से लिखने के बजाय पहले से बने और परीक्षित क्लासेस, फंक्शन या लाइब्रेरी का नए प्रोग्राम में पुनः उपयोग करना
Correct
C
Deleting old code
पुराने कोड को डिलीट करना
D
Running a program twice
प्रोग्राम को दो बार चलाना
Solution Breakdown:
-> Code reusability saves development time, reduces bugs, and makes large software projects much easier to maintain. -> Hence, Option (B) is the correct answer.
-> कोड रीयूज़ेबिलिटी से विकास का समय बचता है और सॉफ्टवेयर में त्रुटियों की संभावना कम हो जाती है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Prev 25 26 27 28 29 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!