Computer Awareness MCQs for Banking

महत्वपूर्ण बहुविकल्पीय प्रश्नों का अभ्यास करें। उत्तर, व्याख्या, विषय और परीक्षा टैग के साथ।

Computer Awareness MCQs for Banking

श्रेणी: Computer Awareness | परीक्षा: Banking

883 प्रश्न
651
Programming Languages and Translators • Programming Basics
पूर्णांक जैसे 12, 0 और −7 रखने के लिए सामान्यतः किस data type का उपयोग होता है? Which data type is generally used to represent whole numbers such as 12, 0 and −7?
सही उत्तर: C Correct Answer: C
Integer पूर्णांक मानों के लिए उपयोग होता है। इसमें भिन्नात्मक भाग नहीं होता; उपलब्ध मानों की सीमा भाषा और प्रकार पर निर्भर करती है।
An integer represents whole-number values without a fractional part. The available range depends on the language and integer type.
652
Programming Languages and Translators • Programming Basics
Boolean data type मुख्यतः किन दो तार्किक मानों को दर्शाता है? Which two logical values does the Boolean data type primarily represent?
सही उत्तर: A Correct Answer: A
Boolean का उपयोग सत्य या असत्य स्थिति दर्शाने के लिए होता है। यह शर्तों और तार्किक निर्णयों में उपयोगी है।
A Boolean represents a true or false condition. It is useful in conditions and logical decisions.
653
Programming Languages and Translators • Programming Basics
C भाषा में assignment और equality comparison के ऑपरेटर क्रमशः कौन-से हैं? In C, which operators represent assignment and equality comparison, respectively?
सही उत्तर: B Correct Answer: B
C में = किसी variable को मान देता है, जबकि == दो मानों की समानता जाँचता है। दोनों के बीच भ्रम से प्रोग्राम में त्रुटि हो सकती है।
In C, = assigns a value, while == tests whether two values are equal. Confusing them can introduce a program defect.
654
Programming Languages and Translators • Programming Basics
C भाषा में पूर्णांकों के लिए 17 % 5 का परिणाम क्या है? In C, what is the result of 17 % 5 for integer operands?
सही उत्तर: D Correct Answer: D
% शेषफल देता है। 17 को 5 से भाग देने पर भागफल 3 और शेषफल 2 मिलता है।
The % operator gives the remainder. Dividing 17 by 5 gives a quotient of 3 and a remainder of 2.
655
Programming Languages and Translators • Programming Basics
Source code में सामान्य comments लिखने का प्रमुख उद्देश्य क्या है? What is the main purpose of ordinary comments in source code?
सही उत्तर: C Correct Answer: C
Comments कोड को समझने और बनाए रखने में सहायता करते हैं। सामान्य comments प्रोग्राम के निष्पादन योग्य निर्देश नहीं होते।
Comments help readers understand and maintain code. Ordinary comments are not executable program instructions.
656
Programming Languages and Translators • Programming Basics
C में एक ही प्रकार के कई मानों को एक नाम के अंतर्गत index से एक्सेस करने के लिए किसका उपयोग किया जाता है? In C, what is used to access multiple values of the same type under one name using an index?
सही उत्तर: A Correct Answer: A
Array एक ही प्रकार के तत्वों का संग्रह है। प्रत्येक तत्व को उसके index से संदर्भित किया जा सकता है।
An array is a collection of elements of the same type. Each element can be referenced using its index.
657
Programming Languages and Translators • Programming Basics
एक ही कार्य करने वाले कोड को बार-बार लिखने के बजाय function में रखने का प्रमुख लाभ क्या है? What is a main benefit of placing code for a repeated task in a function instead of rewriting it each time?
सही उत्तर: B Correct Answer: B
Function संबंधित कार्य को एक इकाई में संगठित करता है। आवश्यकता होने पर उसे दोबारा बुलाया जा सकता है, जिससे अनावश्यक दोहराव घटता है।
A function organizes a task into a unit that can be called again when needed, reducing unnecessary code duplication.
658
Programming Languages and Translators • Translators and Errors
C में जिस statement के अंत में semicolon आवश्यक है, वहाँ उसे छोड़ देना सामान्यतः किस प्रकार की त्रुटि है? In C, omitting a semicolon where one is required at the end of a statement is generally what type of error?
सही उत्तर: D Correct Answer: D
आवश्यक semicolon छोड़ने से भाषा के व्याकरण का उल्लंघन होता है। Compiler सामान्यतः ऐसी syntax त्रुटि का निदान देता है।
Omitting a required semicolon violates the language grammar. A compiler generally reports a diagnostic for such a syntax error.
659
Programming Languages and Translators • Translators and Errors
Python में 10 / 0 निष्पादित करने पर सामान्यतः क्या होता है? What normally happens when 10 / 0 is executed in Python?
सही उत्तर: C Correct Answer: C
Python में शून्य से भाग देने पर ZeroDivisionError उत्पन्न होता है। यह निष्पादन के समय आने वाला exception है।
Division by zero in Python raises ZeroDivisionError. This is an exception occurring during execution.
660
Programming Languages and Translators • Translators and Errors
आयत का क्षेत्रफल निकालने वाला प्रोग्राम length × breadth के बजाय length + breadth करता है। यदि वह बिना रुके चलता है, तो मुख्य त्रुटि क्या है? A program calculates rectangle area using length + breadth instead of length × breadth. If it runs without stopping, what is the main error?
सही उत्तर: A Correct Answer: A
प्रोग्राम चल रहा है, लेकिन सूत्र गलत है। यह logical error है, जिसमें निर्देश वैध हो सकते हैं लेकिन परिणाम अपेक्षित नहीं होता।
The program runs but uses an incorrect formula. This is a logical error: instructions may be valid while producing an unintended result.

श्रेणी अनुसार अभ्यास करें

वर्तमान परीक्षा टैग के भीतर किसी श्रेणी को चुनकर अभ्यास करें।

विषय अनुसार अभ्यास करें

किसी विषय को चुनकर उसी विषय के सभी MCQs का अभ्यास करें।

टॉपिक अनुसार अभ्यास करें

किसी एक टॉपिक पर केंद्रित अभ्यास के लिए कार्ड चुनें।

परीक्षा अनुसार अभ्यास करें

अन्य परीक्षा टैग के अनुसार प्रश्नों का अभ्यास करें।