Skip to content
GATEiit

GATE CSE 2018 Q37: Which sets of numbers and functions are countable

Syllabus topic: Sets, relations, functions, partial orders and lattices

Question

Let N be the set of natural numbers. Consider the following sets.

P: Set of Rational numbers (positive and negative)

Q: Set of functions from {0,1} to N

R: Set of functions from N to {0,1}

S: Set of finite subsets of N.

Which of the sets above are countable?

Try it: multiple choice: exactly one correct option

Select one option
Wrong answer costs 2/3 mark in GATE.
Show answer and explanation

Answer: D (official GATE 2018 final answer key)

Concept used: Countability: rationals, finite tuples of naturals and finite subsets of N are countable, while functions N→{0,1} correspond to all subsets of N, which is uncountable (Cantor).

Concept notes

Loading notes…

First step: Identify each set with something familiar: a function from {0,1} to N is a pair of naturals; a function from N to {0,1} is a subset of N.

Full step-by-step solution

Loading…

Answer from the official final answer key. Found a mistake? Use Report issue and we will fix it.

More questions on Sets, relations, functions, partial orders and lattices

Every PYQ on this topic →

Share this question

WhatsAppDownload image

Source: official GATE 2018 CS question paper and final answer key, organised by IIT Guwahati. Question paper · Answer key