[{"id":18129,"question":"What mechanism is used to execute a set of operations repeatedly?","choices":[{"text":"Goto statement","value":"A"},{"text":"Switch statement","value":"B"},{"text":"Loops","value":"C"},{"text":"Functions","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":18128,"question":"Which of the following symbol is represented as unary operator?","choices":[{"text":"+","value":"A"},{"text":"!","value":"B"},{"text":"/","value":"C"},{"text":"~","value":"D"},{"value":"E"}],"correctAnswer":1},{"id":18127,"question":"A decision-making operator is called","choices":[{"text":"Arithmetic operator","value":"A"},{"text":"Assignment operator","value":"B"},{"text":"Conditional operator","value":"C"},{"text":"Logical operator","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":18126,"question":"Expression 1? Expression 2: Expression 3; If the expression! is true then which of the following is correct?","choices":[{"text":"The value returned will be expression!","value":"A"},{"text":"The value returned will be expression 2","value":"B"},{"text":"The value returned will be expression 3","value":"C"},{"text":"No value return","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":18125,"question":"Which of the following is a conditional operator","choices":[{"text":"? and :","value":"A"},{"text":": and ;","value":"B"},{"text":"? and :","value":"C"},{"text":"! and ?","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":18124,"question":"Conditional operators are","choices":[{"text":"Unary operator","value":"A"},{"text":"Binary operator","value":"B"},{"text":"Ternary operator","value":"C"},{"text":"None","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":18123,"question":"If we write an entire if-else construct within either the body of the if statement or the body of an else statement this is called","choices":[{"text":"Dangling else","value":"A"},{"text":"Multiple statement with if-else","value":"B"},{"text":"Nested 1-else","value":"C"},{"text":"Switch statments","value":"D"},{"value":"E"}],"correctAnswer":3},{"id":18122,"question":"If we dropped the pair of braces then what would happen?","choices":[{"text":"Only one statement to be executed in the if block","value":"A"},{"text":"Only one statement to be executed in the else block","value":"B"},{"text":"Only one statement to be executed in the if block and only one statement to be executed in the else block","value":"C"},{"value":"D"},{"value":"E"}],"correctAnswer":3},{"id":18118,"question":"If block is called","choices":[{"text":"The group of if and else statement","value":"A"},{"text":"The group of statements after the if up to and not including the else","value":"B"},{"text":"The group of statements after the else up to and not including the if","value":"C"},{"text":"All the above","value":"D"},{"value":"E"}],"correctAnswer":2},{"id":18111,"question":"Which of the following is not a relational operator?","choices":[{"text":"==","value":"A"},{"text":"=","value":"B"},{"text":"!=","value":"C"},{"text":"&lt;=","value":"D"},{"value":"E"}],"correctAnswer":1}]