When a code block is placed inside this loop, what happens to the code?

A. It repeats until the program stops running.

B. It repeats once and then stops.

C. It repeats a certain number of times and then stops.

D. It repeats as long as a certain condition is true.

Answers

Answer 1

When a code block is placed inside a loop, what happens to the code is that: D. It repeats as long as a certain condition is true.

What is a looping structure?

A looping structure can be defined as a type of function that is designed and developed (written) to instruct a computer to repeat specific statements, especially for a certain number of times based on some certain true condition(s).

The types of looping structure.

In Computer programming, there are different types of looping structure and these include the following:

If/Else StatementIf StatementFor LoopWhile LoopForever loopIndefinite loop

This ultimately implies that, a code block would repeat particular statements for a certain number of times (iterations) based on some certain true condition(s) in the looping structures.

Read more on loop here: brainly.com/question/26130037

#SPJ1

Answer 2

Answer:

C.

It repeats a certain number of times and then stops.

Explanation:


Related Questions

This machine can perform all four of the basic arithmetic operations and could multiply numbers of up to 5 and 12 digits to give a 16-digit operand. What is it?

Answers

The machine that can perform all four of the basic arithmetic operations and could multiply numbers of up to 5 and 12 digits to give a 16-digit operand is the stepped reckoner,

What is the stepped reckoner?

The stepped reckoner, also known as the Leibniz calculator, was a mechanical calculator invented around 1672 by the German mathematician Gottfried Wilhelm Leibniz and completed in 1694. The name is derived from the German term for its operating mechanism, Staffelwalze, which translates as "stepped drum." It was the first calculator capable of carrying out all four arithmetic operations.

Its intricate precision gearwork, on the other hand, was a little beyond the fabrication technology of the time; mechanical issues, as well as a design flaw in the carry mechanism, prevented the machines from working reliably.

Learn more about machine on:

https://brainly.com/question/388851

#SPJ1

The two main causes of firearm accidents are Ignorance & _____________?

Answers

Answer:

Carelessness

Explanation:

The two main causes of firearm accidents are Ignorance & carelessness

Because it might harm someone if you do not understand how to safely operate (power tools) fire arm

Question #4
Fill in the Blank
Fill in the blank to complete the sentence.
the users site.
is used to store and process data



over the Internet using computers that are not located at
The users site.

Answers

Answer:

cloud computing

Explanation:

Processing devices are the components responsible for the processing of information within the computer system. This includes devices such as the CPU, memory and motherboard. Storage devices are components which allow data to be stored within a computer system.

Which is the better buy?? Twevve cans for $9.00 or 4 cans for $3.00

Answers

The 4 cans for $3.00 because if u buy 4 cans for $3.00 33 times u get a $1.00 discount

A petrol engine takes 1000J of chemical energy and produces 250J of useful energy

Answers

A petrol engine takes 1000J of chemical energy and produces 250J of useful energy the efficiency is 25%.

What is chemical energy?

Chemical energy is defined as  a chemical substances' potential energy, which is released as they experience chemical reactions and change into other substances.

As the petrol engine takes 1000J of chemical energy and produces 250J of useful energy.

So, Input = 1000 J

Output = 250 J

Efficiency = (250 / 1000) 100

                = 0.25 x 100

                = 25 %

Thus, a petrol engine takes 1000J of chemical energy and produces 250J of useful energy the efficiency is 25%.

To learn more about chemical energy, refer to the link below:

https://brainly.com/question/1371184

#SPJ1

Your question is incomplete, but probably your complete question was

A petrol engine takes 1000J of chemical energy and produces 250J of useful energy, calculate the efficiency?

Write a C++ program that creates a word-search puzzle game where the user should find the hidden
words in a square array of letters. Your program should first read from the user their choice for the
game: a) easy, b) medium, c) hard, d) exit the game. If the user selects easy, then the 6x6 puzzle,
shown in Figure 1, will be generated and displayed to the user. If the user selects medium, then the
14 x 14 puzzle shown in Figure 2 should be generated and displayed and lastly, if the user selects
the hard choice, the program should generate a random puzzle, filling the square array of 20 x 20
using random characters/words.
Then your program should repeatedly read from the user, a word to be searched for in the puzzle,
the row and column number where the word starts from and which orientation to search for. The
words can be searched vertically (top to bottom), horizontally (left to right), diagonally (upper left
to lower right) and diagonally (upper right to lower left). The program should check if the column
and row number given by the user are inside the puzzle (array) boundaries, otherwise should display
an error message and ask the user to enter another position. For each word the user inputs, the
2
program should display whether the word was found or not. The program should stop reading
words when the user will press “X” and then the total number of found words will be displayed to
the user.
The program should repeatedly display the game menu until the user will select to exit the game

Answers

C++ program to create a word-search puzzle game. #include <iostream> #include <cstring> using namespace std; int main() { char input; cout << "Choose.

What is program technology?

Any technology (including, without limitation, any new and practical process, method of manufacture, or composition of matter) or proprietary material developed or first put into use (actively or constructively) by either Party in the course of the Research Program is referred to as "Program Technology."

A 33 board with 8 tiles (each tile has a number from 1 to 8) and a single empty space is provided. The goal is to use the vacant space to arrange the numbers on the tiles so that they match the final arrangement. Four neighboring (left, right, above, and below) tiles can be slid into the available area.

Therefore, C++ programs create a word-search puzzle game. #include <iostream> #include <cstring>

Learn more about the program here:

https://brainly.com/question/11023419

#SPJ1

Guys I should write the program in C++
Can u help me?


Write a program which reads numbers from keyboard in a loop and checks if the given number is even.
The program ends when a negative number is input.​

Answers

#include <iostream>

int main(int argc, char const* argv[]) {

   while(1) {

       std::cout << ">> "; int x; std::cin>>x;

       if(x<0) break;

       else if(x%2==0) {std::cout << "\nThis is even number.\n";}

       else std::cout << "\nThis is odd number.\n";

   }

   return 0;

}

in what ways does amazon simple store service (amazon s3) object storage differ from block and file storage? (choose 2 answers)

Answers

Ama*on simple store service (ama*on s3) object storage differ from block and file storage since Objects are stored in buckets, and objects contain both data and metadata.

What is Metadata?

Metadata is defined as "data/information about data." Metadata assists us in comprehending the structure, nature, and context of the data.

Metadata makes data searching and retrieval easier. Metadata also aids in the monitoring of data quality and reliability. Metadata is the key to unlocking your data's value.

Examples of metadata:

Consider the following image. A rose is just a rose to the na*ed eye.

A rose, however, is much more to the more discerning "meta" eye. It is the sum of its meta.

The amount of metadata that goes into describing an image may surprise you.

Some of the metadata information stored are:

The camera makeLenses usedThe time when the photograph was takenFocal lengthThe location's GPS coordinatesImage resolutionColor profiles.

To learn more about Metadata, visit: https://brainly.com/question/14960489

#SPJ1

Question 10 A designer finds a job that she is interested in, but needs to create a resume quickly before the upcoming job application deadline. What tool can she use to create a solid resume with all the necessary elements?

Answers

If a designer finds a job that she is interested in, but needs to create a resume quickly before the upcoming job application deadline, a tool she can use to create a solid resume with all the necessary elements is: A. a template from a word processing program

What is a word processing software?

A word processing software can be defined as a type of software that is primarily designed and developed in order to enable its end users type, format and save text-based documents.

In Computer technology, word processing software are designed and developed to provide end users with the necessary tools for creating, typing, and editing all kinds of text-based documents such as the following:

LettersResumesReports.Articles

Read more on word processing here: https://brainly.com/question/28017401

#SPJ1

Complete Question:

Question 10

A designer finds a job that she is interested in, but needs to create a resume quickly before the upcoming job application deadline. What tool can she use to create a solid resume with all the necessary elements?

A template from a word processing program

Figma

Medium

Adobe XD

The statement newStr.length() gives the value

Answers

The statement newStr.length() gives the value  do returns the length of new string.

What does programming string mean?

Traditionally, a string in computer programming refers to a group of characters, either as a literal constant or as a form of variable. The latter may be fixed in length or may permit its elements to be altered (after creation).

The string's length in unicode characters is represented by an integer by the length() method. In TypeScript, you may utilize the length property of the String object to determine the length of a String. The String object's length property returns an integer that represents the length of the string when used.

So, The String method length can be used to calculate the length of a string.

Learn more about string from

https://brainly.com/question/26427527
|#SPJ1

External hackers have some access to a company's website and made some changes. Customers have submitted multiple complaints via email for wrong orders and inappropriate images on the website. The Chief Information Officer (CIO) is now worried about the distribution of malware. The company should prepare for which of the following other issues or concerns?

Answers

Answer:

-Domain reputation

-URL redirections

Explanation:

*IN JAVA*
Program Specifications Write a program to calculate U.S. income tax owed given wages, taxable interest, unemployment compensation, status (dependent, single, or married), and taxes withheld. Dollar amounts are displayed as integers with comma separators. Ex: System.out.printf("Cost: $%,d\n", cost);

Note: this program is designed for incremental development. Complete each step and submit for grading before starting the next step. Only a portion of tests pass after each step but confirm progress.

Step 1. Within main() input wages, taxable interest, unemployment compensation, status (0=dependent, 1=single, and 2=married), and taxes withheld as integers.

Step 2 (2 pts). Complete the calcAGI() method. Calculate the adjusted gross income (AGI) that is the sum of wages, interest, and unemployment. Convert any negative values to positive before summing to correct potential input errors. Return the AGI. Note the provided code in main() calls calcAGI() and outputs the returned value. Submit for grading to confirm two tests pass.
Ex: If the input is:

20000 23 500 1 400
The output is:

AGI: $20,523
Step 3 (2 pts). Complete the getDeduction() method. Return the deduction amount based on status: (0) dependent = 6000, (1) single = 12000, or (2) married=24000. Return 6000 if the status is anything but 0, 1, or 2. Within main() call getDeduction() and output the returned value. Submit for grading to confirm four tests pass.
Ex: If the input is:

20000 23 500 1 400
The additional output is:

AGI: $20,523
Deduction: $12,000
Step 4 (2 pts). Complete the calcTaxable() method. Calculate taxable amount (AGI - deduction). Set taxable to zero if calculation results in negative value. Return taxable value. Within main() call calcTaxable() and output the returned value. Submit for grading to confirm six tests pass.
Ex: If the input is:

20000 23 500 1 400
The additional output is:

AGI: $20,523
Deduction: $12,000
Taxable income: $8,523
Step 5 (2 pts). Complete the calcTax() method. Calculate tax amount based on status and taxable income (see tables below). Tax amount should be stored initially as a double, rounded to the nearest whole number using Math.round(), and converted to an integer before returning. Within main() call calcTax() and output the returned value. Submit for grading to confirm eight tests pass.
Ex: If the input is:

50000 0 0 2 5000
The additional output is:

AGI: $50,000
Deduction: $24,000
Taxable income: $26,000
Federal tax: $2,720
Income Tax for Dependent or Single Filers
$0 - $10,000 10% of the income
$10,001 - $40,000 $1,000 + 12% of the amount over $10,000
$40,001 - $85,000 $4,600 + 22% of the amount over $40,000
over $85,000 $14,500 + 24% of the amount over $85,000
Income Tax for Married Filers
$0 - $20,000 10% of the income
$20,001 - $80,000 $2,000 + 12% of the amount over $20,000
over $80,000 $9,200 + 22% of the amount over $80,000

Step 6 (2 pts). Complete the calcTaxDue() method. Set withheld parameter to zero if negative to correct potential input error. Calculate and return amount of tax due (tax - withheld). Within main() call calcTaxDue() and output returned value. Submit for grading to confirm all tests pass.
Ex: If the input is:

80000 0 500 2 12000
The additional output is:

AGI: $80,500
Deduction: $24,000
Taxable income: $56,500
Federal tax: $6,380
Tax due: $-5,620

JAVA CODE**
import java.util.Scanner;

public class LabProgram {

// Calculate AGI and repair any negative values
public static int calcAGI(int wages, int interest, int unemployment) {
/* Complete the method and update the return statement */

return -1;
}

// Calculate deduction depending on single, dependent or married
public static int getDeduction(int status) {
/* Complete the method and update the return statement */

return -1;
}

// Calculate taxable but not allow negative results
public static int calcTaxable(int agi, int deduction) {
/* Complete the method and update the return statement */

return -1;
}

// Calculate tax for single or dependent
public static int calcTax(int status, int taxable) {
/* Complete the method and update the return statement */

return -1;
}

// Calculate tax due and check for negative withheld
public static int calcTaxDue(int tax, int withheld) {
/* Complete the method and update the return statement */

return -1;
}

public static void main(String [] args) {
Scanner scan = new Scanner(System.in);
int wages = 0;
int interest = 0;
int unemployment = 0;
int status = -1;
int withheld = 0;
int agi;

// Step #1: Input information


// Step #2: Calculate AGI
agi = calcAGI(wages, interest, unemployment);
System.out.printf("AGI: $%,d\n", agi);

}

Answers

Using the knowledge in computational language in JAVA  it is possible to write a code that calculate U.S. income tax owed given wages, taxable interest, unemployment compensation, status and taxes withheld.

Writting the code:

import java.util.*;

class Main{

public static void main(String args[])

{

 Scanner sc=new Scanner(System.in);

 //take the inputs

 int wages=sc.nextInt();

 int interest=sc.nextInt();

 int compensation=sc.nextInt();

 int status=sc.nextInt();

 int withheld=sc.nextInt();

 

 int cost=calcAGI(wages,interest,compensation);

 int deduction=getDeduction(status);

 int taxable=getTaxable(cost,deduction);

 

 System.out.printf("AGI: $%,d\n", cost);

 System.out.printf("Deduction: $%,d\n", deduction);

 System.out.printf("Taxable income: $%,d\n",taxable);

}

static int calcAGI(int wages,int interest,int compensation)

{

 int cost=wages+interest+compensation;

 return cost;

}

static int getDeduction(int status)

{

 if(status==0)

 {

  return 6000;

 }

 else if(status==1)

 {

  return 12000;

 }

 else if(status==2)

 {

  return 24000;

 }

 return 6000;

}

static int getTaxable(int AGI,int deduction)

{

 int taxable=AGI-deduction;

 return taxable;

}

 

}

See more about JAVA at brainly.com/question/18502436

#SPJ1

Elena is a board game developer and has a website where she regularly posts about the work she is doing for her next game, mostly about the trials and tribulations of being a full-time game developer. What is the best description for Elena’s site?

Answers

Since Elena is a board game developer and has a website where she regularly posts about the work she is doing for her next game, the best description for Elena’s site is Blog

What a blog is used for?

A blog, often known as a weblog, is a frequently updated online page that is used for commercial or personal comments. A area where readers can leave comments is usually included at the bottom of each blog article because blogs are frequently interactive.

Note that a blog is a web page that you frequently update. Brands frequently include blogs on their websites, making it simpler for visitors to find and interact with your postings. You can offer lengthy articles on your blog that cover subjects your target audience might be interested in reading or learning about and this is what Elena's site is all about.

Learn more about Blog from

https://brainly.com/question/16930663
#SPJ1

Which of the following formatting options adjusts the row height to include all text for all cells in a row?
AutoFit Column Width
O AutoFit Row Height
O Default Width
Row Height

Answers

The formatting option AutoFit Row Height adjusts the row height to include all text for all cells in a row.

What is the use of row height in Excel?

The Excel "ROWS" function, to put it simply, returns the count of the number of rows that have been selected in the range. As opposed to the ROW function, which provides the row number for the specified cell, it is distinct. The ROWS function, on the other hand, accepts an array of a row as an input and returns the number of rows in that array.

12.75 points serve as the standard row height (17 pixels). Text in font sizes of 10 and 12 points can be seen at this height. The horizontal lines that divides the row can really have their ends adjusted using the mouse. It's pretty similar to changing the width of a column to changing the height of a row.

To learn more about row in excel, use the link given
https://brainly.com/question/26573829
#SPJ1

Answer:

B

Explanation:

i just did it

You take a loan from a friend and need to calculate how much you will owe him after 3 months.

Answers

The loan was for $100 and the interest rate is 10%.

What do you mean by loan?

A loan is the lending of money by one or more persons, organisations, or other entities to other individuals, organisations, or other entities in finance. The recipient (i.e., the borrower) incurs a debt and is typically required to pay interest on that loan until it is repaid, in addition to repaying the primary amount borrowed. The paper demonstrating the loan (for example, a promissory note) will often indicate the principal amount borrowed, the interest rate charged by the lender, and the date of repayment.

$100 + ($100 × (10/100))

= $110

To learn more about loan
https://brainly.com/question/25696681

#SPJ1

A typical executive information system (EIS) offers which of the following capabilities?

Answers

A capability which a typical executive information system (EIS) offers include the following: b. slice-and-dice.

What is an information system?

An information system (IS) can be defined as a collection of computer systems and Human Resources (HR) that is used by a business organization (firm or company) or manager to obtain, store, compute, and process data, as well as the dissemination of information, knowledge, and the distribution of digital products from one location to another.

Generally speaking, there are three (3) main kinds of information system (IS) that allow information to be accessed and shared internally among employees;

Executive Information System (EIS)Corporate PortalIntranet

In conclusion, drill-down, consolidation, and slice-and-dice are the three most common and typical capabilities that are being offered in an executive information system (EIS), in order to view information in a business firm from different perspectives.

Read more on information system here: brainly.com/question/24944623

#SPJ1

Complete Question:

A typical executive information system (EIS) offers which of the following capabilities? O a. video conferencing O b. slice-and-dice O c. collaboration d. messaging

A pop-up window is a small web browser window that
opens without your permission after opening a
website.
True
False

Answers

Answer:

Yes, that's true

Explanation:

Answer: Yes, this is true.

Richman is considering buying insurance for each smartphone. Use the ALE to determine the usefulness of this safeguard. For example, Richman could purchase insurance for each device for $25 per year. The safeguard value is $25 X 1,000 devices, or $25,000. It is estimated that if the insurance is purchased, the ARO will decrease to 5. Should the company purchase the insurance?

Answers

Using knowledge in computational language in SQL it is possible to write a code that Richman is considering buying insurance for each smartphone.

Writting the code:

SLE = $500 (this is total loss expected )

ARO = 75 ( this is number of times the incident can happen in an year)

ALE = SLE*ARO (calculation of ALE from SLE and ARO)

ALE= 500*75 = $37,500

Current ALE = $37,500(After calculation current ALE)

ARO with control = 5 (This value given in question)

(ALE with control can be calculated by multiplying SLE with (ARO with control))

ALE with control = SLE*ARO with control = 500*5 = $2500

Savings with control=Current ALE-ALE with control

Savings with control = $37500 – $2500 = $35000

Safeguard value = $25000

Realized savings=Savings with control-safeguard value

Realized savings = $35000 – $25000 = $10,000

See more about SQL at brainly.com/question/18502436

#SPJ1

What feature would you use to enhance a text box? Shape Styles, Adjust slide layout, Insert new format, or Add-ons?​

Answers

Answer:

I believe add-ons are used for that

Explanation:

Can someone make a JavaScript code to make a turkey like this, with two trees in the background. DOES NOT HAVE TO LOOK EXACTLY LIKE THE PICTURE, it's just a reference for a turkey.

Answers

The code of JavaScript will be:

var turkey = {    

  x: 300,

  y: 200,  

  draw: function() {    

      fill(255, 0, 0);

      ellipse(this.x, this.y, 40, 40);

      ellipse(this.x - 15, this.y - 10, 25, 25);

      ellipse(this.x + 15, this.y - 10, 25, 25);

      fill(0, 0, 0);

      ellipse(this.x - 15, this.y - 10, 10, 10);

      ellipse(this.x + 15, this.y - 10, 10, 10);

      ellipse(this.x, this.y + 10, 20, 5);        

  }

}

turkey.draw();

What is JavaScript?

JavaScript, abbreviated as JS, is a programming language that, along with HTML and CSS, is a key component of the World Wide Web. As of 2022, 98% of websites on the client side use JavaScript for webpage functionality, with third-party libraries regularly added. All major web browsers include a JavaScript engine that executes code on the devices of users.

To learn more about JavaScript

https://brainly.com/question/28021308

#SPJ1

The latest web application, using default settings, is currently accepting application programming interface (API) calls over HyperText Transfer Protocol (HTTP). The environment has a moderate key management system. Even with basic server security, the API connection is vulnerable to which of the following?

Answers

Even with basic server security, the API connection is vulnerable to the following:

A. Key discovery

B. Improper error handling.

What is an API?

API is an abbreviation for application programming interface and it can be defined as a software application intermediary or computing interface that comprises tools, set of executable codes, and protocols that is designed and developed to help software applications and computers to function properly, as well enable the exchange of data.

In Computer technology, an application programming interface (API) allows a computer network device and a cloud-based server or two cloud-based servers to share data and functionality within the cloud.

In conclusion, the API connection is still vulnerable to both improper error handling and key discovery even when basic server security are deployed and installed on a web application.

Read more on API here: https://brainly.com/question/28090326

#SPJ1

Complete Question:

The latest web application, using default settings, is currently accepting application programming interface (API) calls over HyperText Transfer Protocol (HTTP). The environment has a moderate key management system. Even with basic server security, the API connection is vulnerable to which of the following? (Select all that apply.)

A. Key discovery

B. Improper error handling

C. DNS Poisoning

D. Shimming

The cost of a customers electricity bill is based on the number of units of electricity the customer uses. For the first 25 units of electricity the cost is 5 per unit for units of electricity after the first 25, the cost is 7 per unit which of the following code segments correctly sets the value of the variable cost to the cost in dollars of using numUnits units of electricity

Answers

The code segment that correctly sets the value of the variable cost to the cost, in dollars, of using numUnits units of electricity is:

IF numUnits ≤ 25

cost ← numUnits * 5

ELSE

cost ← 25 5 + (numUnits -25) 7

What is a code segment?

A code segment, often known as a text segment or just text, is a section of an object file or the equivalent piece of the program's virtual address space that includes executable instructions in computing.

Note that a code segment, often known as a text segment or simply text in the area of computing, is a section of a computer file that contains object code or an analogous section of the program's address space that contains executable instructions and directives information.

It should be mentioned that a segment can have a minimum size of 16 bytes and a maximum value of 64 kB.

Learn more about code segment:
https://brainly.com/question/20063766
#SPJ1

Full Question:

The cost of a customer's electricity bill is based on the number of units of electricity the customer uses.

- For the first 25 units of electricity, the cost is $5 per unit.

- For units of electricity after the first 25, the cost is $7 per unit.

Which code segments correctly sets the value of the variable cost to the cost, in dollars, of using numUnits units of electricity?

identify 4 benefit of managing
mediate correctly

Answers

Some benefits of managing mediate correctly are:

1. Improved communication between parties

2. Increased clarity and understanding of issues

3. More effective and efficient decision making

4. Greater satisfaction with the process and outcome

What is mediate?

Mediation is a systematic, interactive procedure in which an unbiased third party supports disputing parties in resolving dispute using specialised communication and negotiation strategies. All mediators are encouraged to actively participate in the process. Mediation is a "party-centered" technique in that it is primarily concerned with the parties' needs, rights, and interests. The mediator employs a number of tactics to steer the process in a constructive direction and to assist the parties in reaching their best settlement.

To learn more about mediate
https://brainly.com/question/28199664

#SPJ1

Complete the sentence. Privacy is about having (BLANK) our personal data.
O secrecy adout
O control over
O access to​

Answers

Privacy is about having secrecy about our personal data. Hence, option A is correct.

What is secrecy about of personal data?

These data also contain genetic, biometric, and health data in addition to personal information revealing racial and ethnic origin, political beliefs, religious or ideological views, or union membership.

Any processing of personal data need to be legitimate, equitable, and open. People should understand how their personal information is collected, used, consulted, or processed in any other way, as well as how much processing is taking place or will be taking place.

Thus, option A is correct.

For more information about secrecy about of personal data, click here:

https://brainly.com/question/28234534

#SPJ1

Answer:

secrecy about

Explanation:

Programming paradigms

Answers

A paradigm is a strategy for tackling a challenge or completing a task. Programming paradigms are ways to solve problems using a programming languages, or you could say they are ways to use tools and techniques that are already at our disposal to solve problems in a certain way.

What is a Programming Paradigm?

Programming paradigms are various organizational structures that can be used with a particular program or programming language. Each paradigm has a unique set of structures, attributes, and ideas about how to approach typical programming issues.

The reason why there are numerous programming paradigms is comparable to the reason there are numerous programming languages. It makes sense to use different paradigms for various projects because different paradigms are better suited for various types of problems.

What a Programming Paradigm is Not?

Languages and tools are not what programming paradigms are. With a paradigm, nothing can be "built." They resemble a set of ideals and principles that have been accepted, followed, and developed upon by numerous individuals.

To know more about Prograaming Paradigm, visit: https://brainly.com/question/28736751

#SPJ9

Write a program that inputs numbers and keeps a running sum. When the sum is greater than 200, output the sum as well as the count of how many numbers were entered.

Sample Run
Enter a number: 50
Enter a number: 11
Enter a number: 66
Enter a number: 23
Enter a number: 53

Sum: 203
Numbers Entered: 5
Hint: If you get an EOF error while running the code you've written, this error likely means you're asking for too many inputs from the user.

Answers

Using the knowledge in computational language in python it is possible to write a code that  inputs numbers and keeps a running sum.

Writting the code:

totalsum=0

count=0

while(totalsum<=200):

  num=int(input("Enter a number: "))

  totalsum=totalsum+num

  count=count+1

print("Sum:",totalsum)

print("Numbers Entered:",count)

See more about python at brainly.com/question/12975450

#SPJ1

Hi, I need this URGENTLY. Thank you

Answers

1) Turing proposed a rudimentary computational model that became the definition of computable. A function is deemed computable if and only if it can be computed using Turing's computation model.

Hartmanis and Stearns utilized the Turing model to create complexity classes, which was a significant step forward. This then formalized the intuitive concept of polynomial time algorithms. It aided in the development of asymptotic complexity as a method for comparing algorithm performance.

Another significant innovation was the Turing model's introduction of the concepts of an extremely rapid description of computation and a valid computation. An instantaneous definition is a string that fully explains a computation at a single point in time. A correct calculation is a series of immediate descriptions. Despite the fact that Turing's model was fairly simple, it was this simplicity that led to significant achievements in computer science.

2) The Turing test, invented by Alan Turing in 1950 as the imitation game, is a test of a machine's capacity to demonstrate intelligent behavior comparable to, or unrecognizable from, that of a person.

Put differently, the Turing Test is a way of testing whether or not a machine is able to reason like a human being in artificial intelligence (AI).

3) Electrostatic discharge (ESD) occurrences can cause damage to electronic components within your computer. ESD may accumulate on your body or an object, such as a device, and then discharge into another element, like as your computer, under specific conditions.

Touching a metal-grounded item (such as an exposed surface of the metal on your computer's I/O panel) before interacting with anything electrical will guard against ESD and discharge static energy from your body.

What is the Turing Machines?

The Turing machine is a hypothetical computer system proposed by English mathematician and logician Alan M. Turing in 1936.

Today, Turing is most known for his work as a computer scientist. In 1936, he devised the Universal Turing Machine, which served as the foundation for the first computer. In 1950, he created an artificial intelligence test that is still in use today.

Learn more about Turing Model:
https://brainly.com/question/28648571
#SPJ1

The state department that issues driver's licenses would like a police officer to be able to scan the driver's license and instantly view outstanding tickets and warrants. In one to two sentences, describe the emerging technology the state could use.

Answers

Answer:

The state could use a QR code scanner that would allow the officer to scan the code and view the outstanding tickets and warrants.

Name your sport. Output your sport name and brief description of it to your screen. Prompt the user and ask for the number of innings/sections/etc that they would like to play. Use their answer to create a TWO dimensional array of that size. Now, randomize a score for each team in each inning and store it in the array. You will need a loop to make this happen. In a second and different loop type, loop through the array and output the scores. Create a total variable to keep track of who wins. Once the second loop is finished, output the totals and announce the winner. in java

Answers

In this Java program, I have limited the number of innings to 1000, but you can support more innings as well. I am giving a description of my sport first.

Step-by-step coding:

import java.util.Random;

import java.util.Scanner;

public class MySport {

public static void main(String[] args) {

System.out.println("Welcome User. My sport for the day is MYCRICKET. MYCRICKET is played between two players.\n" + "The maximum number of innings that can be played at once in MYCRICKET is 1000\n. Each innings is played for 10 points. A player who scores atleast 6"+ "out of 10 points is the winner for that innings.\n" + " The final winner of the game is the won who won most innings");

System.out.println("Please choose the number of innings the two players are going to play. This number should be between 1 and 1000");

Scanner scanner = new Scanner(System.in);

int numOfInnings = scanner.nextInt();

if (numOfInnings < 1 || numOfInnings > 1000) {

System.out.print("This program expects the number of innings to be between 1 and 1000");

}

scanner.close();

int[][] scoreCardArray = new int[numOfInnings][2];

Random random = new Random(System.currentTimeMillis());

// loop 1

for (int i = 0; i < numOfInnings; i++) {

scoreCardArray[i][0] = 1 + random.nextInt(10);

scoreCardArray[i][1] = 10 - scoreCardArray[i][0];

}

// loop 2

int finalScoreA = 0;

int finalScoreB = 0;

System.out.println("---------------------------------------------------------");

for (int i = 0; i < numOfInnings; i++) {

System.out.println("Innings: " + (i + 1));

System.out.println("Score:");

System.out.println("player A: " + scoreCardArray[i][0]);

System.out.println("player B: " + scoreCardArray[i][1]);

System.out.println();

System.out.println("---------------------------------------------------------");

if (scoreCardArray[i][0] > 5) {

finalScoreA += 1;

}

if (scoreCardArray[i][1] > 5) {

finalScoreB += 1;

}

}

if (finalScoreA > finalScoreB) {

System.out.println("player A won the match as they won " + finalScoreA + " innings");

} else if (finalScoreB > finalScoreA) {

System.out.println("player B won the match as they won " + finalScoreB + " innings");

} else if (finalScoreA == finalScoreB) {

System.out.println("The match is a tie as both players have the same score");

}

}

}

To know more about Java, visit: https://brainly.com/question/25458754

#SPJ9

How can spreadsheets be useful to buisnesses

Answers

Answer: A lot of businesses uses spreadsheets to identify trends and organize and sort data into different categories.

Explanation:

For example, they can record sales that happens, stocks and inventory, sorting worked hours, employee profiles and expenses, etc.

Other Questions
referring to the first map, select the continents through which the equator goes. australia europe africa asia south america north america which answer choice BEST describes how the setting affects the development of the story?The passage is called A day on the trail by Jerry Miller l.Its on Newsela.I need an answer fast Which ideas justify that Mithraism and the Cult of Isis rivaled Christianity? compared to opium or cocaine the prevalence of marijhuana products among patent medications during the 19th centruy was Determine the value for k in the equation k-173.54 = 294.57 Why is photosynthesis and cellular respiration considered a cycle?In your 3-4 sentence response be sure to mention the following:Reactants of the equationsProducts of the equationsHow the product is being made An athlete run at a rate of 309 yd. /min. If one lap i 315 yard how many lap doe he run in 19 minute? developmental scientists are interested in the role of culture in development. according to their findings, which of the following cultural groups is most likely to focus holistically on interrelationships rather than analytically? A 0.80-m-tall barrel is filled with water (with a weight density of 9800 N/m). Find the waterpressure on the bottom of the barrel.Express your answer to two significant figures and include the appropriate units. A contractor purchases 6 dozen pairs of padded work gloves for $89.28. incorrectly calculates the unit price as $14.88 per pair for the expense report. What is the correct unit price? What do local and state governments do to attract local businesses and stimulate the local economy?. the nurse is caring for a client with secondary spontaneous pneumothorax. the client develops sudden shortness of breath and chest pain with a tracheal shift after harsh coughing. what should the nurse do next? if you break down in the road, you must tow your car within hours, or it might be towed away at your expense. What are some of the significant changes that occurred in the nation'sinfrastructure and in business during the late 19th century?3-Answer: PLEASE HELP ME WITH THIS!!! men have been observed to be most likely to react to stress with a(n) or response, which can involve either aggressive actions or a withdrawal response. 8 more than triple a number is -8 A data set has a lower quartile of 3 and an interquartile range of 5. Which box plot could represent this data set?510101010151515152020 252025202525 Which of the following are stages within the family life cycle?high school graduationearly parentingdeath of a spousegetting your driver's license guys guys matchingA1. public participation 2. universal suffrage 3. majority rule4. transparency 5. multi-party democracy 6. accountability BA. answerable to the public B. voting C. open for scrutiny D. discussing and issueE. presence of different choicesF. ability to decide