Posts

Programming Language Translators

Image
  Programming Language Translators What is the need of programming language translators? Programming language translators are needed to translate high-level program to a machine language program, because computers can only understand machine language(Zeros and Ones) where as  high-level programming languages are written in more human friendly manner ( machine-independent manner ). Types of programming language translators Compiler Interpreter Assembler Compiler It converts the whole high-level program at once and any errors will be reported after the conversion. Also it saves a file containing machine code which can be executed and run on any operating system without the compiler. Interpreter   It is also a high-level programming translator which converts program line-by-line and will output any errors detected while converting. Interpreter is faster than the compiler since it immediately executes the code upon reading the code.  Contrast between interpreter and comp...

The Formula Of Happiness

Image
  The Formula Of Happiness 🙋 We all like to live a happy life. To stay happy we do several different things, we keep collecting things, such as: motivation , law of attraction, properties and etc. Someone may think that if they could afford to buy a BMW-I8 or an apartment  they could stay happy. But in my opinion, the happiness born in achieving such things is short-term, people may go on so many difficulties in their way achieving them, for that short period of happiness. Somehow if we could find our real happiness within ourselves, it would last forever.