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
Dafna11 [192]
3 years ago
6

2.

Computers and Technology
2 answers:
taurus [48]3 years ago
5 0

Answer:

b

Explanation:

BaLLatris [955]3 years ago
4 0

Answer:

B. i < list.length

Explanation:

This question is terribly worded, but I assume the meaning is which answer will not result in an error if it's used in the while condition of the for loop.  The correct answer is b.  i < list.length is telling the loop to continue as long as the variable i is less than the length of the array list.

Answers C and D could potentially be valid under certain circumstances, but very unusual.  Answer A will give an error as list[list.length] will give an undefined value (assuming this is indeed javascript and not some other languge).

You might be interested in
Application for a lawn-mowing service. The lawn-mowing season lasts 20 weeks. The weekly fee for mowing a lot under 40 square fe
Alex

The prompt to the user for the length and width of a lawn is; Done by the program created below in Java using JOPTIONPANE

<h3>How do you write a Program in Java?</h3>

// library

import java.util.*;

// class definition

class Main

{// main method of the class

public static void main (String[] args) throws java.lang.Exception

{

  try{

   // object to read inputs

     Scanner scr=new Scanner(System.in);

     System.out.print("Enter length of lawn:");

     // read the length of lawn

     int length=scr.nextInt();

     System.out.print("Enter width of lawn:");

     // read the width of lawn

     int width=scr.nextInt();

     // find area of lawn

     int area=length*width;

     //if area is less than 400

     if(area<400)

     {// Weekly mowing fee

         System.out.println("Weekly mowing fee is:$25");

         // seasonal fee

         System.out.println("20-week seasonal fee is:$"+(25*20));

     }

     // if area >=400 and area <600

     else if(area>=400 && area<600)

     {

        // Weekly mowing fee

         System.out.println("Weekly mowing fee is:$35");

         // seasonal fee

         System.out.println("20-week seasonal fee is:$"+(35*20));

     }

     // if area >=600

     else if(area>=600)

     {

        // Weekly mowing fee

         System.out.println("Weekly mowing fee is:$50");

         // seasonal fee

         System.out.println("20-week seasonal fee is:$"+(50*20));

     }

  }catch(Exception ex){

      return;}

}

}

Read more about Java Programming at; brainly.com/question/18554491

3 0
2 years ago
Write<br> algorithm to read 100 numbers<br> then display the largest.
jekas [21]

Answer:

see picture

Explanation:

There is no need to store all the values, you can just keep track of the highest. Up to you to create a numbers file with 100 values.

3 0
3 years ago
The computer that can be used for performing the daily life tasks that might include emailing, browsing, media sharing, entertai
ad-work [718]

Answer:

Yes, this statement is completely true

Explanation:

Yes, this statement is completely true. A personal computer is a multimedia machine and can be used to complete an incredibly large number of tasks with ease. Such tasks include all of the ones listed in the question. Aside from that other tasks depend more on the skill level and understanding of the user. For example, an individual who has a vast understanding of technology and programming can create software to perform absolutely any task they may want or need to do.

5 0
3 years ago
What type of socket should be used with an air impact wrench
Vikentia [17]
<span>Black sockets should be used, but the color is not the reason why. Chrome sockets will cause splits to form in the socket walls pretty quickly, after only a few uses. But the black sockets are that color because they have gone through a process called Parkerizing that coats the surface of the socket in order to provide more resistance when being used and protect the socket against corrosion.</span>
3 0
3 years ago
What was Ada Lovelace's contribution to computer science?
Alika [10]

Answer:

She made the first computer.

Explanation:

Augusta Ada King, Countess of Lovelace (née Byron; 10 December 1815 – 27 November 1852) was an English mathematician and writer, chiefly known for her work on Charles Babbage 's proposed mechanical general-purpose computer, the Analytical Engine.

8 0
2 years ago
Read 2 more answers
Other questions:
  • Barr the Bear has started a business to sell fish to Poe and his fellow penguins. The penguin customers submit many fish orders,
    12·1 answer
  • A(n) __________ is a device or software that is designed to block unauthorized access while allowing authorized communications.
    13·1 answer
  • A file to which information is written is referred to as a(n) ____ file.
    8·1 answer
  • Write a script that will read from a file x and y data points in thefollowing format:
    9·1 answer
  • Why would an information systems security practitioner want to see network traffic on both internal and external network traffic
    5·1 answer
  • Task 1: Alex has created the following code using Scratch and expected it to move backwards and forwards across the screen. Howe
    13·1 answer
  • Write the code for the following problem.
    9·1 answer
  • write an algorithm and draw a flowchart to calculate the sum of of the first 10 natural numbers starting from 1​
    13·1 answer
  • Dean has been using computers for some time now, but he is unfamiliar with a number of utility programs. In order to better main
    12·1 answer
  • 5. Javascript can be used for building apps and​
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!