Select Your Style

Choose your layout

Color scheme

Introduction to Object Oriented Programming Through Java

Introduction to Object Oriented Programming Through Java

INR₹4,237.00 + GST

Please login to purchase the course.

Clear
SKU: cid_253691 Category: Tags: , ,

 

The objective of this course is to impart knowledge and develop skills which are required to solve real world problems using object oriented approach and Java language constructs and unified modeling language. The course covers the subject in three sections which are: Introduction to Object Oriented Programming, Introduction to Java Programming, and Introduction to UML.

 

Learning Outcomes

After completing this course, you will be able to:

  • Understand the basics of Object Oriented Programming
  • Understand the various Object Oriented programming concepts like Abstraction, Objects and Classes, Inheritance, Polymorphism etc
  • Learn what are the basic data structures in Java, Objects and Classes, Super Class, sub-class, Interfaces, Inner classes etc
  • Learn how to do GUI programming using AWT/Swing
  • Learn how to deploy Java applications
  • Learn how to access databases in Java
  • Understand what is unified Modeling Language and why is it used
  • Understand the use of Class, Interface, Interaction, State and Activity, Physical diagrams in modeling software

Target Audience

The course can be taken by:

Students: All students who are pursuing any technical or professional degree courses in computer science IT.
Teachers/Faculties: All teachers/faculties who wish to acquire new skills or enhance their skills in object oriented programming through Java
Professionals: All working professionals, who wish to acquire new skills or who need to improve their efficiency in object oriented programming through Java.

Why learn object oriented programming through Java?

OOP has become a fundamental part of software development. Getting your head around the idea of object-oriented programming can be challenging for some IT professionals. You may be wondering why you even need objects when you could use the top-down approach of traditional structured programming in languages like Visual Basic. Object-oriented programming is often the most natural and pragmatic approach, once you get the hang of it. OOP languages allows you to break down your software into bite-sized problems that you then can solve — one object at a time.

Moreover, when it comes to OOPs, the first programming language that comes to your mind is Java, which is the most widely used OOP language worldwide. According to Oracle (that acquired Sun Microsystems in 2010), Java now runs on more than 3 billion devices. Java is the most useful programming language for developing GUI based applications. Java is the choice of many software developers for writing applications involving scientific calculations and mathematical operations. These programs are generally considered to be fast and secure, have a higher degree of portability and low maintenance. Prospects are bright for you with knowledge of programming languages like Java. As of 2018, there are a lot of opportunities for Java programmers. With a projected growth rate of 19 percent for the 2014-2024 period (according to the U.S. Bureau of Labor Statistics for all application programming), the career prospects for Java programmers are indeed excellent.

 

Course Features

24X7 Access: You can view lectures as per your own convenience.
Online lectures: ~10 hours of online lectures with high-quality videos.
Updated Quality content: Content is latest and gets updated regularly to meet the current industry demands.

 

Test & Evaluation

There will be a final test containing a set of multiple choice questions. Your evaluation will include the scores achieved in the final test.

Note:
  1. The access to the course can be extended 3 months at a time (for upto 4 times) just by sending a mail requesting for an extension to the email id in the footer.
  2. The hard copy of the certificate shall be shipped to your registered address or your college
  3. There is no soft copy of the certificate.
  4. To get access to the certificate - you need to take the online exam at the end of the course

No prerequisites

 

Topics to be covered

Unit-1
  • Learning Objectives
  • Thinking Object-Oriented
  • Abstraction
  • Classes and Methods
  • Messages, Instances, and Initialization
  • Inheritance and Substitution
  • Static and Dynamic Behavior
  • Multiple Inheritance
  • Polymorphism and Software Reuse
  • Overloading and Overriding
  • Assignments
  • Conclusion
Unit-2-part-1
  • Learning Objectives
  • An Introduction to Java
  • The Java Programming Environment
  • Fundamental Programming Structures in Java
  • Objects and Classes
  • Inheritance
  • Interfaces and Inner Classes
  • Introduction to GUI
  • Graphics Programming
  • User Interface Components with Swing
  • Deploying Applets and Applications
  • Exceptions and Debugging
  • Streams and Files
  • Database Programming
  • Assignments
  • Conclusion
Unit-3
  • Learning Objectives
  • Introduction, An outline Development Process and Use cases
  • Class Diagrams and Advance Concepts
  • Interaction Diagrams, Packages and Collaborations
  • State and Activity Diagrams
  • Physical Diagrams
  • Case Studies
  • Assignments
  • Conclusion

Assignment 1:

  • Write a program that can create a concordance ( A concordance lists every word that occurs in the document, and for each word it gives the line number of every line in the document where the word occurs ).The document should be read from an input file, and the concordance data should be written to an output file. The names of the input file and output file should be specified as command line arguments when the program is run.
  • Open a text file so that you can read the file one line at a time. Read each line as a String and place that String object into a LinkedList. Print all of the lines in the LinkedList in reverse order. Write a Java Program to create three new types of exceptions. Write a class with a method that throws all three. In main( ), call the method but only use a single catch clause that will catch all three types of exceptions.
  • Design a Calculator using Java Applet/Swing. The display should have all the digit buttons along with buttons for operations +,-,*, / and =. There is a designated panel to show the current results. If a digit button is clicked, the number is displayed on the panel. If an operator button is clicked the operation is to be performed. The calculator can operate in two modes. a. When, the operator buttons are pressed the intermediate results should be displayed. b. The operations can take in any number of arguments and the final result is displayed only when the = button is pressed.
  • Write an applet with a JTextArea where the user can enter some text. The applet should have a button. When the user clicks on the button, the applet should count the number of lines in the user's input, the number of words in the user's input, and the number of characters in the user's input. This information should be displayed on three labels in the applet.

Assignment 2:

  • Write a Java Program to create three interfaces, each with two methods. Inherit a new interface from the three, adding a new method. Create a class by implementing the new interface and also inheriting from a concrete class. Now write four methods, each of which takes one of the four interfaces as an argument. In main( ), create an object of your class and pass it to each of the methods.
  • Create an image from an Array of Color-Indexed Pixel Values in the byte buffer. A 16-color index color model is used to represent the pixel colors.
  • Write a Java Program to find all the strings that match a given Regular Expression in one or more files or other sources.
  • Write a little applet that lets the user draw polygons. As the user clicks a sequence of points, count them and store their x- and y-coordinates in two arrays. These points will be the vertices of the polygon. Also, draw a line between each consecutive pair of points to give the user some visual feedback. When the user clicks near the starting point, draw the complete polygon. Draw it with a red interior and a black border. The user should then be able to start drawing a new polygon. When the user shift-clicks on the applet, clear it.
  • Write a Java Program to read from or write to a particular location in a file, such as an indexed file.

Assignment 3:

  • Assume that a bank maintains two kinds of accounts for customers, one called savings account and the other as current account. The savings account provides compound interest and withdrawal facilities but no cheque book facility. The current account provides cheque book facility but no interest. Current account holders should also maintain a minimum balance and if the balance falls below this level, a service charge is imposed.

Create a class account that stores customer name, account number and type of account. From this derive the classes “cur_acct” and “sav_acct” to make them more specific to their requirements. Include necessary functions in order to achieve the following tasks:

    • Accept deposit from a customer and update the balance.
    • Display the balance.
    • Compute and deposit interest.
    • Permit withdrawal and update the balance.
    • Check for the minimum balance, impose penalty, necessary, and update the balance.
  • A hospital wants to create a database regarding its indoor patients. The information to stores include
    • Name of the patient
    • Date of admission
    • Disease
    • Date of discharge

Create a base class to store the above information. The base class should include functions to enter information and display a list of all the patients in the database. Create a derived class to store the age of the patients. Write a code to list the information about all pediatric patients (less than 12 years in age).

  • Write a java program to draw a Mandelbrot, which is a collection of points in the plane whose boundary forms a fractal.

Assignment 4:

  • Draw a use case diagram for the parking ticket payment system .The information for the system is given below:
    • Patrol Officer enters ticket information. (ticket status = unpaid)
    • Ticket Holder views her ticket by ticket number. (ticket status = unpaid)
    • Ticket Holder pays for ticket by entering her credit card information. (ticket status = in process) d) Office Staff views all tickets whose status is “in process” to retrieve payment credit card information for each ticket. (ticket status = in process)
    • Office Staff does credit card payment transactions manually. (ticket status = in process)
    • Office Staff change ticket status for each successful payment. (ticket status = paid)
  • The following is a partial taxonomy of rotating electrical machines. Electrical machines may be categorized for analysis purposes into alternating current (ac) or direct current (dc). Some machines run on ac, some on dc, and some will run on either. An ac machine may be synchronous or induction. A few examples of electrical machines include large synchronous motors, small induction motors, universal motors, and permanent magnet motors. Most motors found in the homes are usually induction machines or universal motors. Universal motors are typically used where high speed is needed such as in blenders or vacuum cleaners. They will run on either “AC” or “DC”. Permanent magnet motors are frequently used in toys and will work only on dc. Prepare an object diagram showing how the categories and the machines just described relate to one another. Use multiple inheritance where it is appropriate to do so.

Assignment 5:

  • The direction control for some of the first toy electric trains was accomplished by interrupting the power to the train. Prepare state diagrams for the headlight and wheels of the train, corresponding to the following scenario:
    • Power is off, the train is not moving.
    • Power is turned on, the train moves forward and train headlight shines.
    • Power in turned off, train stops and headlight goes out.
    • Power is turned on, headlight shines and train does not move.
    • Power is turned off, headlight goes out.
    • Power is turned on, train runs backward with its headlights shining.
    • Power is turned off, train stops and headlight goes out.
    • Power is turned on, headlight shines and train does not move.
    • Power is turned off, headlight goes out.
    • Power is turned on, train runs forward with its headlights shining.
  • A simple digital watch has a display and two buttons to set it, the “A” button and the “B” button. The watch has two modes of operation, display time and set time. In the display time mode, hours and minutes are displayed, separated by a flashing colon. The set time mode has two sub-modes, set hours and set minutes. The “A” button is used to select modes. Each time it is pressed, the mode advances in the sequence: display, set hours, set minutes, display, etc. Within the sub-modes, the “B” button is used to advance the hours or minutes once each time it is pressed. Buttons must be released before they can generate another event. Prepare a state diagram of the watch.
  • Some combined bath-showers have two faucets and a lever for controlling the flow of the water. The lever controls whether the water flows from the showerhead or directly into the tub. When the water is first turned on, it flows directly into the tub. When the lever is pulled, a valve closes and latches, diverting the flow of water to the showerhead. To switch from shower to bath with the water running, one must push the lever. Shutting off the water releases the lever so that the next time the water is turned on, it flows directly into the tub. Write a scenario for a shower that is interrupted by a telephone call.