Alright, let me answer properly the question "What should this piece of LaTeX do?"
\documentclass[a4paper,11pt]{article}
This begins the preamble. Put very simply, the document class sets your document up for you. It defines all of the basic instructions to set out the page, as well as providing simple LaTeX commands. So, the document class takes care of things like font size, margins, headers and footers, indentation and so on. It also specifies commands such as sectioning commands and basically controls the overall shape of your document.
There are a number of standard document classes - you have selected article. Good choice. article is, well, intended for articles. It uses one sided printing by default, does not have chapters, has a small title put on the first page (not a separate page) and the section heading sizes, styles and numbering depth are appropriate to a small article. By default, the page number is placed in the footer. Nothing else appears in any header or footer.
By contrast, report is different. With report, we do have chapters, we have a separate title page and the sectioning is more appropriate to a long report.
There are other default document classes and many more available from elsewhere.
So \documentclass{article} loads the article document class. article is the argument of the \documentclass command. It appears in braces {article}.
You have also used two optional arguments, enclosed in square brackets [a4paper,11pt]. The 11pt option sets the standard font size at 11pt. All other font sizes are defined relative to this, so they will all scale appropriately. You have also told LaTeX to set everything up for printing onto A4 paper.
\DeclareMathSymbol{\bot}{\mathord}{symbols}{"3F}
This - well - it declares the maths symbol \bot. Basically, it tells LaTeX what to print when you type \bot. This can only be used in math mode. Math mode is used like so:
$ math $
\( math \)
Or, for displayed maths:
\[ math \]
Other environments are also available, such as:
\begin{equation}
math
\end{equation}
Which produces a numbered, displayed equation.
So, what definition have we given to \bot. Well, you have told LaTeX to print the symbol with hexadecimal character code 3F (the " tells LaTeX you're providing it with a hexadecimal code). The symbol with character code 3F in this case is this:

Which I produced for you with this $\bot$ (this came between \begin{document} and \end{document} and after the preamble you provided).
Now, you may have noticed that we then define \perp to print the same symbol:
\DeclareMathSymbol{\perp}{\mathrel}{symbols}{"3F}
What's the difference? Well with \bot we use \mathord and with \perp we use \mathrel. This controls the spacing. \mathrel is used to produce binary relation symbols, observe:
$x \bot x$ \\
$x \perp x$

Finally
\begin{document}
begins the document and
\end{document}
ends it. So you have no output, you have no document. You have no content. You've set a document up, but you haven't put anything in it. If you like, you've opened your word processor, but you haven't typed anything. You've slid your paper into the typewriter and sat down, but you haven't typed anything.
Instead, let's produce some content. Try this:
\documentclass[a4paper,11pt]{article}
\DeclareMathSymbol{\bot}{\mathord}{symbols}{"3F}
\DeclareMathSymbol{\perp}{\mathrel}{symbols}{"3F}
\begin{document}
Hello world!
I've just spent a few moments defining some cool symbols.
I call the first one ``bot'':
\[x \bot x\]
Now ``bot'' is alright some of the time. But, at other times, I prefer to use ``perp''
\[x \perp x\]
\end{document}

\begin{document}and your\end{document}. hence no document. You've set a document up, but you haven't put anything in it. If you like, you've opened your word processor, but you haven't typed anything. You've slid your paper into the typewriter and sat down, but you haven't typed anything. – Au101 Aug 06 '15 at 16:04\DeclareMathSymbol{\bot}{\mathord}{symbols}{"3F}rather than the more traditionalHello world!? What you've done there is defined some symbols that you may wish to use in your document. Though you haven't actually used them. But that doesn't really seem like a good place to start your LaTeX career. Confused Au101 :P – Au101 Aug 06 '15 at 16:07\begin{document} % generates the title \maketitle % insert the table of contents \tableofcontents \section{Some Interesting Words} %Well, and here begins my lovely article. \section{Good Bye World}
\ldots{} and here it ends. \end{document}` I am a bit familiar with math symbols of latex because of activity in math.stackexchange.com so I wanted to know the difference between \perp and \bot so decided to try this in a
– Sepideh Abadpour Aug 06 '15 at 16:19\begin{documentand the\end{document}. That's why that code produces an output. In the preamble you have given some declarations (the\author{}and\title{}). But they won't actually be printed until you issue a\maketitlecommand within the document. If you just had\documentclass[a4paper,11pt]{article} \author{H.~Partl} \title{Minimalism} \begin{document} \end{document}you would get exactly what you got when you asked the question - just an empty file with nothing in it! – Au101 Aug 06 '15 at 16:41