Looking for Programming for Engineers (ENGFF019 UNMC) (SPM1 24-25) test answers and solutions? Browse our comprehensive collection of verified answers for Programming for Engineers (ENGFF019 UNMC) (SPM1 24-25) at moodle.nottingham.ac.uk.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
Briefly explain the programming concepts you have used in your program and how your experience in using ChatGPT has been.
Review Lesson 1 to Lesson 4:
Briefly write, in your own words, how you used ChatGPT (or any other programming AI chatbot) to learn (Lesson 1 to Lesson 4) with examples.
If you did not use it at all, explain why.
The following are possible solutions to answer Question (b).
(A) Choose ONE of the if-else structure (sample code) below and explain whether it would work without any errors.
(B) Use the AND operator in the condition and modify the code to display the correct output.
Sample Code 1
if age>=18 and age<=120: print('Age should be in the range of 18 to 120.') else: print('You may proceed with the program')
Sample Code 2
if age <=18 and age >=120: print('Age should be in the range of 18 to 120')else: print('You may proceed with the program')
Sample Code 3
if age < 18 and age > 120: print('Age should be in the range of 18 to 120.') else: print('You may proceed with the program')
Sample Code 4
if age < 18 and age > 120: print('You may proceed with the program')else: print('Age should be in the range of 18 to 120.')The following are possible solutions to answer Question (b).
(A) Choose ONE of the if-else structure (sample code) below and explain whether it would work without any errors.
(B) Use the AND operator in the condition and modify the code to display the correct output.
Sample Code 1
if age>=18 and age<=120: print('Age should be in the range of 18 to 120.') else: print('You may proceed with the program')
Sample Code 2
if age <=18 and age >=120: print('Age should be in the range of 18 to 120')else: print('You may proceed with the program')
Sample Code 3
if age < 18 and age > 120: print('Age should be in the range of 18 to 120.') else: print('You may proceed with the program')
Sample Code 4
if age < 18 and age > 120: print('You may proceed with the program')else: print('Age should be in the range of 18 to 120.')Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!