Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 9

Conversion of Pseudo code to

JAVA Coding.

PWD2010BIT-16

M.R.A.Azeez BIT/10/C1/2023
P.Ragupathyraj BIT/10/C1/2022
B.M.U.K.K.Basnayake BIT/10/C1/2051
I.M Balasooriya BIT/10/C2/3036
K. T. D. De Silva BIT/10/C1/2049
Introduction
• Through this system, we encourage students and
programmers to learn Java.
• This system converts Pseudo code to Java
coding.
• It will convert pseudo codes used for
************

I.M Balasooriya BIT/10/C1/2023


Objectives
• Increasing the accuracy of programs.
• Automation of system for faster conversion.
• To give the users training about the concept.
• Accurate back tracking and progress monitoring
of programs.
• Increase the reliability through technological
aspects.
• Introduce new innovative ways to save the time
and cost for efficiency.

I.M Balasooriya BIT/10/C1/2023


Scope

• This software will increase the accuracy of


converting pseudo code algorithms to Java code,
while minimizing the weaknesses of inefficiency
of human beings.
• The system is to be developed for all users
interested in programming.
• It may increase the knowledge of programmers
as well as users with zero programming
knowledge.

I.M Balasooriya BIT/10/C1/2023


How to use Our system
1. Upload Your Pseudo
code (text file)

2. Where your out put file


Run want to save (path)
JAVA
code
User 3. What is the class name
you want give your JAVA
code.(out put file name)
4. Press Convert now button.

M.R.A Azeez BIT/10/C1/2023


System Diagram public class Print {
Input Process Output
readLine() Println()
sartsWith()
method in Keywords method in
method in
BufferedRea class PrintWriter
string class
der class class

File class Creates


Reading the object
string line using
Capture
by line and keyword
Access Keyword
Upload create tmp class
Pseudo the object methods
code Pseudo
text file code file
if (tmp.startsWith("PRINT")) {
new Print(tmp, pw , hm);
bf = new BufferedReader(new FileReader(openFile)); JAVA
while (bf.ready()) { code
tmp = bf.readLine();
M.R.A Azeez BIT/10/C1/2023
Example of PRINT keyword
Println()
Keywords method in
class PrintWriter
class
public class Print {
if(shmap.containsKey(pSplit[1])){
pwPrint.println("System.out.println("+pSplit[1]+");");
Capture Creates JAVA
Keyword the object code

Split()
if (tmp.startsWith("PRINT")) { method in
new Print(tmp, pw , hm); String class
pSplit=s1.split("PRINT ");

M.R.A Azeez BIT/10/C1/2023


Research Methodology
User friendly Standards of Pseudo code

Simple English words are used as keywords

To read the Pseudo codes line by line readLine()


method in BufferedReader class is used.

To write the JAVA code println() method in PrintWriter


class is used.

In our system there is no database, we are using hard


code and every keyword making class
K.T.D De Silva BIT/10/C1/2049
Technology used

K.T.D De Silva BIT/10/C1/2049

You might also like