Change Contents of the Bubble
Welcome to CS1315. Click on the python to add comments.


This page removed for FERPA compliance
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageHomeRecent ChangesSearchHelp Guide

Final Exam Review Fall 2004: Coompilers, interpreters, and lnaguages, oh my!

1)a REMOVEDslated program in machine language, but not run program??
2)a program REMOVEDslated into JVM>??
3)simple language easily run on any processor, only compiled once and works everyhwhere
1) What do you mean by "run program"? A program that is compiled in C is executable.
2) Technically it's a program that can be interpreted by the JVM, not a JVM itself.
3) Sounds good.
-Student1680
What are the "Coompilers" and "lnaguages" that this page title speaks of?
1) you would get out machine language
2) you would get out a virtual language written by a Java Virtual Machine
4) scripting language is meant to be used easily, by non-professional programmers, to solve relatively simple tasks.
5) machine language tells computers to do very low-level activities and cannot easily be read by people. assembler language is a set of words or near-words that correspond one-to-one with the machine language.. easier for people to understand
6) "interpreted" means REMOVEDslate and then do what it says (if need to be done twice, REMOVEDslated twice and done twice)
7) JES is interpreted twice which makes it very slow whereas Photoshop runs in machine language
2) replace "by" with "for"
-Student1680
An interpreted program is NOT REMOVEDslated–a complied program is REMOVEDslated. An interpreted program is simply exectuted. So why then, does an interpreted program take longer to execute than a complied one is question 7? Student117
my notes from class say an interpreted program continuously REMOVEDslates...that's wrong?
the book says "it must REMOVEDslate then do the functions" id go with the book and your notes
Technically most interpreted languages these days (i.e. Python) are REMOVEDslated (or compiled, if you prefer) to bytecode for performance reasons. The difference between the bytecode generated by Python or Java and the object code generated by the C compiler is that the Python or Java bytecode will run on any platform that implements a PVM or JVM while the C object code usually only runs on the machine architecture it was compiled for (e.g. x86, PowerPC). I apologize if computer scientists sometimes use the same word to describe subtly different things. -Student2243
An interpreted program is continuously REMOVEDslated. Each line as you run your program is REMOVEDslated, and executed, and then forgotten. A compiled program is REMOVEDslated once and the REMOVEDslation is stored and remembered. This makes it quicker to run since you don't have to keep REMOVEDslating every time you want to run a line. Student1594
OK wait REMOVEDmmer said above "An interpreted program is NOT REMOVEDslated", then Kelly just said "An interpreted program is continuously REMOVEDslated." Do these two statements not contradict eachother?
They do semm to contradict, and I could be wrong–sorry if I am–I was just going off what I learned in the past and the fact that on page 312 of the book it says "Photoshop and REMOVED are typically complied...they were written in a computer language and then REMOVEDslated into machine language using a program called a complier...Python, Java, etc. are actually interpreted...It's the difference between REMOVEDslating and then doing instructions versus simply doing the instructions." Basically, the way I have always understood it is that the main difference is that Python (an interpreted program) will execute in a language even though it may not completetly understand it, whereas REMOVED (complied) "converts" to a language it can understand first, just like it would take you longer to read something written in another language that you somewhat know but not completely, than if someone REMOVEDslated it all into English for you and then you read it ...If I am wrong, feel free to correct me... Student117



Link to this Page