Computer Science · Programming Logic
निम्नलिखित एल्गोरिदम पर विचार करें: Start Read n Initialize i to 1. while i < n do: Write i Increment i end while Stop. निम्नलिखित में से कौन सा विवरण इस एल्गोरिदम के व्यवहार को सही ढंग से परिभाषित करता है?
- 1यह एक संख्या n को पढ़ता है और 1 से n तक के पूर्णांकों को प्रिंट करता है
- 2यह एक संख्या n को पढ़ता है और 1 से (n+1) तक के पूर्णांकों को प्रिंट करता है
- 3यह एक संख्या n को पढ़ता है और अनिश्चित काल तक i का मान प्रिंट करता है
- 4यह एक संख्या n को पढ़ता है और 1 से (n-1) तक के पूर्णांकों को प्रिंट करता है✓
सही उत्तर देखें
यह एक संख्या n को पढ़ता है और 1 से (n-1) तक के पूर्णांकों को प्रिंट करता है
Download Single Question PDF
Save this question and verified answer as a clean study sheet with live clickable link.
Share with Friends & Study Groups
Challenge your peer aspirants on WhatsApp or Telegram to solve this question!
Preparing for Computer Science?
Practice full-length mock tests with real exam timers, instant score analysis, and all-India ranking.
Want more practice questions on Programming Logic?
Solve complete topic-wise tests with detailed solutions on GkGet.
Related Practice Questions
Recommended practice questions in Computer Science · Programming Logic