Determining Accountability | Theory of Computation - Computer Science Engineering (CSE) PDF Download

Introduction

Countable Set is a set having cardinality same as that of some subset of N the set of natural numbers . A countable set is the one which is listable.

Cardinality of a countable set can be a finite number. For example, B: {1, 5, 4}, |B| = 3, in this case its termed countably finite or the cardinality of countable set can be infinite. For example, A: {2, 4, 6, 8 …}, in this case its termed countably infinite.

Common Traces for Countable Set

  • Cardinality expressed in form mn where n∈N, n ≠ ∞,m may or may not be ∞
  • It has finite elements* only in case of countably finite sets.
  • It listable in terms of roaster form* an exhaustive list exists which can include every element atleast once, in case of countably infinite list first few elements followed by three dot ellipsis(…).

Set of Rational numbers is Countably Infinite
Determining Accountability | Theory of Computation - Computer Science Engineering (CSE)

Follow along the red line to build roaster set containing all rational numbers. Hence an exhaustive set containing every element atleast once can be build therefore set of rational numbers is countably infinite.

Uncountable Sets
A set such that its elements cannot be listed, or to put intuitively, there exists no sequence which can list every element of the set atleast once.
Example:

R : {set of real numbers is uncountable}

B : {set of all binary sequences of infinite length} 

Common Traces for Uncountable Set:

  • Cardinality expressed in form mn , n ≠ ∞, ;
  • It is power set of set with infinite elements
  • It is equal set to R set of real numbers
  • It is equal set to Q set of irrational numbers
  • It is non-listable set

Union Operations quick Reference

Determining Accountability | Theory of Computation - Computer Science Engineering (CSE)

Example 1: 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 above sets are countable?
(a) Q and S only
(b) P and S only
(c) P and R only
(d) P, Q and S only

Correct Answer is Option (b)

Set of Rational numbers (+ve or -ve) are countable.

Example 2: Consider the following sets:

  • S1: Set of all recursively enumerable languages over the alphabet {0, 1}.
  • S2: Set of all syntactically valid C programs.
  • S3: Set of all languages over the alphabet {0, 1}.
  • S4: Set of all non-regular languages over the alphabet {0, 1}.

Which of the above sets are uncountable?
(a) S1 and S2
(b) S3 and S4
(c) S1 and S4
(d) S2 and S3

Correct Answer is Option (b)

  • Recursively enumerable languages are countable.
  • Syntactically valid C program can be represented with CFG. CFG generates CFL, CFL is countable.
  • All languages over {0, 1} may not be countable, because they may also lie in the region of 2Σ*.
  • Set of regular languages are countable, non-regular languages may not be countable.
The document Determining Accountability | Theory of Computation - Computer Science Engineering (CSE) is a part of the Computer Science Engineering (CSE) Course Theory of Computation.
All you need of Computer Science Engineering (CSE) at this link: Computer Science Engineering (CSE)
18 videos|69 docs|44 tests

Top Courses for Computer Science Engineering (CSE)

18 videos|69 docs|44 tests
Download as PDF
Explore Courses for Computer Science Engineering (CSE) exam

Top Courses for Computer Science Engineering (CSE)

Signup for Free!
Signup to see your scores go up within 7 days! Learn & Practice with 1000+ FREE Notes, Videos & Tests.
10M+ students study on EduRev
Related Searches

Previous Year Questions with Solutions

,

shortcuts and tricks

,

study material

,

Objective type Questions

,

Determining Accountability | Theory of Computation - Computer Science Engineering (CSE)

,

Exam

,

Determining Accountability | Theory of Computation - Computer Science Engineering (CSE)

,

ppt

,

practice quizzes

,

Determining Accountability | Theory of Computation - Computer Science Engineering (CSE)

,

past year papers

,

video lectures

,

Semester Notes

,

Sample Paper

,

Summary

,

pdf

,

mock tests for examination

,

Important questions

,

Viva Questions

,

Free

,

Extra Questions

,

MCQs

;