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 of the following is a valid character constant?
Choose an answer
a
"Hello"
'6'
=
Previous
Skip
Next
Question # 2
A form with in another form is called:
Choose an answer
Sub-form
Main form
Multi-form
None
Previous
Skip
Next
Question # 3
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 # 4
Variable are created in:
Choose an answer
RAM
ROM
Hard Disk
USB
Previous
Skip
Next
Question # 5
A report may be based on:
Choose an answer
A table but not a query
A query but a table
Both a table and a query
None of these
Previous
Skip
Next
Question # 6
Which loop statement executes the body of loop at least once?
Choose an answer
do-white
While
For
None of these
Previous
Skip
Next
Question # 7
The rows of a relations can be of ___________ order.
Choose an answer
Any
Same
Sorted
Constant
Previous
Skip
Next
Question # 8
Which is a valid statement for declaring a variable?
Choose an answer
int marks;
int a,b,c;
Double salary;
All
Previous
Skip
Next
Question # 9
The function used to input data in C program is
Choose an answer
Print ()
Scanf ()
Sqrt ()
Main ()
Previous
Skip
Next
Question # 10
The expression in define directive:
Choose an answer
Can only be changed at the end of the program
Cannot be changed but can be redefined
Cannot be assigned a value
Cannot be changed
Previous
Skip
Next
Question # 11
A report is a complete set of _______ field:
Choose an answer
Distinct
Related
Designed
All
Previous
Skip
Next
Question # 12
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 # 13
SQL can be used to:
Choose an answer
Create database structures only
Query database only
Modify database data only
All
Previous
Skip
Next
Question # 14
A two-dimensional table of data is called a
Choose an answer
group
set
declaration
relation
Previous
Skip
Next
Question # 15
The entity integrity rule states that:
Choose an answer
No primary key attribute can be null
Each entity must have a primary key
Primary key must have only one attribute
None
Previous
Skip
Next
Question # 16
Every relation should have :
Choose an answer
Primary key
Candidate key
Secondary key
Mutually exclusiveness
Previous
Skip
Next
Question # 17
Manipulated of data to achieve required objectives and result is called:
Choose an answer
Data processing
Operation
a and b
None
Previous
Skip
Next
Question # 18
From the following which is called control statement
Choose an answer
If
If-else
Else-if
All of the above
Previous
Skip
Next
Back