GradePack

    • Home
    • Blog
Skip to content
bg
bg
bg
bg

GradePack

PROGRAMMING – QUESTION 5: (10 PTS) In the textbox below, Wri…

PROGRAMMING – QUESTION 5: (10 PTS) In the textbox below, Write the Swift Coding that will solve the following programming problem: Use “explicit” data declaration for the following variables which will NOT have a decimal point: Age of Individual Assign a value to Age of Individual of your choosing between 1-90. Use “explicit” data declaration for the following variables which will NOT have a decimal point: Number of Tickets Requested Assign a value to Age of Individual of your choosing between 1-5. ————————————————————————— Use “explicit” data declaration for the following variables that will be CALCULATED, and which will be non-numeric and more than one character: Individual Category. Use “explicit” data declaration for the following variables that will be CALCULATED, and which will have a decimal value : Movie Charge and Movie Amount Due. ====================================================================== Write the ONE “SWITCH STATEMENT” that will CALCULATE/FIND the Individual Category and the Movie Charge. *************************************************************************** Rate based on the following factors: For Individual Age                                 Individual Category                                    Movie Charge    1 year old or less……………………………..Infant……………………………………………………..$0.00  2 years old to 12 years old…………………Child……………………………………………………..$5.00  13 years old to 19 years old ………………Teenager…………………………………………………$12.50 20 years old or older…………………………Adult……………………………………………………..$17.65 ======================================================================= Write the formula that will CALCULATE/determine the Movie Amount Due which is found by MULTIPLYING the Number of Tickets Requested by the Movie Charge. =============================================================== Print the resulting values for: Individual Category , Movie Charge and the Movie Amount Due ===================================================================

Read Details

Cersei is reviewing her company’s AWS infrastructure to redu…

Cersei is reviewing her company’s AWS infrastructure to reduce monthly costs. She discovers that their development environment includes 10 EC2 instances that run 24/7, but the development team only works Monday through Friday from 9 AM to 6 PM. Additionally, she notices that several instances are running with high-capacity EBS storage volumes, though most of the allocated space remains unused. The production workload experiences predictable traffic spikes during business hours but maintains minimal activity during nights and weekends. What combination of cost optimization strategies would be most effective for Cersei’s situation?

Read Details

A software company currently deploys applications using virt…

A software company currently deploys applications using virtual machines. The development team has been experiencing slow deployment times and inconsistent behavior across different environments. IT is considering implementing containerization to address these issues. Which statement best describes why containers would be beneficial for the company’s situation?

Read Details

Which four main components comprise an IAM system mechanism?

Which four main components comprise an IAM system mechanism?

Read Details

Which type of user is a temporary worker with limited tempor…

Which type of user is a temporary worker with limited temporary access to information resources related to assigned responsibilities?

Read Details

When a company is deciding on which certificate authority to…

When a company is deciding on which certificate authority to use, which of the following criteria best indicates that the certificate authority is credible?

Read Details

What is the primary function of a data backup and recovery s…

What is the primary function of a data backup and recovery system?

Read Details

Windows Performance Monitor is a security control that prote…

Windows Performance Monitor is a security control that protects data availability.

Read Details

A remote resource is any resource attached to another comput…

A remote resource is any resource attached to another computer on a network that is different from the computer to which the user is logged on.

Read Details

In Weeks Three and Four, we explored the genre of American a…

In Weeks Three and Four, we explored the genre of American autobiography through two very different figures: Mary Rowlandson and Benjamin Franklin. We examined excerpts from A Narrative of the Captivity and Restoration of Mrs. Mary Rowlandson and The Autobiography of Benjamin Franklin, along with videos and class discussion. We also asked broader questions, such as: What makes a story “American”? How can a personal narrative reflect or shape national identity? What are other forms of autobiography in American culture (besides books), and what do they tell us about how Americans define themselves? In a thoughtful, well-developed paragraph (or more), respond to the following: How do Rowlandson and Franklin each use their personal experiences to craft a larger message about American values or identity? In what ways do these two stories differ in tone, purpose, or worldview, and what do those differences reveal about early American society? Can you identify anything “quintessentially American” about either of these stories or the way they are told? Finally, reflect briefly on modern equivalents: What kinds of autobiographies (or self-presentations) exist today—books, social media, podcasts, reality TV—and how might they continue or challenge the tradition started by figures like Rowlandson and Franklin? Be sure to use specific references to the texts, class discussion, or videos to support your ideas.

Read Details

Posts pagination

Newer posts 1 … 42,007 42,008 42,009 42,010 42,011 … 98,356 Older posts

GradePack

  • Privacy Policy
  • Terms of Service
Top