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 2126 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 2127 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 2128 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 2129 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 2130 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 2131 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 2132 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 2133 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 2134 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 2135 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) बिल्कुल सही है।
Question 2136 NEW
Most Important EASY
What is the "Machine Cycle" (Instruction Cycle) performed continuously by the CPU for every machine language instruction?
प्रत्येक मशीन लैंग्वेज निर्देश के लिए CPU द्वारा लगातार किया जाने वाला "मशीन साइकिल" क्या होता है?
A
Fetch -> Decode -> Execute -> Store
फेच -> डिकोड -> एग्जीक्यूट -> स्टोर
Correct
B
Print -> Scan -> Copy -> Paste
प्रिंट -> स्कैन -> कॉपी -> पेस्ट
C
Compile -> Link -> Load -> Delete
कंपाइल -> लिंक -> लोड -> डिलीट
D
Boot -> Sleep -> Hibernate -> Shutdown
बूट -> स्लीप -> हाइबरनेट -> शटडाउन
Solution Breakdown:
-> The CPU fetches the binary instruction from RAM, decodes its opcode in the Control Unit, executes it in the ALU, and stores the result. -> Hence, Option (A) is the correct answer.
-> CPU मेमोरी से निर्देश लाता (Fetch) है, उसे समझता (Decode) है, ALU में चलाता (Execute) है और परिणाम सेव (Store) करता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2137 NEW
Most Important MEDIUM
In Assembly Language, what is "Register Addressing Mode" (e.g., `ADD AX, BX`)?
असेंबली लैंग्वेज में "रजिस्टर एड्रेसिंग मोड" (जैसे `ADD AX, BX`) क्या होता है?
A
Operands are stored on the hard disk
ऑपरेंड हार्ड डिस्क पर स्टोर होते हैं
B
Operands are typed by the user
ऑपरेंड यूज़र द्वारा टाइप किए जाते हैं
C
Operands are fetched over the internet
ऑपरेंड इंटरनेट से लाए जाते हैं
D
Both operands reside directly inside CPU registers, making execution extremely fast without accessing RAM
दोनों ऑपरेंड सीधे CPU रजिस्टरों के अंदर मौजूद होते हैं, जिससे RAM एक्सेस किए बिना निष्पादन अत्यंत तेज़ होता है
Correct
Solution Breakdown:
-> Register addressing requires zero main-memory reads, making it one of the fastest addressing modes in any CPU. -> Hence, Option (D) is the correct answer.
-> रजिस्टर एड्रेसिंग में RAM से डेटा लाने की ज़रूरत नहीं पड़ती, इसलिए यह सबसे तेज़ एड्रेसिंग मोड्स में से एक है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 2138 NEW
Most Important MEDIUM
What is the role of the "Stack Pointer" (`SP`) register in low-level programming?
लो-लेवल प्रोग्रामिंग में "स्टैक पॉइंटर" (`SP`) रजिस्टर की क्या भूमिका होती है?
A
It counts total files on disk
यह डिस्क पर कुल फाइलें गिनता है
B
It stores the BIOS password
यह BIOS पासवर्ड स्टोर करता है
C
It always holds the memory address of the TOP element currently on the CPU Stack
यह हमेशा CPU स्टैक के वर्तमान शीर्ष (Top) तत्व का मेमोरी एड्रेस स्टोर रखता है
Correct
D
It controls the mouse pointer
यह माउस पॉइंटर को नियंत्रित करता है
Solution Breakdown:
-> Whenever `PUSH`, `POP`, `CALL`, or `RET` executes, the CPU automatically updates the Stack Pointer (`SP`) to track the top of the stack. -> Hence, Option (C) is the correct answer.
-> स्टैक में डेटा डालने या निकालने पर `SP` स्वतः अपडेट होकर हमेशा शीर्ष पते की ओर संकेत करता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 2139 NEW
Most Important MEDIUM
In Assembly Language, which two instructions are used to place data onto the CPU Stack and retrieve it back?
असेंबली लैंग्वेज में CPU स्टैक पर डेटा रखने और वापस निकालने के लिए किन दो निर्देशों का उपयोग किया जाता है?
A
`ADD` and `SUB`
`ADD` and `SUB`
B
`PUSH` and `POP`
`PUSH` and `POP`
Correct
C
`MOV` and `JMP`
`MOV` and `JMP`
D
`INC` and `DEC`
`INC` and `DEC`
Solution Breakdown:
-> `PUSH` places a register value onto the top of the Stack (decrementing the Stack Pointer), and `POP` removes the top value back into a register. -> Hence, Option (B) is the correct answer.
-> `PUSH` स्टैक के शीर्ष पर डेटा डालता है और `POP` शीर्ष से डेटा निकालता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 2140 NEW
Most Important MEDIUM
In Assembly Language, what is the purpose of the `NOP` (No Operation) instruction?
असेंबली लैंग्वेज में `NOP` (नो ऑपरेशन) निर्देश का क्या उद्देश्य होता है?
A
Tells the CPU to do nothing for one clock cycle and move to the next instruction (used for timing delays or memory alignment)
CPU को एक क्लॉक साइकिल तक कुछ न करने और अगले निर्देश पर जाने का आदेश देता है (टाइमिंग देरी या मेमोरी एलाइनमेंट के लिए)
Correct
B
Shuts down the operating system
ऑपरेटिंग सिस्टम बंद करता है
C
Deletes the accumulator
एक्यूमुलेटर को डिलीट करता है
D
Performs a logical NOT operation
लॉजिकल NOT ऑपरेशन करता है
Solution Breakdown:
-> `NOP` consumes a tiny, predictable amount of CPU time without changing any registers or flags. -> Hence, Option (A) is the correct answer.
-> `NOP` बिना किसी रजिस्टर या फ्लैग को बदले केवल एक क्लॉक साइकिल का समय लेता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2141 NEW
Most Important MEDIUM
In Assembly Language, what does the `JMP` instruction perform?
असेंबली लैंग्वेज में `JMP` निर्देश क्या कार्य करता है?
A
Joins two strings
दो स्ट्रिंग्स को जोड़ता है
B
Multiplies two numbers
दो संख्याओं को गुणा करता है
C
Stops the CPU permanently
CPU को स्थायी रूप से रोकता है
D
Unconditionally transfers program execution control to a specified memory address or label
बिना किसी शर्त के प्रोग्राम के निष्पादन नियंत्रण को किसी निर्दिष्ट मेमोरी एड्रेस या लेबल पर स्थानांतरित करता है
Correct
Solution Breakdown:
-> `JMP` (Unconditional Jump) works like `goto` in high-level languages by directly loading a new address into the Program Counter (Instruction Pointer). -> Hence, Option (D) is the correct answer.
-> `JMP` सीधे प्रोग्राम काउंटर का एड्रेस बदलकर प्रोग्राम के प्रवाह को नए स्थान पर भेज देता है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 2142 NEW
Most Important MEDIUM
In Assembly Language, what does the `CMP` (Compare) instruction do?
असेंबली लैंग्वेज में `CMP` (कम्पेयर) निर्देश क्या करता है?
A
Compresses a file
फाइल को कंप्रेस करता है
B
Copies one register to another
एक रजिस्टर को दूसरे में कॉपी करता है
C
Subtracts the second operand from the first internally to update the CPU Flags Register WITHOUT modifying either operand
दोनों ऑपरेंड को बदले बिना, आंतरिक रूप से घटाव करके CPU फ्लैग्स रजिस्टर को अपडेट करता है
Correct
D
Compiles the code
कोड को कंपाइल करता है
Solution Breakdown:
-> `CMP AX, BX` checks if `AX` is equal to, greater than, or less than `BX` by setting the Zero and Sign flags, usually followed immediately by a conditional jump (`JE`, `JG`, `JL`). -> Hence, Option (C) is the correct answer.
-> `CMP` दो मानों की तुलना करके फ्लैग्स सेट करता है ताकि उसके बाद जंप निर्देश सही दिशा में जा सके। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 2143 NEW
Most Important MEDIUM
In Assembly Language, what is the "Flags Register" (Status Register) inside the CPU used for?
असेंबली लैंग्वेज में CPU के अंदर स्थित "फ्लैग्स रजिस्टर" (स्टेटस रजिस्टर) का उपयोग किसके लिए किया जाता है?
A
Storing user files
यूज़र फाइलें स्टोर करने के लिए
B
Storing single-bit status indicators (like Zero Flag, Carry Flag, Overflow Flag, Sign Flag) reflecting the outcome of the last ALU operation
अंतिम ALU ऑपरेशन के परिणाम को दर्शाने वाले सिंगल-बिट स्टेटस इंडिकेटर्स (जैसे ज़ीरो फ्लैग, कैरी फ्लैग, ओवरफ्लो फ्लैग) को स्टोर करने के लिए
Correct
C
Controlling the monitor brightness
मॉनिटर की चमक नियंत्रित करने के लिए
D
Connecting to Wi-Fi
वाई-फाई से जुड़ने के लिए
Solution Breakdown:
-> Conditional jump instructions in Assembly (like `JZ` – Jump if Zero) check the Flags Register to decide whether to branch. -> Hence, Option (B) is the correct answer.
-> असेंबली के कंडीशनल जंप निर्देश (जैसे `JZ`) निर्णय लेने के लिए फ्लैग्स रजिस्टर की स्थिति की जांच करते हैं। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 2144 NEW
Most Important MEDIUM
In Low-Level CPU Architecture, what is the full form of "RISC" and "CISC"?
लो-लेवल CPU आर्किटेक्चर में "RISC" और "CISC" का पूर्ण रूप क्या है?
A
Reduced Instruction Set Computer and Complex Instruction Set Computer
रिड्यूस्ड इंस्ट्रक्शन सेट कंप्यूटर और कॉम्प्लेक्स इंस्ट्रक्शन सेट कंप्यूटर
Correct
B
Random Instruction System Code and Central Instruction System Code
रैंडम इंस्ट्रक्शन सिस्टम कोड और सेंट्रल इंस्ट्रक्शन सिस्टम कोड
C
Rapid Internal Storage Chip and Core Internal Storage Chip
रैपिड इंटरनल स्टोरेज चिप और कोर इंटरनल स्टोरेज चिप
D
Real-time Input Set Control and Complex Input Set Control
रियल-टाइम इनपुट सेट कंट्रोल और कॉम्प्लेक्स इनपुट सेट कंट्रोल
Solution Breakdown:
-> RISC (e.g., ARM processors in smartphones) uses a small set of simple, fast, fixed-length instructions; CISC (e.g., Intel/AMD x86) uses a large set of complex variable-length instructions. -> Hence, Option (A) is the correct answer.
-> RISC (जैसे स्मार्टफोन के ARM प्रोसेसर) सरल और कम निर्देशों का उपयोग करता है, जबकि CISC (जैसे x86) जटिल निर्देशों के बड़े सेट का उपयोग करता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2145 NEW
Most Important EASY
What is an "Escape Sequence" in programming languages (such as `\n`, `\t`, `\\`)?
प्रोग्रामिंग भाषाओं में "एस्केप सीक्वेंस" (जैसे `\n`, `\t`, `\\`) क्या होता है?
A
Pressing the `Esc` key to exit an editor
एडिटर से बाहर निकलने के लिए `Esc` कुंजी दबाना
B
A virus escaping antivirus
एंटीवायरस से बचने वाला वायरस
C
A loop termination command
लूप समाप्त करने का कमांड
D
A combination starting with a backslash (`\`) used inside strings to represent special non-printable characters like a new line or tab
बैकस्लैश (`\`) से शुरू होने वाला विशेष संयोजन जिसका उपयोग स्ट्रिंग के अंदर नई लाइन या टैब जैसे विशेष अक्षरों को दर्शाने के लिए होता है
Correct
Solution Breakdown:
-> Common escape sequences: ` -> ` = New Line, `\t` = Horizontal Tab, `\"` = Double Quote, and `\\` = Literal Backslash. -> Hence, Option (D) is the correct answer.
-> ` -> ` नई लाइन के लिए, `\t` टैब स्पेस के लिए और `\\` बैकस्लैश प्रिंट करने के लिए उपयोग किया जाता है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 2146 NEW
Most Important MEDIUM
Why do compilers and calculators prefer converting Infix expressions into "Postfix" (Reverse Polish Notation) before evaluating them?
कंपाइलर और कैलकुलेटर किसी इनफिक्स व्यंजक की गणना करने से पहले उसे "पोस्टफिक्स" रूप में क्यों बदलते हैं?
A
Because Postfix is longer to write
क्योंकि पोस्टफिक्स लिखने में लंबा होता है
B
Because CPUs cannot read `+` symbols
क्योंकि CPU `+` चिह्न नहीं पढ़ सकते
C
Because Postfix eliminates the need for parentheses and operator precedence rules, allowing fast single-pass evaluation using a Stack
क्योंकि पोस्टफिक्स में कोष्ठक (Parentheses) और प्राथमिकता नियमों की ज़रूरत नहीं रहती और स्टैक की मदद से एक ही बार में तेज़ गणना हो जाती है
Correct
D
Because Postfix uses no memory
क्योंकि पोस्टफिक्स में मेमोरी नहीं लगती
Solution Breakdown:
-> Postfix expressions are unambiguous and evaluate cleanly from left to right with a simple Stack data structure. -> Hence, Option (C) is the correct answer.
-> पोस्टफिक्स में कोष्ठकों की आवश्यकता समाप्त हो जाती है, जिससे स्टैक द्वारा एक ही पास में सटीक गणना संभव होती है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 2147 NEW
Most Important EASY
In mathematical and computer expressions, what are the three standard notations for writing arithmetic expressions?
गणितीय और कंप्यूटर व्यंजकों को लिखने के तीन मानक रूप (Notations) कौन से हैं?
A
Linear, Circular, and Tree
लीनियर, सर्कुलर और ट्री
B
Infix, Prefix (Polish), and Postfix (Reverse Polish)
इनफिक्स, प्रीफिक्स और पोस्टफिक्स
Correct
C
Static, Dynamic, and Virtual
स्टैटिक, डायनामिक और वर्चुअल
D
Serial, Parallel, and Hybrid
सीरियल, पैरेलल और हाइब्रिड
Solution Breakdown:
-> Infix places the operator between operands (`A + B`), Prefix places it before (`+ A B`), and Postfix places it after (`A B +`). -> Hence, Option (B) is the correct answer.
-> इनफिक्स में ऑपरेटर बीच में, प्रीफिक्स में पहले और पोस्टफिक्स में बाद में लिखा जाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 2148 NEW
Most Important EASY
What is a "Unary Operator" vs. a "Binary Operator" vs. a "Ternary Operator"?
"यूनरी ऑपरेटर", "बाइनरी ऑपरेटर" और "टर्नरी ऑपरेटर" में क्या अंतर है?
A
Unary works on 1 operand (e.g., `++x`), Binary works on 2 operands (e.g., `a + b`), and Ternary works on 3 operands (e.g., `a ? b : c`)
यूनरी 1 ऑपरेंड पर, बाइनरी 2 ऑपरेंड पर और टर्नरी 3 ऑपरेंड पर काम करता है
Correct
B
Unary works on 3 operands
यूनरी 3 ऑपरेंड पर काम करता है
C
Binary works only on 0 and 1
बाइनरी केवल 0 और 1 पर काम करता है
D
Ternary works on 1 operand
टर्नरी 1 ऑपरेंड पर काम करता है
Solution Breakdown:
-> Operators are classified by the number of operands they take: Unary (1), Binary (2), and Ternary (3). -> Hence, Option (A) is the correct answer.
-> ऑपरेंड की संख्या के आधार पर ऑपरेटर्स को यूनरी (1), बाइनरी (2) और टर्नरी (3) में बांटा जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 2149 NEW
Most Important EASY
What is the difference between "Static Typing" (e.g., C, Java) and "Dynamic Typing" (e.g., Python, JavaScript)?
"स्टैटिक टाइपिंग" (जैसे C, Java) और "डायनामिक टाइपिंग" (जैसे Python, JavaScript) में क्या अंतर है?
A
Dynamic typing cannot use numbers
डायनामिक टाइपिंग में संख्याओं का उपयोग नहीं हो सकता
B
Both require declaring data types explicitly
दोनों में डेटा टाइप पहले से घोषित करना अनिवार्य है
C
Static typing only works on Linux
स्टैटिक टाइपिंग केवल लिनक्स पर काम करती है
D
In Static Typing, variable data types are checked at compile-time and must be declared; in Dynamic Typing, types are determined automatically at runtime
स्टैटिक टाइपिंग में डेटा टाइप कंपाइल-टाइम पर जांचे जाते हैं और पहले से घोषित करने होते हैं; डायनामिक टाइपिंग में डेटा टाइप रन-टाइम पर स्वतः तय होते हैं
Correct
Solution Breakdown:
-> Static typing catches type errors early before running the program; dynamic typing lets you write shorter, more flexible code quickly. -> Hence, Option (D) is the correct answer.
-> स्टैटिक टाइपिंग कंपाइलेशन के समय ही टाइप एरर पकड़ लेती है, जबकि डायनामिक टाइपिंग कोडिंग को तेज़ और लचीला बनाती है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 2150 NEW
Most Important MEDIUM
What is "Dynamic Programming" in algorithm design?
एल्गोरिदम डिज़ाइन में "डायनामिक प्रोग्रामिंग" क्या होती है?
A
Writing code while moving
चलते-फिरते कोड लिखना
B
Trying every possible combination without saving anything
बिना कुछ सेव किए हर संभावित संयोजन को आज़माना
C
Solving complex problems by breaking them into overlapping sub-problems and storing (memoizing) their results to avoid redundant recalculations
जटिल समस्याओं को ओवरलैपिंग उप-समस्याओं में बांटना और दोबारा गणना से बचने के लिए उनके परिणामों को स्टोर करके रखना
Correct
D
Deleting variables dynamically
वेरिएबल्स को डायनामिक रूप से डिलीट करना
Solution Breakdown:
-> Dynamic Programming dramatically speeds up recursive problems (like Fibonacci or Knapsack) by caching sub-problem answers in a table (Memoization or Tabulation). -> Hence, Option (C) is the correct answer.
-> डायनामिक प्रोग्रामिंग बार-बार आने वाली उप-समस्याओं के उत्तर को मेमोरी में स्टोर कर लेती है ताकि उन्हें दोबारा न निकालना पड़े। -> इसलिए विकल्प (C) बिल्कुल सही है।
Prev 84 85 86 87 88 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!