1.

IP numbers can be represented as _________________(a) both integers and a string(b) a stringbut not integers(c) integers but not a string(d) neither a string nor integersThe question was asked in an online quiz.Query is from Choosing Data Types for Efficient Queries topic in chapter Query Optimization of MySQL

Answer»

Correct choice is (a) both integers and a string

Best explanation: The IP ADDRESSES like 192.168.0.1 can be either stored as a string or a group of integers. Both of these forms would have their own benefits. For example, STORING as a string would facilitate PATTERN MATCHING.



Discussion

No Comment Found

Related InterviewSolutions