COMP 10005 Middle East College ?Introduction to Programming Questions

Description

1 attachmentsSlide 1 of 1attachment_1attachment_1

Unformatted Attachment Preview

Introduction to Programming
Instructions to Student

Answer all questions.
Assignment Learning Outcomes
The following LOs are achieved by the student by completing the assignment successfully
1) Describe the fundamentals of programming and the use of representing programming
logic/numbers
2) Use different data types and operators in a programming language
3) Use different program control statements in a programming language
Assignment Objective
The aim of this assignment is to the test student’s ability to use data types, various decision making and
Iterative constructs to solve specific problems using a programming language.
Assignment Tasks
1) Submit a work proposal for this assignment in Individual Word File which must include:
Timeline for completion of the given tasks.
General overview of proposed plan – initial understanding of all tasks
Identification of Literature Resources
MEC_AMO_TEM_034_01
Page 1 of 9
Introduction to Programming (COMP 10005) – Spring – 20 – CW1 (Assignment-1) – All – QP
2)
Write a java program to print following pattern using inner loop concept
3
5
7
9
2
4
6
8
13
15
10
12
11
17
19
SAMPLE INPUT / OUTPUT SCREEN (1):
SAMPLE INPUT / OUTPUT SCREEN (2):
MEC_AMO_TEM_034_01
Page 2 of 9
Introduction to Programming (COMP 10005) – Spring – 20 – CW1 (Assignment-1) – All – QP
3) Write a java program to calculate the taxable amount and Tax as per following scenario:
Calculate Taxable amount that will compute and display the taxable amount based on the
following conditions:
If the type of tax is “Income tax” and the yearly income is greater than 20,000 then
taxable amount is twice the yearly income. Otherwise taxable amount is the same as the
yearly income. If the type of tax is “Property tax” and the yearly income is greater than
20,000 then the taxable amount is 3 times the yearly income. Otherwise, the taxable
amount is twice the yearly income
If type of tax is “Income tax” and years to pay tax is greater than 1 year, then overall total
tax is 3% of the taxable amount. But if years to pay tax are less than 1 year, then overall
tax is 2% of the taxable amount. If type of tax is “Property tax” and years to pay tax is
greater than 1 year, then overall total tax is 4% of the taxable amount. But if the years to
pay tax is less than 1 year, then overall total tax is 3% of the taxable amount.
NOTE:- you have to use switch case selection structure for this program
SAMPLE INPUT / OUTPUT SCREEN ::
MEC_AMO_TEM_034_01
Page 3 of 9
Introduction to Programming (COMP 10005) – Spring – 20 – CW1 (Assignment-1) – All – QP
4. Write and execute a JAVA program to accept three numbers from the user to evaluate the following
expressions given below. Use appropriate data type for each variable used.
z1 = a + (b * c ) % 33;
z2 = a +b ^ 3 + 8 / (2*c);
z3 = !(a < c) || (a9); SAMPLE OUTPUT SCREEN 5. Write your reflection about Task2, Task3 and Task 4 including the tracing of the output for each of the programs. 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. Softcopy in word format is to be submitted through Turnitin link on Moodle. Viva may be conducted after the assignment submission as per the dates informed earlier. ● ● MEC_AMO_TEM_034_01 Page 4 of 9 Introduction to Programming (COMP 10005) – Spring - 20 – CW1 (Assignment-1) – All – QP 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. MEC_AMO_TEM_034_01 Page 8 of 9 Introduction to Programming (COMP 10005) – Spring - 20 – CW1 (Assignment-1) – All – QP Assessment Sheet –Assignment Analysis (ITP COMP 10005- Semester: Spring 2020) Deliverable s Task 1(WP) 0 No submission Deliverable s Task 2 Deliverable s Task 3 Deliverables Task 4 Deliverables Task 5 6-10 1-5 Partial completion 0 0110 Complete and accurate in all aspects 11-17 18-22 23-25 Incomplet e solution not as per the scenario given. Partially correct solution not as per scenario. Satisfactory use of relevant data types, keywords used but some codes are missing and class have some errors in logic and syntax. Demonstration of use of relevant data types and keywords for implementing the solution of the problem but with some minor omissions or errors in logic/syntax. 0 01-10 11-17 18-22 Incomplete solution not as per the scenario given. Partially correct solution not as per scenario. Satisfactory use of relevant data types, keywords used but some codes are missing and class have some errors in logic and syntax. Demonstration of use of relevant data types and keywords for implementing the solution of the problem but with some minor omissions or errors in logic/syntax. 0 01-4 5-6 7-8 Incomplet e solution not as per the scenario given. Partially correct solution not as per scenario. Satisfactory use of relevant data types, keywords used but some codes are missing and class have some errors in logic and syntax. Demonstration of use of relevant data types and keywords for implementing the solution of the problem but with some minor omissions or errors in logic/syntax. Comple te and accurat e in all aspects 0 01-15 16-24 25--27 28-30 Satisfactorily written reflection covering explanation on all tasks Well written reflection with literature underpinning Comple te and accurat e in all aspects Incomplet e reflection Partially written reflection on all tasks Comple te and accurat e in all aspects 23-25 Compl ete and accurat e in all aspect s 9-10 Page 9 of 9 Purchase answer to see full attachment Explanation & Answer: 4 Questions Tags: Javascript databases Introduction to Programming User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Reviews, comments, and love from our customers and community:

Article Writing

Keep doing what you do, I am really impressed by the work done.

Alexender

Researcher

PowerPoint Presentation

I am speechless…WoW! Thank you so much!

Stacy V.

Part-time student

Dissertation & Thesis

This was a very well-written paper. Great work fast.

M.H.H. Tony

Student

Annotated Bibliography

I love working with this company. You always go above and beyond and exceed my expectations every time.

Francisca N.

Student

Book Report / Review

I received my order wayyyyyyy sooner than I expected. Couldn’t ask for more.

Mary J.

Student

Essay (Any Type)

On time, perfect paper

Prof. Kate (Ph.D)

Student

Case Study

Awesome! Great papers, and early!

Kaylin Green

Student

Proofreading & Editing

Thank you Dr. Rebecca for editing my essays! She completed my task literally in 3 hours. For sure will work with her again, she is great and follows all instructions

Rebecca L.

Researcher

Critical Thinking / Review

Extremely thorough summary, understanding and examples found for social science readings, with edits made as needed and on time. Transparent

Arnold W.

Customer

Coursework

Perfect!

Joshua W.

Student

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>