MCQ IN COMPUTER SCIENCE & ENGINEERING

COMPUTER SCIENCE AND ENGINEERING

SQL

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
Which of the following is not a database data type?
A
text
B
number
C
array
D
date
Explanation: 

Detailed explanation-1: -arr is usually used as a name of the variable that stores arrays as it is not a reserved word. Arrays are a data structure not a data type. Final Answer: Hence, the correct option is D i.e., arr.

Detailed explanation-2: -The array data type is a compound data type represented by the number 8 in the database dictionary. Arrays store a list of elements of the same data type accessed by an index (element) number. The term array is synonymous with the terms list, vector, and sequence.

Detailed explanation-3: -An array type is a user-defined data type consisting of an ordered set of elements of a single data type. An ordinary array type has a defined upper bound on the number of elements and uses the ordinal position as the array index.

Detailed explanation-4: -For example, array2[2, 10, 5] refers to an element in a three-dimensional array. Alternatively, array2[2][10][5] refers to the same element. 4Test treats each dimension of a multi-dimensional array as a sub-array of the larger array.

There is 1 question to complete.