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
ICS Part 2 Computer Science Online Test MCQs With Answers
Question # 1
An index may be created on:
Choose an answer
Primary key
Secondary key
Foreign key
All
Previous
Skip
Next
Question # 2
Preprocessor directives are command for:
Choose an answer
Microprocessor
Language processor
C Preprocessor
Loader
Previous
Skip
Next
Question # 3
A form that contains a sub form is called:
Choose an answer
Form
Main form
Report
None
Previous
Skip
Next
Question # 4
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 # 5
-------------------- defines the nature of the relationship
Choose an answer
cardinality
entities
modality
none of these
Previous
Skip
Next
Question # 6
How many types of loop structure are available in C?
Choose an answer
4
3
2
6
Previous
Skip
Next
Question # 7
Which is a valid statement for initializing of a variable?
Choose an answer
int n=100;
int x=50, y=75;
char grade='a'
All of these
Previous
Skip
Next
Question # 8
Which of the following statements is NOT legal?
Choose an answer
char ch='b';;
char ch='0'
char ch=65;
char ch="cc"
Previous
Skip
Next
Question # 9
A category of data or information that describes an entity is called
Choose an answer
Attribute
Data item
Record
Tuple
Previous
Skip
Next
Question # 10
How many are layout of report?
Choose an answer
2
3
4
5
Previous
Skip
Next
Question # 11
Organizing the database in computer disk storage is done in
Choose an answer
Logical design
Physical design
Analysis
Implementation
Previous
Skip
Next
Question # 12
Which of the following syntax is used to include header file?
Choose an answer
#include<name of header file>
#include"name of header file"
Both a or b
None of these
Previous
Skip
Next
Question # 13
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 # 14
Each record consists of a
Choose an answer
Rows
Columns
Both a and b
None of these
Previous
Skip
Next
Question # 15
A relation is also known as
Choose an answer
Table
Tuple
Relationship
Attribute
Previous
Skip
Next
Question # 16
A two -dimensional table of data is called a
Choose an answer
Group
Set
Declaration
Relation
Previous
Skip
Next
Question # 17
A report that provides a column for each field of the records in rows under the column header is know as:
Choose an answer
Tabular report
Columnar report
Datasheet report
Justified report
Previous
Skip
Next
Question # 18
Which of the following is displayed by printf function?
Choose an answer
Text
Constant or values of variable
A and B
Graphics
Previous
Skip
Next
Back