{"id":3621,"date":"2017-12-21T07:50:40","date_gmt":"2017-12-21T07:50:40","guid":{"rendered":"http:\/\/www.inspirenignite.com\/jntuh\/?p=3621"},"modified":"2019-07-14T19:28:22","modified_gmt":"2019-07-14T19:28:22","slug":"jntuh-b-tech-2016-2017-r16-detailed-syllabus-java-programming-laboratory","status":"publish","type":"post","link":"https:\/\/www.inspirenignite.com\/jntuh\/jntuh-b-tech-2016-2017-r16-detailed-syllabus-java-programming-laboratory\/","title":{"rendered":"JNTUH B.Tech 2016-2017 (R16) Detailed Syllabus Java Programming Laboratory"},"content":{"rendered":"<p>Java Programming Laboratory Detailed Syllabus for B.Tech second year first sem is covered here. This gives the details about credits, number of hours and other details along with reference books for the course.<\/p>\n<p>The detailed syllabus for Java Programming Laboratory B.Tech 2016-2017 (R16) \u00a0second year first sem is as follows.<\/p>\n<p>B.Tech. II Year I Sem. \u00a0 \u00a0L\/T\/P\/C<br \/>\nCourse Code: EC308ES \u00a0 3\/0\/0\/0<\/p>\n<p><strong>Course Objectives:<\/strong><\/p>\n<ul>\n<li>To introduce java compiler and eclipse platform.<\/li>\n<li>To impart hand on experience with java programming.<\/li>\n<\/ul>\n<p><strong>Course Outcomes:<\/strong><\/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>Note:<\/strong><\/p>\n<ul>\n<li>Use Linux and MySQL for the Lab Experiments. Though not mandatory, encourage\u00a0the use of Eclipse platform.<\/li>\n<li>The list suggests the minimum program set. Hence, the concerned staff is requested to\u00a0add more 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\u00a0project, add a test class, and run it. See how you can use auto suggestions, auto fill. Try code\u00a0formatter and code refactoring like renaming variables, methods, and classes. Try debug step\u00a0by step with a small program of about 10 to 15 lines which contains at least one if else\u00a0condition and a for loop.<\/li>\n<li>Write a Java program that works as a simple calculator. Use a grid layout to arrange\u00a0buttons for the digits and for the +, -,*, % operations. Add a text field to display the result.\u00a0Handle any possible exceptions like divided by zero.<\/li>\n<li>a) 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\u00a0factorial Value and returns it in another text field, when the button named \u201cCompute\u201d is\u00a0clicked.<\/li>\n<li>enters two numbers in the text fields, Num1 and Num2. The division of Num1 and Num2 is\u00a0displayed in the Result field when the Divide button is clicked. If Num1 or Num2 were not an\u00a0integer, the program would throw a Number Format Exception. If Num2 were Zero, the\u00a0program would throw an Arithmetic Exception. Display the exception in a message dialog\u00a0box.<\/li>\n<li>Write a Java program that implements a multi-thread application that has three threads.\u00a0First thread generates random integer every 1 second and if the value is even, second thread\u00a0computes the square of the number and prints. If the value is odd, the third thread will print\u00a0the 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\u00a0and retrieve operations.<\/li>\n<li>Write a Java program that simulates a traffic light. The program lets the user select one of\u00a0three lights: red, yellow, or green with radio buttons. On selecting a button, an appropriate\u00a0message with \u201cStop\u201d or \u201cReady\u201d or \u201cGo\u201d should appear above the buttons in selected color.\u00a0Initially, there is no message shown.<\/li>\n<li>Write a Java program to create an abstract class named Shape that contains two integers\u00a0and an empty method named printArea(). Provide three classes named Rectangle, Triangle\u00a0and Circle such that each one of the classes extends the class Shape. Each one of the classes\u00a0contains only the method printArea () that prints the area of the given shape.<\/li>\n<li>Suppose that a table named Table.txt is stored in a text file. The first line in the file is the\u00a0header, and the remaining lines correspond to rows in the table. The elements are separated\u00a0by commas. Write a java program to display the table using Labels in Grid Layout.<\/li>\n<li>Write a Java program that handles all mouse events and shows the event name at the\u00a0center of the window when a mouse event is fired (Use Adapter classes).<\/li>\n<li>Write a Java program that loads names and phone numbers from a text file where the data\u00a0is organized as one line per record and each field in a record are separated by a tab (\\t). It\u00a0takes a name or phone number as input and prints the corresponding other value from the\u00a0hash table (hint: use hash tables).<\/li>\n<li>Implement the above program with database instead of a text file.<\/li>\n<li>Write a Java program that takes tab separated data (one record per line) from a text file\u00a0and inserts them into a database.<\/li>\n<li>Write a java program that prints the meta-data of a given table<\/li>\n<\/ol>\n<p style=\"text-align: center\"><a href=\"https:\/\/play.google.com\/store\/apps\/details?id=ini.istudy\" target=\"_blank\" rel=\"noopener\"><strong><span style=\"color: #ff0000\">Download iStudy Android App for complete JNTUH syllabus, results, timetables and all other updates. There are no ads and no pdfs and will make your life way easier<\/span>.<\/strong><\/a><\/p>\n<p><strong>TEXT BOOK:<\/strong><\/p>\n<p>Java Fundamentals \u2013 A comprehensive Introduction, Herbert Schildt and Dale Skrien,\u00a0TMH.<\/p>\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\u00a0to Program P.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>For all other B.Tech 2nd\u00a0Year 1st Sem syllabus go to <a href=\"https:\/\/www.inspirenignite.com\/jntuh\/jntuh-second-year-second-sem-electronics-computer-engineering-course-structure-2016-2017-r16-batch\/\">JNTUH B.Tech Electronics and Computer Engineering 2nd\u00a0Year 1st Sem Course Structure for (R16) Batch.<\/a><\/p>\n<p>All details and yearly new syllabus will be updated here time to time. Subscribe, like us on facebook and follow us on google plus for all updates.<\/p>\n<p>Do share with friends and in case of questions please feel free drop a comment.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Java Programming Laboratory Detailed Syllabus for B.Tech second year first sem is covered here. This gives the details about credits, number of hours and other details along with reference books [&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-3621","post","type-post","status-publish","format-standard","hentry","category-syllabus"],"_links":{"self":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/3621","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=3621"}],"version-history":[{"count":2,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/3621\/revisions"}],"predecessor-version":[{"id":18062,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/3621\/revisions\/18062"}],"wp:attachment":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/media?parent=3621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/categories?post=3621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/tags?post=3621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}