• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests

Code Optimization UGC

Question 1

Which of the following is true for semi-dynamic ​ environment ?
  • The environment itself does not change with the passage of time but the agent’s performance score does.
  • The environment change while the agent is deliberating.
  • Even if the environment changes with the passage of time while deliberating, the performance score does not change.
  • Environment and performance score, both change simultaneously.

Question 2

Replacing the expression 4*2.14 by 8.56 is known as
  • Constant folding
  • Induction variable
  • Strength reduction
  • Code reduction

There are 2 questions to complete.

Last Updated :
Take a part in the ongoing discussion