1. ## Weird cardinality q

A "book" is a finite string of characters from some finite "alphabet," such as the 128-character ASCII system. Is the set B of all possible "books" finite, countably infinite, uncountable?

Would it be finite as the product of two finite sets is finite?

2. The set of all books $\displaystyle \mathcal B$ is countable. For simplicity, just to get the idea across, consider the alphabet $\displaystyle \{a,b\}$ with only two elements. You can then construct a bijection between $\displaystyle \mathcal B$ and $\displaystyle \mathbb N$ in the following way:

$\displaystyle a\mapsto 1$
$\displaystyle b\mapsto 2$
$\displaystyle aa\mapsto 3$
$\displaystyle ab\mapsto 4$
$\displaystyle ba\mapsto 5$
$\displaystyle bb\mapsto 6$
$\displaystyle aaa \mapsto 7$
...

The key observation is that, since the string is finite, there's only a finite number of books with a given string length.

3. Originally Posted by sfspitfire23
A "book" is a finite string of characters from some finite "alphabet," such as the 128-character ASCII system. Is the set B of all possible "books" finite, countably infinite, uncountable?

Would it be finite as the product of two finite sets is finite?
The books can be put in lexigraphic order (or can be generated in this order), and so the set of all books is countably infinite.

CB

4. Originally Posted by sfspitfire23
A "book" is a finite string of characters from some finite "alphabet," such as the 128-character ASCII system. Is the set B of all possible "books" finite, countably infinite, uncountable?
This looks awfully similar to the last question you posted.

Would it be finite as the product of two finite sets is finite?
The product of two finite sets is evidently finite, but I don't see how that's relevant.