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
Grace [21]
3 years ago
12

1. The programmer intends for this pseudocode to display three random numbers in the range of 1 through 7. According to the way

we’ve been generating random numbers in this book, however, there appears to be an error. Can you find it?
Computers and Technology
1 answer:
Ivahew [28]3 years ago
8 0

Answer:

Display random(1, 7).

Explanation:

In the following question, some details of the question are missing that is pseudocode.

//  Program shows three random numbers

// the range of 1 to 7.

Declare the Integer count

// Shows three random numbers.

For count = 1 To 3

Display random(7, 1)

End For

In the following pseudocode, it generates three random numbers from 1 to 7 because the for loop statement is starts from 1 and end at 3 so the loop will iterate three times and every time it generates one random number from 1 to 7. So, the following are the reason that describe the answer is correct according to the scenario.

You might be interested in
To achieve the maximum confidentiality and integrity found in a completely secure information system would require that the syst
fgiga [73]

Answer:

The answer is "Option a".

Explanation:

Privacy is a set of rules, which limiting access to the data, and integrity ensures impartiality, accuracy, and reliability is assured to ensure, which authorized persons can have secure access to the data.

The system needs no access for everyone to achieve its secrecy and integrity contained in a completely safe data system, that's why the given statement is "true".

5 0
3 years ago
An array similar to a phone book has 1000 names arranged as names [0], names[1]....names[999]. Nancy wants to search a name X in
sammy [17]

Answer:

b. The names in the list should be in alphabetical order.

Explanation:

A binary search is an algorithm used for searching for an item in a list or array. The algorithm first sorts the data structure into order and then divides it into halves. If the searched item is less than the middle item in the list, then the algorithm searches for the target in the first half, else, in the second half. This reduces the time complexity of the search.

5 0
3 years ago
Which of the following is necessary for opening email attachments under most circumstances? The correct RAM The correct drivers
svet-max [94.6K]

Answer:

The Correct Software

Explanation:

Some mail application have built in support to view the attachment like in a phone. While others don't, so if that is the case your device will attempt to open the file according to its extension (.exe, .txt, .js etc.) If your device doesn't have the correct software to open it, then the other things don't matter.

4 0
3 years ago
The smallest unit of a spreadsheet, and it is formed by the intersection of a row and a column.
slega [8]
The answer would be: B. Cell
5 0
3 years ago
Write a Python class, Flower, that has three instance variables of type str, int, and float, that respectively represent the nam
MA_775_DIABLO [31]

Answer:

The python class is shown on the first uploaded image

Explanation:

6 0
3 years ago
Other questions:
  • Which element of a business document provides additional information but is not a part of the body of the text?
    13·2 answers
  • A. experiment by purposely misconfiguring the gateway address on pc-a to 10.0.0.1. what happens when you try and ping from pc-b
    14·1 answer
  • _____ rows indicate that there is different formatting for odd and even rows.
    14·1 answer
  • Write a function stats that takes an array and the number of elements in the array. Then, it computes and prints the minimum val
    8·1 answer
  • Items that are cut or copied are placed on the Clipboard.
    6·2 answers
  • Allie is working on the development of a web browser and wants to make sure that the browser correctly implements the Hypertext
    7·1 answer
  • What makes someone an expert? What potential issues are there with this?
    10·2 answers
  • X = 10<br> y = 20<br> x &gt; y<br> print("if statement")<br> print("else statement")
    6·1 answer
  • _____ allows a function or operator to perform different tasks depending on the types of the arguments or operands. Group of ans
    10·1 answer
  • Why we use cluster computing and hadoop framework for big data sysetm​
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!