Control Flow "A1" 1 / 50 कौन-सा statement program flow बदलता है? comment if / loops / switch variable . print 2 / 50 Which executes faster in multi-condition checking? if–else ladder switch loop goto 3 / 50 if(!a) का मतलब क्या है? a में 1 जोड़ना a में 1 घटाना if(a is false) none 4 / 50 condition ? A : B क्या है? nested-if switch loop ternary operator 5 / 50 Ternary operator कितने operands लेता है? 1 2 3 4 6 / 50 Ternary operator fast alternative है: loop goto if–else switch 7 / 50 Switch-case किस type के values पर काम करता है? float integer / char boolean long double 8 / 50 Switch के अंदर कौन repeat नहीं हो सकता? break print duplicate case values default 9 / 50 default case कब execute होती है? always first जब कोई भी case match न हो when break missing 10 / 50 क्या switch float values accept करता है? नहीं हाँ कभी-कभी Java में ही 11 / 50 switch में किसका उपयोग होता है? relational operators logical operators assignment constant expressions 12 / 50 Switch में fall-through कब होता है? case दोहराने पर break नहीं होने पर default पहले आने पर none 13 / 50 एक switch में कितने default हो सकते हैं? 2 infinite only 1 none 14 / 50 Which is faster for constant comparisons? if if-else ladder switch-case loop 15 / 50 Nested switch allowed है? yes no rarely only in python 16 / 50 default case का position: first middle last anywhere 17 / 50 Case values must be: variable expression constant float 18 / 50 Switch किसका alternative है? loop goto multiple-if break 19 / 50 Switch में break नहीं देने पर: error infinite loop fall-through skip 20 / 50 Switch किस comparison को नहीं support करता? == > and < exact match char match 21 / 50 Switch-case में default होना चाहिए: हमेशा कभी-कभी recommended forbidden 22 / 50 switch(expression) में expression किस type का होना चाहिए? pointer float integer / char long double 23 / 50 break का काम क्या है? stop program exit switch/loop restart wait 24 / 50 Switch-case को और क्या कहते हैं? decision loop multi-way branch long loop jump set 25 / 50 Switch में दो case labels एक जैसे हो सकते हैं? depends maybe no yes 26 / 50 Switch generally doesn’t accept: int char long double 27 / 50 कौन-सा loop पहले body execute करता है, फिर condition check करता है? for while do-while foreach 28 / 50 for loop में कितने components होते हैं? 1 2 3 (init, condition, update) 4 29 / 50 While loop चलता कब तक है? fixed times जब तक condition true हो जब तक condition false हो variable के अनुसार 30 / 50 Infinite loop कैसे बनता है? break से update हटाकर init हटाकर condition हमेशा true हो 31 / 50 While loop is called: exit-controlled entry-controlled entry-controlled none 32 / 50 Nested loops क्या हैं? दो if अंदर loop inside loop switch inside loop break inside loop 33 / 50 Increment कहाँ लिखना चाहिए? condition में update section में init में default में 34 / 50 Nested loops क्या हैं? दो if अंदर loop inside loop switch inside loop break inside loop 35 / 50 सबसे तेज loop कौन सा माना जाता है? while do-while for switch 36 / 50 Which operator supports multiple conditions in if? = : && , || ++ 37 / 50 Which operator supports multiple conditions in if? = : && , || ++ 38 / 50 If condition is any non-zero value, it is considered: false syntax error true void 39 / 50 Which control structure avoids deep nested-if? for loop switch do-while goto 40 / 50 Which statement is executed when all if conditions fail? if switch else break 41 / 50 Which evaluates all conditions one-by-one? switch loop if–else ladder goto 42 / 50 if–else में कितने else हो सकते हैं? 2 10 infinite only 1 43 / 50 if(5 = 5) error क्यों देगा? syntax error hardware fault = assignment है दोनों A और C 44 / 50 In nested-if, inner if executes only when: outer else true outer if is true loop true none 45 / 50 Which operator is mostly used inside if conditions? * % Relational operators + 46 / 50 Which of the following returns a Boolean result? 10 “true” (a > b) 55.9 47 / 50 if(condition) execute कब होता है? Always जब condition TRUE हो जब condition FALSE हो कभी नहीं 48 / 50 Which control structure is best for multiple mutually exclusive conditions? Loop if–else ladder goto break 49 / 50 Which of the following is correct nested-if syntax? if() else if() if() if{} else() if( ) { if( ) { } } if if else 50 / 50 In control flow, which statement executes only when a condition is true? switch loop if goto Your score isThe average score is 0% 0% Restart quiz