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
NAT I Computer Science Computer MCQs With Answers
Question # 1
If we dropped the pair of braces then what would happen?
Choose an answer
Only one statement to be executed in the if block
Only one statement to be executed in the else block
Only one statement to be executed in the if block and only one statement to be executed in the else block
Previous
Skip
Next
Question # 2
Which of the following is not a component of an application window?
Choose an answer
Title bar
Drop down menus
Desktop
Scroll bars
Previous
Skip
Next
Question # 3
This device connects different types of networks to form an inter-network
Choose an answer
Gateway
Bridge
Router
None of the above
Previous
Skip
Next
Question # 4
Which of the following type of file requires largest processing time?
Choose an answer
Sequential file
Random file
Indexed sequential file
Direct access file
Previous
Skip
Next
Question # 5
The method in which unauthorized access is prevented by providing a key,badge,token or a plastic card to authorized users is called
Choose an answer
What you have
What you know
What you do
What you are
Previous
Skip
Next
Question # 6
The break statement is used to exit from which part of a loop?
Choose an answer
Beginning
Middle
End
None of the above
Previous
Skip
Next
Question # 7
The for loop contains the
Choose an answer
Initialize expression
Test expression
Increment expression
All the above
Previous
Skip
Next
Question # 8
Global variables are created in
Choose an answer
RAM
ROM
Hard disk
Cache
Previous
Skip
Next
Question # 9
An external variable is variable can be referenced in a declaration
Choose an answer
In main () only
In the first function that uses it
In any function that uses it
Outside of any function
Previous
Skip
Next
Question # 10
Object-oriented is a
Choose an answer
Broad category of relation database model
Latest research on the relational database model
Principles of the relational database model
None of the above
Previous
Skip
Next
Question # 11
Each attribute of an entity set has a particular value The set of possible values that a given attribute can take is called its
Choose an answer
Range
Domain
Relationship
Association
Previous
Skip
Next
Back