what is bytecode ?explain in detail and watz the difference
between bytecode and machine code?

Answer Posted / dheeraj shandilya

Byte code is a lower-level, platform-independent
representation of source code.Roughly, Python translates
each of source statements into a group of byte code
instructions by decomposing them into individual steps.
This byte code translation is performed to speed execution—
byte code can be run much more quickly than the original
source code statements in text file.
Machine code or machine language is a system of impartible
instructions executed directly by a computer's central
processing unit(cpu).
In case of bytecode in python we dont use cpu.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by Function Overloading in java?

914


How to perform selection sort in java?

775


What are autoboxing and unboxing? When does it occur?

696


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

742


What is return null in java?

695


What is a methodologist?

758


What is the use of volatile in java?

797


How does thread synchronization occurs inside a monitor?

746


Which oo concept is achieved by using overloading and overriding?

733


What is the difference between java applets and applications?

820


What is the purpose of nested class in java?

799


Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?

776


What is parseint?

717


Which is the best sorting technique in java?

728


Can a function return a function?

761