Thursday, June 13, 2019

Generics in Java



The Java Generics programming is introduced in J2SE 5 to deal with type-safe objects.

•Before generics, we can store any type of objects in collection i.e. non-generic. Now generics, forces the java programmer to store specific type of objects.

Advantage of Java Generics
•There are mainly 3 advantages of generics.
         They are as follows:
»1) Type-safety : We can hold only a single type of objects in generics. It doesn’t allow to store other objects.
»2) Type casting is not required: There is no need to typecast the object.
»Before Generics, we need to type cast.
List list = new ArrayList();  
list.add("hello");  
String s = (String) list.get(0);//typecasting 
»After Generics, we don't need to typecast the object.
List<String> list = new ArrayList<String>();  
list.add("hello");  
String s = list.get(0);  
»3) Compile-Time Checking: It is checked at compile time so problem will not occur at runtime. The good programming strategy says it is far better to handle the problem at compile time than runtime.
List<String> list = new ArrayList<String>();  
list.add("hello");  
list.add(32);//Compile Time Error  

 Generic class
•A class that can refer to any type is known as generic class. Here, we are using T type parameter to create the generic class of specific type.

Type Parameters
•The type parameters naming conventions are important to learn generics thoroughly. The commonly type parameters are as follows:
–T - Type
–E - Element
–K - Key
–N - Number
–V – Value

Generic Method
Like generic class, we can create generic method that can accept any type of argument.

Friday, August 3, 2018

Agile Methods

Agile Methods


      The Agile Method is a particular approach to project management that is utilized in software development. This method assists teams in responding to the unpredictability of constructing software. It uses incremental, iterative work sequences that are commonly known as sprints.

        Dissatisfaction with the overheads involved in software design methods of the 1980s and 1990s led to the creation of agile methods. These methods:
Focus on the code rather than the design
Are based on an iterative approach to software development
Are intended to deliver working software quickly and evolve this quickly to meet changing requirements.
     The aim of agile methods is to reduce overheads in the software process (e.g. by limiting documentation) and to be able to respond quickly to changing requirements without excessive rework.
The principles of agile methods
  • Customer involvement- Customers should be closely involved throughout the development process. Their role is provide and prioritize new system requirements and to evaluate the iterations of the system. 
  • Incremental delivery- The software is developed in increments with the customer specifying the requirements to be included in each increment.
  • People not process- The skills of the development team should be recognized and exploited. Team members should be left to develop their own ways of working without prescriptive processes.
  • Embrace change-Expect the system requirements to change and so design the system to accommodate these changes.
  • Maintain simplicity-Focus on simplicity in both the software being developed and in the development process. Wherever possible, actively work to eliminate complexity from the system.

Agile method applicability
  •        Product development where a software company is developing a small or medium-sized product for sale.
  •          Custom system development within an organization, where there is a clear commitment from the customer to become involved in the development process and where there are not a lot of external rules and regulations that affect the software.
  •          Because of their focus on small, tightly-integrated teams, there are problems in scaling Agile methods to large systems. 




Tuesday, June 19, 2018

Web Technology

ALL INDIA SHRI SHIVAJI MEMORIAL SOCIETY’S
INSTITUTE OF INFORMATION TECHNOLOGY
 


Department of Computer Engineering


Academic Year : 2017-18
Subject: Web Technology
CLASS:  TE Computer
SEMESTER:  VI
Assignment No.: 01
Date of submission: 


Q. No.
Question
Marks
Learning Level
CO
PO
PSO
1.       
List the different types of CSS? Illustrate with example.
3
Knowledge,
Apply
C 311.1
3,5
2
2.       
How to transform XML into XSLT.
4
Understand
C 311.1
3
2,3
3.       
Differentiate between DTD and XSD.
3
Analyze
C 311.1
3
2



Mrs. M. P. Nerkar
Ms. S. R. Agrawal
Name & Sign of Subject In-charge
















Academic Year : 2017-18
Subject: Web Technology
CLASS:  TE Computer
SEMESTER:  VI
Assignment No.: 02
Date of submission: 


Q. No.
Question
Marks
Learning Level
CO
PO
PSO
1.       
What is java script? Validate Login form using java script?
4
Apply, Analyze
C311.2
3,5
2,3
2.       
Describe DOM Manipulation.
3
Understanding
C311.2
3
2
3.       
Explain JQuery selector.
3
Analyze
C311.2
3,5
2



Mrs. M. P. Nerkar
Ms. S. R. Agrawal
Name & Sign of Subject In-charge

















Academic Year : 2017-18
Subject: Web Technology
CLASS:  TE Computer
SEMESTER:  VI
Assignment No.: 03
Date of submission: 


Q. No.
Question
Marks
Learning Level
CO
PO
PSO
1.       
Explain Tomcat directory structure.

5
Understand
C311.3
3
2
2.       
Demonstrate different phases of  lifecycle of servlet.
2
Apply
C311.3
3
2
3.       
Write advantages of JSP over different technologies.
3
Analyse
C311.3
3
2




Mrs. M. P. Nerkar
Ms. S. R. Agrawal
Name & Sign of Subject In-charge















Academic Year: 2017-18
Subject: Web Technology
CLASS:  TE Computer
SEMESTER:  VI
Assignment No.: 04
Date of submission:


Q. No.
Question
Marks
Learning Level
CO
PO
PSO
1
What is an array in PHP? Explain different types of array with example?
3
Understand, Apply
C 311.4
3,5
2
2
How to manage cookies and session using PHP? Illustrate with example?
4
Apply
C 311.4
3,5
2
3
Write  a Short Note on
·         WAP
·         WML
·         AJAX
3
Understand
C 311.4
3
2



Mrs. M. P. Nerkar
Ms. S. R. Agrawal
Name & Sign of Subject In-charge
















Academic Year : 2017-18
Subject: Web Technology
CLASS:  TE Computer
SEMESTER:  VI
Assignment No.: 05
Date of submission:


Q. No.
Question
Marks
Learning Level
CO
PO
PSO
1
What is Angular JS? Explain directives and MVC in angular JS.
3
Understand
C311.5
3
2
2
Differentiate among angular JS and Node JS?
2
Analyze
C311.5
3
2
3
What is the use of struts.xml configuration file?
2
Understand
C311.5
3,5
2
4
What is the difference between SOAP and REST in web service?
3
Analyze
C311.6
3,5
2



Mrs. M. P. Nerkar
Ms. S. R. Agrawal
Name & Sign of Subject In-charge













Academic Year : 2017-18
Subject:
CLASS:  TE Computer
SEMESTER:  VI
Assignment No.:06 (OCW)
Date of submission:
NAME OF STUDENT:
ROLL NO.
tOPIC:Design CMS  (Website/  blog ) using Joomla or wordpress
WEBSITE url REFERRED:https://www.joomla.com/



Summary/Abstract/Review:

Please include screenshots-
















Conclusion:






Name & Sign of Subject In-charge:


Marks:




Generics in Java

The  Java Generics  programming is introduced in J2SE 5 to deal with type-safe objects. •Before generics, we can store any type of o...