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
Naily [24]
3 years ago
7

Given the following code:

Computers and Technology
1 answer:
Elena-2011 [213]3 years ago
7 0
Let's go through step by step, starting from inside the while loop.


Is i > 0? Yes. Continue.

ITERATION 1:
i now equals 10 (100 / 10)
j now equals 1 (1 + 10 % 5)

Is i > 0? Yes. Continue.

ITERATION 2:
i now equals 10 (10 / 1)
j now equals 0 (1 + 1 % 5)

Is i > 0? Yes. Continue.

ITERATION 3:
i = i / j; now generates a DivideByZeroException, thus we get a run-time error.<span />
You might be interested in
The _____ displays numbers with a fixed dollar sign to the left of the number, a comma every three positions to the left of the
slava [35]

Answer: the accounting number format

Explanation:

The standard accounting number format usually contains a dollar sign, a thousands separator and two decimal points, the dollar sign is locked to the far left side of the cell in an enclosure.

How to apply the accounting number format ;

I, select the range and right-click and choose Format Cells.

Ii. In the Format Cells Dialog box, with the Number Tab selected, choose Accounting

Iii. Accept the options shown below and click Ok.

The Accounting Format has been applied.

4 0
3 years ago
Which Cisco IOS command is used to disable a device from performing naming lookups?
Ilia_Sergeevich [38]

Answer:

No ip dns server.

Explanation:

The DNS stands for domain name services. It can be statically or dynamically configured to a workstation from the DHCP request. It resolves the ip address of a server to it's name, so a client is not burdened by memorizing the ip address of every website.

In the cisco ios,  the "NO" command is used to negate other commands, so when a "no ip dns server" is used configured on a device, it stops every website name lookups.

3 0
4 years ago
A ____ web site is a fraudulent site that has been set up to be indistinguishable from the legitimate site it is pretending to b
Vladimir [108]
Your answer is spoofed.
Thx and take care
7 0
3 years ago
Complete the statement below using the correct term.
Tpy6a [65]

Answer:

for your digital marketing degree you would need at least a merit in your gcse's for computer science or media production or with a bachelor’s degree in computer science or information technology

6 0
3 years ago
Suppose income is 4001, what is the output of the following code? if (income &gt; 3000) { System.out.println("Income is greater
grandymaker [24]

Answer:

Output:

Income is greater than 3000

Explanation:

In conditional statements, either the if statement is processed or the else if.

In this scenario, both the given conditions fit for the given output but when if block will be processed, the else if block will be skipped by default.

So the output will only be the out phrase of if block which is:

Income is greater than 3000.

8 0
3 years ago
Other questions:
  • _____ provide the standards, syntax, statements, and instructions for writing computer software
    14·1 answer
  • Explain the concept of scalability. How would you respond?
    15·1 answer
  • Write a script that calculates the common factors between 8 and 24. To find a common factor, you can use the modulo operator (%)
    14·1 answer
  • Refer to the exhibit. The web servers WS_1 and WS_2 need to be accessed by external and internal users. For security reasons, th
    12·1 answer
  • PLEASE HELPP!!!!!
    14·1 answer
  • _____ is a method of computing that delivers secure, private, and reliable computing experiences based on sound business practic
    7·1 answer
  • What command would Emile use in his word processing software to insert a bar chart that will automatically adjust to changes mad
    6·2 answers
  • If you know the unit prices of two diffferent brands of an item,you are better able to
    8·1 answer
  • WILL GIVE BRAINLIEST!!!!
    14·2 answers
  • Davids family took him to a hospital as he was suffering from a sericous ailment
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!