C+ Programming Toughest Exam! Quiz

30 Questions | Attempts: 127
Please wait...
Question 1 / 31
🏆 Rank #--
Score 0/100

1. What will this code produce when compiled and run?

Submit
Please wait...
About This Quiz
C+ Programming Toughest Exam! Quiz - Quiz

.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. Examine this C/C++ code. What is a suitable variable declaration for the variable "a"?

Submit

3. Examine this code. Which option below do you think best describes this code?

Submit

4. What will this code produce when compiled and run?

Submit

5. What will this code produce when run?

Submit

6. Examine this Colobot code. What will this robot do when an enemy approaches?

Submit

7. What will this code produce when it is run?

Submit

8. Consider the Bisection method code as shown. What will the final value of e be when the code is run?

Submit

9. Consider the radar data and colobot code shown here. The position of your robot is shown by the red dot, while other item positions are shown by blue dots.After this code is run, what might the array "a" contain?

Submit

10. Consider this MATLAB code. What do you think this code does?

Submit

11. Consider this code as shown. When it is run, what will it show?

Submit

12. Consider this code - what will the value of c be?

Submit

13. If (dy/dt) = 5y and y = 2 when t = 0, compute y at t = 0.6 using the Euler method. Use a timestep dt of 0.2. (i.e. dt = 0.2). 

Submit

14. What will this code produce when run?

Submit

15. Consider the code shown - when it is run, what will it show?

Submit

16. What will this code produce when run?

Submit

17. What will this code produce when run?

Submit

18. Examine this code - what will it produce when it is run?

Submit

19. Read this code - what can you say about the variables a and b?

Submit

20. Consider the following code. What will it produce when it is run?

Submit

21. Consider this Colobot code designed to shoot at an enemy. What problem does this method have?

Submit

22. Examine this code. Is there an error in this code, and if so, which line is it on?

Submit

23. What will this code produce when run?

Submit

24. Using the Trapezoid Rule, find the integral of x*sin(x) from x = 0 to 1 using 5 parts. What is the approximate answer using the Trapezoid Rule?

Submit

25. What will this code produce when run?

Submit

26. Examine this code. Which of the following choices is correct?

Submit

27. Read this code and choose the correct option below. When this code is run, what will be shown?

Submit

28. Consider this code and choose the best option below.

Submit

29. Consider the attached Euler method code used to solve an ODE.After looking at this code - what do you think the ODE being solved is?

Submit

30. Consider the Bisection method code shown. What will the final value of e be when the computation is completed?

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (30)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What will this code produce when compiled and run?
Examine this C/C++ code. What is a suitable variable declaration for...
Examine this code. Which option below do you think best describes this...
What will this code produce when compiled and run?
What will this code produce when run?
Examine this Colobot code. What will this robot do when an enemy...
What will this code produce when it is run?
Consider the Bisection method code as shown. What will the final value...
Consider the radar data and colobot code shown here. The position of...
Consider this MATLAB code. What do you think this code does?
Consider this code as shown. When it is run, what will it show?
Consider this code - what will the value of c be?
If (dy/dt) = 5y and y = 2 when t = 0, compute y at t = 0.6 using the...
What will this code produce when run?
Consider the code shown - when it is run, what will it show?
What will this code produce when run?
What will this code produce when run?
Examine this code - what will it produce when it is run?
Read this code - what can you say about the variables a and b?
Consider the following code. What will it produce when it is run?
Consider this Colobot code designed to shoot at an enemy. What problem...
Examine this code. Is there an error in this code, and if so, which...
What will this code produce when run?
Using the Trapezoid Rule, find the integral of x*sin(x) from x = 0 to...
What will this code produce when run?
Examine this code. Which of the following choices is correct?
Read this code and choose the correct option below....
Consider this code and choose the best option below.
Consider the attached Euler method code used to solve an ODE.After...
Consider the Bisection method code shown. What will the final value of...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!