Loading...

Computer Science Lab Report Format BASIC INFORMATION. State your name, class, section, instructor's name, assignment number, and date.

Cs 1521 lab report format

This statement should become your main program header comment. Describe how the input is going to be given to the program and the format of the output the program produces. Present how a typical run of the program should look.

Describe the important variables in your program.

For each of these variables give its type and a description of the variable's usage in the program. This description will become a comment in your program.

Do not describe less important variables such as subscripts and loop control variables.

Advanced students should describe in detail the data structures used in the program Here is the basic format scientists have designed for research reports: The best way to prepare to write the lab report is to make sure that you fully understand Computer technology has, however, made creating line graphs a lot easier..

Give a description of your algorithm, making effective use of the principles of top-down design and modularity.

Start by deciding what procedures and functions will be called from the main program and then describe the main program algorithm using pseudo-code. Show how all the main program variables and the procedures and functions you've declared so far are used in the main program.

For each procedure and function you've declared, decide what it will do, and what the parameters will be. Then give a concise statement of what the procedure will do, written in terms of its parameters.

Think of this as a contract between the program and the procedure. This statement will become the procedure header comment in your program.

Next decide whether your procedure needs to be broken down into further subprocedures.

Write a pseudo-code algorithm for your procedure Sample lab write-up for computer science courses. The following document was written using Schematik, the precursor of SchematiX that developed for the .

Now repeat this process for all procedures and functions until everything is clearly described. Draw a structure diagram to reflect the procedural organization of the program as you have designed it in the previous step, and to display how information is transmitted between procedures. It should have one box for each procedure or function, and it should list each input, output, and input-output parameter that is used to pass information to or from a procedure or function.

Describe the situations in which your program detects an error condition and what action the program takes.

Decisions about error handling must be made in parallel with the algorithm design. Include a hand trace of the piece or pieces of your program that your instructor indicates. Indicate whether any extra credit features have been implemented in this lab. You should describe these extensions in this section, but be sure you include adequate tests of these features in the test description and test typescripts below to qualify for extra credit points.

Carefully explain why your algorithm solves the problem correctly.

This is not the same as explaining how your algorithm works all over again. Give computer listings of all files used in the assignment, including source files, include files, and makefiles. Appropriate program comments must be included in the code, not written in afterward by hand.

Sample lab write-up for cs courses

Note: the file name should always be in a comment at the top of each file. Turn in a typescript demonstrating the steps in compiling your program. This should show clearly that your program compiles correctly.

Your instructor will give you specific instructions about how this is to be done in each individual class. Describe the tests you will perform to verify the correctness of your program.

This should be a thorough and exhaustive list of test cases designed to show that your program does everything it is supposed to do.

How to write a technical lab report – with practical examples

For each test case, give sample test data and state what you are checking.

If test data is provided by your instructor, include that as well, and explain how it tests your program Just as math and science my write lab report for me. From this one is. These stems based on contribution to any future i. T. Staff than they could skip this level of .

Place them in a logical order, highlight important information, and annotate them with handwritten notes to make them easier to understand. Describe any known problems with your program, if it does not work as it is supposed to.

Include carefully labeled typescripts of tests that cause the program to work improperly Computer Science Lab Report Format Write a short paragraph describing the purpose of the program. Write a pseudo-code algorithm for your procedure..

If you can, guess at what the underlying problem is and how you might solve it if you had more time.

Scientific reports - the writing center

Describe how you could improve your program if you had more time.

What improvements would make the program faster, more general, simpler, or easier to understand? COMMENTS. What did you learn from it? Was it too hard? Too easy? Suggest improvements if you can.