Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6154955
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:20:54+00:00 2026-05-23T20:20:54+00:00

A computer scientist will correctly explain that all programs are interpreted and that the

  • 0

A computer scientist will correctly explain that all programs are
interpreted and that the only question is at what level. —perlfaq

How are all programs interpreted?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:20:55+00:00Added an answer on May 23, 2026 at 8:20 pm

    A Perl program is a text file read by the perl program which causes the perl program to follow a sequence of actions.

    A Java program is a text file which has been converted into a series of byte codes which are then interpreted by the java program to follow a sequence of actions.

    A C program is a text file which is converted via the C compiler into an assembly program which is converted into machine code by the assembler. The machine code is loaded into memory which causes the CPU to follow a sequence of actions.

    The CPU is a jumble of transistors, resistors, and other electrical bits which is laid out by hardware engineers so that when electrical impulses are applied, it will follow a sequence of actions as governed by the laws of physics.

    Physicists are currently working out what makes those rules and how they are interpreted.


    Essentially, every computer program is interpreted by something else which converts it into something else which eventually gets translated into how the electrons in your local neighborhood fly around.


    EDIT/ADDED: I know the above is a bit tongue-in-cheek, so let me add a slightly less goofy addition:

    Interpreted languages are where you can go from a text file to something running on your computer in one simple step.

    Compiled languages are where you have to take an extra step in the middle to convert the language text into machine- or byte-code.

    The latter can easily be easily be converted into the former by a simple transformation:

    Make a program called interpreted-c, which can take one or more C files and can run a program which doesn’t take any arguments:

    #!/bin/sh
    MYEXEC=/tmp/myexec.$$
    gcc -o $MYEXEC ${1+"$@"} && $MYEXEC
    rm -f $MYEXEC
    

    Now which definition does your C program fall into? Compare & contrast:

    $ perl foo.pl
    $ interpreted-c foo.c
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So as part of problem 17.6 in Think Like a Computer Scientist, I've written
Hi I recently started experimenting with python currently reading Think like a computer scientist:
What's the advantage, for someone who is not a theoretical computer scientist, of learning
What is the difference between a Computer Scientist and a Computer Programmer? What is
I'm writing some code examples from How to Think Like a Computer Scientist in
I came across the following in How to Think Like a Computer Scientist (
good morning. i am not a computer scientist by education, so please overlook any
I'm working through Allen Downey's How To Think Like A Computer Scientist , and
I'm a computer scientist and i've been working with Java mostly to develop applications.
I'm reading How to think like a computer scientist which is an introductory text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.