Saturday, October 10, 2015

IS 115 RAPTOR

INFORMATION SYSTEMS IS 115: INTRODUCTION TO PROGRAMMING

IS 115 is Introduction to Programming. It is the first course in learning how to write computer programs. IS 115 uses the RAPTOR and Python programming languages to teach programming. RAPTOR is a graphical flowchart programming environment. Python is a text-based programming language.

Here’s a practice exam or homework for INFORMATION SYSTEMS IS 115: INTRODUCTION TO PROGRAMMING.

Write a program in ANY programming language that fulfills the following requirements (solution is shown in Raptor):
Requirement 1: Do not use loop. Ask user to enter the numerators and denominators of 2 fractions.
Requirement 2: Do not use loop. If user enters a number other than 2, 3, 5, and 7, end program abruptly, otherwise output the product and the quotient of the first and second fractions.
Requirement 3: Do not use loop. Do not reduce the resulting fractions. Show and have your program tested by the tutor.
EXAMPLE: THIS IS ONLY AN EXAMPLE:
Enter numerator n1: #
Enter denominator d1: #
Enter numerator n2: #
Enter denominator d2: #
n1/d1 * n2/d2 = #/# and n1/d1 / n2/d2 = #/#

Extra and optional program (no solution shown): Reduce the resulting fractions WITHOUT USING A LOOP.

Go with the flow.

John Sindayen

No comments:

Post a Comment