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
In if statement , true is represented by:
Choose an answer
0
1
2
3
Previous
Skip
Next
Question # 2
Insert command is used to insert:
Choose an answer
A new table
A new record
A view
Dependencies
Previous
Skip
Next
Question # 3
Another term for a conditional operator is:
Choose an answer
Ternary
Binary
Byte
Iteration
Previous
Skip
Next
Question # 4
Which of the following statements is the simplest form of a decision structure?
Choose an answer
Select..case
If statement
Try..Catch..Finally
Nested if
Previous
Skip
Next
Question # 5
Key is used in
Choose an answer
If statement
Else if statement
Switch statement
All of the above
Previous
Skip
Next
Question # 6
An expression that uses a relational operator is known as:
Choose an answer
Operational
Sequential
Serial
Relational
Previous
Skip
Next
Question # 7
Switch statement must use the keyword
Choose an answer
Case
Default
Break
All of the above
Previous
Skip
Next
Question # 8
Which programming structure executes program statements in order?
Choose an answer
Relation
Decision
Sequence
Repition
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
______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 # 11
Which of the following is used for making two way decision:
Choose an answer
if-else
If
Nested if
Switch
Previous
Skip
Next
Question # 12
__________ 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 # 13
____________ is used to specify two different choices with "if" statement.
Choose an answer
Switch
Else
If
If-else
Previous
Skip
Next
Question # 14
The operators to compare operands and decide if the relation is true or false are:
Choose an answer
Arithmetic operators
Logical operators
Syntax operators
Relational operators
Previous
Skip
Next
Question # 15
From the following which is called control statement
Choose an answer
If
If-else
Else-if
All of the above
Previous
Skip
Next
Question # 16
Relational operators allow you to _____________ numbers.
Choose an answer
Compare
Add
Multiply
Divide
Previous
Skip
Next
Question # 17
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 # 18
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