ECAT Computer Science MCQS Set 12

Google Ads1

ECAT Computer Science MCQS Page 2


Which of the following are valid case statements in a switch?
Case 1:
Case x<4:
Case ‘ab’:
Case 1.5:

Database integrity refers to the
Both a and b
Correctness of data
Consistency of data
None of these

An expression that uses a relational operator is known as:
Relational
Operational
Sequential
Serial

The three programming structures are:
Sequence, decision, and repition
Process, decision, and alternation
Sequence, definition, and process
Relation, comparison, and process

Which programming structure makes a comparison?
Decision
Relation
Sequence
Repitition

The case block ends with:
Break;
End select
End case
Case else

Which operator in C is called a ternary operator?
( )
if
++
?

Conditional operator is an alternative of:
if-else
if
Nested if
All

To be in 2NF every non key attribute must depend on
All parts of the key
Key
Composite key
Both a and b

Which is an example of multiple branches form single expression?
Switch statement
If statement
While loop
All

The conditional portion of the If statement can contain:
Any expression that can be evaluated to a Boolean value
Any valid constant
Any valid variable
Any valid constant or vairable

When we make any modification in a relation it is called
Modification anomaly
Insertion anomaly
Deletion anomaly
Both a and b

Continue Reading Go to Next Page

Google Ads

Be the first to comment

Leave a Reply

Your email address will not be published.


*