{"id":1194,"date":"2016-06-13T05:45:16","date_gmt":"2016-06-13T05:45:16","guid":{"rendered":"http:\/\/www.inspirenignite.com\/jntuh\/?p=1194"},"modified":"2019-07-13T14:43:55","modified_gmt":"2019-07-13T14:43:55","slug":"jntuh-b-tech-2nd-year-1-sem-metallurgy-material-technology-2-1-java-programming-lab-engineering-r13","status":"publish","type":"post","link":"https:\/\/www.inspirenignite.com\/jntuh\/jntuh-b-tech-2nd-year-1-sem-metallurgy-material-technology-2-1-java-programming-lab-engineering-r13\/","title":{"rendered":"JNTUH B.Tech 2nd Year 1 sem Metallurgy Material Technology (2-1) Java Programming Lab Engineering R13."},"content":{"rendered":"<p>JNTUH B.Tech 2nd year Java Programming Lab gives you detail Java Programming Lab Engineering R13 year subject. It will be help full you to understand you complete curriculum of the year.<\/p>\n<p><strong>Objectives<\/strong><\/p>\n<p>To introduce java compiler and eclipse platform.\u00a0To impart hand on experience with java programming<\/p>\n<p><strong>Note<\/strong><\/p>\n<ul>\n<li>Use Linux and MySQL for the Lab Experiments. Though not mandatory, encourage the use of\u00a0Eclipse platform<\/li>\n<li>The list suggests the minimum program set. Hence, the concerned staff is requested to add\u00a0more problems to the list as needed<\/li>\n<\/ul>\n<ol>\n<li>Use Eclipse or Netbean platform and acquaint with the various menus. Create a test project, add a test class\u00a0and run it. See how you can use auto suggestions, auto fill. Try code for matter and code refactoring like\u00a0renaming variables, methods and classes. Try debug step by step with a small program of about 10 to 15\u00a0lines which contains at least one if else condition and a for loop.<\/li>\n<li>Write a Java program that works as a simple calculator. Use a grid layout to arrange buttons for the digits\u00a0and for the +, -,*, % operations. Add a text field to display the result. Handle any possible exceptions like\u00a0divided by zero<\/li>\n<li>\u00a0a) Develop an applet in Java that displays a simple message.<br \/>\nb) Develop an applet in Java that receives an integer in one text field, and computes its factorial Value and\u00a0returns it in another text field, when the button named \u201cCompute\u201d is clicked.<\/li>\n<li>Write a Java program that creates a user interface to perform integer divisions. The user enters two numbers\u00a0in the text fields, Num1 and Num2. The division of Num1 and Num2 is displayed in the Result field when the\u00a0Divide button is clicked. If Num1 or Num2 were not an integer, the program would throw a Number Format\u00a0Exception. If Num2 were Zero, the program would throw an Arithmetic Exception. Display the exception in a\u00a0message dialog box.<\/li>\n<li>Write a Java program that implements a multi-thread application that has three threads. First thread\u00a0generates random integer every 1 second and if the value is even, second thread computes the square of\u00a0the number and prints. If the value is odd, the third thread will print the value of cube of the number.<\/li>\n<li>Write a Java program that connects to a database using JDBC and does add, delete, modify and retrieve\u00a0operations.<\/li>\n<li>Write a Java program that simulates a traffic light. The program lets the user select one of three lights: red,\u00a0yellow, or green with radio buttons. On selecting a button, an appropriate message with \u201cStop\u201d or \u201cReady\u201d or\u00a0\u201cGo\u201d should appear above the buttons in selected color. Initially, there is no message shown.<\/li>\n<\/ol>\n<p style=\"text-align: center\"><em><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=ini.istudy\" target=\"_blank\" rel=\"noopener\"><span style=\"color: #ff0000\"><b>Download iStudy Android App for complete\u00a0JNTUH syllabus, results, timetables and all other updates. There are no ads and no pdfs and will make your life way easier<\/b><\/span><b>.<\/b><\/a><\/em><\/p>\n<p><strong>TEXT BOOK<\/strong><\/p>\n<ul>\n<li>Java Fundamentals \u2013 A comprehensive Introduction, Herbert Schildt and Dale Skrien, TMH.<\/li>\n<\/ul>\n<p><strong>REFERENCE BOOKS<\/strong><\/p>\n<ul>\n<li>Java for Programmers, P.J.Deitel and H.M.Deitel, Pearson education (OR) Java: How to Program\u00a0P.J.Deitel and H.M.Deitel, PHI.<\/li>\n<li>Object Oriented Programming through Java, P.Radha Krishna, Universities Press.<\/li>\n<li>Thinking in Java, Bruce Eckel, Pearson Education<\/li>\n<li>Programming in Java, S.Malhotra and S.Choudhary, Oxford Univ. Press.<\/li>\n<\/ul>\n<p><strong>Outcomes<\/strong><\/p>\n<p>The student is expected to have hands on experience with the following:<\/p>\n<ul>\n<li>Basics of java programming, multi-threaded programs and Exception handling<\/li>\n<li>The skills to apply OOP in Java programming in problem solving<\/li>\n<li>Ability to access data from a DB with Java programs<\/li>\n<li>Use of GUI components (Console and GUI based)<\/li>\n<\/ul>\n<p><strong>For more information about all JNTU updates please stay connected to us on FB and don\u2019t hesitate to ask any questions in the comment.<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>JNTUH B.Tech 2nd year Java Programming Lab gives you detail Java Programming Lab Engineering R13 year subject. It will be help full you to understand you complete curriculum of the [&hellip;]<\/p>\n","protected":false},"author":2259,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[62],"tags":[],"class_list":["post-1194","post","type-post","status-publish","format-standard","hentry","category-syllabus"],"_links":{"self":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/1194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/users\/2259"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/comments?post=1194"}],"version-history":[{"count":3,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/1194\/revisions"}],"predecessor-version":[{"id":17169,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/1194\/revisions\/17169"}],"wp:attachment":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/media?parent=1194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/categories?post=1194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/tags?post=1194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}