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 Online Test MCQs With Answers
Question # 1
Which of the following syntax is used to include header file?
Choose an answer
#include<name of header file>
#include"name of header file"
Both a or b
None of these
Previous
Skip
Next
Question # 2
What happens when the result of a calculation exceeds the capacity of data type?
Choose an answer
System error
Logic error
Syntax error
Over flow
Previous
Skip
Next
Question # 3
Which of the following is used to display a list of items in forms?
Choose an answer
List box
Combo box
Both a and b
None of these
Previous
Skip
Next
Question # 4
If for each entity in B there is only one related entity in A then the relationship between the entities is
Choose an answer
One to one
One to many
Many to many
None
Previous
Skip
Next
Question # 5
The number of bytes used by float data type in C is:
Choose an answer
2
4
121
16
Previous
Skip
Next
Question # 6
The primary objective of the Entity-Relationship diagram is to represent:
Choose an answer
Entities
Relationship
Association
All of these
Previous
Skip
Next
Question # 7
A ------------------- Auto form displays one record at a time
Choose an answer
tabular
Columnar
datasheet
justified
Previous
Skip
Next
Question # 8
An index can be used to :
Choose an answer
Improve the performance of the database
Document the structure of the database
Reduce data dependency for application programs
All
Previous
Skip
Next
Question # 9
------------------- is created when two different names are used for the same information
Choose an answer
synonyms
homonyms
mutually exclusive data
redundant information
Previous
Skip
Next
Question # 10
A two -dimensional table of data is called a
Choose an answer
Group
Set
Declaration
Relation
Previous
Skip
Next
Question # 11
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 # 12
A report is a complete set of _______ field:
Choose an answer
Distinct
Related
Designed
All
Previous
Skip
Next
Question # 13
C programming language was developed for --------------------
Choose an answer
Dos
Windows
Unix
Xenix
Previous
Skip
Next
Question # 14
Which loop structure always executes at least once?
Choose an answer
Do-while
For
While
All
Previous
Skip
Next
Question # 15
getch() stands for:
Choose an answer
Go character
Get character
Give character
All
Previous
Skip
Next
Question # 16
Which type of report lists every field for every record in a single column?
Choose an answer
Tabular report
Summary report
Columnar reports
All of these
Previous
Skip
Next
Question # 17
The statement that is used for an
Choose an answer
while
all
for
goto
Previous
Skip
Next
Question # 18
An attribute that uniquely identify each row in a relation is called
Choose an answer
Column
Foreign
Primary key
Duplicate key
Previous
Skip
Next
Back