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
prohojiy [21]
3 years ago
10

What is the output of this program?

Computers and Technology
2 answers:
cupoosta [38]3 years ago
4 0

Answer:

The output is 20

Explanation:

Given:

<em>numA = 2 </em>

<em>for count in range(5,8): </em>

<em>     numA = numA + count </em>

<em>print(numA)</em>

<em />

Required:

Determine the output

The first line of the program initializes numA to 2.

The next iteration sum up integers from 5 to 7 (i.e. 8 - 1) to the initialized value of numA

So, numA becomes

numA = 2 + 5 + 6 + 7

numA = 20

Hence, the output is 20

Charra [1.4K]3 years ago
3 0

Answer:

20

Explanation:

assuming the print statement is not indented, the program effectively calculates 2+5+6+7.

The range(...) is <em>excluding </em>the end value (8 in this case).

You might be interested in
Let PALINDROME_DFA= | M is a DFA, and for all s ∈ L(M), s is a palindrome}. Show that PALINDROME_DFA ∈ P by providing an algorit
denis-greek [22]

Answer:

Which sentence best matches the context of the word reticent as it is used in the following example?

We could talk about anything for hours. However, the moment I brought up dating, he was extremely reticent about his personal life.

Explanation:

Which sentence best matches the context of the word reticent as it is used in the following example?

We could talk about anything for hours. However, the moment I brought up dating, he was extremely reticent about his personal life.

8 0
3 years ago
A private network that is accessible only to employees of the company that created it is called:
Trava [24]
Intranet is the answer to this question.

Google definition: An intranet is a network based on TCP/IP protocols (an internet) belonging to an organization, usually a corporation, accessible only by the organization's members, employees, or others with authorization.
6 0
3 years ago
13. An Internet Service Provider (ISP) is a company that builds the routers and wired connections that allow individuals to acce
valentinak56 [21]

Answer:

C. redundant networks are more reliable.

Explanation: I just got a 100 on a test and that question was asked.

7 0
3 years ago
Explain different types of port?​
lukranit [14]

Answer:

.serial port

.VGA port

.Modem port

explain A port is a channel through which a device communicate with the operating system.

4 0
2 years ago
How many instructions could fit into a 256 byte memory unit, given a 32-bit architecture?
andriy [413]

Answer:

64

Explanation:

We have given the 32 bit architecture

We know that 1 byte =8 bit

So memory of given architecture 32 bit \frac{32}{8}=4bytes

Total memory = 256 bytes

So total number of instruction that fit into 256 bytes \frac{256}{4}=64

So total 64 instruction can be fit in 256 byte memory.

3 0
3 years ago
Other questions:
  • If you ping a device, you are using the______protocol
    11·1 answer
  • Questions 1 )When does a spring tide take place?
    14·2 answers
  • During slideshow mode hitting the b key will do which of these
    5·1 answer
  • _ models are non visual ways of communicating how someone thinks about something in the natural world
    12·1 answer
  • In cell I8, enter a nested logical function to display Need to Remodel if the apartment is unoccupied (No) AND was last remodele
    9·1 answer
  • FIGURE A-1—Use the information in this chart to answer Question 1.
    6·1 answer
  • Which of the following is an example of a long-term goal?Developing a lifetime savings plan
    11·1 answer
  • Add me on Fortnite. Epic is smashman892. *Ik it sux but it's an old account* Comment ur epic
    6·2 answers
  • LEARNING TASK 3 about: REAMING THE RIGID STEEL CONDUIT.
    11·1 answer
  • What do you think that private information like passwords pin number will be guarded or shared with the public? why?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!