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
%f is used for:
Choose an answer
Double
Float
Integer
Short
Previous
Skip
Next
Question # 2
An example of a query is:
Choose an answer
Selection of all records that match a set of criteria.
Importing of a spreadsheet file into the database
Search for a specific record
Both a and c are correct
Previous
Skip
Next
Question # 3
Which of the following is suitable for an input mask?
Choose an answer
Social security number
Telephone number
A date
All
Previous
Skip
Next
Question # 4
Conditional operator is alternative of:
Choose an answer
If
If-else
Nested if-else
None of these
Previous
Skip
Next
Question # 5
Which format specific is used for integer data type?
Choose an answer
%d
%S
%C
%f
Previous
Skip
Next
Question # 6
Optional is represented by
Choose an answer
0
1
2
none of these
Previous
Skip
Next
Question # 7
From the following statement which is the control statement
Choose an answer
If
Else if
Switch
All of the above
Previous
Skip
Next
Question # 8
Which of the following is used to retrieve data from database and represent it to the user in a formatted way?
Choose an answer
Report
Form
Query
Table
Previous
Skip
Next
Question # 9
Which loop structure always executes at least once?
Choose an answer
Do-while
For
While
All
Previous
Skip
Next
Question # 10
SQL is a(n):
Choose an answer
Unstructured language
Structured language
Object oriented language
Software
Previous
Skip
Next
Question # 11
The columns of a table correspond to
Choose an answer
table
record
field
cell
Previous
Skip
Next
Question # 12
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 # 13
Create command is used to create:
Choose an answer
Table
View
Report
Query
Previous
Skip
Next
Question # 14
Which of the following language provided the basis for the development of c:
Choose an answer
C++
B
JAVA
Pascal
Previous
Skip
Next
Question # 15
Each set of related items in a table is called:
Choose an answer
Table
Record
Field
Query
Previous
Skip
Next
Question # 16
Which of the following may be a temporary life?
Choose an answer
master File
transaction file
back up file
none of these
Previous
Skip
Next
Question # 17
The table in which is found is called Dependent Table.
Choose an answer
Foreign Key
Control key
Primary key
Sort Key
Previous
Skip
Next
Question # 18
Which of the following is a valid format specifier
Choose an answer
%10d
%7.2f
%-7f
all
Previous
Skip
Next
Back