1 show the calculate answer for the following problem show


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

Request for Solution File

Ask an Expert for Answer!!
Basic Computer Science: 1 show the calculate answer for the following problem show
Reference No:- TGS01180894

Expected delivery within 24 Hours