WGU C949 - Data Structures And Algorithms exam with 100% correct answers 2024
WGU C949 - Data Structures And Algorithms exam with 100% correct answers 2024 1.1.1.1. What will you typically need to implement yourself in the programming assignments if you program in C++, Java or Python? A. Reading input, writing output and the solution to the problem. B. Just reading the input. C. Just the solution of the problem. D. Just writing the output. - answerC. Just the solution of the problem. . 1.1.1.2. Your program in C, C++ or Java thinks that the product of numbers 50000 and 50000 is equal to -. What is the most probable reason? A. Compiler error. B. The problem statement is wrong. C. The input data is incorrect. D. Integer overflow. - answerD. Integer overflow. 1.1.1.3. Which tests should you perform before submitting a solution to the programming assignment? A. Just submit the program and see if it passes the assignment. B. Test on the examples from the problem statement. Then make a few other small tests, solve them manually and check that your program outputs the correct answer. After all these tests passed, submit the solution. C. Test on the examples from the problem statement. Then make a few other small tests, solve them manually and check that your program outputs the correct answer. Generate a big input and launch your program to check that it works fast enough and doesn't consume too much memory. Test for corner cases: smallest allowed values and largest allowed values of all input parameters, equal numbers in the input, very long strings, etc. Then make a stress test. After all these tests passed, submit the solution. D. Just check that the answers for the exampl - answerC. Test on the examples from the problem statement. Then make a few other small tests, solve them manually and check that your program outputs the correct answer. Generate a big input and launch your program to check that it works fast enough and doesn't consume too much memory. Test for corner cases: smallest allowed values and largest allowed values of all input parameters, equal numbers in the input, very long strings, etc. Then make a stress test. After all these tests passed, submit the solution. 1.1.1.4. Where does the input data come from when you implement a stress test? A. You download and use the tests we've prepared to check your solution to the problem. B. You generate valid input data as a part of the stress test implementation. C. You enter the input data manually. - answerB. You generate valid input data as a part of the stress test implementation. 1.1.1.5. If you submit a solution of a programming assignment, but it does not pass some of the tests, what feedback will you get from the system? A. You will see the input data, the answer of your program, the correct answer, how long did your program work and how much memory did it use for each of the tests. B. You will only get the feedback that your program either passed or did not pass. C. If it is one of the first few tests, you will see the input data, the answer of your program and the correct answer. Otherwise, you will only see either that the answer of your program is wrong or that your program is too slow or that your program uses too much memory. - answerC. If it is one of the first few tests, you will see the input data, the answer of your program and the correct answer. Otherwise, you will only see either that th
Written for
- Institution
- WGU C949
- Course
- WGU C949
Document information
- Uploaded on
- February 8, 2024
- Number of pages
- 10
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
-
wgu c949 data structures and algorithms exam wit
Also available in package deal