12th Class Computer Science MCQS Chapter 9

Google Ads1

12th Class Computer Science MCQS


An integer variable can store the value:
32898
123
5.5
-1.1

Which of the following are required to declare a variable?
Variable name
Both b and c
keyword
Data type

Which term describes the kind of values that a variable can store?
Varaibletype
Datatype
Varaible name
Varaiblesize

What happens when the result of a calculation exceeds the capacity of data type?
Over flow
Logic error
Syntax error
System error

Which statement is true about data types?
Data type has no memory requirements
None of the above
Each data type has same memory requirements
Each data type has different memory requirements

The number of bytes used by double data type in C is:
16
8
12
2

An attribute that uniquely identify each row in a relation is called
Duplicate key
Foreign
Column
Primary key

Which of the following data type is used to store string value:
char
long
string
float

Which of the following data types is most appropriate for storing a name?
long
char
int
float

C is strongly typed language, it means that:
Every program must be compiled before execution
Every variable must be declared before it is being used
The variable declaration also defines the variable
Sufficient data types are available to manipulate each type of data

Continue Reading Go to Next Page

Google Ads