Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

USE PEP/8 USE PEP/8 USE PEP/8 Complete this by first working these problems on paper, then put them into pep8 and verify they work correctly.

USE PEP/8

USE PEP/8

USE PEP/8

Complete this by first working these problems on paper, then put them into pep8 and verify they work correctly. Upload the pepo programs only

USE DIRECT ADDRESSING IN ALL OF THESE. THIS MEANS YOUR ADDRESSING MODE MUST BE 001

  1. This program has no input. Write a program to output CMPSC 345 (note the space)
  2. Write a program to input three characters and output them in reverse (so if the input is pat, the output will be tap) DO NOT leave spaces in the input, if you do pep8 will take the space as the second character.
  3. Write a program to input an integer. Add 2 to the number and output the result.
  4. Write a program to input a string of three lowercase characters and output a string of these characters in uppercase. For example, if the input is abc, output will be ABC.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Accounting And Auditing Research And Databases Practitioner's Desk Reference

Authors: Thomas R. Weirich, Natalie Tatiana Churyk, Thomas C. Pearson

1st Edition

1118334426, 978-1118334423

More Books

Students also viewed these Databases questions

Question

What are some promising text mining applications in biomedicine?

Answered: 1 week ago