DO 's
- Please assign runtime values in the code itself. You cannot give runtime parameters /
standards inputs from the console.
- If you have not yet taken the mock test, please do that right now: http://www.devsquare.com/adc/pt/tryout.jsp
- C/C++ users
- Change the macro value in the header file to 1 if you are submitting C solution and
to 2 if you are submitting C++ solution.
- C/C++ programs are compiled using Gnu Compiler on Linux. Key differences you
should note:
- Include <iostream> instead of <iostream.h>
- Include the sentence "using namespace std" for standard outputs.
- There should be blank line at the end of the program
- Include the header file in the code you write for e.g. #include "MagicSquare.h
"
- If your Run process takes too long to execute kill your process from the output
pane.
- C++ Solutions: Change the macro variable C_OR_CPP value in the header (*.h) file to
2 if you are submitting C++ solution.
- Before you begin coding, create the file within the given directory (use Right Click
options). The file name(s) should be exactly as mentioned in the problem statement.
- Give complete file extension .c or .cpp or .java as the case maybe.
DONT's
- Do not change the Directory Name / File Name.
- There should not be any spaces in the Directory Name / File Name.
- Do not write code that takes standard inputs / command line parameters / console inputs. For
e.g. scanf(), getch(), getchar(), cin and other such commands will not work.
JSP Instructions:
- Create the jsp by using the Add file option. Save the jsp by pressing the Save button.
- Run Jsp
- Choose start tomcat from the Compile & Run drop down. It will start the tomcat
instance.
- You can execute the jsp by click on the Run button after the server has been
succesfully started. It will open a new browser with the jsp.
- To stop tomcat, choose stop tomcat from the Compile & Run drop down.
DO 's
- Use log for logging in jsps and servlet. The log messages will be shown in the tomcat
message window.
- All the jsps should be written under the Main Program Directory.
DONT 's
- Do not use the System.out.println in jsps and servlets as it will not be shown in the tomcat
message window.
|