Enable Disable Javascript Console Output easily for development and production

Web Developers use console to log debugging information from within the script primarily. Browser console is a great place and there are many available console methods to help a developer and also an end-user what's going on in the script. A developer can output simple log messages for debugging to console along with warning, error messages for the end-user so that they know what's going on.

However, the logs a developers generally write for debugging the script isn't always required for the end-user to see. The problem is write here. Possible solutions can be like,

7 Differences between Hardware and Software

Computer Hardware:

Hardware in a computer is any part of the computer that can be touched. These are primarily electronic devices used to build up the computer. Hardware actually perform the computing operations along with taking input and outputting the computed result or to store that.

Example: Processor, Memory Devices, Monitor, Printer etc.

What are the 5 key parts of a micro-computer? Illustrate their working procedure.

The 5 key parts of a micro-computer system are as follows
  1. Processor
  2. Memory
  3. I/O Devices
  4. Storage Devices
  5. Programs
Read More: Describe the 5 key parts of a micro-computer.

Describe the 5 key parts of a micro-computer.

A micro-computer is a machine built with hardware and ran by software. The 5 key parts among the various hardware and software are as follows.

Write down about the hardware devices in the organization of a micro computer.

A basic PC (Personal Computer) has a number of hardware elements. Most of these elements are contained in the system unit of the micro computer. The hardware devices in the organization of a micro computer are as follows.

What is Bus and Bus Speed? Illustrate interconnected buses in motherboard.


Bus is an electrical path that resides inside the motherboard. There are two main types of bus; internal or system bus and external or expansion bus. The system bus connects the CPU to other devices and the expansion bus connects the external devices such as keyboard, mouse etc. to the CPU. The three main parts of the bus are control lines, address lines and data lines.

5 Differences between RAM and Cache Memory

RAM (Random Access Memory) is a volatile memory which is used by the CPU as the Primary Memory of the system. CPU stores frequently used data of the programs running at a moment in RAM as RAM is faster than storage devices, this helps the CPU to work faster. 

7 Differences between RAM and ROM

RAM stands for Random Access Memory and ROM stands for Read Only Memory. Both of these devices are memory devices and are required by a system to function. Following are the differences between RAM and ROM.

8 Differences between optical and magnetic storage devices.

Optical Storage Devices:

Optical storage devices are flat, round disks that spins around its center. The difference with magnetic storage device is that in optical storage devices LASER light is used to read and write data in disks. Examples are CD, DVD etc.

Compare among Assembler, Compiler and Interpreter

Assembler, compiler and interpreter are translator software but they are different mostly on how they translate.