Community Sites
Create your own community website and start earning today !
It's Free !
 
Communities Members BookmarksPolls Fresher Jobs Strange Photos Academic Projects New Member FAQ  



My Profile
Active Members
TodayLast 7 Days more...



Awards & Gifts
Online Exams

Fresher Jobs


Our fresher job section is exclusively for fresh graduates! Find jobs for freshers in major Indian cities including Bangalore, Chennai, Hyderabad, Pune or Kochi

Resources


Find educational articles, blogs, discussion threads and other resources.

Colleges


Find details about any college in India or search for courses.

website counter



JNTU 2007-08 II Year I Sem B.Tech.Met.E.- JAVA Lab


Posted Date: 22 Dec 2007    Resource Type: Articles/Knowledge Sharing    Category: Syllabus

Posted By: India       Member Level: Diamond
Rating:     Points: 1



JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY
HYDERABAD
II Year B.Tech. Met.E. I-Sem T P C
0 3 2
JAVA LAB

1. Write a Java program that prints all real solutions to the quadratic equation ax2 + bx + c = 0. Read in a, b, c and use the quadratic formula. If the discriminant b2 -4ac is negative, display a message stating that there are no real solutions.
2. The Fibonacci sequence is defined by the following rule. The fist two values in the sequence are 1 and 1. Every subsequent value is the run of the two values preceding it. Write a Java program that uses both recursive and non recursive functions to print the nth value in the Fibonacci sequence.
3. Write a Java program that prompts the user for an integer and then prints out all prime numbers up to that. Integer.
4. Write a Java program that checks whether a given string is a palindrome or not. Ex: MADAM is a palindrome.
5. Write a Java program for sorting a given list of names in ascending order.
6. Write a Java program to multiply two given matrices.
7. Write a Java Program that reads a line of integers, and then displays each integers, and the sum of all the integers (use string to kenizer class)
8. Write a Java program that reads on file name from the user then displays information about whether the file exists, whether the file is readable, whether the file is writable, the type of file and the length of the file in bytes.
9. Write a Java program that reads a file and displays a file and displays the file on the screen, with a line number before each line.
10. Write a Java program that displays the number of characters, lines and words in a text file.
11. Write a Java program that:
a) Implements stack ADT.
b) Converts infix expression into Postfix form.
12. Write an applet that displays a simple message.
13. Write an applet that computes the payment of a loan based on the amount of the loan, the interest rate and the number of months. It takes one parameter from the browser: Monthly rate; if true, the interest rate is per month; Other wise the interest rate is annual.
14. Write a Java program that works as a simple calculator. Use a grid layout to arrange buttons for the digits and for the + - X % operations. Add a text field to display the result.
15. Write a Java program for handling mouse events.




Responses

Author: India    22 Dec 2007Member Level: Diamond   Points : 5
16. Write a Java program for creating multiple threads
17. Write a Java program that correctly implements producer consumer problem using the concept of inter thread communication.
18. Write a Java program that lets users create Pie charts. Design your own user interface (with swings & AWT)
19. Write a Java program that allows the user to draw lines, rectangles and OU.als.
20. Write a Java program that implements a simple client/server application. The client sends data to a server. The server receives the data, uses it to produce a result, and then sends the result back to the client. The client displays the result on the console. For ex: The data sent from the client is the radius of a circle, and the result produced by the server is the area of the circle.
21. Write a Java program that illustrates how run time polymorphism is achieved.





Feedbacks      
Popular Tags   What are tags ?   Search Tags  
(No tags found.)

Post Feedback


This is a strictly moderated forum. Only approved messages will appear in the site. Please use 'Spell Check' in Google toolbar before you submit.
You must Sign In to post a response.
Next Resource: JNTU 2007-08 II Year I Sem B.Tech.Met.E.- Furnace Technology and Pyrometry
Previous Resource: JNTU 2007-08 II Year I Sem B.Tech.Met.E.- Physical Metallurgy Lab
Return to Discussion Resource Index
Post New Resource
Category: Syllabus


Post resources and earn money!
 
Related Resources



Watch TV Channels
  • Watch Asianet TV online
  • Kairali TV in Internet
  • Surya TV online
  • Amritha TV Channel

  • Contact Us    Privacy Policy    Terms Of Use   

    SpiderWorks Technologies Pvt Ltd. 2006 - 2007 All Rights Reserved.