USF Write and Execute a C Program Using Any C Compiler Coding Task

User Generated

zxy9876

Programming

University of South Florida

Description

only task 2 and 3

Task 2) Write and execute a C program using any C compiler to input students’ number modules and marks of all the modules he has studied. And do the following:

a. Determine and display grade received for each module studied according to the following conditions:


Condition

Module Grade

Marks is greater than or equal to 91

A

Marks is greater than or equal to 70

B

Marks is greater than or equal to 50


D

page2image3790240

Otherwise


F

b. Write a switch-case statement for each module Grade and display GPA according to the following:

Module Grade


Module GPA

A


4

B


2

D


1

Otherwise


0

c. Calculate and display the CGPA which is average GPA of all the modules.

Task 3) With the same scenario as given in the Task 2 do the following:

  1. a) Pseudocode
  2. b) Flowchart

make sure to screen shot the solution and explain it in word doc

check the file below for more instruction

Unformatted Attachment Preview

Fundamentals of Programming (COMP 10001) – Spring - 20 – CW1 (Assignment) – ALL – QP ` IN SEMESTER (INDIVIDUAL) ASSIGNMENT Module Code: COMP 10001 Module Name: Fundamentals of Programming Level: 1 Max. Marks: 100 Instructions to Student • Answer all questions. • Deadline of submission: 18/June/2020 23:59 • The marks received on the assignment will be scaled down to the actual weightage of the assignment which is 50 marks • Formative feedback on the complete assignment draft will be provided if the draft is submitted at least 10 days before the final submission date. • Feedback after final evaluation will be provided by 8/June/2020 Module Learning Outcomes The following LOs are achieved by the student by completing the assignment successfully 1) 2) 3) 4) Demonstrate an understanding of the use and representation of data types Identify the steps in the program development method Represent programming logic in the form of flow charts and programs Implement the different selection and iteration constructs in programs Assignment Objective This assignment will develop the foundational understanding of logic development and creating programs using selection structure and iterations. Assignment Tasks 1) Submit a work proposal for this assignment or before 12/May/2020 (23:59) which must include: • Understanding of deliverables – a detail description of deliverables. • General overview of proposed plan - initial understanding of solution to task2 and 3. (3 Marks) • Timeline for completion of the given tasks. (3 Marks) • Identification of Literature Resources. (1 Mark) (3 Marks) The work proposal must be submitted in a word file through the link available in Moodle. MEC_AMO_TEM_034_01 Page 1 of 9 Fundamentals of Programming (COMP 10001) – Spring - 20 – CW1 (Assignment) – ALL – QP (10 Marks) Task 2) Write and execute a C program using any C compiler to input students’ number modules and marks of all the modules he has studied. And do the following: a. Determine and display grade received for each module studied according to the following conditions: Condition Module Grade Marks is greater than or equal to 91 A Marks is greater than or equal to 70 B Marks is greater than or equal to 50 D Otherwise F b. Write a switch-case statement for each module Grade and display GPA according to the following: Module Grade Module GPA A 4 B 2 D 1 Otherwise 0 c. Calculate and display the CGPA which is average GPA of all the modules. (60 Marks) Task 3) With the same scenario as given in the Task 2 do the following: a) Pseudocode b) Flowchart (30 Marks) (15 marks) (15 marks) Rules & Regulations: • • • • All resources should be cited using CU Harvard style. The final assignment must have a Title page, Table of Contents, References/ bibliography using CU Harvard Style and page numbers. Title Page must have Assignment Name, Module name, Session, your name, ID, and the name of the faculty. The report must have the source code and screen shots of the output. MEC_AMO_TEM_034_01 Page 2 of 9 Fundamentals of Programming (COMP 10001) – Spring - 20 – CW1 (Assignment) – ALL – QP • • Softcopy in word format is to be submitted through Turnitin link on Moodle. Viva will be conducted after the assignment submission as per the dates informed earlier. Guidelines: • Assignment must be computer typed. ➢ Font - Times New Roman ➢ Font – Style - Regular ➢ Font - Size - 12 ➢ Heading should be with Font Size 14, Bold, Capital and Underline. • Explain with suitable diagrams wherever required. Diagrams must be drawn using suitable software or by pencil. Each student has to do the assignment individually / Students have to do the assignment collaboratively and each student should write a brief reflection on their contribution and learnings from group work. You can refer books in eLibrary or use internet resource. But you should not cut and paste material from internet nor provide photocopied material from books. The assignment answers should be in your own words after understanding the matter from the above resources. • • Important Policies to be followed 1. Student Academic Integrity Policy*: MEC upholds the spirit of academic integrity in all forms of academic work and any form of violation of academic integrity shall invite severe penalty. Any benefit obtained by indulging in the act of violation of academic integrity shall be cancelled. All cases of violation of academic integrity on the part of the student shall fall under any of the below mentioned categories: 1. Plagiarism 2. Malpractice 3. Ghost Writing 4. Collusion 5. Other cases If the student fails a module and has a proven case of academic integrity violation in this module, the student is required to re-register the module. This is applicable to first and second offenders of plagiarism. 1. Plagiarism A. First offence of plagiarism MEC_AMO_TEM_034_01 Page 3 of 9 Fundamentals of Programming (COMP 10001) – Spring - 20 – CW1 (Assignment) – ALL – QP I. If a student is caught first time in an act of plagiarism during his/her course of study in any assignment other than project work, the student will be allowed to re-submit the assignment once, within a maximum period of one week. However, a penalty of deduction of 25% of the marks obtained for the resubmitted work will be imposed. II. Period of re-submission: The student will have to re-submit the work one week from the date he or she is advised to re-submit. III. If the re-submitted work is also found to be plagiarized, then that assessment will be awarded a zero mark. Re-submission of the work beyond the maximum period of one week will not be accepted and the assessment will be awarded a zero mark. B. Second offence of plagiarism If any student is caught second time in an act of plagiarism during his/her course of study (in a subsequent semester), the student will directly be awarded zero for the work in which plagiarism is detected. In such cases, the student will not be allowed to resubmit the work. A warning of suspension shall be issued, and student has to sign an undertaking and undergo counselling session in such cases. 2. Malpractice/Ghostwriting/Collusion A. First offence of Malpractice/Ghostwriting/Collusion If a student is caught in an act of Malpractice/Ghostwriting/Collusion for an assessment component irrespective of coursework or end semester, the student shall fail the module and shall be required to re-register the module B. Second Offence of Malpractice/Ghostwriting/Collusion If a student is caught a second time in an act of Malpractice/Ghostwriting/Collusion for an assessment component irrespective of coursework or end semester, the student shall fail the module. A warning of suspension shall be issued, and student has to sign an undertaking and undergo counselling session in such cases. 3. Third Offence of Academic Integrity Violation If a student is caught a third time in an act of Academic Integrity Violation for an assessment component irrespective of coursework or end semester (in a subsequent semester), the student shall fail the module and also shall be suspended for one semester from the College, as recommended by institutional level academic committee, Chaired by the Associate Dean, Academic Affairs. 4. Fourth Offence of Academic Integrity Violation: If a student is caught a fourth time in an act of Academic Integrity Violation for an assessment component irrespective of coursework or end semester (in a subsequent semester), the student shall fail the module and also shall be expelled from the College, as recommended by institutional level academic committee, Chaired by the Associate Dean, Academic Affairs. MEC_AMO_TEM_034_01 Page 4 of 9 Fundamentals of Programming (COMP 10001) – Spring - 20 – CW1 (Assignment) – ALL – QP 5. Other cases If a student commits an act of academic integrity violation as per the definition of “other cases” mentioned in the previous section or of a different nature, student’s case shall be forwarded to an institutional level academic committee, Chaired by the Associate Dean, Academic Affairs. The committee shall investigate the case by means of a viva and/or a disciplinary hearing and shall take appropriate decision. The penalty that can be granted to a proven case of academic integrity violation which falls in this category of “other cases” can be a warning/component zero/ module fail/suspension/expulsion depending on the nature and gravity of the offence. 6. Types/Variations of Cases: I. II. III. IV. If plagiarism is detected in any component of one assessment, the deduction in marks will be applicable for the whole assessment, even if only the component or part submission alone needs to be resubmitted. If plagiarism is detected in a group assessment, all students of the group will be considered as having committed an act of plagiarism and the policy will then be applied to all students If plagiarism is detected in any component of a group assessment, the deduction in marks will be applicable for the whole assessment even if only the component or part submission alone needs to be resubmitted. All students of the group would be considered as having committed an act of plagiarism and the policy will then be applied to all the students of the group. If the assessment consists of components or part submissions that could be a group assessment component (e.g. group assignment) and an individual assessment component (e.g. individual reflection), the following will be applicable: a. If plagiarism is detected in the group assessment component, all students of the group will be considered as having committed an act of plagiarism, The policy will then be applied to all students of the group. Group assessment component will be resubmitted as per the policy. b. If plagiarism is detected in the individual assessment component, the individual assessment component will be resubmitted and the policy will then be applied to that student alone. c. For both (a) and/or (b), the deduction in marks will be applicable for the whole assessment. * for further details Refer to MEC Student Academic Integrity Policy in Student Handbook. 2. Late Submission Regulations: It is the students’ responsibility to check all relevant timelines related to assessments. As per the Assessment Policy at MEC, late submissions are allowed for one week (5 working days) for all UG modules with a penalty. In such cases, a deduction of 5% of the marks obtained for the submitted work shall be imposed for each working day following the last date of submission till the date of actual submission. Assessment documents submitted beyond a period of one MEC_AMO_TEM_034_01 Page 5 of 9 Fundamentals of Programming (COMP 10001) – Spring - 20 – CW1 (Assignment) – ALL – QP week (5 working days) after the last date of submission will not be accepted and will be awarded a zero for that assessment. In cases where the submission has been delayed due to extenuating circumstances, the student may be permitted to submit the work without imposing the late submission policy stated above. The extended period of submission will be one week from the original last date of submission. In such cases, the student is expected to submit the supporting certificates on or before the original last date of submission of the assessment and the decision of extension rests with faculty responsible for the assessment .The late submission policy shall be applied if the student fails to submit the work within one week of the original last date of submission. Students may contact their teachers for clarification on specific details of the submission time if required. 3. Research Ethics and Biosafety Policy To protect and respect the rights, dignity, health, safety, and privacy of research subjects involved including the welfare of animals and the integrity of environment, all student projects are expected to be undertaken as per the MEC Research Ethics and Biosafety Policy. Accordingly the following shall apply. • Research and other enterprise activities shall be conducted by maintaining the high ethical standards consistent with national and international standards and conventions. • Any research at MEC that is categorized as high-risk research shall be subject to review and approval by the Research Ethics and Biosafety Committee. • Research activities involving collection of human or animal tissues and manipulation of microbial, animal or plant cells shall be subject to review and approval by the Research Ethics and Biosafety Committee. • Participants involved in research must be informed about the purpose of research and intended uses of research findings. Written consent must be obtained from people involved prior to the commencement of research. • Data obtained from participants must be treated with high confidence and should be used only for the intended purpose of research. Assessment Evaluation Criteria MEC_AMO_TEM_034_01 Page 6 of 9 Fundamentals of Programming (COMP 10001) – Spring - 20 – CW1 (Assignment) – ALL – QP Assessment Sheet – Basic Assignment Analysis Fundamentals of Programming (COMP 10001.1) Student ID No.:____________ Student Name: _______________________________________________ Deliverables Task 1 Deliverables Aspects Proposal Submission Aspects Task 2 Mark Range: 0-4 Mark What you will do with the given tasks and the dates by when they will be completed General overview of initial understanding of solutions to all the tasks 3 3 Timeline for completion of the given tasks Identification of Literature Resources 3 1 Range Task Grading Criteria 0-29 No real attempt to address the assignment brief or learning outcomes No evidence of knowledge of key principles, classes and objects Insufficient/no use of analytical skills and reflective practice. Weak presentation and structure, grammar and spelling, links to supporting evidence Little evidence of attempts to engage with module materials and learning outcomes Little knowledge of key principles and concepts Adequate knowledge of key principles and concepts Some evidence of understanding of basic concepts/issues. Detailed response to all relevant parts of the question with evidence of clear understanding of the issues. Good knowledge or key principles and concepts, Good understanding of the issues. Engages directly with the question. Identification and very good understanding of issues in the assessment. Evidence of reading a good range of educational literature Reasonable presentation, completely structured, acceptable grammar and spelling. Generally sound understanding of basic theory and concepts. Content relevant to the question/task. Competently deals with main issues. Detailed identification of the issues with evidence of clear understanding of the issues. Calculate CGPA 30-39 40-50 MEC_AMO_TEM_034_01 Session: A/B Page 7 of 9 Fundamentals of Programming (COMP 10001) – Spring - 20 – CW1 (Assignment) – ALL – QP 51-60 Task 3 0-5 Pseudocode and Flowchart 6-10 Excellent use of analytical skills and reflective practice demonstrating personal learning. Excellent knowledge and understanding of principles and concepts. Evidence of reading an excellent range of educational literature. Appropriate referencing and bibliography Good presentation, competently structured, using correct grammar and spelling. No real attempt to address the assignment brief or learning outcomes No evidence of knowledge of key principles, classes and objects Insufficient/no use of analytical skills and reflective practice. Weak presentation and structure, grammar and spelling, links to supporting evidence Little evidence of attempts to engage with module materials and learning outcomes Little knowledge of key principles and concepts Adequate knowledge of key principles and concepts Some evidence of understanding of basic concepts/issues. Detailed response to all relevant parts of the question with evidence of clear understanding of the issues. Good knowledge or key principles and concepts, Good understanding of the issues. Engages directly with the question. Identification and very good understanding of issues in the assessment. Evidence of reading a good range of educational literature 11-18 Reasonable presentation, completely structured, acceptable grammar and spelling. MEC_AMO_TEM_034_01 Page 8 of 9 Fundamentals of Programming (COMP 10001) – Spring - 20 – CW1 (Assignment) – ALL – QP Generally sound understanding of basic theory and concepts. Content relevant to the question/task. Competently deals with main issues. Detailed identification of the issues with evidence of clear understanding of the issues. Excellent use of analytical skills and reflective practice demonstrating personal learning. Excellent knowledge and understanding of principles and concepts. 19-25 Evidence of reading an excellent range of educational literature. Appropriate referencing and bibliography Good presentation, competently structured, using correct grammar and spelling. No evidence of application of theory in practice Content broadly relevant but with limited or little application of theory into practice Adequate evidence of the application of theory in 26-30 practice of theory Good knowledge of the application of theory in practice Well-structured with evidence of independent application of reading into practice with supporting the argument. Outstanding use of analytical skills and reflective practice demonstrating personal learning. Outstanding knowledge and depth of understanding of principles and concepts and /or outstanding application of theory in practice Evidence of reading into practice through outstanding range of educational literature. Excellent presentation, logically structured, using correct grammar and spelling. Remarks: Total Marks Penalty Final Marks Name of Instructor: ____________________ MEC_AMO_TEM_034_01 Signature with date: _______________________ Page 9 of 9
Purchase answer to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Explanation & Answer

Attached.
Attached.

Result explanation
The above picture is the screenshot of the output from the program that is written in the C
language for displaying the marks, Module Grade and module Gpa for a student.
After the welcome message, the program asks the user to input the total number of
subjects/modules that is undertaken by the student. The program then uses the input which ...

Related Tags