OOP

Welcome to Object Oriented Programming (C++ & Java) blog...Here You can get all study material, tutorials etc...

Practical


Software used for programming:

For C++:
1. Dev C++(For windows)
Tutorial for Simple "Hello World" Program using DevCpp




2. Turbo C++(For windows)
3. g++ Compiler (For linux/Ubuntu)

For Java:
1. Java Editor
2. JDK


Total 20 practicals are there in syllabus out of which 16(4 from Group 1 & 12 from Group 2 ) are compulsory

A complete Practical Manual
To download:
Click Here 

OOP Practical Format:
  1. Title of the Assignment
  2. Objectives/Concepts used.
  3. Theory of the Concepts used - Definitions, Syntax, Examples, case studies.
  4. Algorithm
  5. State Transition diagram to understand the System/Flowchart
  6. Code/Program
  7. Output - either Screen shots of copied output from terminal
  8. Conclusion.
To Download C++ Practical code :

To Download Additional C++ Practical code:

To Download Java Practical code:
click Here 


To Download All Practical code:

click Here



Tutorials to Run Programs:
Practical 1-5 in C++
-Use DevCpp for compile & Run
Practical 6-20 in Java
For Practicals 6-11
            -Use Java Editor for compile & Run
For other Practical
            - Use Notepad++/Java Editor/Any Notepad for typing code
            - Use Command Prompt for compile & Run
In Command Prompt:
            - Set path "C:\Program Files\Java\jdk1.8.0_121\bin"
                        > set path=%path%;C:\Program Files\Java\jdk1.8.0_51\bin
            - Set Drive/Directory where programs are saved using cd .., D: etc
            -  Compile code using javac program_name.java(recommanded program_name as main method class name)
            - Run code using java program_name (Here program name is main method class name)
For Practical 12:
            -Compile A.java, B.java as follows:
                          >javac -d . A.java
                          >javac -d . B.java
            -Run B : > java mypack.B
For Practical 13:
            - save Drawable.java as a interface
            - save TestInterface.java as a interface seprate file
            - Compile Drawable.java
                        > javac Drewable.java
            - Run TestInterface
                        > java TestInterface
For Practical 14:
            - Compile calc.java > javac calc.java
            - View/ Run by
                        >appletviewer calc.java
For Practical 15:
            - Compile > javac Pract15.java
            - Run > java Pract15

For Practical 17:
            - Compile > javac StackDemo.java
            - Run > java StackDemo






No comments:

Post a Comment

Thank you for your visit