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 loop statement?
Choose an answer
If
If-else
Switch
None
Previous
Skip
Next
Question # 2
The function that is used to display output on screen is called:
Choose an answer
printf
scanf
pow
Display
Previous
Skip
Next
Question # 3
Which data type can be used to define a field that consists of a maximum of 255 numbers or letters?
Choose an answer
Text
Memo
Number
Currency
Previous
Skip
Next
Question # 4
Redundancy means
Choose an answer
Duplication
No-duplication
Standards
Microsoft office integration
Previous
Skip
Next
Question # 5
We can make two way decisions with the help of
Choose an answer
if
nested
if-else
all
Previous
Skip
Next
Question # 6
SQL is used for
Choose an answer
data definition
data manipulation
a and b
searching record
Previous
Skip
Next
Question # 7
break keyword is used in
Choose an answer
If statement
If-use
Else-if
None of the above
Previous
Skip
Next
Question # 8
Which format property displays text in uppercase?
Choose an answer
Greater than sign
Less than sign
TEXT
Upper
Previous
Skip
Next
Question # 9
One execution of a loop is knows as a (n):
Choose an answer
Cycle
Duration
Iteration
Test
Previous
Skip
Next
Question # 10
Which of the following statement is correct?
Choose an answer
float num1;num2;
int day,night;
int continue=5.0;
string black='white';
Previous
Skip
Next
Question # 11
A process of assigning initial value to a variable at the time of declaration is called:
Choose an answer
Assigning
Initializing
Naming
setting
Previous
Skip
Next
Question # 12
The loop structure in which condition comes after the body of the loop is
Choose an answer
While
Do-while
For
All
Previous
Skip
Next
Question # 13
------------ is a constraint on primary values that states that no attribute of a primary key should contain nulls
Choose an answer
referential integrity
entity integrity
normalization
acronyms
Previous
Skip
Next
Question # 14
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 # 15
How many primary keys can a table have
Choose an answer
One
At least one but not more than two
Between 1-5
No limit
Previous
Skip
Next
Question # 16
How many are layout of report?
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 17
Format specifier is started with:
Choose an answer
'?
&
%
None
Previous
Skip
Next
Question # 18
A database containing all students in a class would store basic data of students in:
Choose an answer
Record
Field
Cell
File
Previous
Skip
Next
Back