Threesuns

Email

Contact

All Semesters

Semesters

All Courses

Courses

Introduction to Computer Programming

CSYS1203

3 credits

Labs

Center Text Pseudocode and Flowchart

Lab

50 points

Requirements

Pseudocode and the Flowchart contain all of the needed logical steps25
Pseudocode and the flowchart are unambiguous10
Pseudocode is in proper form and is readable5
Flowchart is in the appropriate form with correct shapes and arrows10
Total50 pts

Objective

To practice creating simple pseudocode and flowcharts

Instructions

Basics

For this lab you will need to describe in detail all of the steps that are needed to display a string (a group of characters) centered within an area. Think of centering the title at the top of a document, for example.

Tools

Assume that for this task you only know the number of characters in the string and the width in characters of the display area. Again, imagine you know the number of letters in the title and how wide the document is in spaces.

Also assume that the only instructions you can give are those for basic arithmetic and inputs from a keyboard, there is no magic "center alignment" button or feature.

Deliverables

You will need to express the logic of this program as both pseudocode and as a flowchart.