Exam Details

Subject object oriented programming through java
Paper
Exam / Course b.tech
Department
Organization Institute Of Aeronautical Engineering
Position
Exam Date January, 2019
City, State telangana, hyderabad


Question Paper

Hall Ticket No Question Paper Code: ACS003
INSTITUTE OF AERONAUTICAL ENGINEERING
(Autonomous)
B.Tech III Semester End Examinations (Supplementary) January, 2019
Regulation: IARE R16
OBJECT ORIENTED PROGRAMMING THROUGH JAVA
Time: 3 Hours Max Marks: 70
Answer ONE Question from each Unit
All Questions Carry Equal Marks
All parts of the question must be answered in one place only
UNIT I
1. Discuss the working and meaning of the "static" modifier with example and explain static variable
and static methods with an example program.
Write a Java program that prints all real solutions to the quadratic equation ax2+bx+c=0. Read
in c and use the quadratic formula.
2. Describe the various operators used in Java with their classifications. Explain left shift and right
shift operators with suitable examples.
Write a Java program to implement method overloading and constructor overloading.
UNIT II
3. Java supports various ways to control access to members of a class. Explain.
Write a Java program to create an abstract class named Shape that contains two integers and an
empty method named print Area Provide three classes named Rectangle, Triangle and Circle
such that each one of the classes extends the class Shape. Each one of the classes contains only
the method print Area that prints the area of the given shape.

4. "Interface variables are static and final by default in Java" Support this statement with proper
explanation.
Write a program that creates a user interface to perform integer division. The user enters two
numbers in the text fields, Num1 and Num2. The division of Num1 and Num2 is displayed in
the Result field when the Divide button is clicked. If Num1 and Num2 were not integers, the
program would throw a Number Format Exception. If Num2 were zero, the program would throw
an Arithmetic Exception Display the exception in a message dialog box.
UNIT III
5. What is an Exception? Explain the exception hierarchy and how to throw, catch and handle
Exceptions with example.
Write a Java program for sorting a given list of names in ascending order.
Page 1 of 2
6. Define and differentiate multiprocessing and multithreading.
Write a Java program that illustrates creating and using your own exceptions.
UNIT IV
7. List various JDBC drivers available with brief explanation.
Explain steps involved in connecting to database with Java application.
8. Write a Java program to read a text file then count and display no. of lines, words in it.
Write a Java program to check the given file is a directory and find the name of the file by using
file class.
UNIT V
9. Design an applet that display human face. What is the difference between applets and
applications.
Develop an applet that receives an integer in one text field and computes its factorial value and
returns it in another text field, when the button named compute is clicked.
10. Compare and contrast Swing and Abstract Window Toolkit(AWT) in Java.
Write a Java program with swing components button, text field, check box and list box.


Other Question Papers

Subjects

  • ac machines
  • advanced databases
  • aircraft materials and production
  • aircraft performance
  • aircraft propulsion
  • aircraft systems and controls
  • analog communications
  • analysis of aircraft production
  • antennas and propagation
  • applied physics
  • applied thermodynamics
  • basic electrical and electronics engineering
  • basic electrical engineering
  • building materials construction and planning
  • business economics and financial analysis
  • compiler design
  • complex analysis and probability distribution
  • computational mathematics and integral calculus
  • computer networks
  • computer organization
  • computer organization and architecture
  • computer programming
  • concrete technology
  • control systems
  • data structures
  • database management systems
  • dc machines and transformers
  • design and analysis of algorithms
  • design of machine members
  • digital and pulse circuits
  • digital communications
  • digital ic applications using vhdl
  • digital logic design
  • digital system design
  • disaster management
  • disaster management and mitigation
  • discrete mathematical structures
  • dynamics of machinery
  • electrical circuits
  • electrical measurements and instrumentation
  • electrical technology
  • electromagnetic field theory
  • electromagnetic theory and transmission lines
  • electronic circuit analysis
  • electronic devices and circuits
  • elements of mechanical engineering
  • engineering chemistry
  • engineering drawing
  • engineering geology
  • engineering mechanics
  • engineering physics
  • english
  • english for communication
  • environmental studies
  • finite element methods
  • fluid mechanics
  • fluid mechanics and hydraulics
  • fundamental of electrical and electronics engineering
  • fundamental of electrical engineering
  • gender sensitivity
  • geotechnical engineering
  • heat transfer
  • high speed aerodynamics
  • hydraulics and hydraulic machinery
  • image processing
  • industrial automation and control
  • instrumentation and control systems
  • integrated circuits applications
  • introduction to aerospace engineering
  • kinematics of machinery
  • linear algebra and calculus
  • linear algebra and ordinary differential equations
  • low speed aerodynamics
  • machine tools and metrology
  • mathematical transform techniques
  • mathematical transforms techniques
  • mechanics of fluids and hydraulic machines
  • mechanics of solids
  • mechanism and machine design
  • metallurgy and material science
  • microprocessor and interfacing
  • modern physics
  • network analysis
  • object oriented analysis and design
  • object oriented programming through java
  • operating systems
  • optimization techniques
  • power electronics
  • power generation systems
  • probability and statistics
  • probability theory and stochastic processes
  • production technology
  • programming for problem solving
  • pulse and digital circuits
  • reinforced concrete structures design and drawing
  • software engineering
  • strength of materials - i
  • strength of materials - ii
  • structural analysis
  • surveying
  • theory of computation
  • theory of structures
  • thermal engineering
  • thermo dynamics
  • thermodynamics
  • tool design
  • transmission and distribution systems
  • unconventional machining processes
  • waves and optics
  • web technologies