Data Types interview questions

27 Data Types questions from the SQL bank, written for Indian campus drives and tech interviews. Every question has a verified answer and an AI-tutor explanation on placd.

Free to start: the 2-minute IT readiness check — six questions and a result.

Take the free IT readiness check

or take a mock interview set up for this area

1. What is BIGINT?

Junior
  1. A.an approximate binary floating-point numeric type that can introduce small rounding errors and is unsuitable for exact monetary values
  2. B.a point-in-time type that stores an instant in UTC and converts to the session time zone, unlike a plain timestamp that ignores zones
  3. C.an 8-byte signed integer type used when values may exceed the roughly two-billion limit of an ordinary 4-byte integer
  4. D.an exact fixed-precision numeric type (also called NUMERIC) preferred for money because it avoids the rounding errors of binary floating point

Answer + AI explanation with Pro

2. Which term means: "an 8-byte signed integer type used when values may exceed the roughly two-billion limit of an ordinary 4-byte integer"?

Junior
  1. A.BIGINT
  2. B.FLOAT
  3. C.TIMESTAMPTZ
  4. D.VARCHAR

Answer + AI explanation with Pro

3. Which statement is correct?

Junior
  1. A.BIGINT — a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting
  2. B.BIGINT — an 8-byte signed integer type used when values may exceed the roughly two-billion limit of an ordinary 4-byte integer
  3. C.BIGINT — a fixed-length character type that pads stored strings with trailing spaces up to the declared width
  4. D.BIGINT — a 128-bit universally unique identifier often used as a key that can be generated on the client without coordinating with the database

Answer + AI explanation with Pro

4. What is CHAR?

Junior
  1. A.a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting
  2. B.a fixed-length character type that pads stored strings with trailing spaces up to the declared width
  3. C.an 8-byte signed integer type used when values may exceed the roughly two-billion limit of an ordinary 4-byte integer
  4. D.an approximate binary floating-point numeric type that can introduce small rounding errors and is unsuitable for exact monetary values

Answer + AI explanation with Pro

5. Which term means: "a fixed-length character type that pads stored strings with trailing spaces up to the declared width"?

Junior
  1. A.TIMESTAMPTZ
  2. B.FLOAT
  3. C.CHAR
  4. D.DECIMAL

Answer + AI explanation with Pro

6. Which statement is correct?

Junior
  1. A.CHAR — a fixed-length character type that pads stored strings with trailing spaces up to the declared width
  2. B.CHAR — a type holding the logical values true or false (and possibly unknown via NULL)
  3. C.CHAR — an exact fixed-precision numeric type (also called NUMERIC) preferred for money because it avoids the rounding errors of binary floating point
  4. D.CHAR — a variable-length character type that stores only the actual characters supplied, up to a declared maximum length

Answer + AI explanation with Pro

7. What is VARCHAR?

Junior
  1. A.an exact fixed-precision numeric type (also called NUMERIC) preferred for money because it avoids the rounding errors of binary floating point
  2. B.a variable-length character type that stores only the actual characters supplied, up to a declared maximum length
  3. C.a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting
  4. D.a type holding the logical values true or false (and possibly unknown via NULL)

Answer + AI explanation with Pro

8. Which term means: "a variable-length character type that stores only the actual characters supplied, up to a declared maximum length"?

Junior
  1. A.BIGINT
  2. B.BOOLEAN
  3. C.VARCHAR
  4. D.FLOAT

Answer + AI explanation with Pro

9. Which statement is correct?

Junior
  1. A.VARCHAR — a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting
  2. B.VARCHAR — a point-in-time type that stores an instant in UTC and converts to the session time zone, unlike a plain timestamp that ignores zones
  3. C.VARCHAR — a variable-length character type that stores only the actual characters supplied, up to a declared maximum length
  4. D.VARCHAR — an approximate binary floating-point numeric type that can introduce small rounding errors and is unsuitable for exact monetary values

Answer + AI explanation with Pro

10. What is DECIMAL?

Mid
  1. A.a type holding the logical values true or false (and possibly unknown via NULL)
  2. B.a variable-length character type that stores only the actual characters supplied, up to a declared maximum length
  3. C.an exact fixed-precision numeric type (also called NUMERIC) preferred for money because it avoids the rounding errors of binary floating point
  4. D.a fixed-length character type that pads stored strings with trailing spaces up to the declared width

Answer + AI explanation with Pro

11. Which term means: "an exact fixed-precision numeric type (also called NUMERIC) preferred for money because it avoids the rounding errors of binary floating point"?

Mid
  1. A.CHAR
  2. B.UUID
  3. C.DECIMAL
  4. D.TIMESTAMPTZ

Answer + AI explanation with Pro

12. Which statement is correct?

Mid
  1. A.DECIMAL — an exact fixed-precision numeric type (also called NUMERIC) preferred for money because it avoids the rounding errors of binary floating point
  2. B.DECIMAL — a variable-length character type that stores only the actual characters supplied, up to a declared maximum length
  3. C.DECIMAL — an 8-byte signed integer type used when values may exceed the roughly two-billion limit of an ordinary 4-byte integer
  4. D.DECIMAL — a 128-bit universally unique identifier often used as a key that can be generated on the client without coordinating with the database

Answer + AI explanation with Pro

13. What is FLOAT?

Mid
  1. A.a type holding the logical values true or false (and possibly unknown via NULL)
  2. B.a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting
  3. C.an approximate binary floating-point numeric type that can introduce small rounding errors and is unsuitable for exact monetary values
  4. D.an exact fixed-precision numeric type (also called NUMERIC) preferred for money because it avoids the rounding errors of binary floating point

Answer + AI explanation with Pro

14. Which term means: "an approximate binary floating-point numeric type that can introduce small rounding errors and is unsuitable for exact monetary values"?

Mid
  1. A.BOOLEAN
  2. B.UUID
  3. C.FLOAT
  4. D.VARCHAR

Answer + AI explanation with Pro

15. Which statement is correct?

Mid
  1. A.FLOAT — an 8-byte signed integer type used when values may exceed the roughly two-billion limit of an ordinary 4-byte integer
  2. B.FLOAT — an approximate binary floating-point numeric type that can introduce small rounding errors and is unsuitable for exact monetary values
  3. C.FLOAT — an exact fixed-precision numeric type (also called NUMERIC) preferred for money because it avoids the rounding errors of binary floating point
  4. D.FLOAT — a type holding the logical values true or false (and possibly unknown via NULL)

Answer + AI explanation with Pro

16. What is TIMESTAMPTZ?

Mid
  1. A.an approximate binary floating-point numeric type that can introduce small rounding errors and is unsuitable for exact monetary values
  2. B.a point-in-time type that stores an instant in UTC and converts to the session time zone, unlike a plain timestamp that ignores zones
  3. C.a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting
  4. D.an 8-byte signed integer type used when values may exceed the roughly two-billion limit of an ordinary 4-byte integer

Answer + AI explanation with Pro

17. Which term means: "a point-in-time type that stores an instant in UTC and converts to the session time zone, unlike a plain timestamp that ignores zones"?

Mid
  1. A.CHAR
  2. B.DECIMAL
  3. C.UUID
  4. D.TIMESTAMPTZ

Answer + AI explanation with Pro

18. Which statement is correct?

Mid
  1. A.TIMESTAMPTZ — a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting
  2. B.TIMESTAMPTZ — an exact fixed-precision numeric type (also called NUMERIC) preferred for money because it avoids the rounding errors of binary floating point
  3. C.TIMESTAMPTZ — a point-in-time type that stores an instant in UTC and converts to the session time zone, unlike a plain timestamp that ignores zones
  4. D.TIMESTAMPTZ — a fixed-length character type that pads stored strings with trailing spaces up to the declared width

Answer + AI explanation with Pro

19. What is JSONB?

Mid
  1. A.an exact fixed-precision numeric type (also called NUMERIC) preferred for money because it avoids the rounding errors of binary floating point
  2. B.an approximate binary floating-point numeric type that can introduce small rounding errors and is unsuitable for exact monetary values
  3. C.a 128-bit universally unique identifier often used as a key that can be generated on the client without coordinating with the database
  4. D.a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting

Answer + AI explanation with Pro

20. Which term means: "a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting"?

Mid
  1. A.BIGINT
  2. B.DECIMAL
  3. C.FLOAT
  4. D.JSONB

Answer + AI explanation with Pro

21. Which statement is correct?

Mid
  1. A.JSONB — a 128-bit universally unique identifier often used as a key that can be generated on the client without coordinating with the database
  2. B.JSONB — a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting
  3. C.JSONB — an approximate binary floating-point numeric type that can introduce small rounding errors and is unsuitable for exact monetary values
  4. D.JSONB — a type holding the logical values true or false (and possibly unknown via NULL)

Answer + AI explanation with Pro

22. What is UUID?

Senior
  1. A.a point-in-time type that stores an instant in UTC and converts to the session time zone, unlike a plain timestamp that ignores zones
  2. B.an exact fixed-precision numeric type (also called NUMERIC) preferred for money because it avoids the rounding errors of binary floating point
  3. C.a 128-bit universally unique identifier often used as a key that can be generated on the client without coordinating with the database
  4. D.a type holding the logical values true or false (and possibly unknown via NULL)

Answer + AI explanation with Pro

23. Which term means: "a 128-bit universally unique identifier often used as a key that can be generated on the client without coordinating with the database"?

Senior
  1. A.CHAR
  2. B.DECIMAL
  3. C.BOOLEAN
  4. D.UUID

Answer + AI explanation with Pro

24. Which statement is correct?

Senior
  1. A.UUID — a fixed-length character type that pads stored strings with trailing spaces up to the declared width
  2. B.UUID — a type holding the logical values true or false (and possibly unknown via NULL)
  3. C.UUID — a 128-bit universally unique identifier often used as a key that can be generated on the client without coordinating with the database
  4. D.UUID — a point-in-time type that stores an instant in UTC and converts to the session time zone, unlike a plain timestamp that ignores zones

Answer + AI explanation with Pro

25. What is BOOLEAN?

Junior
  1. A.a point-in-time type that stores an instant in UTC and converts to the session time zone, unlike a plain timestamp that ignores zones
  2. B.a type holding the logical values true or false (and possibly unknown via NULL)
  3. C.an approximate binary floating-point numeric type that can introduce small rounding errors and is unsuitable for exact monetary values
  4. D.a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting

Answer + AI explanation with Pro

26. Which term means: "a type holding the logical values true or false (and possibly unknown via NULL)"?

Junior
  1. A.DECIMAL
  2. B.FLOAT
  3. C.BOOLEAN
  4. D.JSONB

Answer + AI explanation with Pro

27. Which statement is correct?

Junior
  1. A.BOOLEAN — a Postgres binary-encoded document type that supports indexing and fast key access, trading slightly slower writes versus the plain text JSON type which preserves formatting
  2. B.BOOLEAN — a type holding the logical values true or false (and possibly unknown via NULL)
  3. C.BOOLEAN — a fixed-length character type that pads stored strings with trailing spaces up to the declared width
  4. D.BOOLEAN — an approximate binary floating-point numeric type that can introduce small rounding errors and is unsuitable for exact monetary values

Answer + AI explanation with Pro

Free to start

Start with a free readiness check

Sign up free for the 2-minute IT readiness check and a scored result. Answers, explanations and the AI tutor on every Data Types question come with Pro.

Take the free IT readiness check

or take a mock interview set up for this area

24,000+ questions & coding problemsSoftware & IT16,274 questionsGovernment jobs26 examsAptitudenew questions every timeAI practice interviewwith feedback65 topics to practiseMechanical1,149 questionsGATE ME9 papersEngineering Mathematics381 questions2-minute checkfreeDSA Problems1,422Civil1,005 questionsGATE CE9 papersCS Fundamentals1,209 questionsYour scores6 skillsSystem Design25Electrical / EEE1,047 questionsGATE EE9 papersRun your codeC++ · Java · PythonLow-Level Design144Electronics & Comm.975 questionsGATE EC9 papersAI help on every questionFull-Stack6,282Chemical1,005 questionsGATE CH9 papersAI whiteboardsystem designWork abroadEurope · remote · transfersESE ME1 paperGATE practice papers2019–2026ESE CE1 paperDate alertsbefore the last dateESE EE1 paperBehavioural courseHR round practiceESE ET1 paperResume optimizerProSSC JE ME1 paperApplication trackerSSC JE CE1 paperCompany-wise prepSSC JE EE1 paperRole roadmapsRRB JE1 subjectPriced in ₹UPI · cardsISRO SC1 paperGATE CS9 papersIBPS SO IT1 paperUGC NET CS1 paperSSC CGL26 papersIBPS PO26 papersRRB NTPC26 papersSSC CHSL26 papersIBPS Clerk26 papersSBI Clerk26 papersRRB Group D26 papersSSC CPO26 papersSSC GD26 papers