MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

DATA STRUCTURES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
int is ____ data type.
A
user defined
B
derived
C
primary
D
all of above
Explanation: 

Detailed explanation-1: -Primary data types are also known as the fundamental data types because they are pre-defined or they already exist in the C language. All the other types of data types (derived and user-defined data types) are derived from these data types. Primary data types in C are of 4 types: int, char, float, and double.

Detailed explanation-2: -1. PRIMARY DATA TYPES: These are main data types, which are made by the c programmers . These data types are already stored in the header files. For example, integer(int), character(char), float etc.

Detailed explanation-3: -The int data type is the primary integer data type in SQL Server. The bigint data type is intended for use when integer values might exceed the range that is supported by the int data type.

Detailed explanation-4: -Explanation: Array is not a primary data in Scala.

Detailed explanation-5: -Primary data are ‘pure’ in the sense that no statistical operations have been performed on them and they are original. An example of primary data is the Census of India.

There is 1 question to complete.