Buscar
Estás en modo de exploración. debe iniciar sesión para usar MEMORY

   Inicia sesión para empezar

level: Translators

Questions and Answers List

level questions: Translators

QuestionAnswer
what is a translator?program which translates a program written by user into machine code
what does compiler do?it translates program written in HLL into machine code. When compiled, code can be executed repeatedly without recompiling it
how are compiler different from interpreter?-translates in one go -1 HLL statement can be translated into several machine code -general use
what does interpreter do?translates program written in HLL into machine code, one line at a time
how is interpreter different from compiler?-one statement at a time -no executed files -slower
what is a program?list of instruction to perform certain task
what are 2 types of program?HLL, LLL
what are 2 examples of HLLpython, Java
what are examples of LLLmachine code, assembly language
what are benefits of HLL?1. easier to read and understand 2. less time to write 3. easier to find errors 4. portable
what are benefits of LLL?1. runs quicker 2. make use of special hardware 3. doesn't take up space in primary memory
what are buffers?1. temporary memory 2. to speed things up. Hardware slow compared to processor 3. data from processor sent to hardware and stored in buffer. So processor can continue other task
what are interrupts?1. a signal sent from device or software to processor 2. signal stops job of processor. When receive interrupt, processor either continues or stops 3. allow computer to perform multiple task 4. when interrupt is serviced, status of currently running task is saved by interrupt handler