Draw a defining diagram

Assignment Help Data Structure & Algorithms
Reference no: EM13886736

1. Show the calculate answer for the following problem. Show the answers for both arrays.

Given the following array, INT[ ] myNumbers(7, 5)

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

And the variable INT numOne = 0.

What are the contents of these variables after running the following code?

numOne = 3

FOR count = 0, count < 5, count = count + 2

        FOR count2 = 1, count2 <= count, count2++

                myNumbers[ count, count2 ] = numOne + count + count2

        ENDFOR

ENDFOR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

FOR count = 0, count < 5, count = count + 2

        FOR count2 = 1, count2 < 7, count2++

                myNumbers[ count2, count ] = numOne + count + count2 +

                                            myNumbers[ count2, count ] % count2

       ENDFOR

ENDFOR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I strongly recommend that you use a memory map and keep track of your variables as you work your way through the code.

2. For the following problem:

  1.  
    1. Draw a defining diagram (IPO).
    2. Draw a structure chart.
    3. Write a program using pseudocode and modularization.
      Your modules must not use any global variables.

You have multiple mini sets of student records which are grouped together with their own header file that tells how many students are in that class set. The entire set of records has an EOF marker. The student records contain the student's name, class subject code, and a number grade. The class subject code is a string of letters and numbers. You are to produce a class report that gives the name of the class from the lookup table below, the numeric and letter grade for each student and for each class the high and low grades, the class average, and number of students in the class. The letter grade is determined by the student's numeric grade divided by the high grade for that class.

ITP 100

Programming Logic

ITP 120

Intro to Java

ITE 115

Intro to Computers

ITE 200

Local Networking

ITE 201

Wide Area Nets

ITP 200

C++ Objects

ITP 287

Python

ITD 100

Intro to Data Bases

Table 1 Course code and Name

90% -  100%

A

80% - 89.99%

B

70% - 79.99%

C

60% - 69.99%

D

0% - 59.99%

F

Table 2 Grade Percentage and Letter Grade

Reference no: EM13886736

Questions Cloud

Decides to impose pigovian tax on pollution in community : The Fireyear and Goodstone Rubber Companies are two firms located in the rubber capital of the world. These factories produce finished rubber and sell that rubber into a highly competitive world market at the fixed price of £60 per ton. In the absenc..
Determine the upper limit of deviation for each of controls : Determine the upper limit of deviation for each of the controls. What impact do these results have on the type of opinion to be given on the client's internal controls?
Primary auditor responsible for the opinion : 1.Describe what is meant by reports involving the use of other auditors.
Draw a defining diagram : Draw a defining diagram (IPO). Draw a structure chart. Write a program using pseudocode and modularization
Influenced the development of the spanish colonies : Economic relationships between Spain and Portugal, and Europe (England, France, Holland): Structures of dependence. Differences between Spain and England and how these difference extended to and/or influenced the development of the Spanish colonies.
Bond brokers causes bonds to become more liquid : Suppose that competition amongst bond brokers causes bonds to become more liquid. Using the liquidity preference model, show graphically how this will affect money demand and the nominal interest rate.
Fifo method of inventory pricing : Various types of accounting changes can affect audit reporting.
What did the spanish encounter at the time of the conquest : What did the Spanish encounter at the time of the conquest? Myths vs. realities of pre-Columbian Americas? Why such a relatively easy victory for colonizers? What is Mann's overriding thesis, what is he trying to teach us in these chapters?

Reviews

Write a Review

Data Structure & Algorithms Questions & Answers

  Implement an open hash table

In this programming assignment you will implement an open hash table and compare the performance of four hash functions using various prime table sizes.

  Use a search tree to find the solution

Explain how will use a search tree to find the solution.

  How to access virtualised applications through unicore

How to access virtualised applications through UNICORE

  Recursive tree algorithms

Write a recursive function to determine if a binary tree is a binary search tree.

  Determine the mean salary as well as the number of salaries

Determine the mean salary as well as the number of salaries.

  Currency conversion development

Currency Conversion Development

  Cloud computing assignment

WSDL service that receives a request for a stock market quote and returns the quote

  Design a gui and implement tic tac toe game in java

Design a GUI and implement Tic Tac Toe game in java

  Recursive implementation of euclids algorithm

Write a recursive implementation of Euclid's algorithm for finding the greatest common divisor (GCD) of two integers

  Data structures for a single algorithm

Data structures for a single algorithm

  Write the selection sort algorithm

Write the selection sort algorithm

  Design of sample and hold amplifiers for 100 msps by using n

The report is divided into four main parts. The introduction about sample, hold amplifier and design, bootstrap switch design followed by simulation results.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd