### Our Services

Get 15% Discount on your First Order

# In this assignment, you will continue your research into different

In this assignment, you will continue your research into different programming paradigms through the evaluation of Structured, Procedural, Functional, and Object_Oriented paradigms. You will be analyzing sequence, selection, and loop, the relational comparison operators, precedence when combining AND and OR operators, and the case structure.  Instructions: Part 1: Research – Programming Paradigms In Unit 1, you researched early programming languages and object-oriented programming(OOP). For this portion of the assignment, research the three programming paradigms listed below. Describe each paradigm and how each differs from OOP. Explain which paradigm you believe to be the best for most programs. • Structured Programming • Procedural Programming • Functional Programming Part 2: Programs – Using Decision Logic Structures: 1. Design a program that asks the user to enter the length and width of two rectangles, Rectangle A and Rectangle B. Calculate the area of the two rectangles and display to the user if Rectangle A has a larger area, or if Rectangle B has the larger area, or if the two areas are equal.  2. The Acme company would like a program that they can use to quickly screen applicants’ qualifications for a job in their anvil factory. A potential employee must have a score of at least 85 on their anvil aptitude test and have a college degree in anvil engineering or have previous anvil factory experience. The CIS216 – Programming Principles Structure and Making Decisions program should enter the aptitude test score, a “Y” or “N” for the college degree, and a “Y” or “N” for previous experience. The program should then display if the applicant should be accepted or rejected based on their qualifications. Note: this program should use logic operators (AND, OR, NOT) as required to create a single conditional statement  3. Write a program that accepts a student’s numerical grade and returns the corresponding letter grade. If a grade less than zero or greater than 100 is entered, the program should display an error message. The program should also use a module to determine the appropriate grade. Letter grades are determined as follows: 0 – 59 F 60 – 69 D 70 – 79 C 80 – 89 B 90 – 100 A 4. Write a program that simulates a vending machine. The price of items in the vending range from \$0.05 to \$0.95. The vending machine only accepts \$1.00 bills. Write a program that accepts the price of an item and calculates the correct change using the least amount of quarters, dimes, nickels, and pennies. If a price is entered that is less than \$0.05 or greater than \$0.95 should display an error message and the amount of change should not be calculated. 5. Write a program that asks a user to enter two numbers and one of the following letters: A, S, M, or D. If the letter A is entered, the program should add the two numbers. If an S is entered, the program should subtract the two numbers. If an M is entered, the program should multiply the two numbers. If a D is entered, the program should divide the two numbers. The program should then display the results. If the user enters any letter besides A, S, M, or D, the program should display an invalid option error message. If the user enters D and a zero for the second number, the program should display a cannot divide by zero error message. The program should use the case structure to determine the correct action to be taken given the user’s input.

Order a Similar Paper and get 15% Discount on your First Order

## Related Questions

### HISTORY 102 Wi 2024: Critical Reading Assignment (25%) A pdf file of

HISTORY 102 Wi 2024: Critical Reading Assignment (25%) A pdf file of the Critical Readings Assignment (an Analytical Essay) is due on mêskanâs at 11:59PM MST on Feb 5, 2024, and it is worth 25% of you #HISTORY #Critical #Reading #Assignment #pdf #file

### Written assignment. Imagine you are about to hire a new worker or

Written assignment. Imagine you are about to hire a new worker or workers for your organization.  Prepare an APA formatted 4-5 pages paper (with a minimum of six [6] peer-reviewed sources):   · Based on the information in this chapter (attached in the other file), what screening questions would you include

### 1. Top of Form Many people in the US, particularly the elderly, take

1. Top of Form Many people in the US, particularly the elderly, take more than one prescribed medication. CDC (2014) reported that between 2009 and 2012 nearly 48% of persons asked used at least one prescription drug, 22% used three or more prescription drugs, and nearly 11% used five or

### For each DQ elaborate within 260-300 words for each. Use in-text

For each DQ elaborate within 260-300 words for each. Use in-text citations accordingly. Use scholarly reference(s). Use and cite references using APA 7th Style Guide accordingly. Don’t combine DQs together. Topic 1: Job/Task Analysis and Evaluation DQ 1) Aamodt (2022) in Industrial/Organizational Psychology: An Applied Approach discusses the importance of job analysis

### Mini-Literature Review – Pt 1 Read the introduction of low-carbon

Mini-Literature Review – Pt 1 Read the introduction of low-carbon development opportunities using the abatement cost approach – Marginal Abatement Cost Curve (MACC): Then, find five additional articles (i.e., peer-reviewed journal articles) related to your proposed topic.  (my proposed topic is to qualify or quantify the low-carbon development opportunities using

### CASE STUDY A single father has accompanied his 17-year-old daughter to

CASE STUDY A single father has accompanied his 17-year-old daughter to a women’s health clinic and has requested that his daughter has a pregnancy test. The girl has not consented to the test and seem #CASE #STUDY #single #father #accompanied #17yearold #daughter

### SCI 100 Module Six Activity Template: Science in the Real

SCI 100 Module Six Activity Template: Science in the Real World Instructions First, choose one video from the module resources to watch. You should use points made in the video you chose, and any other course resources, to support your responses to the questions below. Replace the bracketed text with

### Purpose To recognize risk factors for pulmonary edema/fluid

Purpose To recognize risk factors for pulmonary edema/fluid overload. Competency Explain care for the client with lower respiratory disorders. Instructions Read the scenarios below and answer the questions. If you use sources, site them using APA format. Case # 1 An elderly woman comes into the ER with severe dehydration

### Write 2 page paper on ways youth sport burnout can avoided. Paper

Write 2 page paper on ways youth sport burnout can avoided. Paper must include – What is youth burnout? How can youth sport burnout be avoided? Ideas on sport specialization. Reflection on your own #Write #page #paper #ways #youth #sport #burnout #avoided #Paper

### For each DQ elaborate within 260-300 words for each. Use in-text

For each DQ elaborate within 260-300 words for each. Use in-text citations accordingly. Use scholarly reference(s). Use and cite references using APA 7th Style Guide accordingly. Don’t combine DQs together. Topic 1: Job/Task Analysis and Evaluation DQ 1) Aamodt (2022) in Industrial/Organizational Psychology: An Applied Approach discusses the importance of job analysis

### FON241LL Lesson 4 Lab

FON241LL Lesson 4 Lab Diet Analysis & Health Assessment 1. What is your average percentage of total kcalories from carbohydrate? (See Macronutrient Bar Graph) (5 pts) 2. What are the dietary guidelines for percent of total kcalories from carbohydrate? Did you meet this range? (5 pts) 3. According to the

### Instructions: Due Tuesday 02/6 At least 3 paragraphs long with 3

Instructions: Due Tuesday 02/6 At least 3 paragraphs long with 3 peer-reviewed references. No textbook sources Explain the potential problem that could arise from using ROI as the incentive measure for managers. What are some specific actions a company might take to resolve this potential problem? #Instructions #Due #Tuesday #026At

### Discussion on Integrating Sources in APA

Discussion on Integrating Sources in APA Instructions: Write a few sentences (120 words) integrating a quote from any of the articles that you will be using in your paper. ( Will post the articles as pdf). Be sure to connect your quote to the rest of your sentences. You can

### Chapter 4 Do you believe the media should be censored to protect

Chapter 4 Do you believe the media should be censored to protect Homeland Security? What if the news media got a hold of sensitive information as it pertained to an investigation into a potential terror attack and, by releasing that information to the public, it could hinder and prevent the

### Montgomery 6.4.9 An article in Nature Genetics [“Treatment-specific

Montgomery 6.4.9 An article in Nature Genetics [“Treatment-specific Changes in Gene Expression Discriminate In Vivo Drug Response in Human Leukemia Cells” (2003, Vol. 34(1), pp. 85–90)] studied gene e #Montgomery #6.4.9 #article #Nature #Genetics #Treatmentspecific

### Short Paper We all have to eat, but there is a lot of

Short Paper We all have to eat, but there is a lot of controversy surrounding what is good to eat. Use peer-reviewed, scholarly articles to answer the question, “What is the best diet?”. Write a summary of your research in 500 words and cite and reference at least four articles(

### For the first paper, compose a 4-5 (though not much longer than 5 at

For the first paper, compose a 4-5 (though not much longer than 5 at most; ) page analysis (approx. 1000 words) of one (or two) of the works we’ve read in class. You may focus on any literary aspect of the work, but you might consider how the poem develops

### Prompt: Apply Allport’s, Cattell’s, or Eysenck’s theories to the

Prompt: Apply Allport’s, Cattell’s, or Eysenck’s theories to the Week 5 Case Conceptualization Download Week 5 Case Conceptualization . You are being asked to conceptualize this case by explaining how this person’s current personality dynamics and presenting problems have developed, what is helping to maintain them in the present, and