1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
tester [92]
2 years ago
9

Posts that you delete

Computers and Technology
1 answer:
kiruha [24]2 years ago
8 0
Answer
are visible to others may already have been shared
You might be interested in
Which input value causes the loop body to execute a 2nd time, thus outputting "In loop" again? { String s = "Go"; while ((!s.equ
Ksenya-84 [330]

Answer:

a) "Quit"  

c) "Q only

Explanation:

Given

<em>String s = "Go"; </em>

<em>while ((!s.equals("q"))&& (!s.equals("")))  {</em>

<em>System.out.println("In loop"); </em>

<em>s = scnr.next();</em>

<em>}</em>

<em />

Required

What input causes another execution

Analyzing the while condition

<em>while ((!s.equals("q"))&& (!s.equals("")))  </em>

<em />

This can be split into:

<em>!s.equals("q")) && (!s.equals(""))</em>

<em />

Meaning

When s is not equal to "q" and when s is not an empty string

<em />

In other words,

the loop will be executed when user input is not "q" and user input is not empty.

So, from the list of given options: The loop both will be executed when:

a) Input is "Quit"

c) Input is Q only

<em>Input of q will terminate the loop, hence b and d are incorrect</em>

<em />

6 0
3 years ago
What are some settings you can control when formatting columns? Check all that apply.
AURORKA [14]

Answer: 1, 3, 4, 6, 7

Explanation:

5 0
3 years ago
Read 2 more answers
If i had apple and microsoft both on my computer and they both fight what would i do
riadik2000 [5.3K]

Answer:

ok

Explanation:

5 0
3 years ago
Read 2 more answers
How does a computer interact with its environment? How is data transferred on a real computer from one hardware part to another?
Dmitriy789 [7]

Answer:

Explanation:

A computer system can interact with its environment using hardware that does so such as cameras, robotic arms, thermometers, smart devices etc. These hardware devices gather information from the environment and transfer it to the computer system in a format known as bits through binary electrical impulses. If the system is designed to be autonomous then the only human interaction needed would be the initial setup of the system and its hardware, once this is done the system does not need any more human interaction as long as nothing breaks.

8 0
3 years ago
Is a hotdog a sandwich?​
Stells [14]

Answer:

Explanation:

Yes

4 0
4 years ago
Read 2 more answers
Other questions:
  • 1) what are two functions of a pick or count condition?
    5·1 answer
  • Li Chang has recently started his own business. He plans to launch his design for an application (app) for a smartphone. All of
    9·1 answer
  • While Joe's wife Molly and daughter Sunny did not mind moving,his son Daniel was not too happy with the sudden change in their l
    12·1 answer
  • Write an application program in C++ to implement a class Fibonacci to print Fibonacci series upto N using member function series
    9·1 answer
  • create your own min function that finds the minimum element in a list and use it in a separate function
    14·1 answer
  • A goal should be___.
    10·2 answers
  • While num_printed != num_stars: print('*') Sample output with input: 3 * * *
    15·1 answer
  • Explains your analysis of the impacts of this new internet distribution on people and businesses.
    11·1 answer
  • What are the effects of information systems in the management of corona ?
    5·1 answer
  • What is the main coding language for netflix?
    14·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!