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 Chapter 9 Online Test MCQs With Answers
Question # 1
A category of data or information that describes an entity is called
Choose an answer
Attribute
Data item
Record
Tuple
Previous
Skip
Next
Question # 2
Which of the following operations has lowest precedence?
Choose an answer
!
+
=
==
Previous
Skip
Next
Question # 3
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 # 4
Which of the following data type is used to store string value:
Choose an answer
char
float
string
long
Previous
Skip
Next
Question # 5
The symbol '=' represents
Choose an answer
Comparison operator
Assignment operator
Equal to operator
None of these
Previous
Skip
Next
Question # 6
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 # 7
The number of bytes used by char data type in C is:
Choose an answer
2
1
121
16
Previous
Skip
Next
Question # 8
Which of the following is a valid character constant?
Choose an answer
a
"Hello"
'6'
=
Previous
Skip
Next
Question # 9
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 # 10
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 # 11
The exponential notation consists of:
Choose an answer
Mantissa
Exponent
Range
A and B
Previous
Skip
Next
Question # 12
Which term describes the kind of values that a variable can store?
Choose an answer
Varaible name
Datatype
Varaibletype
Varaiblesize
Previous
Skip
Next
Question # 13
Which of the following data types is most appropriate for storing a name?
Choose an answer
float
int
char
long
Previous
Skip
Next
Question # 14
Which of the following data type offers the highest precisions
Choose an answer
Float
Long int
Long double
Unsigned long unit
Previous
Skip
Next
Question # 15
The data type can handle decimal places is:
Choose an answer
Long
float
char
string
Previous
Skip
Next
Question # 16
A primary key that consists of more than one attribute is called a
Choose an answer
Foreign key
Composite key
Multi-valued key
Global key
Previous
Skip
Next
Back