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 3 Online Test MCQs With Answers
Question # 1
Which is used to display yes/no values:
Choose an answer
Check box
Option buttons
Both a & b
None of these
Previous
Skip
Next
Question # 2
A \t is used for:
Choose an answer
New line
Tab
Back space
None of these
Previous
Skip
Next
Question # 3
An index may be created on:
Choose an answer
Primary key
Secondary key
Foreign key
All
Previous
Skip
Next
Question # 4
In a loop semicolon is placed at the end of condition:
Choose an answer
While
For
Do-while
None of these
Previous
Skip
Next
Question # 5
In hybrid distribution, what types of fragments are stored at only one site?
Choose an answer
Critical fragments
Non-critical fragments
Critical and non-critical fragments
Only large fragments
Previous
Skip
Next
Question # 6
An entity related to itself in an ERD model refers to :
Choose an answer
Recursive relationship
One-to-many relationship
Many-to-many relationship
One-to-one relationship
Previous
Skip
Next
Question # 7
Which of the following key does not hold uniqueness property ?
Choose an answer
candidate key
foreign key
primary key
Secondary key
Previous
Skip
Next
Question # 8
In a relational database a single piece of information is called:
Choose an answer
Table
Record
Entity
Attribute
Previous
Skip
Next
Question # 9
The number of variables that can be used in printf ( ) function are
Choose an answer
one
many
three
zero
Previous
Skip
Next
Question # 10
Conditional operator is also called:
Choose an answer
True operator
Ternary-operator
Truth operator
All of these
Previous
Skip
Next
Question # 11
_______________ refers to a method of database distribution in which different portions of database reside at different nodes in the network.
Choose an answer
Spliting
Partitioning
Replication
Dividing
Previous
Skip
Next
Question # 12
The relationship can be:
Choose an answer
One-to-one
One-to-many
Many-to-many
All
Previous
Skip
Next
Question # 13
Which of the following activities are involved in data analysis?
Choose an answer
Data flow diagram
Decision Tables
Decision Trees
All
Previous
Skip
Next
Question # 14
Which of the following is a valid format specifier
Choose an answer
%10d
%7.2f
%-7f
all
Previous
Skip
Next
Question # 15
Escape sequence starts with the character
Choose an answer
%
/
#
none
Previous
Skip
Next
Question # 16
An disadvantage of partitioning is:
Choose an answer
Complexity
Extra space and update time
Inconsistent access speed
All
Previous
Skip
Next
Question # 17
The output of the statement print ("%2f', 11.4519), is
Choose an answer
11.4519
11.45
11.51
11
Previous
Skip
Next
Question # 18
Which key does not have uniqueness property?
Choose an answer
Candidate
Foreign key
Primary key
Secondary key
Previous
Skip
Next
Question # 19
Which of the following keys us not unique:
Choose an answer
Candidate key
Forein key
Primary key
Secondary key
Previous
Skip
Next
Question # 20
Which of the following is NOT included in the definition of an entity?
Choose an answer
Person
Object
Concept
Action
Previous
Skip
Next
Question # 21
A person's name, birthday and social security number are examples of:
Choose an answer
Attributes
Entities
Relationships
Descriptors
Previous
Skip
Next
Question # 22
Optional is represented by
Choose an answer
0
1
2
none of these
Previous
Skip
Next
Question # 23
A technique for physically arranging the records of a file on secondary storage devices is called:
Choose an answer
Physical pointer
Retrieval program
File organization
Update program
Previous
Skip
Next
Back