TITLE: What does $\rightarrow$ mean in $p \rightarrow q$
QUESTION [5 upvotes]: I was looking at an exercise where it asked the following:
$$\begin{array}{ccc}
p&q&p\rightarrow q \\
T&T&T \\
&\ldots
\end{array}$$
So, for the third column, I just put $T$ which was correct but I didn't understand what $\rightarrow$ meant. I have seen $\implies$ but I haven't the arrow. Are they the same thing?
Thanks a bunch!

REPLY [2 votes]: It is a material conditional, or otherwise known as $p$ implies $q$, or if $p$, then $q$
The truth table for that is as follows
p  q  p implies q
T  T  T 
T  F  F
F  T  T
F  F  T

$\rightarrow$ can also be written as $\implies$.
In computer science, $p \implies q$ can be rewritten as (not p) or q, or !p||q