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
Conditional operator takes _____________ operands.
Choose an answer
3
2
1
5
Previous
Skip
Next
Question # 2
Relational operators allow you to _____________ numbers.
Choose an answer
Compare
Add
Multiply
Divide
Previous
Skip
Next
Question # 3
From the following which is called control statement
Choose an answer
If
If-else
Else-if
All of the above
Previous
Skip
Next
Question # 4
Switch statement must use the keyword
Choose an answer
Case
Default
Break
All of the above
Previous
Skip
Next
Question # 5
______is a functional dependency in a relation between two or more non-key attributes
Choose an answer
Transitive dependency
Partial dependency
Repeating groups
None of these
Previous
Skip
Next
Question # 6
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 # 7
Insert command is used to insert:
Choose an answer
A new table
A new record
A view
Dependencies
Previous
Skip
Next
Question # 8
Which of the following is NOT part of an if statement?
Choose an answer
A condition that evaluates as a Boolean
A condition that evaluates as true or false
A true block
All of are part of an IF statement
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
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 # 11
From the following statement which is the control statement
Choose an answer
If
Else if
Switch
All of the above
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
Conditional operator is an alternative of:
Choose an answer
if
if-else
Nested if
All
Previous
Skip
Next
Question # 14
Which of the following is equivalent to (p>=q)?
Choose an answer
p<q
!(p<q)
p<q
1p<q
Previous
Skip
Next
Question # 15
Which of the following is used for making two way decision:
Choose an answer
if-else
If
Nested if
Switch
Previous
Skip
Next
Back