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
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 # 2
Conditional operator is an alternative of:
Choose an answer
if
if-else
Nested if
All
Previous
Skip
Next
Question # 3
To be in 2NF every non key attribute must depend on
Choose an answer
Key
All parts of the key
Composite key
Both a and b
Previous
Skip
Next
Question # 4
A case can be defined as:
Choose an answer
An individual condition to test
A set of condition of test
A statement that includes as if statement
A block of selection
Previous
Skip
Next
Question # 5
The conditional portion of the If statement can contain:
Choose an answer
Any valid constant
Any expression that can be evaluated to a Boolean value
Any valid variable
Any valid constant or vairable
Previous
Skip
Next
Question # 6
Switch statement is an alternative of:
Choose an answer
if
if-else
Nested if
Nested if-else
Previous
Skip
Next
Question # 7
_______ 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 # 8
Which of the following is used for making two way decision:
Choose an answer
if-else
If
Nested if
Switch
Previous
Skip
Next
Question # 9
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 # 10
Which of the following is equivalent to (p>=q)?
Choose an answer
p<q
!(p<q)
p<q
1p<q
Previous
Skip
Next
Question # 11
From the following which is called control statement
Choose an answer
If
If-else
Else-if
All of the above
Previous
Skip
Next
Question # 12
In if statement , true is represented by:
Choose an answer
0
1
2
3
Previous
Skip
Next
Question # 13
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 # 14
Insert command is used to insert:
Choose an answer
A new table
A new record
A view
Dependencies
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
Question # 16
Which is not possible
Choose an answer
Nesting if statement
Loop in the body of statement
If statement in the body of loop
None of above
Previous
Skip
Next
Question # 17
The case block ends with:
Choose an answer
End select
End case
Break;
Case else
Previous
Skip
Next
Question # 18
Another term for a computer making a decision is:
Choose an answer
Sequential
Selection
Repetition
Iteration
Previous
Skip
Next
Back