What is Switch Mode Power Supply (SMPS)?

This article gives the information of SMPS devices. SMPS or switched mode power supply is an electronic power supply unit that incorporates a switching regulator. In linear power supply uses a regulator. Linear regulator uses a transistor biased in its active region to specify an output voltage; But in SMPS actively switches a transistor between full saturation and full cut off at a high rate. In SMPS the active device that provides regulation is always operated in a switched mode i.e. it is worked in either in cut off or in saturation. The…Read more

Exception Handling in JAVA 2

‘throw’ keyword:- In above example, exception occurs in implicit manner but our exception explicitly by creating an object or that exception. For throwing an exception explicitly we have to use a ‘throw’ keyword which throws as an exception towards appropriate catch block. e.g. void fun() { int i; try{ System.out.println(“inside a try block.”); i=10/0; }catch(ArithmaticException e) { System.out.println(“inside the 1st catch block.”); throw new ArithmaticException(“my exception.”); } } public static void main(String args[]) { try{ System.out.println(“before calling a function”); fun(); System.out.println(“after calling a function”); } catch(ArithmaticException e) { System.out.println(“inside catch of a main”); //…Read more

What is Processor Mode?

 This article gives the information of Processor Mode. Processor Mode also called as CPU modes or CPU “privilege level”. The CPU modes are used by processor to create an operating environment for automatic. Specifically, the CPU mode controls how the processor sees and manages the system memory and task that use it. There are three different modes of operation but one more mode is added for new 64 bit processor: Real Mode. Protected Mode. Virtual Mode Real Mode. 64 bit extension Mode. Real Mode: The original IBM PC could only address 1MB of…Read more

Applications of MIS in Service

The MIS  [Management Information System] that is used in the manufacturing sector is different from the one that is used in the service sector. We know the difference between manufacturing sector and service sector in manufacturing sector there is product to offer that mean manufacture produces product while in service sector the product and services are not tangible. We do not want to overlook the importance of MIS in both sectors they are equally important. The main intention of MIS in service sector is to provide most satisfying experience to the customer. Manager…Read more

Multithreading and Event Handling in JAVA

Multitasking:- Multiple tasks are performed at a time is called as multitasking. We can perform a multiple tasks with the help of thread or a process. Multithreading:- It is a type of multitasking in which multiple tasks are performed with the help of thread. Multiprocessing:- Multiprocessing is a type of multitasking in which multiple tasks are performed with the help of multiple processes. Multiple Programming:- If the multiple tasks are performed on a multiple processor then it is called as multiple programming. Multicore Programming:- If the multiple tasks are performed with the help…Read more

What is IT Public Policy?

This article gives the broad information of what is IT public Policy. A few years back an important bill that should be interest to all computer professionals and citizens alike was introduced in parliament. The Electronic Delivery of services Bill 2011(EDS 11) aims to ensure the transparency, efficient and accountability in the delivery of public services by making it mandatory for public agencies to provide those electronically. All citizen services such as providing various transaction form and application processing of licenses, certificates and the receipt and payment of money will be available in…Read more

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