{"id":3449,"date":"2017-12-08T14:44:12","date_gmt":"2017-12-08T14:44:12","guid":{"rendered":"http:\/\/www.inspirenignite.com\/jntuh\/?p=3449"},"modified":"2019-07-14T19:07:26","modified_gmt":"2019-07-14T19:07:26","slug":"jntuh-b-tech-2016-2017-r16-detailed-syllabus-object-oriented-programming-java-lab","status":"publish","type":"post","link":"https:\/\/www.inspirenignite.com\/jntuh\/jntuh-b-tech-2016-2017-r16-detailed-syllabus-object-oriented-programming-java-lab\/","title":{"rendered":"JNTUH B.Tech 2016-2017 (R16) Detailed Syllabus Object Oriented Programming through Java Lab"},"content":{"rendered":"<p>Object Oriented Programming through Java Lab 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 Object Oriented Programming through Java Lab 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: CS308ES 0\/0\/3\/2<\/p>\n<p><strong>Course Objectives:<\/strong><\/p>\n<ul>\n<li>To write programs using abstract classes.<\/li>\n<li>To write programs for solving real world problems using java collection frame work.<\/li>\n<li>To write multithreaded programs.<\/li>\n<li>To write GUI programs using swing controls in Java.<\/li>\n<li>To introduce java compiler and eclipse platform.<\/li>\n<li>To impart hands on experience with java programming.<\/li>\n<\/ul>\n<p><strong>Course Outcomes:<\/strong><\/p>\n<ul>\n<li>Able to write programs for solving real world problems using java collection framework.<\/li>\n<li>Able to write programs using abstract classes.<\/li>\n<li>Able to write multithreaded programs.<\/li>\n<li>Able to write GUI programs using swing controls in Java.<\/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 Net bean 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.\u00a0Try code formatter and code refactoring like renaming variables, methods, and\u00a0classes. Try debug step by step with a small program of about 10 to 15 lines which\u00a0contains 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\u00a0buttons for the digits and for the +, -,*, % operations. Add a text field to display the\u00a0result. Handle 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<br \/>\nits factorial Value and returns it in another text field, when the button named\u00a0\u201cCompute\u201d is clicked.<\/li>\n<li>Write a Java program that creates a user interface to perform integer divisions. The\u00a0user enters two numbers in the text fields, Num1 and Num2. The division of Num1\u00a0and Num 2 is displayed in the Result field when the Divide button is clicked. If Num1\u00a0or Num2 were not an integer, the program would throw a Number Format Exception.\u00a0If Num2 were Zero, the program would throw an Arithmetic Exception. Display the\u00a0exception in a message dialog box.<\/li>\n<li>Write a Java program that implements a multi-thread application that has three\u00a0threads. First thread generates random integer every 1 second and if the value is even,\u00a0second thread computes the square of the number and prints. If the value is odd, the\u00a0third thread will print the value of cube of the number.<\/li>\n<li>Write a Java program for the following:<br \/>\ni) Create a doubly linked list of elements.<br \/>\nii) Delete a given element from the above list.<br \/>\niii) Display the contents of the list after deletion.<\/li>\n<li>Write a Java program that simulates a traffic light. The program lets the user select\u00a0one of three lights: red, yellow, or green with radio buttons. On selecting a button, an\u00a0appropriate message with \u201cStop\u201d or \u201cReady\u201d or \u201cGo\u201d should appear above the buttons\u00a0in selected color. Initially, there is no message shown.<\/li>\n<li>Write a Java program to create an abstract class named Shape that contains two\u00a0integers and an empty method named print Area (). Provide three classes named\u00a0Rectangle, Triangle, and Circle such that each one of the classes extends the class\u00a0Shape. Each one of the classes contains only the method print Area () that prints the\u00a0area 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\u00a0the header, and the remaining lines correspond to rows in the table. The elements are\u00a0separated by 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<\/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>REFERENCE BOOKS<\/strong><\/p>\n<ul>\n<li>Java for Programmers, P. J. Deitel and H. M. Deitel, 10th Edition Pearson education.<\/li>\n<li>Thinking in Java, Bruce Eckel, Pearson Education.<\/li>\n<li>Java Programming, D. S. Malik and P. S. Nair, Cengage Learning.<\/li>\n<li>Core Java, Volume 1, 9th edition, Cay S. Horstmann and G Cornell, Pearson.<\/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-first-sem-information-technology-course-structure-for-2016-2017-r16-batch\/\">JNTUH B.Tech Information Technology 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>Object Oriented Programming through Java Lab 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 [&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-3449","post","type-post","status-publish","format-standard","hentry","category-syllabus"],"_links":{"self":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/3449","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=3449"}],"version-history":[{"count":3,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/3449\/revisions"}],"predecessor-version":[{"id":18022,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/posts\/3449\/revisions\/18022"}],"wp:attachment":[{"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/media?parent=3449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/categories?post=3449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inspirenignite.com\/jntuh\/wp-json\/wp\/v2\/tags?post=3449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}