Correct Answer: The Spring Beans are Java Objects that form the backbone of a Spring application They are instantiated, assembled, and managed by the Spring IoC container These beans are created with the configuration metadata that is supplied to the container Beans defined in spring framework are singleton beans There is an attribute in bean tag named "singleton" if specified true then bean becomes singleton and if set to false then the bean becomes a prototype bean By default it is set to true So, all the beans in spring framework are by default singleton beans
2. Convert the expression ((A + B) * C ? (D ? E) ^ (F + G)) to equivalent Postfix notations.
Correct Answer: Windows Server Backup is a feature released for the Windows 2008 that provides a number of solutions on backing up the data on your computer in case of a system failure or any other issue Windows Server Backup can backup a few files to a whole server The server backup is accessible through command lines and a management console
4. What is the difference between agglomerative and divisive Hierarchical Clustering?
Correct Answer: - Agglomerative Hierarchical clustering method allows the clusters to be read from bottom to top and it follows this approach so that the program always reads from the sub-component first then moves to the parent Whereas, divisive uses top-bottom approach in which the parent is visited first then the child - Agglomerative hierarchical method consists of objects in which each object creates its own clusters and these clusters are grouped together to create a large cluster It defines a process of merging that carries on till all the single clusters are merged together into a complete big cluster that will consists of all the objects of child clusters Whereas, in divisive the parent cluster is divided into smaller cluster and it keeps on dividing till each cluster has a single object to represent
5. Values that are used to end loops are referred to as _____ values.
Correct Answer: The Singleton design pattern ensures a class only has one instance, and provides a global point of access to it The class keeps track of its sole instance and ensures that no other instance can be created Singleton classes are appropriate for situations where it makes sense for a single object to provide access to a global resourceSeveral Cocoa framework classes are singletons They includeNSFileManager, NSWorkspace, NSApplication, and, in UIKit,UIApplication A process is limited to one instance of these classes When a client asks the class for an instance, it gets a shared instance, which is lazily created upon the first request
Correct Answer: SELECT-OPTIONS: specify or displayed on the selection screen for the user to enter values Parameters : dname like dept-dname Select-options: dname for dept-dname
9. Explain the difference between Template and Table ?