The pseudocode to calculate the average of the test scores until the user enters a negative input serves as a prototype of the actual program
<h3>The errors in the pseudocode</h3>
The errors in the pseudocode include:
- Inclusion of unusable segments
- Incorrect variables
- Incorrect loops
<h3>The correct pseudocode</h3>
The correct pseudocode where all errors are corrected and the unusable segments are removed is as follows:
start
Declarations
num test1
num test2
num test3
num average
output "Enter score for test 1 or a negative number to quit"
input test1
while test1 >= 0
output "Enter score for test 2"
input test2
output "Enter score for test 3"
input test3
average = (test1 + test2 + test3) / 3
output "Average is ", average
output "Enter score for test 1 or a negative number to quit"
input test1
endwhile
output "End of program"
stop
Read more about pseudocodes at:
brainly.com/question/11623795
Answer:
void printArray(int [],int);
Hope this helps!
Newspapers are irrelevant now, magazines will get you much more viewers.
Answer:
All
Explanation:
From the available options given in the question, once the while loop terminates any of the provided answers could be correct. This is because the arguments passed to the while loop indicate two different argument which both have to be true in order for the loop to continue. All of the provided options have either one or both of the arguments as false which would break the while loop. Even options a. and b. are included because both would indicate a false statement.
MySQL is a relational database management system based on the structured query language, JavaScript, Ruby and Python are programming languages used largely in web development.
<h3>What is MySQL?</h3>
It is a system that allows database management, that is, it is a database query language that is used to define relational database structures.
<h3>Characteristics of MySQL</h3>
- The system works on the client-server principle, where the server represents the actual database management system and is responsible for storing and distributing the data.
- It can be used on Windows, Linux, Unix and some other operating systems.
Therefore, we can conclude that MySQL is a relational database management system based on the structured query language, JavaScript, Ruby and Python are programming languages used largely in web development.
Learn more about MySQL here: brainly.com/question/4964005