• Home
  • Blog
  • Lunix Questions, assignment help

Lunix Questions, assignment help

0 comments

Question 1

At first your program is stuck on an endless loop. Which lines are being executed during this loop? Express your answer as a list of comma separated numbers, ordered in ascending order, with out any spaces in between.

If for example, the lines that are being executed are 12, 16 and 20, your answer should be:

12,16,20

Answer:

Question 2

What are the different values that the variable “j” holds? Express your answer as a comma separated list of numbers, in ascending order, with no spaces between any characters.

Answer:

Question 3

According to the code, the value of j should be incremented by one after each iteration of the loop. Which other line is causing a change in the value of “j”?

Express your answer as an integer

Answer:

Question 4

Attach the bug-free version of insort.cpp

About the Author

Follow me


{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}