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
Which of the following format specifiers is used for character data type?
Choose an answer
%d
%s
%c
%f
Previous
Skip
Next
Question # 2
Which is NOT a valid statement to initialize a variable?
Choose an answer
int n=100;
long,population=15000;
char n []="hello World";
cons int N=100;
Previous
Skip
Next
Question # 3
Which is true about a variable?
Choose an answer
The name and data value can both change
The name can change, but the data value cannot
The name cannot change, but the data value can
The name and the data value both cannot changed
Previous
Skip
Next
Question # 4
How many times the instruction in the body of following loop will execute for (x = 1; x < 5; x ++)
Choose an answer
3
4
5
6
Previous
Skip
Next
Question # 5
Add new record to the table in datasheet by typing data beside the
Choose an answer
*
!
@
=
Previous
Skip
Next
Question # 6
Forms are designed for
Choose an answer
Input data
Manipulated data
Accepting change
All of them
Previous
Skip
Next
Question # 7
Which of the following is not a valid escape code?
Choose an answer
\t
\r
\y
\f
Previous
Skip
Next
Question # 8
A field's width indicates:
Choose an answer
Number of characters it can contain
Number of inches it takes on the screen
Number of pixels it takes on screen
Number of characters visible to the users
Previous
Skip
Next
Question # 9
Which of the following escape sequence is used for beep
Choose an answer
/a
/b
/t
/n
Previous
Skip
Next
Question # 10
Which of the following function is used to input data in C programs?
Choose an answer
Scanf
Printf
Get()
getch()
Previous
Skip
Next
Question # 11
Which of the following is used to define objects and describe their characteristics
Choose an answer
Attributes
Relationship
Both a & b
None of them
Previous
Skip
Next
Question # 12
Any thing about which you store information in the database is known as:
Choose an answer
File
Inherent
Entity
Relation
Previous
Skip
Next
Question # 13
Format specifier starts with the symbol
Choose an answer
#
%
*
all
Previous
Skip
Next
Question # 14
Data type int contain bytes:
Choose an answer
10
4
2
1
Previous
Skip
Next
Question # 15
Which of the following view in MS Access looks like an electronic spreadsheet?
Choose an answer
Datasheet
QBE
Relationship
Design
Previous
Skip
Next
Question # 16
How many types of loop structure are available in C?
Choose an answer
4
3
2
6
Previous
Skip
Next
Question # 17
How can you view a report's sorting & grouping options
Choose an answer
Select format
___
> sorting & grouping from menu
By double clicking report selector box in the upper left corner of the report
Select file
___
> page setup from the menu and click the sorting and grouping tab
Click the sorting and grouping button on the toolbar
Previous
Skip
Next
Question # 18
The format specifier for output are:
Choose an answer
%d for int and %f for float
%c for char
%s for string
All
Previous
Skip
Next
Back