java lab.pdf

3
Lovely Professional University, Punjab Course Code Course Title Course Planner Lectures Tutorials Practicals Credits CSE310P MODERN PROGRAMMING TOOLS AND TECHNIQUES-I 14591::Virrat Devaser 0.0 0.0 3.0 2.0 Course Category Practical Course TextBooks Sr No Title Author Edition Year Publisher Name T-1 Introduction to Java Programming Daniel Liang 7th Pearson Reference Books Sr No Title Author Edition Year Publisher Name R-1 Java The Complete Reference Herbert Schildt 8th Tata McGraw Hill Detailed Plan For Practicals Practical No Broad topic (Subtopic) Practical Description Learning Outcomes Equipment Used Practical 1 Practical 1(Programs on declaring, initializing , changing the value of variable ,type casting Programs on operators , precedence and associativity and assignment operator) first program -;declaring variables how to run java program JDK, Netbeans, Eclipse *Each experiment of the lab will be evaluated using following relative scheme: Component % of Marks J/E 50 WR 20 VIVA 30

description

java

Transcript of java lab.pdf

Page 1: java lab.pdf

Lovely Professional University, Punjab

Course Code Course Title Course Planner Lectures Tutorials Practicals Credits

CSE310P MODERN PROGRAMMING TOOLS AND TECHNIQUES-I

14591::Virrat Devaser 0.0 0.0 3.0 2.0

Course Category Practical Course

TextBooks

Sr No Title Author Edition Year Publisher Name

T-1 Introduction to Java Programming Daniel Liang 7th Pearson

Reference Books

Sr No Title Author Edition Year Publisher Name

R-1 Java The Complete Reference Herbert Schildt 8th Tata McGraw Hill

Detailed Plan For Practicals

Practical No Broad topic (Subtopic) Practical Description Learning Outcomes Equipment Used

Practical 1 Practical 1(Programs on declaring, initializing , changing the valueof variable ,type castingPrograms on operators , precedence and associativityand assignment operator)

first program -;declaring variables how to run java program JDK, Netbeans, Eclipse

*Each experiment of the lab will be evaluated using following relative scheme:

Component % of Marks

J/E 50

WR 20

VIVA 30

Page 2: java lab.pdf

Practical 2 Practical 2(Programs on simple if statement, if statement with elseclauses,Nested if statement, switch statement , loops:while , do-while , for and demonstrate the use of breakand continue)

program using control structures write program s using control structures JDK, Netbeans, Eclipse

Practical 3 Practical 3(Programs on declaring a class, declaring instancevariables,declaring instance methods,MethodOverloading,Declaring Constructors, using thiskeyword Creating Objects,Calling Instance methods)

program creating classes having methods and constructors

experience object oriented approach of java

JDK, Netbeans, Eclipse

Practical 4 Practical 4(Programs on Inheritance: writing a subclass, subclassconstructors,using super protected Access specifier,protected vs private , Method Overriding,)

inheritance experience object oriented approach of java

JDK, Netbeans, Eclipse

Practical 5 Practical 5(Programs on Java's String and StringBuffer Class andArrays)

String and StringBuffer classes manipulating on strings and StringBuffers

JDK, Netbeans, Eclipse

Practical 6 Practical 6(Programs on Packages and Interfaces)

creating packages and interfaces being able to organize classes into packages

JDK, Netbeans, Eclipse

Practical 7 Practical 7(Programs on try-catch , using multiple catch blocks ,throws clause, creating user defined exceptions,finally block and Assertions)

Handling Exceptions how to handle exceptional circumstances in code

JDK, Netbeans, Eclipse

Practical 8 Practical 8(Programs on creating threads, demonstration of thevarious methods of Thread class and methodsynchronization.)

Thread creation and synchronization students should be able to learn implementing threading for practical problems

JDK, Netbeans, Eclipse

Practical 9 Practical 9(Programs on File class, reading and writing bytes ,reading and writing data types, reading and writingcharacters and reading and writing objects. Reading writing to Files.)

reading writing from files,writing object state

IO JDK, Netbeans, Eclipse

Practical 10 Practical 10(Programs on creating various containers andcontainer methods and creating and using AWTControls and Swing,Attaching Event Listeners toComponents , using the various layouts.)

program to create Applet or Frame and use AWT

GUI JDK, Netbeans, Eclipse

Practical 11(Program on swing) Program using Swings GUI JDK, Netbeans, Eclipse

Page 3: java lab.pdf

SPILL OVERPractical 11 Program on java.util classes usage of utility classes JDK, Netbeans, Eclipse