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 Online Test MCQs With Answers
Question # 1
Which rule states that a record form a table cannot be deleted if its associated record exists in related table?
Choose an answer
Referential integrity
Entity relationship
Normalization
All
Previous
Skip
Next
Question # 2
Which of the following is a valid format specifier
Choose an answer
%10d
%7.2f
%-7f
all
Previous
Skip
Next
Question # 3
The relationship can be:
Choose an answer
One-to-one
One-to-many
Many-to-many
All
Previous
Skip
Next
Question # 4
In Access, the structure of a table is created in -------------- view
Choose an answer
design view
data sheet view
a and b
none of them
Previous
Skip
Next
Question # 5
The scope of a variable refers to its:
Choose an answer
Length
Name
Accessibility
Data type
Previous
Skip
Next
Question # 6
A ------------------- Auto form displays one record at a time
Choose an answer
tabular
Columnar
datasheet
justified
Previous
Skip
Next
Question # 7
Which of the following statement can be used in C
Choose an answer
While
For
Do while
All
Previous
Skip
Next
Question # 8
DBA Stands for
Choose an answer
Database application
Database accumulator
Database administer
Database administration
Previous
Skip
Next
Question # 9
As ampersand before the name of a variable denotes:
Choose an answer
Actual value
Variable name
Address
Data type
Previous
Skip
Next
Question # 10
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 # 11
The 1NF describes the tabular format in which:
Choose an answer
All the key attributes are defined
No repeating groups in the table
All attributes are dependent on primary key
All
Previous
Skip
Next
Question # 12
The first line in switch block contains:
Choose an answer
The value of the first criterion
The expression to be evaluated
The statement to be executed if none of the criteria are true
The statement to be executed if the criterion are true
Previous
Skip
Next
Question # 13
Which of the following is NOT displayed in Design view?
Choose an answer
The data type of each field
The components of each filed
The properties of the selected field
The field names
Previous
Skip
Next
Question # 14
An integer variable can store the value:
Choose an answer
-1.1
"123"
32898
5.5
Previous
Skip
Next
Question # 15
Which object of database is used to retrieve data from database?
Choose an answer
Queries
Forms
Reports
Tables
Previous
Skip
Next
Question # 16
SQL can be used to:
Choose an answer
Create database structures only
Query database only
Modify database data only
All
Previous
Skip
Next
Question # 17
_______ function is used to copy a string to an array of characters
Choose an answer
fputs()
Strepy
fgets
gets()
Previous
Skip
Next
Question # 18
Which of the following is used to describe the characteristics of an object?
Choose an answer
Attribute
Relationship
Cardinality
Modality
Previous
Skip
Next
Back