q1 - pseudocode to solve the following problems 1 Given a...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Programming Fundamentals for CIS Majors II Quiz 1 : (Problem Solving – Algorithms and Pseudocode) 17 May 2010 A. Write an algorithm to solve each of the following problems: 1. To print the 8 times table from 1 x 8 to 15 x 8. 2. To input a number, square it and output the result if (the output is) less than 50.
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
B. Problem-solving: Write
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: pseudocode to solve the following problems: 1. Given a set of n red, blue and green shapes (triangles and rectangles only), count: (i) the number of triangles, and (ii) the sum of the areas of all red rectangles. 2. Clear an oil spill (decide on your own input/ output parameters, strategies, etc.)...
View Full Document

This note was uploaded on 05/27/2011 for the course CIS 3023 taught by Professor Dobbins during the Summer '08 term at University of Florida.

Page1 / 2

q1 - pseudocode to solve the following problems 1 Given a...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online