Page 1 - HA
P. 1

Home Assignment


                                            Computer Science

                                                       Class – XI


                                           Topic: Program Execution



               Fill in the blanks:

                   1.  Program written in high level language is known as __________________ and its
                       translated program in machine language is known as _________________.
                   2.  _________________ takes entire program as input and _________________ takes
                       single line of code as input.
                   3.  _________________ generates intermediate code and ___________________ doesn’t
                       generate any intermediate code during translation.

                   4.  .pyc is __________________ file of Python.

                   5.  During __________________ steps of compilation comments are removed, macros are
                       expanded and modules are imported.

                   6.  _________________ phase of compilation links all the library files and generates .exe
                       file.
                   7.  _________________ acts as an interface between a user and a device.

                   8.  _________________is a part of the operating system, which take commands or inputs
                       from a user for the operating system to process.
                   9.  _______________ is a program code that has been compiled from source code into low-
                       level code designed for a software interpreter and it will be executed by a virtual
                       machine.

                   10. _______________ is the virtual machine for Python and __________________ is the
                       virtual machine for JAVA.


               Answer the following questions:

                   1.  What is compilation? Write down the steps in the process of compilation.

                   2.  Explain interpretation process.
                   3.  Differentiate byte code and object code.

                   4.  Write all the difference between compilation and interpretation.

                   5.  What is the need of byte code files?
                   6.  After compilation and generation of .exe file (unlike interpreter) compiler is not needed
                       for program execution any more. Why?
   1   2