Share:
Notifications
Clear all

[Solved] CS201 GDB Spring 2020  

  RSS

admin
(@admin)
Admin
Joined: 2 years ago
Posts: 4313
11/08/2020 9:16 pm  

CS201 Introduction to Programming GDB Solution & Discussion Spring 2020


CS201 GDB Solution idea:

 

  • Interpreter translates on statement at a time so; its program execution is slow.
  • Interpreter overall execution time is slow that’s why it is less efficient.
  • Interpreter don’t generate any intermediate cod, during the interpretation process. Thus interpreters are memory efficient.
  • Interpreter stops the interpretation process it an error occurred thus, interpreter is better to correct the error and then to continue further execution.
  • Interpreter takes less time to analyze the source code.
  • Compiler is better for C++ as compare to Interpreter because it uses for JavaScript, Python, and other programming languages.

QueryVU WhatsApp Groups subject wise : Join Now


Quote
admin
(@admin)
Admin
Joined: 2 years ago
Posts: 4313
11/08/2020 9:17 pm  

CS201 Introduction to Programming GDB Solution & Discussion Spring 2020


CS201 GDB Solution idea 2:

 

  • Interpreter deciphers program each announcement in turn. So it influences the speed contrasting and compiler.
  • No middle of the road object cod id created, thus are memory effective.
  • Compiler shows all blunders after assemblage, then again, the translator shows mistakes of reserve line individually.
  • Interpreter is much more slow as though a mistake start things out we will address it at that point proceed.
  • Its time customer.
  • It is not appropriate in C++ because of the above reasons.

QueryVU WhatsApp Groups subject wise : Join Now


ReplyQuote
admin
(@admin)
Admin
Joined: 2 years ago
Posts: 4313
12/08/2020 3:43 am  

CS201 Introduction to Programming GDB Solution & Discussion Spring 2020


CS201 GDB Solution idea 3:

  1. C++ is designed to be a compiled language if you go against the design then you can’t get better of it.
  2. Interpreter use byte cod that needs to be converted into machine code then execute.
  3. Interpreter stays in memory during the execution of program so it affects the performance.
  4. There is no linking and loading of library file so it effect it processing speed, efficiency.
  5. Every time it need source code available you cannot run code without source code.
  6. Source code is larger than executable file in size that make interpreter inefficient and slow.

QueryVU WhatsApp Groups subject wise : Join Now


ReplyQuote
Share: