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
nydimaria [60]
3 years ago
6

In your guessing game, you replaced dashes in blanks when the user guessed a correct letter by using a string slice. Which line

of code will replace the character with an index of n with the guessed letter?
blanks = blanks(n) + letter + blanks(n+1)
blanks = blanks[:n] + letter + blanks[n+1:]
blanks = blanks(:n) + letter + blanks(n+1:)
blanks = blanks[n] + letter + blanks[n + ]
Computers and Technology
1 answer:
professor190 [17]3 years ago
6 0

Answer:

B: blank = blanks[:n] + letter + blanks[n+1:]

Explanation:

While I don't know what the different sections of this line of code does, I was able to find my answer by looking through the section of code below the videos and found this identical line. This is sometimes the best technique for finding answers to questions like this because it was rather hard to find otherwise. Hope this helps :)

You might be interested in
Only the Windows Server 2016 Standard and Datacenter editions are compatible with the common language runtime used in Microsoft
Yakvenalex [24]

Answer:

False

Explanation:

All Windows Server 2016 version are compatible with the common language runtime used in Microsoft .NET Framework and Microsoft Visual Studio .NET.

Also, Windows Server 2019 is compatible, along with Windows Server 2012 in all its versions

No regular Windows editions are compatible, but that is not strange, because they are not meant to be servers

6 0
3 years ago
Namespaces cannot have namespaces as members.<br><br> True<br><br> False
Anna71 [15]

Answer:

False

Explanation:

namespaces can be nested. That is we can have a hierarchy of namespaces.

For examples suppose we have a namespace top. Within this we have another namespace first. At the next level we have a namespace called second. Then we have a class MyClass as a member of this namespace second. Then the complete description of the class will be as follows:

top::first::second::MyClass

5 0
4 years ago
Suppose Host A wants to send a large file to host B. The path from Host A to Host B has three links, of rates R1 = 500 kbps, R2=
Lorico [155]

Answer:

The answer is 500 kbps

Explanation:

Consider the given data in the question.

R1 = 500 kbps

R2=2 Mbps

R3 = 1 Mbps

Now as it is mentioned that there is no other traffic in the network.

Thus,

throughput of the file = min {R1,R2,R3}

throughput of the file = min {500 kbps, 2 Mbps, 1 Mbps}

T/P of the file = 500 kbps

7 0
3 years ago
Which of the following is true of Shareable Content Object Reference Model (SCORM)? Group of answer choices guidelines that allo
dalvyx [7]

Answer:

The correct answer to the following question will be Option B (Control how well the e-learning artifacts interact technically with LMS).

Explanation:

SCORM seems to be a compilation of requirements and criteria for commodities used during e-learning. This describes the different ways to communicate here between information or data on the customer side as well as the run-time context.

  • The specification also specifies how to bundle e-learning material for functionality, this is achieved by using the Bundle Exchange Format, an exchangeable ZIP file.
  • It is essentially a manual that informs developers as well as content providers on how to make their apps or programs compliant with several other e-learning apps including applications.

The other three options are not related to the given scenario. So that option B is the right answer.

6 0
3 years ago
A disk has 4000 cylinders, each with 8 tracks of 512 blocks. A seek takes 1 msec per cylinder moved. If no attempt is made to pu
shutvik [7]

Answer:

The answer is below

Explanation:

a)

If the blocks of a file are not put together, that is for nonadjacent block of files to each other, the time (t) taken to read a 100 block file is:

t = (average seek + rotational latency + transfer time) * 100 block

Average seek = 5 msec, rotational latency = 10 msec and transfer time = 20 microsec = 0.02 msec

t = (5 + 10 + 0.02) * 100 = 1502 msec

b)

If the blocks of a file are put together, that is for adjacent block of files to each other, the time (t) taken to read a 100 block file is:

t = (seek time * mean interblock distance + rotational latency + transfer time) * 100 block

seek time = 100 microsec = 0.1 msec, rotational latency = 10 msec and transfer time = 20 microsec = 0.02 msec, mean interblock distance = 2 cylinders

t = (0.1*2 + 10 + 0.02) * 100 = 1022 msec

3 0
3 years ago
Other questions:
  • Jackson is teaching the decimal number system. He wants his students to know how to expand numbers by powers of 10. Which is the
    13·2 answers
  • Which of the following statements is correct? A. The columns will be listed in the results in the same order they are stored in
    7·1 answer
  • ______ is the software that prevents people from being able to access your personal information.
    8·2 answers
  • Array unsortedArr contains an unsorted list of integers.
    10·1 answer
  • Write a program with the total change amount as an integer input, and output the change using the fewest coins, one coin type pe
    13·1 answer
  • Add a clause for identifying the sibling relationship. The predicate on the left handside of the rule should be sibling(X, Y), s
    15·1 answer
  • To print photographs in color.​
    7·1 answer
  • Which of the following statements about content-based filtering is TRUE?
    9·1 answer
  • Tax preparation software can help prepare and file your taxes by _________.
    7·1 answer
  • Write a short essay about the best rotary-wing aircraft ever. It must be a specific aircraft and consist of three paragraphs. In
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!