Model DW
Model DW
(Approved by AICTE, New Delhi and affiliated to Anna University of Technology- Chennai) Star Lion College of Engineering and Technology
Manankorai, Thanjavur - 614 206. (Approved by AICTE, New Delhi and affiliated to Anna University of Technology- Chennai)
PART – B PART – B
Answer all the questions :- (5x16=80) Answer all the questions :- (5x16=80)
11A)i) Write a java program to perform matrix multiplication using arrays? (8) 11 A) i) Write a java program to perform matrix multiplication using arrays? (8)
ii) Develop a java program to find a smallest number in the given array by creating one ii) Develop a java program to find a smallest number in the given array by creating one
dimensional array & two dimensional array using new operator. (8) dimensional array & two dimensional array using new operator. (8)
(or) (or)
B)i)Explain the features and characteristics of java (8) B) i)Explain the features and characteristics of java (8)
ii)Write a program to find whether a number is a palindrome or not. (8) ii)Write a program to find whether a number is a palindrome or not. (8)
12A) Define inheritance?With diagrammatic illustration and java program (16) 12A) Define inheritance?With diagrammatic illustration and java program (16)
Illustrate the different types of inheritance with an example Illustrate the different types of inheritance with an example
.
(or)
(or)
13A) Draw the exception hierarchy in java & explain with examples throwing (16)
13A) Draw the exception hierarchy in java & explain with examples throwing (16) & catching exceptions & the common exceptions.
& catching exceptions & the common exceptions. (or)
(or)
B) What is synchronization?Explain the different types of synchronization. (16)
B) What is synchronization?Explain the different types of synchronization. (16)
14 A)Create an IN file in Java to store the details (16)
14 A)Create an IN file in Java to store the details (16) of 100 students using student class.
of 100 students using student class. Read the details from IN file convert all the letters of IN file
Read the details from IN file convert all the letters of IN file to lowercase letters & write it to OUT file.
to lowercase letters & write it to OUT file. (or)
(or) B) Explain the Generic Classes & Generic methods with example. (16)
B) Explain the Generic Classes & Generic methods with example. (16)
15.A) Sketch the hierarchy of JavaAWT Classes & methods. (16)
15.A) Sketch the hierarchy of JavaAWT Classes & methods. (16) Create a ‘checkbox’ using these classes and methods
Create a ‘checkbox’ using these classes and methods (or)
(or) C) i) Write a JavaFX Application for
B) i) Write a JavaFX Application for creating a login form? (8)
creating a login form? (8) ii) Write a JavaFX Application to display Menu,Menubar&Menuitems. (8)
ii) Write a JavaFX Application to display Menu,Menubar&Menuitems. (8)