Checkout
checkout
view
Your Cart Your Cart: item(s)
View Details $1.99 Download Add to Cart

Algorithm, using pseudo code

1. Write an algorithm, using pseudo code, “Word Search”: Given a string of letters, identify all substrings that create one of five given words. For example, if the words (arguments) are: structure; such; system; blue; red, then the string jkdistructuredstrusyssystemoon contains the first, third and fifth words, once each. 2. Write an algorithm, using pseudo code, “Consensus algorithm”: A group of ten people need to decide which one flavor of ice cream they will all order, out of three options. The algorithm can question and re-question the participants, and present the answers to the participants, until a consensus is reached. This exercise is somewhat more open-ended. Add your assumpti... click for more

Subject:

Computer Science

Topic:

Data Structures and Algorithms

Posting ID:

92458

OTA ID:

102833

View Details $1.99 Download Add to Cart

Algorithm

For example, find a simple algorithm for solving the following problem and classify it using big-theta notation: Divide a group of people into two disjoint subgroups (of arbitrary size) such that the difference in the total ages of the members of the two subgroups is as large as possible.Now change the problem so that the desired difference is as small as possible and classify your approach to the problem.

Subject:

Computer Science

Topic:

Data Structures and Algorithms

Posting ID:

92537

OTA ID:

105277

View Details $1.99 Download Add to Cart

Ambiguity in a proposed algorithm

Explain the distinction between an ambiguity in a proposed algorithm and an ambiguity in the representation of an algorithm.

Subject:

Computer Science

Topic:

Data Structures and Algorithms

Posting ID:

92552

OTA ID:

102833

View Details $1.99 Download Add to Cart

3D Images- parallel projection and perspective projections

I need help with parallel projections and perspective projections, this is what I have so far: Vertex List v X Y Z v X Y Z ... and Face List f V1 V2 V3 f V3 V2 V1 .... I have a java application that reads in a vertex list and face list. I also have code to write 2-D lines and ouput that image file. In my code I have the standard 3D default values defined for: PRP and VRP reference points, VPN and VUP vectors, and VRC window coordinates. What I need help with is understanding the algorithms of the parallel and perspective projection. I looked up the general theory of the matrix translations of these projections; however I have no text book or guide on the topic (and a... click for more

Subject:

Computer Science

Topic:

Data Structures and Algorithms

Posting ID:

93636

OTA ID:

104967

View Details $1.99 Download Add to Cart

Simple C program

Write a program that computes and prints the area and volume of a sphere given its radius. (write the program in C, not C++ and create a simple program (this is an introductory exercise in the textbook)– I want to compare it to the program I came up with) Use extensive comments so that I can fully understand what your code is doing.

Subject:

Computer Science

Topic:

Data Structures and Algorithms

Posting ID:

93753

OTA ID:

105277

Page generated in 0.0961 seconds

About Us ·  Contact Us ·  Samples ·  Solutions ·  Legal Terms and Conditions ·  Privacy Policy

©2008 SolutionLibrary.com

Search for Solutions About Us Samples