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

Programming Basics & Low-Level Languages

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

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

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

Question 51 NEW
📜 PYQs EASY
Which statement best summarizes the evolution from 1GL to 3GL programming languages?
कौन सा कथन 1GL से 3GL प्रोग्रामिंग भाषाओं के विकास का सबसे अच्छा सारांश है?
A
Languages moved from hardware-dependent binary (1GL) to symbolic mnemonics (2GL) to human-readable, portable English-like languages (3GL)
भाषाएँ हार्डवेयर-निर्भर बाइनरी (1GL) से प्रतीकात्मक निमोनिक्स (2GL) और फिर मानव-पठनीय, पोर्टेबल अंग्रेजी जैसी भाषाओं (3GL) की ओर विकसित हुईं
Correct
B
Languages became harder for humans to read over time
समय के साथ भाषाएँ मनुष्यों के लिए पढ़ना कठिन होती गईं
C
Computers stopped using binary internally
कंप्यूटर ने अंदर से बाइनरी का उपयोग बंद कर दिया
D
Translators were completely removed
ट्रांसलेटर्स को पूरी तरह हटा दिया गया
Solution Breakdown:
-> While CPUs still execute only binary machine code internally, higher-level generations hide hardware complexity so programmers can build complex software much faster. -> Hence, Option (A) is the correct answer.
-> यद्यपि CPU आज भी अंदर से केवल बाइनरी ही समझता है, लेकिन हाई-लेवल भाषाओं ने प्रोग्रामिंग को अत्यंत सरल और पोर्टेबल बना दिया है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 52 NEW
📜 PYQs MEDIUM
Match the Control Statement with its Role: 1. `if-else` — (a) Skips current loop iteration and moves to the next 2. `do-while` — (b) Exits the loop immediately 3. `break` — (c) Executes loop body at least once 4. `continue` — (d) Executes code based on a True/False condition
कंट्रोल स्टेटमेंट को उसकी भूमिका से सुमेलित करें: 1. `if-else` — (a) वर्तमान लूप चरण को छोड़कर अगले पर जाता है 2. `do-while` — (b) लूप से तुरंत बाहर निकलता है 3. `break` — (c) लूप बॉडी को कम से कम एक बार चलाता है 4. `continue` — (d) True/False शर्त के आधार पर कोड चलाता है
A
1-a, 2-b, 3-c, 4-d
1-a, 2-b, 3-c, 4-d
B
1-d, 2-b, 3-c, 4-a
1-d, 2-b, 3-c, 4-a
C
1-d, 2-c, 3-b, 4-a
1-d, 2-c, 3-b, 4-a
Correct
D
1-c, 2-d, 3-b, 4-a
1-c, 2-d, 3-b, 4-a
Solution Breakdown:
-> Correct matches: `if-else` (Conditional), `do-while` (Runs at least once), `break` (Exits loop), `continue` (Skips current iteration). -> Hence, Option (C) is the correct answer.
-> सही मिलान: 1-d, 2-c, 3-b, 4-a। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 53 NEW
📜 PYQs MEDIUM
Match the Programming Language Generation with its Example: 1. 1GL — (a) Assembly Language 2. 2GL — (b) Machine Language (0s & 1s) 3. 3GL — (c) SQL (Database Query) 4. 4GL — (d) C, Java, Python
प्रोग्रामिंग भाषा की पीढ़ी को उसके उदाहरण से सुमेलित करें: 1. 1GL — (a) असेंबली लैंग्वेज 2. 2GL — (b) मशीन लैंग्वेज (0 और 1) 3. 3GL — (c) SQL (डेटाबेस क्वेरी) 4. 4GL — (d) C, Java, Python
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: 1GL (Machine Language), 2GL (Assembly Language), 3GL (C/Java/Python), 4GL (SQL). -> Hence, Option (B) is the correct answer.
-> सही मिलान: 1-b, 2-a, 3-d, 4-c। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 54 NEW
📜 PYQs EASY
What is a "Boolean" data type capable of storing?
"बूलियन" डेटा टाइप क्या स्टोर करने में सक्षम होता है?
A
Only decimal numbers
केवल दशमलव संख्याएँ
B
Only two logical values: `True` or `False`
केवल दो तार्किक मान: `True` या `False`
Correct
C
Long paragraphs of text
टेक्स्ट के लंबे पैराग्राफ
D
Image files
इमेज फाइलें
Solution Breakdown:
-> Named after mathematician George Boole, Boolean values (`True`/`False` or `1`/`0`) are the foundation of all conditional logic and digital circuits. -> Hence, Option (B) is the correct answer.
-> गणितज्ञ जॉर्ज बूल के नाम पर बना बूलियन डेटा टाइप केवल `True` या `False` मान स्टोर करता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 55 NEW
📜 PYQs MEDIUM
What is "Short-Circuit Evaluation" in Logical Operators (`&&` and `||`)?
लॉजिकल ऑपरेटर्स (`&&` और `||`) में "शॉर्ट-सर्किट इवैल्यूएशन" क्या होता है?
A
Stopping the evaluation of a logical expression as soon as the final truth value is already known (e.g., if the left side of `&&` is `False`, the right side is skipped)
अंतिम सत्य मान पता चलते ही लॉजिकल व्यंजक का मूल्यांकन रोक देना (जैसे `&&` का बायां भाग `False` होने पर दाएं भाग को छोड़ देना)
Correct
B
An electrical short circuit in RAM
RAM में बिजली का शॉर्ट सर्किट
C
Skipping all `if` statements
सभी `if` स्टेटमेंट छोड़ देना
D
Running a loop backwards
लूप को उल्टा चलाना
Solution Breakdown:
-> Short-circuiting saves CPU time and prevents runtime errors (like checking `ptr != NULL && ptr->val == 5` safely). -> Hence, Option (A) is the correct answer.
-> शॉर्ट-सर्किट इवैल्यूएशन अनावश्यक जांच से बचाता है और समय व रन-टाइम एरर दोनों को रोकता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 56 NEW
📜 PYQs EASY
Which of the following is the ODD one out?
निम्नलिखित में से कौन सा विषम है?
A
`for`
`for`
B
`while`
`while`
C
`do-while`
`do-while`
D
`switch`
`switch`
Correct
Solution Breakdown:
-> `for`, `while`, and `do-while` are Looping (Iteration) constructs, whereas `switch` is a Conditional Selection (branching) construct. -> Hence, Option (D) is the correct answer.
-> `for`, `while` और `do-while` लूपिंग स्टेटमेंट हैं, जबकि `switch` एक कंडीशनल सेलेक्शन स्टेटमेंट है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 57 NEW
📜 PYQs MEDIUM
Evaluate the following statements: (I) Assembly language uses binary 0s and 1s exclusively without any symbolic names. (II) Machine language requires an Assembler to run on the CPU.
निम्नलिखित कथनों का मूल्यांकन करें: (I) असेंबली लैंग्वेज बिना किसी प्रतीकात्मक नाम के केवल बाइनरी 0 और 1 का उपयोग करती है। (II) मशीन लैंग्वेज को CPU पर चलने के लिए असेंबलर की आवश्यकता होती है।
A
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
B
Only (I) is true
केवल (I) सत्य है
C
Only (II) is true
केवल (II) सत्य है
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Correct
Solution Breakdown:
-> Both statements are swapped/false: Assembly language uses symbolic Mnemonics (and needs an Assembler), whereas Machine language uses pure 0s and 1s (and needs NO translator). -> Hence, Option (D) is the correct answer.
-> दोनों कथन असत्य हैं: असेंबली भाषा निमोनिक्स का उपयोग करती है और मशीन भाषा को किसी असेंबलर की ज़रूरत नहीं होती। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 58 NEW
📜 PYQs MEDIUM
Evaluate the following statements: (I) A `do-while` loop executes at least once even if its condition is initially false. (II) A `while` loop is an Entry-Controlled loop.
निम्नलिखित कथनों का मूल्यांकन करें: (I) `do-while` लूप शुरू में शर्त गलत होने पर भी कम से कम एक बार चलता है। (II) `while` लूप एक एंट्री-कंट्रोल्ड लूप है।
A
Only (I) is true
केवल (I) सत्य है
B
Both (I) and (II) are true
(I) और (II) दोनों सत्य हैं
Correct
C
Only (II) is true
केवल (II) सत्य है
D
Neither (I) nor (II) is true
न तो (I) और न ही (II) सत्य है
Solution Breakdown:
-> Both statements are completely accurate: `while` checks its condition before entering (Entry-Controlled), whereas `do-while` checks after the first run (Exit-Controlled). -> Hence, Option (B) is the correct answer.
-> दोनों कथन बिल्कुल सही हैं: `while` पहले शर्त जांचता है और `do-while` अंत में। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 59 NEW
📜 PYQs MEDIUM
What is "Function Prototyping" (Function Declaration) in languages like C/C++?
C/C++ जैसी भाषाओं में "फंक्शन प्रोटोटाइपिंग" (फंक्शन डिक्लेरेशन) क्या होता है?
A
Informing the compiler in advance about a function's name, return type, and parameter types before its actual definition
कंपाइलर को फंक्शन की वास्तविक परिभाषा से पहले ही उसके नाम, रिटर्न टाइप और पैरामीटर के प्रकारों की जानकारी देना
Correct
B
Deleting a function after use
उपयोग के बाद फंक्शन डिलीट करना
C
Running a function infinitely
फंक्शन को अनंत बार चलाना
D
Converting a function into a flowchart
फंक्शन को फ्लोचार्ट में बदलना
Solution Breakdown:
-> A prototype (e.g., `int sum(int, int);`) lets the compiler verify that every call to `sum()` passes the correct number and types of arguments. -> Hence, Option (A) is the correct answer.
-> फंक्शन प्रोटोटाइप कंपाइलर को यह जांचने में मदद करता है कि फंक्शन को सही संख्या और प्रकार के आर्ग्युमेंट्स के साथ कॉल किया गया है या नहीं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 60 NEW
📜 PYQs EASY
What is the difference between a "Parameter" and an "Argument" in functions?
फंक्शंस में "पैरामीटर" और "आर्ग्युमेंट" के बीच क्या अंतर है?
A
Both are syntax errors
दोनों सिंटैक्स एरर हैं
B
Parameters are passed during a function call
पैरामीटर फंक्शन कॉल के समय भेजे जाते हैं
C
Arguments are only used in loops
आर्ग्युमेंट केवल लूप में उपयोग होते हैं
D
A Parameter is the placeholder variable listed in the function definition, whereas an Argument is the actual value passed when calling the function
पैरामीटर फंक्शन की परिभाषा में लिखा जाने वाला वेरिएबल है, जबकि आर्ग्युमेंट फंक्शन को कॉल करते समय भेजा जाने वाला वास्तविक मान है
Correct
Solution Breakdown:
-> In `void add(int x)`, `x` is a Parameter (formal parameter); in `add(10)`, `10` is an Argument (actual parameter). -> Hence, Option (D) is the correct answer.
-> फंक्शन परिभाषा में लिखा वेरिएबल 'पैरामीटर' और कॉल करते समय भेजा गया वास्तविक मान 'आर्ग्युमेंट' कहलाता है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 61 NEW
📜 PYQs MEDIUM
In programming, what does the Left Shift operation `5 << 1` evaluate to?
प्रोग्रामिंग में लेफ्ट शिफ्ट ऑपरेशन `5 << 1` का मान क्या होता है?
A
2
2
B
6
6
C
10
10
Correct
D
25
25
Solution Breakdown:
-> Left shifting an integer by `k` bits multiplies it by $2^k$. Here, `5 << 1` $= 5 \times 2^1 = 10$ (binary `0101` becomes `1010`). -> Hence, Option (C) is the correct answer.
-> किसी संख्या को `1` बिट लेफ्ट शिफ्ट करने से वह `2` से गुणा हो जाती है, इसलिए `5 << 1 = 10` होता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 62 NEW
📜 PYQs MEDIUM
What is the "Bitwise XOR" (`^`) result of binary `1010` and `1100`?
बाइनरी `1010` और `1100` पर "बिटवाइज़ XOR" (`^`) ऑपरेशन का परिणाम क्या होगा?
A
`1000`
`1000`
B
`0110`
`0110`
Correct
C
`1110`
`1110`
D
`1111`
`1111`
Solution Breakdown:
-> Bitwise XOR returns `1` when the two bits are DIFFERENT, and `0` when they are the SAME: `1^1=0`, `0^1=1`, `1^0=1`, `0^0=0`, giving `0110`. -> Hence, Option (B) is the correct answer.
-> बिटवाइज़ XOR में अलग-अलग बिट्स होने पर `1` और समान बिट्स होने पर `0` आता है, अतः परिणाम `0110` होगा। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 63 NEW
📜 PYQs MEDIUM
What is the "Bitwise OR" (`|`) result of binary `1010` and `1100`?
बाइनरी `1010` और `1100` पर "बिटवाइज़ OR" (`|`) ऑपरेशन का परिणाम क्या होगा?
A
`1110`
`1110`
Correct
B
`1000`
`1000`
C
`0110`
`0110`
D
`0000`
`0000`
Solution Breakdown:
-> Bitwise OR returns `1` if AT LEAST ONE of the corresponding bits is `1`: `1|1=1`, `0|1=1`, `1|0=1`, `0|0=0`, giving `1110`. -> Hence, Option (A) is the correct answer.
-> बिटवाइज़ OR में यदि कोई एक भी बिट `1` हो तो परिणाम `1` आता है, अतः `1010 | 1100 = 1110` होगा। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 64 NEW
📜 PYQs MEDIUM
What is "Bitwise AND" (`&`) result of binary `1010` and `1100`?
बाइनरी `1010` और `1100` पर "बिटवाइज़ AND" (`&`) ऑपरेशन का परिणाम क्या होगा?
A
`1110`
`1110`
B
`0110`
`0110`
C
`0000`
`0000`
D
`1000`
`1000`
Correct
Solution Breakdown:
-> Bitwise AND returns `1` only where BOTH corresponding bits are `1`: `1&1=1`, `0&1=0`, `1&0=0`, `0&0=0`, giving `1000`. -> Hence, Option (D) is the correct answer.
-> बिटवाइज़ AND में केवल वहीं `1` आता है जहाँ दोनों बिट्स `1` हों, इसलिए `1010 & 1100 = 1000` होगा। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 65 NEW
📜 PYQs EASY
Where is Assembly Language still widely used today despite modern High-Level Languages?
आधुनिक हाई-लेवल भाषाओं के बावजूद आज भी असेंबली लैंग्वेज का व्यापक उपयोग कहाँ किया जाता है?
A
Creating PowerPoint presentations
पावरपॉइंट प्रेजेंटेशन बनाने में
B
Writing blog articles
ब्लॉग लेख लिखने में
C
Writing BIOS/UEFI bootloaders, hardware device drivers, and time-critical embedded microcontroller firmware
BIOS/UEFI बूटलोडर, हार्डवेयर डिवाइस ड्राइवर और एम्बेडेड माइक्रोकंट्रोलर फर्मवेयर लिखने में
Correct
D
Designing website CSS
वेबसाइट की CSS डिज़ाइन करने में
Solution Breakdown:
-> Whenever direct hardware register access, tiny code size, or exact microsecond timing is required, engineers still rely on Assembly language. -> Hence, Option (C) is the correct answer.
-> जहाँ सीधे हार्डवेयर रजिस्टर पर नियंत्रण और अत्यधिक तेज़ प्रतिक्रिया चाहिए (जैसे बूटलोडर और ड्राइवर), वहाँ आज भी असेंबली भाषा उपयोग होती है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 66 NEW
📜 PYQs EASY
Which of the following is the biggest advantage of Machine Language over High-Level Language?
हाई-लेवल लैंग्वेज की तुलना में मशीन लैंग्वेज का सबसे बड़ा लाभ क्या है?
A
It is very easy to learn
इसे सीखना बहुत आसान है
B
It executes at the fastest possible speed directly on the CPU with zero translation overhead
यह बिना किसी अनुवाद (Translation) के सीधे CPU पर सबसे तेज़ गति से निष्पादित होती है
Correct
C
It is completely portable across all CPUs
यह सभी CPU पर पूरी तरह पोर्टेबल है
D
It is easy to debug
इसे डीबग करना आसान है
Solution Breakdown:
-> Because Machine Language needs no compiler, interpreter, or assembler, it achieves maximum raw hardware execution speed and minimal memory footprint. -> Hence, Option (B) is the correct answer.
-> ट्रांसलेटर की आवश्यकता न होने के कारण मशीन कोड सीधे CPU पर अधिकतम गति से चलता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 67 NEW
📜 PYQs MEDIUM
What is "ISA" in the context of Low-Level Programming?
लो-लेवल प्रोग्रामिंग के संदर्भ में "ISA" का पूर्ण रूप क्या होता है?
A
Instruction Set Architecture
इंस्ट्रक्शन सेट आर्किटेक्चर
Correct
B
Internal Software Application
इंटरनल सॉफ्टवेयर एप्लिकेशन
C
Internet Security Algorithm
इंटरनेट सिक्योरिटी एल्गोरिदम
D
Integrated System Array
इंटीग्रेटेड सिस्टम एरे
Solution Breakdown:
-> The Instruction Set Architecture (such as x86-64 or ARM) defines all valid machine instructions, registers, and addressing modes that a specific CPU understands. -> Hence, Option (A) is the correct answer.
-> ISA किसी प्रोसेसर द्वारा समझे जाने वाले सभी मशीन निर्देशों, रजिस्टरों और एड्रेसिंग मोड्स का मानक सेट होता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 68 NEW
📜 PYQs EASY
Which generation of programming languages is designed to be closer to human English and includes database query languages like SQL?
प्रोग्रामिंग भाषाओं की कौन सी पीढ़ी अंग्रेजी के अधिक करीब है और इसमें SQL जैसी डेटाबेस क्वेरी भाषाएँ शामिल हैं?
A
First Generation (1GL)
पहली पीढ़ी
B
Second Generation (2GL)
दूसरी पीढ़ी
C
Third Generation (3GL)
तीसरी पीढ़ी
D
Fourth Generation (4GL)
चौथी पीढ़ी
Correct
Solution Breakdown:
-> 4GLs (like SQL, MATLAB, SAS) reduce coding effort dramatically by allowing developers to state *what* data they want in concise English-like statements. -> Hence, Option (D) is the correct answer.
-> चौथी पीढ़ी की भाषाएँ (4GL) जैसे SQL बहुत कम कोड में बड़े डेटाबेस और रिपोर्टिंग कार्य करने की सुविधा देती हैं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 69 NEW
📜 PYQs EASY
Which generation of programming languages is specifically associated with Artificial Intelligence (AI) and Natural Language Processing (e.g., Prolog, Mercury)?
प्रोग्रामिंग भाषाओं की कौन सी पीढ़ी विशेष रूप से आर्टिफिशियल इंटेलिजेंस (AI) और लॉजिक प्रोग्रामिंग (जैसे Prolog) से जुड़ी है?
A
First Generation (1GL)
पहली पीढ़ी
B
Second Generation (2GL)
दूसरी पीढ़ी
C
Fifth Generation (5GL)
पांचवीं पीढ़ी
Correct
D
Third Generation (3GL)
तीसरी पीढ़ी
Solution Breakdown:
-> 5GLs focus on solving problems using constraints and logic rules rather than step-by-step algorithms, making them ideal for AI expert systems. -> Hence, Option (C) is the correct answer.
-> पांचवीं पीढ़ी की भाषाएँ (5GL) एल्गोरिदम लिखने के बजाय तार्किक नियमों और बाधाओं के आधार पर AI समस्याएँ हल करती हैं। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 70 NEW
📜 PYQs HARD
In Low-Level Architecture, what does "Endianness" (Big-Endian vs. Little-Endian) refer to?
लो-लेवल कंप्यूटर आर्किटेक्चर में "एंडियननेस" (बिग-एंडियन बनाम लिटिल-एंडियन) का क्या अर्थ है?
A
The order in which programs are installed
प्रोग्राम इंस्टॉल करने का क्रम
B
The byte order in which multi-byte data (like a 32-bit integer) is stored in RAM memory
वह बाइट क्रम जिसमें मल्टी-बाइट डेटा (जैसे 32-बिट पूर्णांक) को RAM मेमोरी में स्टोर किया जाता है
Correct
C
The end of a flowchart
फ्लोचार्ट का अंत
D
The speed of a network cable
नेटवर्क केबल की गति
Solution Breakdown:
-> Big-Endian stores the Most Significant Byte (MSB) at the lowest memory address (used in network protocols), while Little-Endian stores the Least Significant Byte (LSB) first (used in Intel/AMD x86 CPUs). -> Hence, Option (B) is the correct answer.
-> बिग-एंडियन में सबसे महत्वपूर्ण बाइट (MSB) पहले और लिटिल-एंडियन (x86 CPU) में सबसे कम महत्वपूर्ण बाइट (LSB) पहले स्टोर होती है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 71 NEW
📜 PYQs MEDIUM
In Assembly programming, how does a "Macro" differ from a "Subroutine" (Function)?
असेंबली प्रोग्रामिंग में "मैक्रो" और "सब-रूटीन" (फंक्शन) में क्या मुख्य अंतर है?
A
A Macro expands (copies) its code inline at every call site (faster execution, larger code size), whereas a Subroutine jumps to one shared copy in memory (smaller code size, slight call overhead)
मैक्रो हर कॉल की जगह पर अपना पूरा कोड कॉपी कर देता है (तेज़ गति, बड़ा आकार), जबकि सब-रूटीन मेमोरी में एक ही जगह स्टोर कोड पर जंप करता है (छोटा आकार)
Correct
B
Macros cannot take parameters
मैक्रो में पैरामीटर नहीं होते
C
Subroutines are deleted before assembly
सब-रूटीन असेंबली से पहले डिलीट हो जाते हैं
D
Both are completely identical
दोनों बिल्कुल एक समान हैं
Solution Breakdown:
-> Macros trade extra memory space for faster execution (no `CALL`/`RET` jump overhead), just like `inline` functions in C++. -> Hence, Option (A) is the correct answer.
-> मैक्रो में फंक्शन कॉल/रिटर्न का समय बचता है, लेकिन कोड बार-बार कॉपी होने से प्रोग्राम का आकार बढ़ जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 72 NEW
📜 PYQs MEDIUM
In Assembly Language, what is an "Assembler Directive" (Pseudo-instruction, like `ORG`, `DB`, `END`)?
असेंबली लैंग्वेज में "असेंबलर डायरेक्टिव" (जैसे `ORG`, `DB`, `END`) क्या होता है?
A
A CPU arithmetic instruction
एक CPU अंकगणितीय निर्देश
B
A runtime error
एक रन-टाइम एरर
C
A hardware interrupt
एक हार्डवेयर इंटरप्ट
D
A special command given to the Assembler itself (e.g., to reserve memory or mark the end of code) that does NOT generate executable CPU machine instructions
असेंबलर को दिया गया एक विशेष निर्देश (जैसे मेमोरी आरक्षित करना या कोड का अंत बताना) जो स्वयं कोई मशीन कोड उत्पन्न नहीं करता
Correct
Solution Breakdown:
-> Directives guide the assembler during translation (like `DB` to Define Byte or `END` to stop assembly), rather than being executed by the CPU. -> Hence, Option (D) is the correct answer.
-> असेंबलर डायरेक्टिव केवल अनुवाद के समय असेंबलर का मार्गदर्शन करते हैं, CPU इन्हें निष्पादित नहीं करता। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 73 NEW
📜 PYQs MEDIUM
Why do low-level programmers often read and write Machine Code using "Hexadecimal" (Base 16) instead of pure Binary (Base 2)?
लो-लेवल प्रोग्रामर शुद्ध बाइनरी (आधार 2) के बजाय "हेक्साडेसिमल" (आधार 16) में मशीन कोड क्यों पढ़ते और लिखते हैं?
A
Because CPUs only understand Hexadecimal
क्योंकि CPU केवल हेक्साडेसिमल समझते हैं
B
Because Binary cannot represent numbers above 10
क्योंकि बाइनरी 10 से बड़ी संख्या नहीं दिखा सकता
C
Because every 4 binary bits condense cleanly into 1 Hex digit, making long binary machine instructions much shorter and easier for humans to read without errors
क्योंकि हर 4 बाइनरी बिट्स 1 हेक्स अंक में सिमट जाते हैं, जिससे लंबे बाइनरी निर्देश छोटे और पढ़ने में आसान हो जाते हैं
Correct
D
Because Hexadecimal uses less RAM
क्योंकि हेक्साडेसिमल कम RAM लेता है
Solution Breakdown:
-> For example, a 16-bit binary instruction `1011000001100001` becomes just `B061` in Hexadecimal—far less error-prone for engineers. -> Hence, Option (C) is the correct answer.
-> 16-बिट का लंबा बाइनरी कोड हेक्साडेसिमल में केवल 4 अंकों में लिखा जा सकता है, जिससे गलतियाँ बहुत कम होती हैं। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 74 NEW
📜 PYQs HARD
In Low-Level Computer Architecture, what is "Direct Addressing Mode" vs. "Indirect Addressing Mode"?
लो-लेवल कंप्यूटर आर्किटेक्चर में "डायरेक्ट एड्रेसिंग मोड" और "इनडायरेक्ट एड्रेसिंग मोड" में क्या अंतर है?
A
Both fetch data from the keyboard
दोनों कीबोर्ड से डेटा लाते हैं
B
In Direct mode, the instruction holds the actual memory address of the data; in Indirect mode, the instruction holds the address of a location/register that POINTS to the actual data address
डायरेक्ट मोड में निर्देश में डेटा का वास्तविक मेमोरी एड्रेस होता है; इनडायरेक्ट मोड में निर्देश उस स्थान का पता रखता है जहाँ डेटा का वास्तविक एड्रेस स्टोर है
Correct
C
Indirect mode is faster than Immediate mode
इनडायरेक्ट मोड इमीडिएट मोड से तेज़ होता है
D
Direct mode cannot access RAM
डायरेक्ट मोड RAM एक्सेस नहीं कर सकता
Solution Breakdown:
-> Indirect addressing works just like a Pointer in C/C++, requiring an extra memory lookup to find the final operand. -> Hence, Option (B) is the correct answer.
-> इनडायरेक्ट एड्रेसिंग C/C++ के पॉइंटर की तरह काम करती है, जिसमें वास्तविक डेटा तक पहुँचने के लिए एक अतिरिक्त मेमोरी लुकअप करना पड़ता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 75 NEW
📜 PYQs MEDIUM
In Assembly Language, what is "Immediate Addressing Mode" (e.g., `MOV AX, 10`)?
असेंबली लैंग्वेज में "इमीडिएट एड्रेसिंग मोड" (जैसे `MOV AX, 10`) क्या होता है?
A
The operand value itself is specified directly inside the instruction rather than stored in memory
ऑपरेंड का मान मेमोरी में होने के बजाय सीधे निर्देश के अंदर ही दिया होता है
Correct
B
The operand is fetched from a hard disk
ऑपरेंड हार्ड डिस्क से लाया जाता है
C
The instruction executes without a CPU
निर्देश बिना CPU के चलता है
D
The address is stored in another register
एड्रेस किसी दूसरे रजिस्टर में स्टोर होता है
Solution Breakdown:
-> Immediate addressing is very fast because no extra memory read is needed to fetch the constant value `10`. -> Hence, Option (A) is the correct answer.
-> इमीडिएट एड्रेसिंग बहुत तेज़ होती है क्योंकि डेटा सीधे निर्देश में ही मौजूद होता है और मेमोरी से लाने की ज़रूरत नहीं पड़ती। -> इसलिए विकल्प (A) बिल्कुल सही है।
Prev 1 2 3 4 5 Next
ESSENTIAL STUDY KIT

Master Programming Basics & Low-Level Languages 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!