2022/11/28 下午5:09 Quiz01-Oct03: Attempt review
https://eclass.yorku.ca/mod/quiz/review.php?attempt=3814927&cmid=1875238 1/9
Copyright By PowCoder代写 加微信 powcoder
Dashboard / My courses / LE/EECS2501 E – Fortran and Scientific Computing (Fall 2022-2023) / Quizzes / Quiz01-Oct03
Started on Monday, 3 October 2022, 5:50 PM
State Finished
Completed on Monday, 3 October 2022, 6:59 PM
Time taken 1 hour 9 mins
Grade 19.00 out of 25.00 (76%)
https://eclass.yorku.ca/my/
https://eclass.yorku.ca/course/view.php?id=76113
https://eclass.yorku.ca/course/view.php?id=76113#section-4
https://eclass.yorku.ca/mod/quiz/view.php?id=1875238
2022/11/28 下午5:09 Quiz01-Oct03: Attempt review
https://eclass.yorku.ca/mod/quiz/review.php?attempt=3814927&cmid=1875238 2/9
Question 1
Mark 5.00 out of 5.00
For an online Fortran compiler click here. A list of Fortran90 intrinsic functions can be found here or here.
MyCode_01.f95
A solution is:
5.00/5: if the representation and result on the screen is correct.
4.25/5: if the representation on the screen is not same as the instruction but result is correct.
2.75/5: if there is miscalculation (wrong use of brackets, wrong command/ intrinsic function)
2.00/5: code is not compiled due to an error.
1.00/5: code has too many errors.
0.00/5: no answer/irrelevant code
https://www.onlinegdb.com/online_fortran_compiler
https://www.nsc.liu.se/~boein/f77to90/a5.html
https://gcc.gnu.org/onlinedocs/gfortran/
https://eclass.yorku.ca/pluginfile.php/4278612/question/response_attachments/4109237/1/164830673/MyCode_01.f95?forcedownload=1
2022/11/28 下午5:09 Quiz01-Oct03: Attempt review
https://eclass.yorku.ca/mod/quiz/review.php?attempt=3814927&cmid=1875238 3/9
Question 2
Mark 4.00 out of 4.00
For an online Fortran compiler click here. A list of Fortran90 intrinsic functions can be found here or here.
Mycode_02.f95
A solution is:
4.00/4: code works fine, and the calculation is correct.
2.50/4 code works fine bur u & v are not declared as vectors (1D arrays)
2.00/4: code has miscalculation.
1.50/4: code does not compile due to an error.
0.50/4: code has too many errors.
0.00/4: no answer/irrelevant code
A solution is:
4.00/4: code works fine, and the calculation is correct.
2.50/4 code works fine bur u & v are not declared as vectors (1D arrays)
2.00/4: code has miscalculation.
1.50/4: code does not compile due to an error.
0.50/4: code has too many errors.
0.00/4: no answer/irrelevant code
https://www.onlinegdb.com/online_fortran_compiler
https://www.nsc.liu.se/~boein/f77to90/a5.html
https://gcc.gnu.org/onlinedocs/gfortran/
https://eclass.yorku.ca/pluginfile.php/4278612/question/response_attachments/4109237/2/164835226/Mycode_02.f95?forcedownload=1
2022/11/28 下午5:09 Quiz01-Oct03: Attempt review
https://eclass.yorku.ca/mod/quiz/review.php?attempt=3814927&cmid=1875238 4/9
how would you print/calculate the sum for an array with > 10000 entries ?
2022/11/28 下午5:09 Quiz01-Oct03: Attempt review
https://eclass.yorku.ca/mod/quiz/review.php?attempt=3814927&cmid=1875238 5/9
Question 3
Mark 0.00 out of 6.00
For an online Fortran compiler click here. A list of Fortran90 intrinsic functions can be found here or here.
A solution is:
6.00/6: code works fine, and the calculation is correct.
4.00/6: code does not check whether sum is more than 10^8.
3.00/6: code does not compile due to a minor error.
https://www.onlinegdb.com/online_fortran_compiler
https://www.nsc.liu.se/~boein/f77to90/a5.html
https://gcc.gnu.org/onlinedocs/gfortran/
2022/11/28 下午5:09 Quiz01-Oct03: Attempt review
https://eclass.yorku.ca/mod/quiz/review.php?attempt=3814927&cmid=1875238 6/9
2.75/6: code does not take/ask for the keyboard entry.
1.00/6: code has too many errors.
0.00/6: no answer/irrelevant code
2022/11/28 下午5:09 Quiz01-Oct03: Attempt review
https://eclass.yorku.ca/mod/quiz/review.php?attempt=3814927&cmid=1875238 7/9
Question 4
Mark 10.00 out of 10.00
For an online Fortran compiler click here. A list of Fortran90 intrinsic functions can be found here or here.
https://www.onlinegdb.com/online_fortran_compiler
https://www.nsc.liu.se/~boein/f77to90/a5.html
https://gcc.gnu.org/onlinedocs/gfortran/
2022/11/28 下午5:09 Quiz01-Oct03: Attempt review
https://eclass.yorku.ca/mod/quiz/review.php?attempt=3814927&cmid=1875238 8/9
MyCode_04.f95
A solution is:
10./10: if the representation and result on the screen is correct.
8.5/10: if the representation on the screen is not same as the instruction but result is correct.
4.0/10: wring result (wrong intrinsic function).
3.0/10: code is not compiled due to an error.
1.5/10: code has too many errors.
0.0/10: no answer/irrelevant script.
https://eclass.yorku.ca/pluginfile.php/4278612/question/response_attachments/4109237/4/164839778/MyCode_04.f95?forcedownload=1
2022/11/28 下午5:09 Quiz01-Oct03: Attempt review
https://eclass.yorku.ca/mod/quiz/review.php?attempt=3814927&cmid=1875238 9/9
◄ Assignment09
Jump to…
Quiz02-Nov07 ►
https://eclass.yorku.ca/mod/assign/view.php?id=1958285&forceview=1
https://eclass.yorku.ca/mod/quiz/view.php?id=1922366&forceview=1
程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com