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
ICS Part 2 Computer Science Chapter 11 Online Test MCQs With Answers
Question # 1
__________ 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 # 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
______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 # 4
The case block ends with:
Choose an answer
End select
End case
Break;
Case else
Previous
Skip
Next
Question # 5
In 3NF a non-key attribute must not depend on a
Choose an answer
Non-key attribute
Key attribute
Composite key
Sort key
Previous
Skip
Next
Question # 6
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 # 7
An expression that uses a relational operator is known as:
Choose an answer
Operational
Sequential
Serial
Relational
Previous
Skip
Next
Question # 8
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 # 9
Insert command is used to insert:
Choose an answer
A new table
A new record
A view
Dependencies
Previous
Skip
Next
Question # 10
If x=10 and y=5,, what will the output of the following expression?
x>y? x*y: x+y
Choose an answer
5
10
15
50
Previous
Skip
Next
Question # 11
Which programming structure executes program statements in order?
Choose an answer
Relation
Decision
Sequence
Repition
Previous
Skip
Next
Question # 12
You can use a decision statement to:
Choose an answer
Run a series of statements if a test fails
Test series of conditions
Test whether a condition is true or false
All of these
Previous
Skip
Next
Question # 13
Key is used in
Choose an answer
If statement
Else if statement
Switch statement
All of the above
Previous
Skip
Next
Question # 14
From the following statement which is the control statement
Choose an answer
If
Else if
Switch
All of the above
Previous
Skip
Next
Question # 15
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 # 16
How many times is the test expression of a switch statement evaluated?
Choose an answer
0
1
2
Once for each case
Previous
Skip
Next
Back