July 2023 ke O Level M3-R5 paper ke MCQs solve karke aap apne concept ko cross-check kar sakte hain. Is post mein diye gaye answers verified hain aur bilingual format aapko easy understanding deta hai. Real exam feel lene ke liye yeh practice set best hai. Concept clarity aur revision dono ek saath — yahaan milega!

M3-R5 July 2023 O Level Previous Paper Question Answers
Q. 1. पाइथन किस पीढ़ी की प्रोग्रामिंग भाषा का उदाहरण है?
Python is an example of which generation programming language?
(A) 2nd
(B) 3rd
(C) 1st
(D) 4GLs
Correct Answer: (D) 4GLs / 4th Generation Languages
Q. 2. एल्गोरिदम में निम्न में से कौन-सी विशेषता नहीं होनी चाहिए?
Algorithms must be all of the following except:
(A) संक्षिप्त / Concise
(B) सटीक / Precise
(C) अस्पष्ट / Ambiguous
(D) तार्किक / Logical
Correct Answer: (C) अस्पष्ट / Ambiguous
Q. 3. किस भाषा प्रोसेसर का कार्य पूरे प्रोग्राम को एक बार में ऑब्जेक्ट कोड में बदलना होता है?
Which language processor translates the program into object code as a whole?
(A) इंटरप्रेटर / Interpreter
(B) डिबगर / Debugger
(C) कम्पाइलर / Compiler
(D) लिंकर्स / Linker
Correct Answer: (C) कम्पाइलर / Compiler
Q. 4. निर्देशों का वह सेट जो कंप्यूटर को व्यवहार, कार्य और समस्या समाधान बताता है, क्या कहलाता है?
A set of instructions that tells the computer how to behave, what to do and derive at a solution to a particular problem is:
(A) प्रोग्राम / Program
(B) एल्गोरिथ्म / Algorithm
(C) प्रोग्रामिंग / Programming
(D) स्यूडोकोड / Pseudocode
Correct Answer: (A) प्रोग्राम / Program
Q. 5. प्रोग्राम डेवलपमेंट के छह तार्किक चरण कौन-कौन से होते हैं?
The six stages of program development in logical order are:
(A) परिभाषित करें, विश्लेषण करें, विकसित करें, लिखें, परीक्षण करें और डिबग करें, दस्तावेज़
(B) परिभाषित करें, लिखें, विकसित करें, विश्लेषण करें, परीक्षण करें, दस्तावेज़ करें
(C) परिभाषित करें, विश्लेषण करें, लिखें, परीक्षण करें, दस्तावेज़ करें, डिबग करें
(D) परिभाषित करें, विकसित करें, लिखें, परीक्षण करें, दस्तावेज़ करें, डिबग करें
Correct Answer: (A) परिभाषित करें, विश्लेषण करें, विकसित करें, लिखें, परीक्षण करें और डिबग करें, दस्तावेज़
Q. 6. पाइथन कोड for i in range(int(2.0)): के आउटपुट में क्या आएगा?
What will be the output of the following Python code?
for i in range(int(2.0)):
print(i)
(A) error
(B) 0.0 1.0
(C) none of the mentioned
(D) 0 1
Correct Answer: (D) 0 1
Q. 7. निर्देशों का वह क्रमबद्ध समूह जो समस्या का समाधान करने में मदद करता है, क्या कहलाता है?
A set of logically sequenced instructions that allows to find the solution to a problem is:
(A) एल्गोरिथ्म / Algorithm
(B) प्रोग्राम / Program
(C) प्रोग्रामिंग / Programming
(D) स्यूडोकोड / Pseudocode
Correct Answer: (A) एल्गोरिथ्म / Algorithm
Q. 8. निम्न में से किसने प्रोग्रामिंग कोड को पूरे प्रोग्राम के बजाय लाइन दर लाइन निष्पादित किया था?
Which of the following had executes programming codes line by line, rather than the whole program:
(A) ट्रांसलेटर / Translator
(B) कम्पाइलर / Compiler
(C) इंटरप्रेटर / Interpreter
(D) एक्जीक्यूटर / Executer
Correct Answer: (C) इंटरप्रेटर / Interpreter
Q. 9. कंपाइलर के लिए निम्न में से कौन-सा कथन सही है?
Select one of the true statements for the compiler
(A) कंपाइलर का इनपुट सोर्स प्रोग्राम है / The input of the compiler is source program
(B) यह सोर्स कोड को संपूर्ण रूप से ऑब्जेक्ट कोड में अनुवादित करता है / It translates the source code into object code as a whole
(C) कंपाइलर का आउटपुट ऑब्जेक्ट कोड है / The output of the compiler is object code
(D) ऊपर के सभी / All of the above
Correct Answer: (D) ऊपर के सभी / All of the above
Q. 10. स्यूडोकोड क्या है?
The pseudocode is…
(A) Structured English to communicate the logic of a program
(B) फ्लोचार्ट / Flowchart
(C) कोडिंग / Coding
(D) ऑब्जेक्ट कोड / Object code
Correct Answer: (A) Structured English to communicate the logic of a program
Q. 11. सोर्स कोड का मशीन भाषा में अनुवाद करने का कार्य कौन करता है?
Translates the source code into machine language:
(A) ऑपरेटिंग सिस्टम / Operating system
(B) उपरोक्त सभी / All of these
(C) लैंग्वेज प्रोसेसर / Language processor
(D) प्रोग्रामिंग भाषा / Programming language
Correct Answer: (C) लैंग्वेज प्रोसेसर / Language processor
Q. 12. किसी समस्या को हल करने के लिए चरण-दर-चरण प्रक्रिया को क्या कहा जाता है?
The step by step procedure for solving a problem:
(A) एल्गोरिथ्म / Algorithm
(B) योजना बनाना / Planning
(C) फ्लोचार्ट / Flowchart
(D) प्रोग्रामिंग / Programming
Correct Answer: (A) एल्गोरिथ्म / Algorithm
Q. 13. सोर्स कोड में त्रुटियों का पता लगाना और उन्हें ठीक करना क्या कहलाता है?
Finding and solving errors in the source code is known as:
(A) डिकोडिंग / Decoding
(B) परीक्षण / Testing
(C) डेस्क चेकिंग / Desk checking
(D) डिबगिंग / Debugging
Correct Answer: (D) डिबगिंग / Debugging
Q. 14. निम्नलिखित में से किस पीढ़ी की प्रोग्रामिंग भाषाएं सबसे तेज निष्पादन प्रदान करती हैं?
Which of the following generations of programming language executed code faster:
(A) 3rd
(B) 4GLs
(C) 1st
(D) 2nd
Correct Answer: (C) 1st
Q. 15. कोडिंग की प्रक्रिया के दौरान होने वाली गलतियों को क्या कहा जाता है?
What are the mistakes called that occur during coding?
(A) defects / दोष
(B) bugs / बग्स
(C) failures / असफलताएँ
(D) errors / त्रुटियाँ
Correct Answer: (B) bugs / बग्स
सही उत्तर है। कोडिंग की गलती को आमतौर पर “bug” कहा जाता है।
Q. 16. कंप्यूटर प्रोग्रामिंग में सबसे पहले किस भाषा का प्रयोग हुआ था?
Which of the following was used first in computer programming?
(A) Machine Language / मशीन भाषा
(B) Assembly Language / असेंबली भाषा
(C) Object Code / ऑब्जेक्ट कोड
(D) Source Code / स्रोत कोड
Correct Answer: (A) Machine Language / मशीन भाषा
सही उत्तर: सबसे पहले कंप्यूटर मशीन लैंग्वेज का ही प्रयोग करते थे।
Q.17. निम्न में से कौन सी उच्च स्तरीय प्रोग्रामिंग भाषा नहीं है?
Which of the following is not a high-level programming language?
(A) Assembly / असेंबली
(B) Java / जावा
(C) C++ / सी++
(D) Python / पायथन
Correct Answer: (A) Assembly / असेंबली
सही उत्तर है – असेंबली एक लो लेवल लैंग्वेज है।
Q. 18. CASE टूल क्या है?
What is a CASE tool?
(A) Computer Aided Software Engineering
(B) Computer Analysis Software Engineering
(C) Component Aided Software Engineering
(D) Constructive Aided Software Engineering
Correct Answer: (A) Computer Aided Software Engineering
यह सही उत्तर है। CASE का यही पूरा नाम होता है।
Q. 19. टेस्टिंग प्रक्रिया का प्राथमिक उद्देश्य क्या है?
What is the primary objective of the testing process?
(A) Bug prevention / बग की रोकथाम
(B) Execution / एक्जीक्यूशन
(C) Testing / परीक्षण
(D) Analyses / विश्लेषण
Correct Answer: (A) Bug prevention / बग की रोकथाम
सही उत्तर – टेस्टिंग का उद्देश्य बग को रोकना होता है, केवल ढूँढना नहीं।
Q. 20. जब कोई प्रोग्राम उपयोगकर्ता की आवश्यकताओं को पूरा नहीं करता है, तो वह कहलाता है:
If a program fails to meet user requirements, it is called:
(A) एक त्रुटि / an error
(B) एक दोष / a defect
(C) एक विफलता / a failure
(D) गलती / a fault
Correct Answer: (B) एक दोष / a defect
सही उत्तर – उपयोगकर्ता की अपेक्षाओं को न पूरा करने पर ‘defect’ कहा जाता है।
Q. 21. निम्न में से कौन भाषा कंप्यूटर के CPU द्वारा सीधे निष्पादित की जा सकती है?
Which of the following languages is directly executable by the CPU?
(A) High Level Language / उच्च स्तरीय भाषा
(B) Assembly Language / असेंबली भाषा
(C) Machine Language / मशीन भाषा
(D) Second Generation Language / द्वितीय पीढ़ी की भाषा
Correct Answer: (C) Machine Language / मशीन भाषा
सही उत्तर – मशीन भाषा को CPU सीधे निष्पादित करता है।
Q. 22. कौन सी भाषा कंप्यूटर की आंतरिक भाषा के सबसे निकट मानी जाती है?
Which language is closest to the one used internally by the computer?
(A) high level language / उच्च स्तरीय भाषा
(B) assembly language / असेंबली भाषा
(C) low level language / निम्न स्तरीय भाषा
(D) all of the above / उपरोक्त सभी
Correct Answer: (C) low level language / निम्न स्तरीय भाषा
सही उत्तर – लो लेवल लैंग्वेज कंप्यूटर की मूल भाषा के सबसे करीब होती है।
Q. 23. प्रोग्राम बनाने की प्रक्रिया में प्रोग्राम की संरचना कौन डिज़ाइन करता है?
Who designs the structure of the program during development?
(A) Programmer / प्रोग्रामर
(B) End User / अंतिम उपयोगकर्ता
(C) All of the above / उपरोक्त सभी
(D) System Analyst / सिस्टम विश्लेषक
Correct Answer: (D) System Analyst / सिस्टम विश्लेषक
सही उत्तर – सिस्टम एनालिस्ट प्रोग्राम की संरचना तय करता है।
Q. 24. स्यूडोकोड किसका स्थान ले सकता है?
Pseudocode can replace:
(A) डिसीजन टेबल / decision tables
(B) फ्लोचार्ट / flowcharts
(C) कॉज-इफेक्ट ग्राफ / cause-effect graphs
(D) स्ट्रक्चर चार्ट्स / structure charts
Correct Answer: (B) फ्लोचार्ट / flowcharts
सही उत्तर – स्यूडोकोड आमतौर पर फ्लोचार्ट का विकल्प होता है।
Q. 25. निम्न में से कौन उच्च स्तरीय भाषाओं की विशेषता नहीं है?
Which of the following is not a characteristic of high-level languages?
(A) यूजर फ्रेंडली / user-friendly
(B) इंटरैक्टिव निष्पादन / interactive execution
(C) प्लेटफार्म इंडिपेंडेंट / platform independent
(D) मशीन कोड / machine code
Correct Answer: (D) मशीन कोड / machine code
सही उत्तर – मशीन कोड लो-लेवल लैंग्वेज की विशेषता होती है।
Q. 26. एक प्रोग्राम का मानव-पठनीय संस्करण कहलाता है:
The human-readable version of a program is known as:
(A) इंस्ट्रक्शन सेट / instruction set
(B) स्रोत कोड / source code
(C) कैश / cache
(D) शब्द का आकार / word size
Correct Answer: (B) स्रोत कोड / source code
सही उत्तर – स्रोत कोड वह होता है जिसे मनुष्य पढ़ और संपादित कर सकता है।
Q. 27. निम्न में से कौन सी भाषा मानव भाषा के करीब होती है और जिसे लिखना व मेंटेन करना आसान होता है?
Which language is close to human language and easier to write and maintain?
(A) Machine Code / मशीन कोड
(B) Algorithm / एल्गोरिद्म
(C) Low Level Language / निम्न स्तरीय भाषा
(D) High Level Language / उच्च स्तरीय भाषा
Correct Answer: (D) High Level Language / उच्च स्तरीय भाषा
सही उत्तर – हाई लेवल लैंग्वेज उपयोगकर्ता के लिए अनुकूल होती है।
Q. 28. डिबगिंग क्या है?
What is debugging?
(A) creating algorithm / एल्गोरिद्म बनाना
(B) identifying computerized tasks / कम्प्यूटरीकृत कार्य पहचानना
(C) creating code / कोड बनाना
(D) finding and correcting errors / त्रुटियाँ ढूँढना व सुधारना
Correct Answer: (D) finding and correcting errors / त्रुटियाँ ढूँढना व सुधारना
सही उत्तर – डिबगिंग में प्रोग्राम की त्रुटियाँ खोजी और सुधारी जाती हैं।
Q. 29. कंप्यूटर सॉफ़्टवेयर में क्या-क्या शामिल होता है?
Software consists of:
(A) Set of programs / प्रोग्राम का सेट
(B) Set of instructions + operating procedures / निर्देशों का सेट + संचालन प्रक्रिया
(C) Programs + hardware manuals / प्रोग्राम + हार्डवेयर मैनुअल
(D) Programs + documentation + operating procedures / प्रोग्राम + डॉक्यूमेंटेशन + संचालन प्रक्रिया
Correct Answer: (D) Programs + documentation + operating procedures / प्रोग्राम + डॉक्यूमेंटेशन + संचालन प्रक्रिया
सही उत्तर – सॉफ्टवेयर केवल कोड नहीं, बल्कि दस्तावेज और प्रक्रियाएँ भी होते हैं।
Q. 30. प्रत्येक संभावित ______ के लिए परीक्षण किया जाना चाहिए
Test should be conducted for every possible ______
(A) केस / case
(B) उल्लिखित सभी / all of the mentioned
(C) वेरिएबल / variable
(D) डेटा / data
Correct Answer: (B) उल्लिखित सभी / all of the mentioned
सही उत्तर – हर संभावित केस, डेटा और वेरिएबल के लिए टेस्ट होना चाहिए।
Q. 31. प्रोग्रामिंग में भाषा अनुवादकों के तीन मुख्य प्रकार कौन से हैं?
What are the three main types of language translators in programming?
(A) Assemblers, Scripters & Interpreters
(B) Converters, Scripters & Interpreters
(C) Assemblers, Compilers & Interpreters
(D) Assemblers, Compilers & Converters
Correct Answer: (C) Assemblers, Compilers & Interpreters
सही उत्तर – यही तीन मुख्य प्रकार होते हैं: असेंबलर, कंपाइलर, इंटरप्रेटर।
Q. 32. कंप्यूटर विज्ञान में एल्गोरिदम किसे कहा जाता है?
In computer science, what does the term algorithm refer to?
(A) एक विशेष विधि जो कंप्यूटर किसी समस्या को हल करने के लिए उपयोग करता है / A special method usable by a computer to solve a problem
(B) एक निर्णय प्रक्रिया / A decision process
(C) एक कोडिंग भाषा / A coding language
(D) एक उपयोगकर्ता इंटरफ़ेस / A user interface
Correct Answer: (A) एक विशेष विधि जो कंप्यूटर किसी समस्या को हल करने के लिए उपयोग करता है / A special method usable by a computer to solve a problem
Q. 33. जब एक एल्गोरिदम को प्रोग्रामिंग भाषा में लिखा जाता है, तब वह क्या कहलाता है?
When an algorithm is written in a programming language, it becomes a ______.
(A) फ्लोचार्ट / Flowchart
(B) सूडो कोड / Pseudo code
(C) सिंटैक्स / Syntax
(D) प्रोग्राम / Program
Correct Answer: (D) प्रोग्राम / Program
Q. 34. एल्गोरिदम निर्माण के लिए मूलभूत तीन चरण कौन से हैं?
What are the three basic steps involved in constructing an algorithm?
(A) अनुक्रम, चयन, दोहराना / Sequence, Selection, Repeat
(B) इनपुट/आउटपुट, निर्णय, दोहराना / Input/Output, Decision, Repeat
(C) लूप, इनपुट/आउटपुट, प्रक्रिया / Loop, Input/Output, Process
(D) इनपुट, आउटपुट, प्रक्रिया / Input, Output, Process
Correct Answer: (A) अनुक्रम, चयन, दोहराना / Sequence, Selection, Repeat
Q. 35. एल्गोरिदम शब्द किस व्यक्ति के नाम से व्युत्पन्न हुआ है?
The word “algorithm” is derived from the name of which person?
(A) Flow / फ्लो
(B) Algorithm / एल्गोरिदम
(C) Flowchart / फ्लोचार्ट
(D) Syntax / सिंटैक्स
Correct Answer: (B) Algorithm / एल्गोरिदम
Q. 36. कंप्यूटर विज्ञान में फ्लोचार्ट किसका सचित्र प्रतिनिधित्व होता है?
In computer science, what does a flowchart pictorially represent?
(A) एल्गोरिदम / Algorithm
(B) नेटवर्क कनेक्शन / Network Connection
(C) कोडिंग सिंटैक्स / Coding Syntax
(D) डेटाबेस डिज़ाइन / Database Design
Correct Answer: (A) एल्गोरिदम / Algorithm
Q. 37. एक एल्गोरिदम क्या है?
What is an algorithm?
(A) एक फैसला / A decision
(B) एक फ्लोचार्ट या स्यूडोकोड / A flowchart or pseudocode
(C) किसी समस्या को हल करने के लिए उपयोग किए जाने वाले चरण-दर-चरण निर्देश / Step-by-step instructions used to solve a problem
(D) एक फ्लोचार्ट / A flowchart
Correct Answer: (C) किसी समस्या को हल करने के लिए उपयोग किए जाने वाले चरण-दर-चरण निर्देश / Step-by-step instructions used to solve a problem
Q.38. फ्लोचार्ट में वास्तविक निर्देश किस आकृति में दर्शाए जाते हैं?
In a flowchart, actual instructions are represented using which shape?
(A) Arrows
(B) Circles
(C) Lines
(D) Boxes
Correct Answer: (D) Boxes
Q. 39. एल्गोरिदम बनाना फ्लोचार्टिंग प्रक्रिया का हिस्सा है। इसे क्या कहा जाता है?
The process of making a flowchart for an algorithm is called ________.
(A) मूल्यांकन / Evaluation
(B) फ्लोचार्टिंग / Flowcharting
(C) प्रदर्शन / Demonstration
(D) एल्गोरिदम प्रतिनिधित्व / Algorithmic representation
Correct Answer: (B) फ्लोचार्टिंग / Flowcharting
Q. 40. एक विस्तृत फ्लोचार्ट को क्या कहा जाता है?
What is a detailed flowchart called?
(A) Stack
(B) Union
(C) Micro
(D) Macro
Correct Answer: (C) Micro
Q. 41. एक फ्लोचार्ट जो प्रोग्राम के मुख्य खंडों को दर्शाता है, क्या कहलाता है?
A flowchart that outlines the main segments of a program is known as:
(A) Queue
(B) Union
(C) Micro
(D) Macro
Correct Answer: (D) Macro
Q. 42. इनपुट/आउटपुट ऑपरेशन को फ्लोचार्ट में किस आकृति से दर्शाया जाता है?
In a flowchart, which shape represents an Input/Output operation?
(A) Conditions / शर्तें
(B) Compare / तुलना
(C) Assignments / असाइनमेंट
(D) Input Output / इनपुट/आउटपुट
Correct Answer: (D) Input Output / इनपुट/आउटपुट
Q. 43. एल्गोरिदम हमेशा प्रोग्राम होते हैं।
Any algorithm is a program.
(A) True
(B) False
(C) May be
(D) Can’t say
Correct Answer: (B) False
Q. 44. एक आरेख जो एक प्रोग्राम के प्रवाह को दर्शाता है, क्या कहलाता है?
A diagram that shows the flow of a program is called a ________.
(A) Algorithm / एल्गोरिदम
(B) Flowchart / फ्लोचार्ट
(C) Graph / ग्राफ
(D) Hash table / हैश टेबल
Correct Answer: (B) Flowchart / फ्लोचार्ट
Q. 45. फ्लोचार्ट का कौन सा विकल्प लाभ नहीं है?
Which of the following is not an advantage of using a flowchart?
(A) Systematic testing / व्यवस्थित परीक्षण
(B) Better communication / बेहतर संचार
(C) Improper documentation / अनुचित दस्तावेज़
(D) Efficient coding / कुशल कोडिंग
Correct Answer: (C) Improper documentation / अनुचित दस्तावेज़
Q. 46. फ्लोचार्ट में प्रतिनिधि आकृतियों के बीच संबंध को दर्शाने वाला कनेक्टर क्या होता है?
In flowcharts, what connector is used to show the relationship between shapes?
(A) Process
(B) Arrow
(C) Box
(D) Line
Correct Answer: (B) Arrow
Q. 47. क्या एक निर्णय प्रतीक (decision symbol) से फ्लोचार्ट में कितने तीर निकलने चाहिए?
How many arrows should come out of a decision symbol in a flowchart?
(A) 3
(B) 1
(C) 4
(D) 2
Correct Answer: (D) 2
Q. 48. कोडित निर्देशों की सूची को क्या कहते हैं?
The list of coded instructions is called
(A) Algorithm / एल्गोरिदम
(B) Flowchart / फ्लोचार्ट
(C) इनमें से कोई भी नहीं / None of the above
(D) Computer program / कंप्यूटर प्रोग्राम
Correct Answer: (D) Computer program / कंप्यूटर प्रोग्राम
Q. 49. निम्नलिखित कोड का परिणाम क्या होगा?
What is the output of the following code?
x = y = z = 10, 20, “OlevelStudy”
print(x, y, z)
(A) (10, 20, ‘OlevelStudy’) (10, 20, ‘OlevelStudy’) (10, 20, ‘OlevelStudy’)
(B) 10 20 “OlevelStudy”
(C) Error
(D) 10 10 20 “OlevelStudy”
Correct Answer: (A) (10, 20, ‘OlevelStudy’) (10, 20, ‘OlevelStudy’) (10, 20, ‘OlevelStudy’)
Q. 50. फ्लोचार्ट में प्रक्रिया का प्रतिनिधित्व करने के लिए कौन-सा प्रतीक प्रयोग किया जाता है?
The ________ symbol is used to represent process in flowchart.
(A) Rectangle
(B) Diamond
(C) इनमें से कोई नहीं / None of these
(D) Circle
Correct Answer: (A) Rectangle
Q. 51. निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
from math import *
floor(11.7)
(A) 12
(B) None of these
(C) 11.0
(D) 11
Correct Answer: (D) 11
Q. 52. निम्नलिखित कोड का परिणाम क्या है?
What is the output of the following code?
s = [45, 67, 2]
p = s.copy()
print(p == s, p is s)
(A) (False, True)
(B) (True, False)
(C) (True, True)
(D) (False, False)
Correct Answer: (B) (True, False)
Q. 53. निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = [‘Sunday’, ‘Monday’, ‘Tuesday’]
y = x[1] + x[2]
print(y)
(A) MondayTuesday
(B) Monday Tuesday
(C) SunMonday
(D) SundayMonday
Correct Answer: (A) MondayTuesday
Q. 54. निम्नलिखित कोड का आउटपुट क्या होगा?
What is the output of the following code?
p = ‘he is from UP’
e = ‘he is from MP’
suffix_strings = (‘UP’, ‘IND’)
print(e.endswith(suffix_strings), p.endswith(suffix_strings))
(A) (False, True)
(B) (True, False)
(C) Error
(D) None of the above
Correct Answer: (A) (False, True)
Q. 55. फ्लोचार्ट में इनपुट और आउटपुट ऑपरेशन के लिए कौन सा प्रतीक उपयोग होता है?
________ symbol is used to represent input and output operation in flowchart.
(A) Diamond
(B) Circle
(C) Parallelogram
(D) Rectangle
Correct Answer: (C) Parallelogram
Q. 56. निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = True
y = False
print(x or y)
(A) Xy
(B) True
(C) Not defined
(D) False
Correct Answer: (B) True
Q. 57. निम्नलिखित कोड का परिणाम क्या है?
What is the output of the following code?
list1 = [4, 5, 6]
print(list1[4])
(A) NameError
(B) IndexError
(C) ValueError
(D) TypeError
Correct Answer: (B) IndexError
Q. 58. निम्नलिखित कोड का आउटपुट क्या होगा?
What is the output of the following code?
s = [19, 12, 87]
s.append([56])
s.extend([87, 12])
print(s)
(A) [19, 12, 87, 56, [87, 12]]
(B) Error
(C) [19, 12, 87, [56], 87, 12]
(D) [19, 12, 87, 56, 87, 12]
Correct Answer: (C) [19, 12, 87, [56], 87, 12]
Q. 59. निम्नलिखित कोड का परिणाम क्या होगा?
What is the output of the following code?
s = [56, 7, 89, 24, 72, 91, 49]
if 72 in s:
print(True)
else:
print(False)
(A) Blank
(B) False
(C) Error
(D) True
Correct Answer: (D) True
Q. 60. निम्नलिखित कोड का आउटपुट क्या होगा?
What is the output of the following code?
a = 13
b = 14
print(a & b)
(A) 11
(B) 10
(C) 9
(D) 12
Correct Answer: (D) 12
Q. 61. निम्नलिखित कोड का आउटपुट क्या होगा?
What is the output of the following code?
p = “5678”
for i in p:
print(i)
(A) “5” “6” “7” “8”
(B) None None None None
(C) 5 6 7 8
(D) Error
Correct Answer: (A) “5” “6” “7” “8”
Q. 62. निम्नलिखित कोड का आउटपुट क्या होगा?
What is the output of the following code?
s = [24, 68, 33, 12, 92, 38]
s[3] + s.pop()
(A) 38
(B) Error
(C) 12
(D) 50
Correct Answer: (D) 50
Q. 63. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following pseudo code?
Integer a, b
Set a = 10, b = 5
a = a mod (a – 6)
b = b mod (b – 2)
Print a – b
(A) 0
(B) 1
(C) 8
(D) 4
Correct Answer: (B) 1
Q. 64. निम्नलिखित में से कौन-सा एक membership ऑपरेटर को दर्शाता है?
Which of the following represents a membership operator?
(A) is
(B) and
(C) not
(D) in
Correct Answer: (D) in
Q. 65. यदि ________ है, तो चरण 5 पर जाएं
If ________, goto step 5
Step 1: Start
Step 2: Read num
Step 3: If ________, goto step 5
Step 4: Print num is Positive, goto step 6
Step 5: Print num is Negative
Step 6: Stop
(A) num > 0
(B) num >= 0
(C) num < 0
(D) num <= 0
Correct Answer: (C) num < 0
Q. 66. निम्नलिखित कोड का परिणाम क्या है?
What is the output of the following code?
def foo(p=5, e=6):
p += e
e += 1
print(p, e)
foo(e=8, p=9)
(A) 17 18
(B) 11 7
(C) 8 9
(D) 17 9
Correct Answer: (D) 17 9
Q.67. फ्लोचार्ट में प्रक्रिया (Process) को दर्शाने के लिए किस प्रतीक का प्रयोग किया जाता है?
Which symbol is used to represent a process in a flowchart?
(A) Rectangle / आयत
(B) Diamond / डायमंड
(C) Circle / वृत्त
(D) इनमें से कोई नहीं / None of these
Correct Answer: (A) Rectangle / आयत
Q. 68. निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following code?
a = 13
b = 14
a & b
(A) 10
(B) 9
(C) 11
(D) 12
Correct Answer: (D) 12
Q. 69. निम्नलिखित कोड का आउटपुट क्या है?
What is the output of the following code?
s = [24, 68, 33, 12, 92, 38]
s[3] + s.pop()
(A) 12
(B) 38
(C) Error
(D) 50
Correct Answer: (D) 50
Q. 70. निम्नलिखित कोड का परिणाम क्या है?
What is the output of the following code?
list1 = [4, 5, 6]
print(list1[4])
(A) ValueError
(B) IndexError
(C) NameError
(D) TypeError
Correct Answer: (B) IndexError
Q. 71. निम्नलिखित कोड का परिणाम क्या है?
What is the output of the following code?
p = “5678”
for i in p:
print(i)
(A) “5” “6” “7” “8”
(B) 5 6 7 8
(C) None None None None
(D) Error
Correct Answer: (A) “5” “6” “7” “8”
Q. 72. निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following Python code?
def add(a, b):
return a + b
result = add(5, 7)
print(result)
(A) Error: no function ‘add’ found
(B) 12
(C) “5 + 7”
(D) 57
Correct Answer: (B) 12
Q. 73. निम्नलिखित में से कौन सा वेरिएबल अमान्य है?
Which variable is invalid?
(A) name
(B) _name_1
(C) 1name
(D) All of the above
Correct Answer: (C) 1name
Q. 74. फ्लोचार्ट में निर्णय (Decision) प्रतीक से कितने तीर (arrows) निकलते हैं?
How many arrows should come out of a decision symbol in a flowchart?
(A) 2
(B) 4
(C) 1
(D) 3
Correct Answer: (A) 2
Q.75. निम्नलिखित कोड का आउटपुट क्या है?
What is the output of the following code?
x = y = z = 10, 20, “ABC”
print(x, y, z)
(A) 10 20 “ABC”
(B) (10, 20, ‘ABC’) (10, 20, ‘ABC’) (10, 20, ‘ABC’)
(C) 10 10 20 “ABC”
(D) Error
Correct Answer: (B) (10, 20, ‘ABC’) (10, 20, ‘ABC’) (10, 20, ‘ABC’)
Q. 76. निम्नलिखित कोड का आउटपुट क्या है?
What is the output of the following code?
s = [45, 67, 2]
p = s.copy()
p == s, p is s
(A) (True, True)
(B) (False, False)
(C) (False, True)
(D) (True, False)
Correct Answer: (D) (True, False)
Q.77. कोडित निर्देशों की सूची को क्या कहते हैं?
The list of coded instructions is called:
(A) Algorithm / कलन विधि
(B) इनमें से कोई भी नहीं / None of the above
(C) Computer program / कंप्यूटर प्रोग्राम
(D) Flowchart / प्रवाह चार्ट
Correct Answer: (C) Computer program / कंप्यूटर प्रोग्राम
Q.78. निम्नलिखित कोड का परिणाम क्या है?
What is the output of the following code?
s = [56, 7, 89, 24, 72, 91, 49]
if 72 in s:
print(True)
else:
print(False)
(A) False
(B) Error
(C) True
(D) Blank
Correct Answer: (C) True
Q. 79. निम्नलिखित कोड का आउटपुट क्या होगा?
What will be the output of the following code?
x = [‘Sunday’, ‘Monday’, ‘Tuesday’]
y = x[1] + x[2]
print(y)
(A) SundayMonday
(B) MondayTuesday
(C) Monday Tuesday
(D) SunMonday
Correct Answer: (B) MondayTuesday
Q. 80. निम्नलिखित कोड का परिणाम क्या है?
What is the output of the following code?
def foo(p=5, e=6):
p += e
e += 1
print(p, e)
foo(e=8, p=9)
(A) 17 9
(B) 8 9
(C) 11 7
(D) 17 18
Correct Answer: (A) 17 9
Q. 81. निम्नलिखित कोड का आउटपुट क्या होगा?
What is the output of the following pseudo code?
Integer a, b
Set a = 10, b = 5
a = a mod (a – 6)
b = b mod (b – 2)
Print a – b
(A) 0
(B) 4
(C) 8
(D) 1
Correct Answer: (D) 1
Q. 82. निम्नलिखित कोड का आउटपुट क्या है?
What is the output of the following code?
a = 13
b = 14
a & b
(A) 11
(B) 10
(C) 12
(D) 9
Correct Answer: (C) 12
Q. 83. निम्नलिखित कोड का परिणाम क्या है?
What is the output of the following code?
from math import *
floor(11.7)
(A) None of these
(B) 11.0
(C) 12
(D) 11
Correct Answer: (D) 11
Q. 84. निम्नलिखित कोड का आउटपुट क्या है?
What is the output of the following code?
s = [19, 12, 87]
s.append([56])
s.extend([87, 12])
print(s)
(A) [19, 12, 87, 56, [87, 12]]
(B) [19, 12, 87, [56], 87, 12]
(C) [19, 12, 87, 56, 87, 12]
(D) Error
Correct Answer: (B) [19, 12, 87, [56], 87, 12]
Q. 85. निम्नलिखित कोड का आउटपुट क्या है?
What is the output of the following code?
p = ‘he is from UP’
e = ‘he is from MP’
suffix_strings = (‘UP’, ‘IND’)
print(e.endswith(suffix_strings), p.endswith(suffix_strings))
(A) (False, True)
(B) None of the above
(C) Error
(D) (True, False)
Correct Answer: (A) (False, True)
Q. 86. निम्न स्थिति में कौन-सा निर्णय सही है?
If ________, goto step 5
Step 1: Start
Step 2: Read num
Step 3: If ________, goto step 5
Step 4: Print num is Positive, goto step 6
Step 5: Print num is Negative
Step 6: Stop
(A) num <= 0
(B) num < 0
(C) num > 0
(D) num >= 0
Correct Answer: (B) num < 0
Q. 87. निम्नलिखित में से कौन-सा एक membership operator है?
Which of the following represents a membership operator?
(A) is
(B) not
(C) in
(D) and
Correct Answer: (C) in
Q. 88. निम्नलिखित कथनों का आउटपुट क्या होगा?
What will be the output of the following statements?
x = True
y = False
print(x or y)
(A) True
(B) Xy
(C) Not defined
(D) False
Correct Answer: (A) True
Q. 89. Python कोड: x = lambda a, b : a * b; print(x(52, 62)) का आउटपुट क्या होगा?
What is the output of the following Python lambda function statements?
(A) 10
(B) 34
(C) 30
(D) 120
Correct Answer: (D) 120
Q. 90. यदि आप data.txt नामक फाइल को पायथन में लिखने के लिए खोलना चाहते हैं, तो सही तरीका क्या होगा?
What is the correct way to open a file named “data.txt” in Python for writing?
(A) file = open(“data.txt”, “write”)
(B) file = open(“data.txt”, “r”)
(C) file = open(“data.txt”, “a”)
(D) file = open(“data.txt”, “w”)
Correct Answer: (D) file = open(“data.txt”, “w”)
Q. 91. निम्नलिखित में से कौन-सा डेटा प्रकार पायथन में परिवर्तनशील (mutable) है?
Which of the following data types is mutable in Python?
(A) tuple
(B) list
(C) str
(D) int
Correct Answer: (B) list
Q. 92. निम्न कोड का आउटपुट क्या होगा?
x = 10
y = 5
result = x if x > y else y
print(result)
What is the output of the code above?
(A) 10
(B) False
(C) True
(D) 5
Correct Answer: (A) 10
Q. 93. पायथन में len() फंक्शन का उपयोग किसलिए किया जाता है?
What does the “len()” function do in Python?
(A) Convert a value to an integer
(B) Calculate the logarithm of a number
(C) Return the length of a sequence
(D) Find the largest element in a list
Correct Answer: (C) Return the length of a sequence
Q. 94. निम्नलिखित कोड का आउटपुट क्या होगा?
fruits = [“apple”, “banana”, “orange”]
for fruit in fruits:
if fruits.index(fruit) == 1:
continue
print(fruit, end=” “)
(A) apple, banana, orange
(B) apple orange
(C) [“apple”, “banana”, “orange”]
(D) apple banana orange
Correct Answer: (B) apple orange
Q. 95. निम्न कोड का आउटपुट क्या होगा?
numbers = [1, 2, 3, 4, 5]
squared_numbers = [num**2 for num in numbers]
print(squared_numbers)
(A) [1, 2, 3, 4, 5]
(B) [2, 4, 6, 8, 10]
(C) [1, 3, 5]
(D) [1, 4, 9, 16, 25]
Correct Answer: (D) [1, 4, 9, 16, 25]
Q. 96. नीचे दिए गए कोड का आउटपुट क्या होगा?
def greet(name=”Ritu”):
print(“Hello, ” + name + “!”)
greet()
(A) Hello, Ritu!
(B) Hello, !
(C) Error: greet() missing 1 required positional argument: ‘name’
(D) None
Correct Answer: (A) Hello, Ritu!
Q. 97. पायथन में मानक इनपुट से एक पंक्ति पढ़ने के लिए कौन-सा फ़ंक्शन उपयोग होता है?
Which of the following is used to read a line from the standard input in Python?
(A) get_input()
(B) read_line()
(C) input()
(D) read()
Correct Answer: (C) input()
Q. 98. निम्न कोड का आउटपुट क्या होगा?
x = 10
y = 3
result = x % y
print(result)
(A) 1
(B) 3.33
(C) 0
(D) 3
Correct Answer: (A) 1
Q. 99. निम्न कोड का आउटपुट क्या होगा?
for num in range(-2, -5, -1):
print(num, end=”, “)
(A) -2, -1, -3, -4
(B) -2, -3, -4
(C) -2, -1, 0
(D) -2, -1, 0, 1, 2, 3
Correct Answer: (B) -2, -3, -4
Q. 100. फ्लोचार्ट में इनपुट और आउटपुट ऑपरेशन को दर्शाने के लिए कौन सा प्रतीक प्रयोग किया जाता है?
Which symbol is used to represent input/output operation in a flowchart?
(A) Circle / वृत्त
(B) Rectangle / आयत
(C) Diamond / हीरा
(D) Parallelogram / समांतर चतुर्भुज
Correct Answer: (D) Parallelogram / समांतर चतुर्भुज
Hope aapne M3-R5 O Level NIELIT July 2023 ke previous papers padh liye hain aur samajh bhi liya hai.
आज तक के सभी ओ-लेवल प्रीवियस पेपर्स को पढ़ना, डाउनलोड करना या मॉक टेस्ट देना है तो नीचे दिए गए बटन को दबाइये!
Kya aap M3-R5 O Level July 2023 ke previous papers ka mock test dena chahte hain?, Neeche diye gaye button par click karein.
Agar aap M3-R5 O Level July 2023 ke previous papers PDF mein download karna chahte hain?, to neeche diye gaye button par click karein.
Apna study experience humse neeche comment box mein zarur share karein. Agar aapko koi galti mile to humein batana na bhoolen. 😊