Advertisement
uopspop

Untitled

Sep 10th, 2018
326
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.25 KB | None | 0 0
  1.  
  2. * token:
  3. One of the basic elements of the syntactic structure of a program, analogous to a word in a natural language.
  4. * script:
  5. a program stored in a file (usually one that will be interpreted)
  6. * symentic error (logic error):
  7. An error in a program that makes it do sth. other than what the programmer intended
  8. * symentics:
  9. the meaning of a program
  10. * Python shell:
  11. An interactive user interface to the Python interpreter
  12. * byte code:
  13. source code -> byte code -> object code
  14. * object code:
  15. the output of the compiler after it translates the program
  16. * executable(= object code):
  17. another name for object code that is ready to be exectued
  18. * interpret:
  19. to execute a program in a high-level language by translating it one line at a time
  20. * parse:
  21. To examine a program and analyze the syntactic structure
  22.  
  23. * compiler vs interpreter:
  24. ** compiler: convert source code into object code before execution
  25. ** -> It will stick to the OS, os it's not portable.
  26. ** -> overall: quick, but not portable
  27. ** interpreter: convert source code into object code when executing
  28. ** -> It requires an interpreter when executing the source code, but it will be portable to all OS.
  29. ** -> overall: slow, but portable
  30.  
  31. ? JAVA is portable but is a compiled type ?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement