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
The logical not operator denoted by is
Choose an answer
Ternary operator
Unary operator
a=a+b
b=b+a
Previous
Skip
Next
Question # 2
a+=b is equivalent to:
Choose an answer
b+=a
a=+b
a=a+b
b=b+a
Previous
Skip
Next
Question # 3
Which of the following is the valid character constant
Choose an answer
A
"B"
"6"
=
Previous
Skip
Next
Question # 4
Relational operators are used to
Choose an answer
Establish a relationship among variables
Compare two values
Construct compound condition
Performs arithmetic operators
Previous
Skip
Next
Question # 5
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 # 6
Which of the following data types is most appropriate for storing a name?
Choose an answer
float
int
char
long
Previous
Skip
Next
Question # 7
A memory location with some data can be changed is celled:
Choose an answer
Constant
Variable
Named constant
Address
Previous
Skip
Next
Question # 8
The number of bytes used by char data type in C is:
Choose an answer
2
1
121
16
Previous
Skip
Next
Question # 9
An attribute that uniquely identify each row in a relation is called
Choose an answer
Column
Foreign
Primary key
Duplicate key
Previous
Skip
Next
Question # 10
A category of data or information that describes an entity is called
Choose an answer
Attribute
Data item
Record
Tuple
Previous
Skip
Next
Question # 11
Variables are created in
Choose an answer
Ram
Rom
Hard disk
Cache
Previous
Skip
Next
Back