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
8090 [49]
4 years ago
15

What does the following code do? Assume "list" is an array of int values, "temp" is some previously initialized int value, and "

c" is an int initialized to 0. for (int j=0; j < list.length; j++) if (list[j] < temp) c++;
Computers and Technology
1 answer:
____ [38]4 years ago
6 0

Answer:

Counting the number of elements in the array list smaller than temp.

Explanation:

We have an array list,a previously initialized integer temp and a an integer c initialized with 0.

In the code a for loop is used to iterate over the array and it is checking if the element at jth index is less than temp if it is then increasing the variable c by 1.

Hence when the loop ends the c will be having the count of the integers in array list that are smaller than temp.

You might be interested in
I wanna learn coding, programming (to create my own websites, games, apps, etc)
AfilCa [17]

Answer: computer science cause that help you learn about the computer as well and the programming

Explanation:

8 0
4 years ago
8.2: Lottery Winners A lottery ticket buyer purchases 10 tickets a week, always playing the same 10 5-digit "lucky" combinations
julia-pushkina [17]
Idk bro but pick the first one that comes to mind
3 0
3 years ago
If we have a priority queue storing approximately million numbers, and the bottom level is "full", which of the following statem
Anna007 [38]

Answer:

The width of the lowest level of the structure is approximately 500,000 is a false statement.

7 0
3 years ago
How does a spreadsheet affect the column of numerals when it sorts the column
Setler [38]

You have several options when you want to enter data manually in excel. Data can be put into more than one cell, which should be an important key to your answer. In <u>SEVERAL CELLS AT THE SAME TIME</u> or more. The data can be entered in dates, text, times, or numbers. Fortmatting the data can be done in a possibility of ways. Therefore, several settings is what you can adjust.

6 0
3 years ago
Read 2 more answers
What feature is available to add a suggestion in the margin of someone else's document?​
Ksenya-84 [330]

Answer:

The correct answer to this question is given below in the explanation section.

Explanation:

The correct question is:

what feature is available to add a suggestion in the margin of someone else's document. The given features in this question are:

  • Annotation
  • Comments
  • Highlight and
  • Bookmark

The correct answer to this question is the Comments.

Because you can add comments in someone else's document and only Comments features in word document allow you add comments on the someone else's document.

While the other options are not correct because:

The Annotation works with grammar or writing, Highlight feature allows you to mark important information or text in your document. while Bookmark allows you to save your space in a document.

4 0
3 years ago
Other questions:
  • A user launches an application on an Android device. Once the software loads, the user reports that when turning the tablet to w
    14·1 answer
  • What is the purpose of interrupts? How does an interrupt differ from a trap? Can traps be generated intentionally by a user prog
    11·1 answer
  • You are an ISP. For the Address Block 195.200.0.0/16 a. If you have 320 Customers that need 128 addresses/customer - will there
    6·1 answer
  • Google Glass, glasses that allow you to take pictures and search online by speaking commands, are introduced at a technology tra
    8·1 answer
  • Mrs. Sims polled her students about which social media app they use most. Which type of chart would best display this data?
    9·1 answer
  • Nancy finds it difficult to locate emails in her Inbox. What action should she take to locate a particular type of email instant
    10·1 answer
  • How can a user restore a message that was removed from the Deleted Items folder?
    10·1 answer
  • Micheal is the project manager in a company. He wants his organization to use technology for higher revenue and productivity. Wh
    13·1 answer
  • Can anybody explain to me why it says i have a message,but when i go to my inbox it's empty??
    6·2 answers
  • Desmond is buying a new computer for editing photos and videos. A friend says he will need a large amount of primary and seconda
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!