More Classes
5th Class
6th Class
7th Class
8th Class
9th Class
10th Class
11th Class
12th Class
NAT I
NAT II
CSS
IQ
General Knowledge
MDCAT
ECAT
GAT General
GAT Subject
Other Links
Go to Home
Online Tests
Computer Science Ics Part 2 Chapter 11 Online Test MCQs With Answers
Question # 1
From the following statement which is the control statement
Choose an answer
If
Else if
Switch
All of the above
Previous
Skip
Next
Question # 2
Database integrity refers to the
Choose an answer
Correctness of data
Consistency of data
Both a and b
None of these
Previous
Skip
Next
Question # 3
When a relational expression is false, it has the value __________
Choose an answer
0
1
<0
S
Previous
Skip
Next
Question # 4
Conditional operator takes _____________ operands.
Choose an answer
3
2
1
5
Previous
Skip
Next
Question # 5
Another term for a conditional operator is:
Choose an answer
Ternary
Binary
Byte
Iteration
Previous
Skip
Next
Question # 6
From the following which is called control statement
Choose an answer
If
If-else
Else-if
All of the above
Previous
Skip
Next
Question # 7
When we make any modification in a relation it is called
Choose an answer
Insertion anomaly
Deletion anomaly
Modification anomaly
Both a and b
Previous
Skip
Next
Question # 8
Switch statement is an alternative of:
Choose an answer
if
if-else
Nested if
Nested if-else
Previous
Skip
Next
Question # 9
Which programming structure executes program statements in order?
Choose an answer
Relation
Decision
Sequence
Repition
Previous
Skip
Next
Question # 10
_______ is created when the same name is used for two different attributes
Choose an answer
Synonyms
Homonyms
Redundant information
Mutually exclusive data
Previous
Skip
Next
Question # 11
Which of the following are valid case statements in a switch?
Choose an answer
Case 1:
Case x<4:
Case 'ab':
Case 1.5:
Previous
Skip
Next
Question # 12
The first line in switch block contains:
Choose an answer
The value of the first criterion
The expression to be evaluated
The statement to be executed if none of the criteria are true
The statement to be executed if the criterion are true
Previous
Skip
Next
Question # 13
__________ refers to group of statements enclosed in opening and closing braces.
Choose an answer
Control structure
Compound statement
Sequence structure
Instruction
Previous
Skip
Next
Question # 14
An if statement inside the true block of another if statement is called:
Choose an answer
A nested if statement
A branched if statement
A conditional operator
A relational operator
Previous
Skip
Next
Question # 15
A key in a relation
Choose an answer
May not functionally determine any attribute in the row
Functionally determine only one attribute in the row
Functionally determine at least one attribute in the row
Functionally determine all the attribute in the row
Previous
Skip
Next
Back