Which of these sentences are propositions? What are the truth values of those that are propositions?

Propositional logic is a very important topic in Discrete Mathematics. It is part of the foundations every student should know. In this post, I’ll show how I solve this specific type of exercise. In mathematics, definitions are very important. As I always recommend to my students, when you are starting a new topic, and you

Which of these sentences are propositions? What are the truth values of those that are propositions? Read More »

General Tree Data Structure Example in C#: Printing levels of the Tic-tac-toe Game Tree

We can use the General Tree Data Structure in several ways. One of them is to create game trees. In this post, you will learn how to print some levels of the game tree for the popular game Tic-tac-toe. Tic-Tac-Toe The Tic-tac-toe game consists of a 3×3 board. One player places X’s on the board

General Tree Data Structure Example in C#: Printing levels of the Tic-tac-toe Game Tree Read More »

Text files in C#

Text files is an important topic to master in programming. In this post, you will learn how to use text files in C#. Why do we need files in programming? A computer can store data in two ways: Random Access Memory (RAM) Computer Files An example of the use of RAM to store data is

Text files in C# Read More »