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
The statement printf ("%-10d",n) will display the value of n:
Choose an answer
Right justified in ten-character space
Left justified in ten-character space
Center-justified in ten-character space
None of these
Previous
Skip
Next
Question # 2
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
Question # 3
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 # 4
Who developed C?
Choose an answer
Von-Meumann
Al-Khuwarizmi
Charles Babbage
Dennis Ritchie
Previous
Skip
Next
Question # 5
Each set of related items in a table is called:
Choose an answer
Table
Record
Field
Query
Previous
Skip
Next
Question # 6
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 # 7
Which of the following is a valid format specifier
Choose an answer
%10d
%7.2f
%-7f
all
Previous
Skip
Next
Question # 8
Which of the following database object is used to retrieve data form database ?
Choose an answer
Queries
Forms
Reports
Tables
Previous
Skip
Next
Question # 9
In which loop the condition comes before the body of the loop?
Choose an answer
While loop
Do-while loop
For loop
B and C
Previous
Skip
Next
Question # 10
An advantages of partitioning is
Choose an answer
Efficiency
Extra space and update time
Both a & b
None of them
Previous
Skip
Next
Question # 11
Turbo C++ can compile:
Choose an answer
C programs only
C and C++ programs
Turbo C Programs only
Turbo C++ programs only
Previous
Skip
Next
Question # 12
Which of the following is NOT a valid identifier?
Choose an answer
return
myInt
myInteger
total3
Previous
Skip
Next
Question # 13
Which can be previewed on the screen before printing?
Choose an answer
Report
Form
Sub-form
None
Previous
Skip
Next
Question # 14
The number of digits after a decimal point is called:
Choose an answer
Significance
Precision
Range
Scope
Previous
Skip
Next
Question # 15
A record in a database is the information refers to:
Choose an answer
Person
Product
Event
All
Previous
Skip
Next
Question # 16
Which of the following operators has lowest precedence
Choose an answer
!
+
=
=
Previous
Skip
Next
Question # 17
The data type can handle decimal places is:
Choose an answer
Long
float
char
string
Previous
Skip
Next
Question # 18
Any thing about which you store information in the database is known as:
Choose an answer
File
Inherent
Entity
Relation
Previous
Skip
Next
Back