12th Class Computer Science MCQS
From the following statement which is the control statement
Else if
All of the above
If
Switch
Conditional operator is an alternative of:
Nested if
if
All
if-else
You can use a decision statement to:
Run a series of statements if a test fails
All of these
Test series of conditions
Test whether a condition is true or false
Switch statement is an alternative of:
if
Nested if-else
Nested if
if-else
__________ refers to group of statements enclosed in opening and closing braces.
Control structure
Sequence structure
Instruction
Compound statement
A case can be defined as:
A statement that includes as if statement
A set of condition of test
A block of selection
An individual condition to test
Which programming structure makes a comparison?
Relation
Sequence
Repitition
Decision
______is a functional dependency in a relation between two or more non-key attributes
Partial dependency
Repeating groups
Transitive dependency
None of these
The case block ends with:
Break;
End select
End case
Case else
Which operator in C is called a ternary operator?
?
( )
++
if
Continue Reading Go to Next Page
Google Ads
Leave a Reply