ScholarMatic | 24/7 Homework Help

ScholarMatic Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

Given the following Pseudo Code, answer the questions below:

by | Nov 28, 2023 | engineering

1.Given the following Pseudo Code, answer the questions below:  (5 points)

integer count = 0

integer max = 5

// allocate the array

integer numbers[max] 

while (count < max)

numbers[count] = count * 3

count = count + 2

endwhile

A.)What is the name of the array? __________________        B.)How many elements are in the array? ____ ___

At the end of the execution of the program:

C.)What is the value of count? __________________

D.)Draw a picture of the array and what it contains: 

2.Given the following Pseudo Code, answer the questions below:  (5 points)

integer index = 0

integer max = 7

// allocate the array

integer x[max]

while (index < max)

x[index] = index + 2

index = index + 3

endwhile

A.)What is the name of the array? __________________        B.)How many elements are in the array? ____ ___

At the end of the execution of the program:

C.)What is the value of count? __________________

D.)Draw a picture of the array and what it contains: 

14.Write a pseudocode declaration for a String array initialized with the following strings:”Einstein”, “Newton”, “Copernicus”, and “Kepler”.

15.Assume names in an Integer array with 20 elements. Design a For loop that displays each element of the array.16.Write a pseudocode algorithm that uses the For Each loop to display all of the values in the following array:Constant Integer SIZE = 10Declare Integer values [SIZE] = 1, 2,  3,  4,  5,  6,  7,  8,  9, 10

ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

ScholarMatic: Get Started

Assignment Writing Service

Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!