Which of the following statements expresses why the following code is considered bad form? for (rate = 5; years-- > 0; System.out.println(balance)) . . . I. unrelated expressions in loop header II. doesn't match expected for loop idiom III. loop iteration is not clear II and III only I and II only I and III only I, II, and III

Answers

Answer 1

Answer:

l and ll only that is the answer

Answer 2

Answer:I , II , and III

Explanation:


Related Questions

A college marketing department has a networked storage device that uses the IP address 10.18.7.5, TCP port 443 for encryption, and UDP port 4365 for video streaming. The college already uses PAT on the router that connects to the Internet. The router interface has the public IP address of 209.165.200.225/30. The IP NAT pool currently uses the IP addresses ranging from 209.165.200.228-236. Which configuration would the network administrator add to allow this device to be accessed by the marketing personnel from home

Answers

Answer:

The answer to this question can be defined as follows:

Explanation:

The static NAT stands for (static Network Address Translation), which enables the user to modify a single interpretation for a local second-order to the external environment addresses, and all IP and port numbers were also transcribed inside to random traffic as well as from outside with the internal traffic.

It is used to map network traffic by an internal IP address from a static external IP address. It provides a fixed conversion for actual addresses onto maps. It offers Internet access to the network equipment via a private LAN with such a private IP address which is not recorded.Please find the attachment of the ip address.

A binary search function is searching for a value that is stored in the middle element of an array. How many times will the function read an element in the array before finding the value?

Answers

Answer: 1 time.

Explanation:

A binary function is also known as a half-interval search is a search algorithm to find the position of a given element x within a well-sorted array []. Binary search compares the target value to the middle element of the array.It ignores half of the elements just after one comparison. it compares x with the middle element.

So, the function read an element one time in the array before finding the value.

Which of the following statements is true? A. Ethernet connections allow the most mobility for users. B. Maximum advertised connection speeds are for Wi-Fi connections only. C. Every computer user can expect the same Internet connection speed. D. The actual speed of a network can differ from the maximum advertised speeds. E. Wi-Fi is the best option for intensive Internet users who have high data

Answers

Answer:

A

Explanation:

Ethernet connections allow the most mobility for users

Employees often have more than one laptop-so one or both of them are always handheld. For this cause, companies turn to the versatility and scalability of wireless networks. It is convenient to grant workers connectivity through a wireless network, which they can use to connect several devices. Tablets, smartphones and laptops can all be connected to the network, which enables employees to access

Answer: D. The actual speed of a network can differ from the maximum advertised speeds



Explanation:

just got it correct on the test

Write a pseudocode algorithm which inputs numeric scores and outputs how many of them are over 100. The end of the data is signalled by a user input of -1.

Answers

Answer:

calculateCountGreaterThan100()

{

declare variable count with zero

while True

 {

 input numeric values from user

 if user inputted value > 100

  increment the count

 if user inputted value == -1

  break the loop

 }

print the value of count

}

Explanation:

First of all, let us have a look at the meaning of a pseudocode:

A pseudocode is nothing but a informative way of expressing our code in simple plain English.

It is not written in programming language so it does not have any syntax rules.

Here, we are asked to write pseudocode algorithm for inputting numeric scores and output the number how many of them are greater than 100. The end of numbers is signalled by a user input of -1.

The answer is:

calculateCountGreaterThan100()

{

declare variable count with zero

while True

 {

 input numeric values from user

 if user inputted value > 100

  increment the count

 if user inputted value == -1

  break the loop

 }

print the value of count

}

Here, we have declared a variable with initial count as 0.

Then, in a loop we are taking input from user in which user is giving integer input.

If the value is greater then zero, the count is incremented.

If the value is -1, we come out of the loop and then print the count value.

Pseudocode algorithm are algorithms that are implemented using pseudocodes, and it does not obey the syntax of a programming language.

The Pseudocode algorithm

The pseudocode algorithm is as follows:

count = 0

input num

while num != -1:

    if num > 100:

         count++

print(count)

The flow

The flow of the above pseudocode algorithm is as follows

First, variable count is initialized to 0Next, we take input for numNext, a loop is repeated until the input is -1During each loop, the inputs over 100 are countedLastly, the count of inputs greater than 100 is printed

Read more about pseudocode algorithm at:

https://brainly.com/question/11623795

Asia pacific and Japanese sales team from cloud kicks have requested separate report folders for each region.The VP of sales needs one place to find the reports and still wants to retain visibility of the reports in each folder. What should a consultant recommended to meet this requirement.

Answers

Answer:

B) Create all new regional folders and move the reports to the respective region folder with viewer access.

Explanation:

Below are the options

A) Create grouped folders, keeping the top region folder sharing settings and limiting the sharing settings for the grouped folders for each region.

B) Create all new regional folders and move the reports to the respective region folder with viewer access.

C) Create all new regional folders and move the reports to the respective region folder with subscribe access.

D) Create subfolders, keeping the top region folder sharing settings and limiting the sharing settings for the subfolders for each region

In order to required reports at one place and also wants to retain the visibility for each folder the consultant should suggest that all new regional folders should be created and afterwards it would be moved to their relevant region folders by involving the viewer access feature so that the VP should access it anytime

Hence, the correct option is B.

Based on the information given, the correct option will be B. Create all new regional folders and move the reports to the respective region folder with viewer access.

From the information given, it was stated that the VP of sales needs one place to find the reports and still wants to retain visibility of the reports in each folder.

Therefore, it's important to create all new regional folders and move the reports to the respective region folder with viewer access.

Learn more about folders on:

https://brainly.com/question/20262915

Other Questions
if the edges of the base of a rectangular prism are 8 cm and 6 cm, and the diagonal is 102, what is the volume of the solid? find the value of x. 43 Identify the elements that have the following abbreviated electron configurations.A) [Ne] 3s23p5.B) [Ar] 4s23d7.C) [Xe] 6s1. Which parent function is represented by the graph?A. The quadratic parent function B. The absolute value parent function C. An exponential parent function D. The linear parent function An inventor claims to have developed a heat pump that produces a 200-kW heating effect for a 293 K heatedzone while only using 75 kW of power and a heat source at 273 K. Justify the validity of this claim. Draw a Lewis structure for one important resonance form of HBrO4 (HOBrO3). Include all lone pair electrons in your structure. Do not include formal charges in your structure. If every point on a figure is moved 4 units to the left and up 6 units, which statement istrue about the transformed image? a:b=7.2How many times larger is a than b? Does anyone understand this?PLEASE HELP ASAP Women are often kept out of prestigious, high paying positions for all the reasons EXCEPT: a) Males actively aim to keep women out of these jobs. b) They have been socially grouped with other women making comparable amounts of money.c) They have historically not held those positions. Based on its structure, which word most likely means "someone who takes advantage of circumstances"?O credulousO disdainfulO proactiveO opportunistic What is the wave length if the distance from the central bright region to the sixth dark fringe is 1.9 cm . Answer in units of nm. Which questions best help determine whether a news source is reputable and objective? Select three options. The following data points represent the number of children in each household on Maple Street. \qquad 0, 1, 2, 1, 20,1,2,1,20, comma, 1, comma, 2, comma, 1, comma, 2 Find the mean number of children. Four-year-old Carmen is at the checkout counter with her mother. She sees a candy bar that she really wants. When her mother isn't looking, she grabs one, opens it, and takes a bite from it. Her mother notices the chocolate on her face as they are leaving and asks Carmen where she got chocolate. Carmen happily shows her mom the chocolate bar. Carmen's mom tells her that she should not steal and tells Carmen that she is now in trouble. Carmen never steals again. According to Freud, why would Carmen never steal again? PLEASE ANSWER FAST PLEASE!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! The point (1, 1) is on the terminal side of angle , in standard position. What are the values of sine, cosine, and tangent of ? Make sure to show all work. When using the cost of production report to analyze the change in direct materials cost per equivalent unit compared to conversion cost per equivalent unit, an investigation may reveal that direct materials costs:_____.a. will never decrease due to the way the cost is calculated. b. will never increase due to the way the cost is calculated. c. may increase or decrease between periods, depending on the fluctuation of the cost of the direct materials.d. will only increase if conversion costs increase as well. para que se aprende como docente Evaluate the expression 23^0-15^1+18^0+(43-12) The 4th movement of Berlioz's Symphony Fantastique depicts the execution of the ____________________ for murdering his beloved a.older psychopath b.drug addict c.older criminal d.young musician Solve the equation for X. 2(2x-4)=3(x+4) A -4 B 4 C 20 D 6