[{"id":167884,"question":"Which of the following loop is available in C language?","choices":[{"text":"While","value":"A"},{"text":"Do-while","value":"B"},{"text":"For","value":"C"},{"text":"All","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":167883,"question":"One execution of a loop is known as a(n):","choices":[{"text":"Cycle","value":"A"},{"text":"Duration","value":"B"},{"text":"Iteration","value":"C"},{"text":"Test","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":167882,"question":"The keyword 'break' cannot be used within:","choices":[{"text":"Do-while","value":"A"},{"text":"If-else","value":"B"},{"text":"For","value":"C"},{"text":"While","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":167881,"question":"If n=3, what will be the value of n after executing the following code?<div>do</div><div>    n*=2</div><div>while (n&lt;48);</div>","choices":[{"text":"24","value":"A"},{"text":"32","value":"B"},{"text":"48","value":"C"},{"text":"96","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":167880,"question":"What is the value of \"a\" after the execution of the following code?<div>int a 25;</div><div>for(int c=0; c&lt;4;c++)</div><div>a=a-1;</div><div>a=1+3;</div>","choices":[{"text":"23","value":"A"},{"text":"24","value":"B"},{"text":"25","value":"C"},{"text":"20","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":167879,"question":"What is the value of \"a\" after execution the following code segment:<div>int a=2;</div><div>int b=0;</div><div>while(b&lt;5)</div><div>{    a=a*2;</div><div>     b=b+1;</div><div>}</div><div>a=a+1;</div>","choices":[{"text":"64","value":"A"},{"text":"65","value":"B"},{"text":"66","value":"C"},{"text":"67","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":167878,"question":"What is the final value of x after executing the following code:<div>For (int x=0; x&lt;10; X++)</div>","choices":[{"text":"10","value":"A"},{"text":"9","value":"B"},{"text":"0","value":"C"},{"text":"1","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":167877,"question":"When does the code block following while (x&lt;100) execute?","choices":[{"text":"When x is less then one hundred","value":"A"},{"text":"When x is greater then one hundred","value":"B"},{"text":"When x is equal to one hundred","value":"C"},{"text":"None","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":167874,"question":"The body of for loop with single statement ends with:","choices":[{"text":"Right bracket ]","value":"A"},{"text":"Right brace }","value":"B"},{"text":"Comma ,","value":"C"},{"text":"Semi colon ;","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":167873,"question":"The body of while loop with multiple statements ends with:","choices":[{"text":"Right bracket ]","value":"A"},{"text":"Right brace }","value":"B"},{"text":"Comma ,","value":"C"},{"text":"Semi colon ;","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":167872,"question":"When is while loop more appropriate then for loop?","choices":[{"text":"The terminating condition occurs unexpectedly","value":"A"},{"text":"The body of loop will be executed at least once","value":"B"},{"text":"The program will be executed at least once","value":"C"},{"text":"The number times the loop will be executed is known before the loop executes","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":167871,"question":"When is for loop more appropriate then while loop?","choices":[{"text":"The termination condition is known in advance","value":"A"},{"text":"The number of iterations is not known in advance","value":"B"},{"text":"The loop should be executed only once","value":"C"},{"text":"The loop should be executed at least once","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":167868,"question":"Which of the following is a loop statement?","choices":[{"text":"If","value":"A"},{"text":"If-else","value":"B"},{"text":"Switch","value":"C"},{"text":"None","value":"D"},{"value":"E"}],"correctAnswer":4},{"id":167865,"question":"Semicolon is placed at the end of condition in:","choices":[{"text":"While loop","value":"A"},{"text":"Do-while loop","value":"B"},{"text":"For loop","value":"C"},{"text":"All","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":167862,"question":"While loop is also called:","choices":[{"text":"Conditional loop","value":"A"},{"text":"Wend loop","value":"B"},{"text":"Counter loop","value":"C"},{"text":"Continuous loop","value":"D"},{"value":"E"}],"correctAnswer":1}]