Daily Quizzes
Mock Tests
Download MCQs Free PDF
Question
Computer Knowledge

Which programming construct is represented by the flowchart in the figure below?

Decision structure

Case structure 

Loop structure

Sequence structure

नीचे दिए गए चित्र में फ्लोचार्ट किस प्रोग्रामिंग कंस्ट्रक्ट को दिखाता है?

डिसीजन स्ट्रक्चर

केस स्ट्रक्चर

लूप स्ट्रक्चर

सीक्वेंस स्ट्रक्चर

View Answer & Solution
Correct Answer: A (Decision structure) A (डिसीजन स्ट्रक्चर)
Detailed Solution:

Decision structure - A programming construct that allows a program to choose between different courses of action based on a specified condition. It typically involves using conditional statements such as "if-else" or "switch-case."

Case structure - A programming construct that provides a way to test multiple conditions and execute different code blocks based on which condition is true. It is often used as an alternative to nested if statements.

Loop structure - A programming construct that enables a program to execute instructions repeatedly as long as a certain condition is true. There are several types of loops, including "for" loops, "while" loops, and "do-while" loops.

Sequence structure - A programming construct that represents a series of instructions executed one after another in a predetermined order. It is the simplest type of programming structure and is used in most programs to carry out a set of tasks in a specific order.

The above-given diagram represents the "decision structure".

डिसीजन स्ट्रक्चर - एक प्रोग्रामिंग कंस्ट्रक्ट जो प्रोग्राम को किसी खास कंडीशन के आधार पर अलग-अलग तरह से काम करने का विकल्प देता है। इसमें आमतौर पर "if-else" या "switch-case" जैसे कंडीशनल स्टेटमेंट का इस्तेमाल होता है।

केस स्ट्रक्चर - एक प्रोग्रामिंग कंस्ट्रक्ट जो कई कंडीशन को टेस्ट करने और कौन सी कंडीशन सही है, इसके आधार पर अलग-अलग कोड ब्लॉक को चलाने का तरीका देता है। इसका इस्तेमाल अक्सर नेस्टेड if स्टेटमेंट के विकल्प के तौर पर किया जाता है।

लूप स्ट्रक्चर - एक प्रोग्रामिंग कंस्ट्रक्ट जो प्रोग्राम को तब तक बार-बार इंस्ट्रक्शन चलाने की सुविधा देता है जब तक कोई खास कंडीशन सही रहती है। लूप कई तरह के होते हैं, जैसे "for" लूप, "while" लूप और "do-while" लूप।

सीक्वेंस स्ट्रक्चर - एक प्रोग्रामिंग कंस्ट्रक्ट जो पहले से तय क्रम में एक के बाद एक चलाए जाने वाले इंस्ट्रक्शन की सीरीज़ को दिखाता है। यह सबसे आसान प्रोग्रामिंग स्ट्रक्चर है और इसका इस्तेमाल ज़्यादातर प्रोग्राम में किसी खास क्रम में कई काम पूरे करने के लिए किया जाता है।

ऊपर दिया गया डायग्राम "डिसीजन स्ट्रक्चर" को दिखाता है।

India’s #1 Learning Platform
Start Complete Exam Preparation
Daily Live MasterClasses
Practice Question Bank
Mock Tests & Quizzes
Trusted by 8.1 Crore+ Students

Exam Preparation Simplified

Learn Practice Analyse Improve
Get Started Free
Download the App

Trusted by 8.1 Crore+ Students

Enquire Now

Please share a few details to view the answer and solution.

×
Illustration of two people having a discussion

We're Here for You! Get in Touch with Class24 for All Your Needs!

Disclaimer: Your privacy is important to us. We will not share your information with third parties.