[I wrote this in 1993 as a letter to a student concerning a draft of his dissertation. In 2003 I edited it to remove some specific references to the student and present it as a small increment to the information available to my grad students. In 2023 I made small edits for grammar and to expand coverage.--spaf]
Let me start by reviewing some things that may seem obvious:
Let's revisit the idea of the thesis itself. It is a hypothesis, a conjecture, or a theorem. The dissertation is a formal, stylized document used to argue your thesis. The thesis must be significant, original (no one has yet demonstrated it to be true), and it must extend the state of scientific knowledge.
The first thing you need to do is to come up with no more than three sentences that express your thesis. Your committee must agree that your statements form a valid thesis statement. You, too, must be happy with the statement -- it should be what you will tell anyone if they ask you what your thesis is (few people will want to hear an hour's presentation as a response).
Once you have a thesis statement, you can begin developing the dissertation. The abstract, for instance, should be a one-page description of your thesis and how you present the proof of it. The abstract should summarize the results of the thesis and should stress the contributions to science made thereby.
Perhaps the best way to understand how an abstract should look would be to examine the abstracts of several dozen dissertations that have already been accepted. Our university library has a collection of them. This is a good approach to see how an entire dissertation is structured and presented. MIT Press has published the ACM doctoral dissertation award series for decades, so you may find some of those to be good examples to read -- they should be in any large technical library.
The dissertation itself should be structured into 4 to 6 chapters. The following is one commonly-used structure:
Let's look at these in a little more detail
Chapter I, Introduction. Here, you should clearly state the thesis and its importance. This is also where you define terms and other concepts used elsewhere. There is no need to write 80 pages of background on your topic here. Instead, you can cover almost everything by saying: "The terminology used in this work matches the definitions given in [citation, citation] unless noted otherwise." Then, cite some appropriate works that give the definitions you need. The progress of science is that we learn and use the work of others (with appropriate credit). Assume you have a technically literate readership familiar with (or able to find) standard references. Do not reference popular literature or WWW sites if you can help it (this is a matter of style more than anything else -- you want to cite articles in refereed conferences and journals, if possible, or in other theses).
Also, in the introduction, you want to survey any related work that attempted something similar to your own or has a significant supporting role in your research. This should refer only to published references. You cite the work in the references, not the researchers themselves. E.g., "The experiments described in [citation] explored the foo and bar conditions, but did not discuss the further problem of baz, the central point of this work." You should not make references such as this: "Curly, Moe, and Larry all believed the same in their research [CML53]" because you do not know what they believed or thought -- you only know what the paper states. Every factual statement you make must have a specific citation tied to it in this chapter, or else it must be common knowledge (don't rely on this too much).
Chapter II. Abstract Model. Your results are to be of lasting value. Thus, the model you develop and write about (and indeed, that you defend) should have lasting value. Thus, you should discuss a model not based on Windows, Linux, Ethernet, PCMIA, or any other technology. It should be generic and capture all the details necessary to overlay the model on likely environments. You should discuss the problems, parameters, requirements, necessary and sufficient conditions, and other factors here. Consider that 20 years ago (ca 1980), the common platform was a Vax computer running VMS or a PDP-11 running Unix version 6, yet well-crafted theses of the time are still valuable today. Will your dissertation be valuable 20+ years from now (ca 2050), or have you referred to technologies that will be of only historical interest?
This model is tough to construct but is the heart of the scientific part of your work. This is the lasting part of the contribution, and this is what someone might cite 50 years from now when we are all using MS Linux XXXXP on computers embedded in our wrists with subspace network links!
Chapters III & IV, Proof.There are basically three proof techniques that I have seen used in a computing dissertation, depending on the thesis topic. The first is analytic, where one takes the model or formulae and shows, using formal manipulations, that the model is sound and complete. A second proof method is stochastic, using statistical methods and measurements to show that something is true in the anticipated cases.
Using the third method, you must show that your thesis is true by building something according to your model and showing that it behaves as you claim it will. This involves
Chapter V. Additional results. This may be folded into Chapter III in some theses or multiple chapters in a thesis with many parts (as in a theory-based thesis). This may be where you discuss the effects of technology change on your results. This is also a place where you may wish to point out significant results that you obtained while seeking to prove your central thesis but which are not supportive of the thesis. Often, such additional results are published in a separate paper.
Chapter VI. Conclusions and Future Work. This is where you discuss what you found from your work, incidental ideas and results that were not central to your thesis but of value nonetheless (if you did not have them in Chapter V), and other results. This chapter should summarize all the important results of the dissertation --- note that this is the only chapter many people will ever read, so it should convey all the important results.
This is also where you should outline some possible future work that can be done in the area. What are some open problems? What are some new problems? What are some significant variations open to future inquiry?
Appendices usually are present to hold mundane details that are not published elsewhere but are critical to the development of your dissertation. This includes tables of measurement results, configuration details of experimental testbeds, limited source code listings of critical routines or algorithms, etc. It is not appropriate to include lists of readings by topic, lists of commercial systems, or other material that does not directly support the proof of your thesis.
Here are some more general hints to keep in mind as you write/edit:
As a rule of thumb, a CS dissertation should probably be longer than 100 pages but less than 160. Anything outside that range should be carefully examined with the above points in mind.
Keep in mind that you -- the Ph.D. candidate -- are expected to become the world's foremost expert on your topic area. That topic area should not be unduly broad but must be big enough to be meaningful. Your advisor and committee members are not supposed to know more about the topic than you do -- not individually, at least. Your dissertation is supposed to explain your findings and, along with the defense, demonstrate your mastery of the area in which you are now the leading expert. That does not mean writing everything you know -- it means writing enough about the most important points that others can agree with your conclusions.
Last of all, don't fall into the trap that ties up many candidates and causes some of them to flame out before completion: your thesis does not need to be revolutionary. It simply needs to be an incremental advancement in the field. Few Ph.D. dissertations have ever had a marked impact on the field. Instead, it is the author's set of publications and products of the author that may change the field.
If your dissertation is like most, it will only be read by your committee and some other Ph.D. candidates seeking to build on your work. As such, it does not need to be a masterwork of literature, nor does it need to solve a long-standing problem in computing. It merely needs to be correct, to be significant in the judgment of your committee, and it needs to be complete. We will all applaud when you change the world after graduation. And at that, you will find that many well-known scientists in CS have made their careers in areas different from their dissertation topic. The dissertation is proof that you can find and present original results; your career and life after graduation will demonstrate the other concerns you might have about making an impact.
So get to work!