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 Languages

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

Timed Quiz
Newest Classic 25 Qs
No Questions Match Your Filter

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

Question 326 NEW
📜 PYQs MEDIUM
In Assembly Language, what does the instruction `MOV AX, 5` perform?
असेंबली लैंग्वेज में `MOV AX, 5` निर्देश क्या कार्य करता है?
A
Copies the immediate value `5` into the `AX` register
`5` मान को सीधे `AX` रजिस्टर में कॉपी (लोड) करता है
Correct
B
Adds `5` to the `AX` register
`AX` रजिस्टर में `5` जोड़ता है
C
Deletes the `AX` register
`AX` रजिस्टर को डिलीट करता है
D
Prints `5` on the printer
प्रिंटर पर `5` प्रिंट करता है
Solution Breakdown:
-> `MOV` (Move) is the most common data-transfer mnemonic in Assembly; the first operand (`AX`) is the destination and the second (`5`) is the source. -> Hence, Option (A) is the correct answer.
-> `MOV` असेंबली में डेटा ट्रांसफर का सबसे सामान्य निमोनिक है, जो स्रोत मान (`5`) को गंतव्य रजिस्टर (`AX`) में कॉपी करता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 327 NEW
📜 PYQs MEDIUM
In Low-Level Assembly Language (like x86), what are "Registers" such as `AX`, `BX`, `CX`, and `DX`?
लो-लेवल असेंबली लैंग्वेज (जैसे x86) में `AX`, `BX`, `CX` और `DX` क्या होते हैं?
A
Hard disk partitions
हार्ड डिस्क पार्टिशन
B
High-level functions
हाई-लेवल फंक्शन
C
Network ports
नेटवर्क पोर्ट
D
General-purpose CPU registers used directly by assembly instructions for fast arithmetic and data movement
सामान्य-उद्देश्य वाले CPU रजिस्टर जिनका उपयोग असेंबली निर्देश तेज़ गणना और डेटा मूवमेंट के लिए सीधे करते हैं
Correct
Solution Breakdown:
-> In classic x86 assembly: `AX` = Accumulator, `BX` = Base, `CX` = Counter (used in loops), and `DX` = Data register. -> Hence, Option (D) is the correct answer.
-> x86 असेंबली में `AX` (एक्यूमुलेटर), `BX` (बेस), `CX` (काउंटर) और `DX` (डेटा) मुख्य जनरल-पर्पस रजिस्टर हैं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 328 NEW
📜 PYQs MEDIUM
What is a "Syntax Tree" (Abstract Syntax Tree – AST) in programming languages?
प्रोग्रामिंग भाषाओं में "सिंटैक्स ट्री" क्या होता है?
A
A folder structure on a hard disk
हार्ड डिस्क पर फोल्डर संरचना
B
A flowchart for loops
लूप के लिए फ्लोचार्ट
C
A hierarchical tree representation of the grammatical structure of source code built by the compiler's parser
कंपाइलर के पार्सर द्वारा बनाई गई सोर्स कोड की व्याकरणिक संरचना का पदानुक्रमित ट्री रूप
Correct
D
A network topology
एक नेटवर्क टोपोलॉजी
Solution Breakdown:
-> Compilers build an Abstract Syntax Tree (AST) during Syntax Analysis to validate grammar and generate intermediate code. -> Hence, Option (C) is the correct answer.
-> कंपाइलर सिंटैक्स एनालिसिस के दौरान कोड की संरचना को समझने और इंटरमीडिएट कोड बनाने के लिए सिंटैक्स ट्री तैयार करता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 329 NEW
📜 PYQs EASY
What is the output of the integer expression `10 + 20
5 * 2` in standard programming languages (following standard precedence and left-to-right associativity)? / मानक प्रोग्रामिंग भाषाओं में पूर्णांक व्यंजक `10 + 20 / 5 * 2` का आउटपुट क्या होगा?
A
12
12
B
18
18
Correct
C
14
14
D
6
6
Solution Breakdown:
-> `/` and `*` have equal precedence and evaluate left-to-right: first `20 -> Hence, Option (B) is the correct answer.
-> 5 = 4`, then `4 * 2 = 8`, and finally `10 + 8 = 18`. / `/` और `*` की प्राथमिकता समान होती है और वे बाएं से दाएं हल होते हैं: पहले `20 / 5 = 4`, फिर `4 * 2 = 8`, और अंत में `10 + 8 = 18`। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 330 NEW
📜 PYQs MEDIUM
What is "Operator Precedence" in programming?
प्रोग्रामिंग में "ऑपरेटर प्रीसीडेंस" (प्राथमिकता) क्या होती है?
A
The rule that determines which operator is evaluated FIRST in an expression containing multiple operators (e.g., `*` before `+`)
वह नियम जो तय करता है कि कई ऑपरेटर वाले व्यंजक में किस ऑपरेटर की गणना पहले होगी (जैसे `+` से पहले `*`)
Correct
B
The speed of an operator
किसी ऑपरेटर की गति
C
The number of variables in a program
प्रोग्राम में वेरिएबल्स की संख्या
D
The alphabetical order of keywords
कीवर्ड्स का वर्णमाला क्रम
Solution Breakdown:
-> Just like BODMAS in math, in `5 + 2 * 3`, multiplication has higher precedence than addition, so `2 * 3` is evaluated first, yielding `11` (not `21`). -> Hence, Option (A) is the correct answer.
-> गणित के BODMAS की तरह, `5 + 2 * 3` में गुणा की प्राथमिकता अधिक होने से पहले `2 * 3 = 6` और फिर `5 + 6 = 11` मिलता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 331 NEW
📜 PYQs EASY
What is the main purpose of "Comments" in a computer program?
कंप्यूटर प्रोग्राम में "कमेंट्स" का मुख्य उद्देश्य क्या होता है?
A
To explain code logic to human programmers; they are completely ignored by the compiler/interpreter
मानव प्रोग्रामरों को कोड का तर्क समझाने के लिए; कंपाइलर या इंटरप्रेटर इन्हें पूरी तरह नज़रअंदाज़ कर देते हैं
Correct
B
To make the program run faster
प्रोग्राम को तेज़ चलाने के लिए
C
To print output on the monitor
मॉनिटर पर आउटपुट प्रिंट करने के लिए
D
To store user passwords
यूज़र पासवर्ड स्टोर करने के लिए
Solution Breakdown:
-> Good comments make complex code easy to read and maintain later, without adding any size or overhead to the compiled machine code. -> Hence, Option (A) is the correct answer.
-> कमेंट्स कोड को पढ़ने और समझने में आसान बनाते हैं तथा प्रोग्राम के निष्पादन या गति पर इनका कोई असर नहीं पड़ता। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 332 NEW
📜 PYQs EASY
Which programming paradigm uses a "Top-Down" design approach, breaking a problem down into functions/procedures (e.g., C, Pascal, FORTRAN)?
कौन सी प्रोग्रामिंग शैली "टॉप-डाउन" दृष्टिकोण का उपयोग करती है और समस्या को छोटे फंक्शंस/प्रोसीजर में बांटती है (जैसे C, Pascal, FORTRAN)?
A
Object-Oriented Programming
ऑब्जेक्ट-ओरिएंटेड प्रोग्रामिंग
B
Logic Programming
लॉजिक प्रोग्रामिंग
C
Markup Programming
मार्कअप प्रोग्रामिंग
D
Procedural (Structured) Programming
प्रोसीजरल (संरचित) प्रोग्रामिंग
Correct
Solution Breakdown:
-> Procedural languages (like C) follow a Top-Down approach focusing on functions, whereas Object-Oriented languages (like C++, Java) follow a Bottom-Up approach focusing on data and objects. -> Hence, Option (D) is the correct answer.
-> प्रोसीजरल भाषाएँ (C) टॉप-डाउन अप्रोच पर और ऑब्जेक्ट-ओरिएंटेड भाषाएँ (C++, Java) बॉटम-अप अप्रोच पर काम करती हैं। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 333 NEW
📜 PYQs MEDIUM
What is the difference between "Call by Value" and "Call by Reference" when passing arguments to a function?
किसी फंक्शन में आर्ग्युमेंट पास करते समय "कॉल बाय वैल्यू" और "कॉल बाय रेफरेंस" में क्या अंतर है?
A
Call by Value modifies the original variable
कॉल बाय वैल्यू मूल वेरिएबल को बदल देता है
B
Both work identically
दोनों एक समान काम करते हैं
C
Call by Value passes a copy of the variable (original stays unchanged), whereas Call by Reference passes the memory address (changes inside the function modify the original variable)
कॉल बाय वैल्यू में वेरिएबल की कॉपी भेजी जाती है (मूल मान नहीं बदलता), जबकि कॉल बाय रेफरेंस में मेमोरी एड्रेस भेजा जाता है (बदलाव मूल वेरिएबल को भी बदल देते हैं)
Correct
D
Call by Reference is not supported in C++
C++ में कॉल बाय रेफरेंस सपोर्ट नहीं होता
Solution Breakdown:
-> Call by Value protects original data from accidental changes; Call by Reference is useful when a function needs to swap or update original variables (like `swap(&a, &b)`). -> Hence, Option (C) is the correct answer.
-> कॉल बाय वैल्यू मूल डेटा को सुरक्षित रखता है, जबकि कॉल बाय रेफरेंस मूल वेरिएबल को सीधे अपडेट करने में मदद करता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 334 NEW
📜 PYQs MEDIUM
What runtime error occurs if a recursive function does NOT have a proper Base Case (stopping condition)?
यदि किसी रिकर्सिव फंक्शन में सही बेस केस (रुकने की शर्त) न हो, तो कौन सी रन-टाइम त्रुटि होती है?
A
Syntax Error
सिंटैक्स एरर
B
Stack Overflow Error
स्टैक ओवरफ्लो एरर
Correct
C
Linker Error
लिंकर एरर
D
File Not Found Error
फाइल नॉट फाउंड एरर
Solution Breakdown:
-> Every recursive call pushes a new activation frame onto the Call Stack in RAM. Without a base case, the stack fills up completely and crashes with a Stack Overflow error. -> Hence, Option (B) is the correct answer.
-> हर रिकर्सिव कॉल के लिए RAM के कॉल स्टैक में जगह बनती है। रुकने की शर्त न होने पर स्टैक पूरी तरह भर जाता है और 'स्टैक ओवरफ्लो' एरर आ जाता है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 335 NEW
📜 PYQs EASY
What is "Recursion" in computer programming?
कंप्यूटर प्रोग्रामिंग में "रिकर्शन" क्या होता है?
A
A function calling itself directly or indirectly to solve smaller sub-problems
किसी फंक्शन द्वारा छोटी उप-समस्याओं को हल करने के लिए स्वयं को सीधे या अप्रत्यक्ष रूप से कॉल करना
Correct
B
Deleting a function
किसी फंक्शन को डिलीट करना
C
Writing code without loops
बिना लूप के कोड लिखना
D
Compiling a program twice
प्रोग्राम को दो बार कंपाइल करना
Solution Breakdown:
-> Recursion is widely used to compute factorials, Fibonacci numbers, and traverse tree data structures. Every valid recursive function MUST have a "Base Case" to stop calling itself. -> Hence, Option (A) is the correct answer.
-> रिकर्शन का उपयोग फैक्टोरियल, फिबोनाची और ट्री ट्रैवर्सल में होता है। अनंत लूप से बचने के लिए इसमें एक 'बेस केस' होना अनिवार्य है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 336 NEW
📜 PYQs EASY
What is the difference between the `break` statement and the `continue` statement inside a loop?
लूप के अंदर `break` स्टेटमेंट और `continue` स्टेटमेंट में क्या अंतर है?
A
Both terminate the entire program
दोनों पूरे प्रोग्राम को बंद कर देते हैं
B
`continue` exits the loop permanently
`continue` लूप से स्थायी रूप से बाहर निकल जाता है
C
`break` restarts the computer
`break` कंप्यूटर को रीस्टार्ट करता है
D
`break` immediately terminates the entire loop, whereas `continue` skips only the current iteration and jumps to the next iteration
`break` पूरे लूप को तुरंत समाप्त कर देता है, जबकि `continue` केवल वर्तमान चरण को छोड़कर अगले चरण पर चला जाता है
Correct
Solution Breakdown:
-> Use `break` when you have found what you were searching for and want to exit early; use `continue` when you want to ignore one specific item and keep looping. -> Hence, Option (D) is the correct answer.
-> लूप को पूरी तरह रोकने के लिए `break` और केवल एक राउंड को स्किप करके आगे बढ़ने के लिए `continue` का उपयोग होता है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 337 NEW
📜 PYQs EASY
Which of the following is an "Exit-Controlled Loop" (meaning the loop body is guaranteed to execute AT LEAST ONCE even if the condition is false)?
निम्नलिखित में से कौन सा एक "एग्जिट-कंट्रोल्ड लूप" है (अर्थात् शर्त गलत होने पर भी लूप बॉडी कम से कम एक बार ज़रूर चलती है)?
A
`for` loop
फॉर लूप
B
`while` loop
व्हाइल लूप
C
`do-while` loop
डू-व्हाइल लूप
Correct
D
`if-else` statement
इफ-एल्स स्टेटमेंट
Solution Breakdown:
-> `for` and `while` are Entry-Controlled loops (condition is checked before entering), whereas `do-while` checks the condition at the bottom (exit), guaranteeing at least one execution. -> Hence, Option (C) is the correct answer.
-> `for` और `while` में शर्त पहले जांची जाती है, जबकि `do-while` में शर्त अंत में जांची जाती है, इसलिए यह कम से कम एक बार अवश्य चलता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 338 NEW
📜 PYQs MEDIUM
What is the difference between the `=` operator and the `==` operator in C, C++, Java, and Python?
C, C++, Java और Python में `=` ऑपरेटर और `==` ऑपरेटर में क्या अंतर है?
A
Both are used for addition
दोनों जोड़ने के लिए उपयोग होते हैं
B
`=` is the Assignment operator (assigns a value), whereas `==` is the Equality comparison operator (checks if two values are equal)
`=` असाइनमेंट ऑपरेटर है (मान सौंपता है), जबकि `==` तुलनात्मक ऑपरेटर है (जांचता है कि दो मान बराबर हैं या नहीं)
Correct
C
`==` assigns a value, `=` compares values
`==` मान सौंपता है और `=` तुलना करता है
D
Both are identical
दोनों बिल्कुल एक जैसे हैं
Solution Breakdown:
-> Writing `x = 5` stores 5 into `x`, whereas `x == 5` checks whether `x` currently equals 5 and returns `True` or `False`. -> Hence, Option (B) is the correct answer.
-> `x = 5` वेरिएबल `x` में 5 स्टोर करता है, जबकि `x == 5` यह जांचता है कि `x` का मान 5 के बराबर है या नहीं। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 339 NEW
📜 PYQs EASY
Which Logical Operator returns `True` ONLY when BOTH conditions are `True`?
कौन सा लॉजिकल ऑपरेटर केवल तभी `True` देता है जब दोनों शर्तें `True` हों?
A
Logical AND (`&&` or `and`)
लॉजिकल AND
Correct
B
Logical OR (`||` or `or`)
लॉजिकल OR
C
Logical NOT (`!` or `not`)
लॉजिकल NOT
D
Logical XOR
लॉजिकल XOR
Solution Breakdown:
-> Logical AND requires all combined conditions to be true; Logical OR returns true if at least one condition is true; Logical NOT reverses true to false and vice versa. -> Hence, Option (A) is the correct answer.
-> लॉजिकल AND में दोनों शर्तों का सत्य होना आवश्यक है, जबकि OR में किसी एक शर्त के सत्य होने पर ही परिणाम `True` आ जाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 340 NEW
📜 PYQs EASY
What does the Modulus operator (`%`) return in programming languages like C, Java, and Python?
C, Java और Python जैसी प्रोग्रामिंग भाषाओं में मॉड्यूलस ऑपरेटर (`%`) क्या परिणाम देता है?
A
The percentage of a number
किसी संख्या का प्रतिशत
B
The quotient of division
भाग का भागफल
C
The square root of a number
किसी संख्या का वर्गमूल
D
The remainder after integer division
पूर्णांक भाग के बाद बचा हुआ शेषफल
Correct
Solution Breakdown:
-> For example, `17 % 5` evaluates to `2` because 17 divided by 5 leaves a remainder of 2. It is widely used to check whether a number is even or odd (`n % 2 == 0`). -> Hence, Option (D) is the correct answer.
-> उदाहरण के लिए, `17 % 5` का परिणाम `2` आता है क्योंकि 17 को 5 से भाग देने पर 2 शेष बचता है। इसका उपयोग सम-विषम संख्या जांचने में बहुत होता है। -> इसलिए विकल्प (D) बिल्कुल सही है।
Question 341 NEW
📜 PYQs EASY
Which type of operator is used to compare two values and return a Boolean result (`True` or `False`), such as `==`, `!=`, `>`, and `<`?
दो मानों की तुलना करने और बूलियन परिणाम (`True` या `False`) देने के लिए किस प्रकार के ऑपरेटर का उपयोग किया जाता है?
A
Arithmetic Operator
अंकगणितीय ऑपरेटर
B
Assignment Operator
असाइनमेंट ऑपरेटर
C
Relational (Comparison) Operator
रिलेशनल (तुलनात्मक) ऑपरेटर
Correct
D
Bitwise Operator
बिटवाइज़ ऑपरेटर
Solution Breakdown:
-> Relational operators (`==`, `!=`, `>`, `<`, `>=`, `<=`) are used inside `if` and loop conditions to compare operands and make decisions. -> Hence, Option (C) is the correct answer.
-> रिलेशनल ऑपरेटर्स का उपयोग `if` और लूप की शर्तों में दो मानों की तुलना करने के लिए किया जाता है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 342 NEW
📜 PYQs MEDIUM
What is "Type Casting" (Type Conversion) in programming?
प्रोग्रामिंग में "टाइप कास्टिंग" (टाइप कन्वर्ज़न) क्या होती है?
A
Changing the font style of code
कोड का फॉन्ट स्टाइल बदलना
B
Converting a value from one data type to another (e.g., converting an `int` to a `float`)
किसी मान को एक डेटा टाइप से दूसरे डेटा टाइप में बदलना (जैसे `int` को `float` में बदलना)
Correct
C
Deleting a variable
किसी वेरिएबल को डिलीट करना
D
Printing output to a printer
प्रिंटर पर आउटपुट निकालना
Solution Breakdown:
-> Type casting is of two types: Implicit (automatic widening by the compiler, e.g., `int` to `double`) and Explicit (manual narrowing by the programmer, e.g., `(int) 3.9` becomes `3`). -> Hence, Option (B) is the correct answer.
-> टाइप कास्टिंग दो प्रकार की होती है: इम्प्लिसिट (कंपाइलर द्वारा स्वतः) और एक्सप्लिसिट (प्रोग्रामर द्वारा मैनुअल रूप से)। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 343 NEW
📜 PYQs MEDIUM
What is the difference between a "Local Variable" and a "Global Variable"?
"लोकल वेरिएबल" और "ग्लोबल वेरिएबल" के बीच क्या अंतर है?
A
Local variables are accessible only inside the function/block where they are declared, whereas Global variables are accessible throughout the entire program
लोकल वेरिएबल केवल उसी फंक्शन या ब्लॉक के अंदर एक्सेस होते हैं जहाँ वे बनाए गए हैं, जबकि ग्लोबल वेरिएबल पूरे प्रोग्राम में कहीं भी एक्सेस किए जा सकते हैं
Correct
B
Global variables only work inside loops
ग्लोबल वेरिएबल केवल लूप के अंदर काम करते हैं
C
Local variables cannot store integers
लोकल वेरिएबल पूर्णांक स्टोर नहीं कर सकते
D
Both have the exact same scope
दोनों का स्कोप बिल्कुल समान होता है
Solution Breakdown:
-> Local variables are created when a function starts and destroyed when it ends (saving memory), whereas Global variables remain alive in memory for the entire lifetime of the program. -> Hence, Option (A) is the correct answer.
-> लोकल वेरिएबल फंक्शन खत्म होते ही मेमोरी से हट जाते हैं, जबकि ग्लोबल वेरिएबल पूरे प्रोग्राम के चलने तक मेमोरी में बने रहते हैं। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 344 NEW
📜 PYQs EASY
What is a "Literal" in programming?
प्रोग्रामिंग में "लिटरल" क्या होता है?
A
A syntax error
एक सिंटैक्स एरर
B
A fixed constant value written directly into the source code (such as `42`, `3.14`, or `"Hello"`)
सोर्स कोड में सीधे लिखा गया कोई स्थिर मान (जैसे `42`, `3.14` या `"Hello"`)
Correct
C
A hardware port
एक हार्डवेयर पोर्ट
D
A loop condition
एक लूप शर्त
Solution Breakdown:
-> In the statement `int age = 21;`, `int` is a keyword, `age` is an identifier (variable), and `21` is an integer literal. -> Hence, Option (B) is the correct answer.
-> कथन `int age = 21;` में `int` कीवर्ड है, `age` आइडेंटिफायर है और `21` एक लिटरल (सीधा मान) है। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 345 NEW
📜 PYQs EASY
What is a "Keyword" (Reserved Word) in a programming language?
किसी प्रोग्रामिंग भाषा में "कीवर्ड" (आरक्षित शब्द) क्या होता है?
A
A password to open the editor
एडिटर खोलने का पासवर्ड
B
A predefined word with a special fixed meaning to the compiler that CANNOT be used as a variable name
कंपाइलर के लिए विशेष और निश्चित अर्थ वाला पूर्वनिर्धारित शब्द जिसे वेरिएबल के नाम के रूप में उपयोग नहीं किया जा सकता
Correct
C
Any word typed by the user
यूज़र द्वारा टाइप किया गया कोई भी शब्द
D
A comment line
एक कमेंट लाइन
Solution Breakdown:
-> Examples of keywords include `if`, `else`, `while`, `for`, `int`, and `return`. Because they are reserved for language syntax, naming a variable `int` or `while` causes a syntax error. -> Hence, Option (B) is the correct answer.
-> `if`, `else`, `for`, `return` आदि कीवर्ड्स हैं। इनका अर्थ भाषा में पहले से तय होता है, इसलिए इन्हें वेरिएबल या फंक्शन का नाम नहीं बनाया जा सकता। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 346 NEW
📜 PYQs EASY
What is the difference between a "Variable" and a "Constant" in programming?
प्रोग्रामिंग में "वेरिएबल" और "कॉन्स्टेंट" के बीच क्या अंतर है?
A
A Variable's value can change during program execution, whereas a Constant's value remains fixed
प्रोग्राम चलते समय वेरिएबल का मान बदल सकता है, जबकि कॉन्स्टेंट का मान स्थिर रहता है
Correct
B
A Constant's value changes every second
कॉन्स्टेंट का मान हर सेकंड बदलता है
C
Variables can only store text
वेरिएबल केवल टेक्स्ट स्टोर कर सकते हैं
D
Constants cannot store numbers
कॉन्स्टेंट संख्याएँ स्टोर नहीं कर सकते
Solution Breakdown:
-> A Variable is a named memory location whose stored value can be updated (e.g., `score = 10; score = 20;`), while a Constant (e.g., `PI = 3.14`) cannot be modified once defined. -> Hence, Option (A) is the correct answer.
-> वेरिएबल एक ऐसा मेमोरी स्थान है जिसका मान प्रोग्राम के दौरान बदला जा सकता है, जबकि कॉन्स्टेंट (जैसे `PI = 3.14`) का मान एक बार तय होने के बाद नहीं बदलता। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 347 NEW
📜 PYQs MEDIUM
Which symbol in a Flowchart is used as an "Off-Page Connector" to continue a large flowchart onto a different page?
बड़े फ्लोचार्ट को दूसरे पेज पर जारी रखने के लिए "ऑफ-पेज कनेक्टर" के रूप में किस प्रतीक का उपयोग किया जाता है?
A
Oval
अंडाकार
B
Circle
वृत्त
C
Pentagon (Home-plate
downward-pointing five-sided shape) / पंचभुज (नीचे की ओर नुकीली पांच भुजाओं वाली आकृति)
Correct
D
Parallelogram
समांतर चतुर्भुज
Solution Breakdown:
-> A small Circle is an On-Page Connector (links parts on the same page), whereas a Pentagon (home-plate shape) is an Off-Page Connector that links a flowchart across different pages. -> Hence, Option (C) is the correct answer.
-> छोटा वृत्त एक ही पेज पर जोड़ने (ऑन-पेज) के लिए होता है, जबकि पंचभुज आकृति फ्लोचार्ट को एक पेज से दूसरे पेज पर जोड़ने (ऑफ-पेज) के काम आती है। -> इसलिए विकल्प (C) बिल्कुल सही है।
Question 348 NEW
📜 PYQs MEDIUM
In a Flowchart, which symbol is used to represent a "Predefined Process" (such as calling an external function or subroutine)?
फ्लोचार्ट में "पूर्वनिर्धारित प्रक्रिया" (जैसे किसी बाहरी फंक्शन या सब-रूटीन को कॉल करना) को दर्शाने के लिए किस प्रतीक का उपयोग किया जाता है?
A
A rectangle with double vertical bars on the left and right sides
बाईं और दाईं ओर दोहरी खड़ी रेखाओं वाला आयत
Correct
B
A simple circle
एक साधारण वृत्त
C
A diamond
एक डायमंड
D
A triangle
एक त्रिभुज
Solution Breakdown:
-> A rectangle with vertical stripes on both ends indicates a Predefined Process (subroutine/function) whose detailed steps are defined elsewhere. -> A plain rectangle represents a regular processing step, while a diamond represents a decision. -> Hence, Option (A) is the correct answer.
-> दोनों किनारों पर खड़ी रेखाओं वाला आयत दर्शाता है कि यह एक पूर्वनिर्धारित फंक्शन या सब-रूटीन है जिसकी विस्तृत प्रक्रिया अलग से लिखी गई है। -> साधारण आयत सामान्य प्रोसेस को और डायमंड निर्णय को दर्शाता है। -> इसलिए विकल्प (A) बिल्कुल सही है।
Question 349 NEW
📜 PYQs EASY
What is a "Dry Run" (Manual Tracing) of a program or algorithm?
किसी प्रोग्राम या एल्गोरिदम का "ड्राई रन" क्या होता है?
A
Running a program without an internet connection
बिना इंटरनेट कनेक्शन के प्रोग्राम चलाना
B
Manually stepping through code line-by-line on paper to track variable values and verify logic before running it on a computer
कंप्यूटर पर चलाने से पहले कागज़ पर लाइन-दर-लाइन कोड की जांच करना ताकि वेरिएबल के मान और लॉजिक को सत्यापित किया जा सके
Correct
C
Deleting all temporary files
सभी अस्थायी फाइलों को डिलीट करना
D
Cooling down the processor
प्रोसेसर को ठंडा करना
Solution Breakdown:
-> A Dry Run helps programmers catch logical errors and infinite loops early by manually recording how each variable changes at every step (using a Trace Table). -> Hence, Option (B) is the correct answer.
-> ड्राई रन में प्रोग्रामर बिना कंप्यूटर के, हाथ से हर स्टेप पर वेरिएबल के बदलते मानों की जांच करता है जिससे लॉजिकल गलतियाँ पहले ही पकड़ी जाती हैं। -> इसलिए विकल्प (B) बिल्कुल सही है।
Question 350 NEW
📜 PYQs EASY
What is "Pseudocode" in computer programming?
कंप्यूटर प्रोग्रामिंग में "स्यूडोकोड" क्या होता है?
A
Executable binary machine code
निष्पादन योग्य बाइनरी मशीन कोड
B
An informal, plain-English description of an algorithm's logic that does not follow strict syntax rules
किसी एल्गोरिदम के तर्क का सरल अंग्रेजी में अनौपचारिक विवरण जो सख्त सिंटैक्स नियमों से बंधा नहीं होता
Correct
C
A hardware circuit diagram
एक हार्डवेयर सर्किट आरेख
D
A type of computer virus
एक प्रकार का कंप्यूटर वायरस
Solution Breakdown:
-> Pseudocode bridges the gap between a human-readable algorithm and actual programming code. It uses simple keywords like `IF`, `ELSE`, `WHILE`, and `PRINT` so programmers can plan logic before coding in C, Java, or Python. -> Unlike real source code, pseudocode cannot be directly compiled or executed by a computer. -> Hence, Option (B) is the correct answer.
-> स्यूडोकोड एल्गोरिदम और वास्तविक प्रोग्रामिंग कोड के बीच की कड़ी है। इसमें `IF`, `ELSE`, `WHILE` जैसे सरल शब्दों का उपयोग करके कोडिंग से पहले प्रोग्राम का लॉजिक तैयार किया जाता है। -> वास्तविक कोड के विपरीत, स्यूडोकोड को कंप्यूटर द्वारा सीधे कंपाइल या रन नहीं किया जा सकता। -> इसलिए विकल्प (B) बिल्कुल सही है।
Prev 12 13 14 15 16 Next
ESSENTIAL STUDY KIT

Master Programming 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!