Exception Handling in JAVA

Exception Handling:- Each and every exception is considered as an object. If there is any exception in running programming then program receives appropriate object or an exception from JRE. After receiving an object of that exception it is responsibility of the program to handle that exception. If the program is unable to handle an exception then that exception is forwarded to the default exception handle in java. Default exception handler of java prints an exception message on the screen and terminates the program abnormally. To avoid this abnormal termination we have to handle…Read more

Dynamic memory allocation and de-allocation in C

Dynamic memory allocation:- void *mallc(size_t size); void *calloc(size_t n, size_t size); void *realloc(void *ptr, size_t size); void *alloca(size_t size); void free(void *ptr); void *memset(void *s, int c, size_t n); int or void *memcmp(const void *s, const void *d, size_t n); void *memcpy(void *dest, const void *src, size_t n); void *memchr(const void *s, int c, size_t n); Important points:- malloc(), calloc() and realloc gets the memory on the heap. In case of static memory allocation, memory is allocated on the stack. We can not change a size of a statically allocated memory. We also…Read more

Event Handling in JAVA

Important Points:- A graphical component is a source of any event then that component is called as an event source. To handle the particular event for that source we have to register that source. After registering the source, all the messages concern with that source are forwarded to a particular class which is called as an actionListener. Inside the actionListener we have to provide a definition of a function which are executed when particular event is occurred. There are multiple event classes in the java. Base class of all the event class is…Read more

Do You Know What is Modem?

This article gives the information of MODE concept. MODEM (MODulation/DEModulation) is an input and output device that converts digital data from a computer to analog data for transmission over the telephone lines by modulating it into waves; at the other end the modem the converts analog data back to digital form so that it can read by the computer. A MODEM is communication equipment used for long distance data transmission through telephone line. A pair of modems is necessary to link the two ends of communication. There are two types of MODEM: 1.     …Read more

What is UML?

This article gives the information of Unified Modeling Language (UML). Unified Modeling Language (UML) enables system developer to specify, Visualize, and document models in a manner that supports scalability, security and robust execution. Because UML modeling raises the level of abstraction throughout the analysis and design process it is easier to identify patterns of behavior and thus define opportunities for refactoring and reuse. Consequently UML modeling facilitates the creation of modular designs resulting in components and component libraries that expedite development and help insure consistency across system and implementation. Unlike previous methodologies you…Read more

Do You Know What is Telemedicine?

This article gives the information about telemedicine how information technology implements the concept of telemedicine. Telemedicine is a field of care with the combination of telecommunication and information technologies to provide medical help at distant places. It can be as simple as having a telephonic call between two doctors for expert opinion or the between the patient and the doctor for medical assistance or can be complex as transmission of medical, health  information and imaging data from one site to another. Though telemedicine did exit even before the 20th century, but the invention…Read more

Process Scheduling

When a computer is multi-programmed, it has many processes competing for CPU at a time. This situation occurs when two or more processes are simultaneously in the ready state. Key issue related to scheduling in which when to execute that process that means OS has to make decision there are some criteria’s based on which process is picked for execution from ready queue. Let’s take example of one situation where process is waiting for I/O interrupt to occur a scheduling decision may make. If interrupt come from I/O some process that was blocked…Read more

Collaborative filtering with Cloud Computing

Threshold Based Similarity Transitivity Technique in Collaborative filtering with Cloud Computing: Community sifting takes care of qualified information over-burden issue by introducing customized substance to distinctive clients dependent upon their hobbies, which has been widely connected in true recommender frameworks. As a class of basic however effective synergistic separating strategy, closeness based methodologies make forecasts by finding clients with comparative taste or things that have been also picked. Then again, as the amount of clients or things develops quickly, the customary methodology is experiencing the information scarcity issue. Off base likenesses determined from…Read more

Operating system : Thread

Thread: 1)Single-threaded process 2)Multithreaded process     Figure 1.1 shows us Single-threaded and multithreaded processes. A word processor may have a thread for showing graphics, another thread for responding to keystrokes to the user, and a third thread for performing spelling and grammar checking in the background. In certain situations, a single application may be required to perform several same tasks. For example, a Web server accepts client requests to the Web pages, images, sound, and so forth. A busy Web server may have several (perhaps thousands of) clients concurrent access it. If the…Read more

Abstract Class and Interface

Abstract Class:- A class contains characteristics as well as behaviors. If a base class provides a behavior only in the syntactical manner but it unable to provide its definition then that behavior/function is called as an abstract function. In case of a class which provides an abstract function means that class knows “what to do?” but that class does not know “how to do?” means in simple terms that class does not provide function definition. A class which contains at least a single abstract method then that class is called as an abstract…Read more