Answer:
10
Explanation:
An enqueue operation is a function that adds an element(value) to a queue array. A dequeue operations removes an element from a queue array. Queue arrays follow a first-in-first-out approach, so elements that are first stored in the queue are removed/accessed first(enqueue operations add elements at the rear of the queue array).
The following operations leave 10 elements in the queue of array size 12 after its done:
10 enqueue operations= adds 10 elements
5 dequeue operations= removes 5 elements( 5 elements left in queue)
6 enqueue operations= adds 6 elements(11 elements in queue)
10 dequeue operations= removes 10 elements(1 element left in queue)
8 enqueue operations= adds 8 elements(9 elements in queue)
2 dequeue operations= removes 2 elements(7 elements left in queue)
3 enqueue operations= adds 3 elements(10 elements in queue)
Therefore there are 10 elements in the queue after enqueue and dequeue operations.
<em>6.65 </em><em>is displayed as the</em><em> output </em><em>of the </em><em>block of code</em>
<em />
In python programming, * denotes multiplication. To get the output, we will substitute the value of x and y given into the result to have;
<em> result = x * y - x / (y)</em>
<em> result = 7 * 20 - 7 / (20)</em>
<em> result = 140 - 7 / (20)</em>
<em> result = 133/20</em>
<em> result = 6.65</em>
<em />
<em>This shows that </em><em>6.65 </em><em>is displayed as the</em><em> output </em><em>of the </em><em>block of code</em>
<em />
The question is incomplete;
Let the code segment be
<em>>>> x = 7
</em>
<em>>>> y = 20
</em>
<em>>>> result = x * y - x / (y)
</em>
<em>>>> result </em>
<em>output:__?</em>
<em />
Learn more here: brainly.com/question/24240957
Answer:
Option D is correct.
Explanation:
The Digital Revolution applies to technological improvements from optical automated and mechanical machines to that of the digital technology that is currently accessible. The era began well into the year of 1980s, and continues. That Digital Revolution still marked as the start of the Era of Info.
- It's the evolution of electrical and analog to digital technologies.
- Its the advent of digital technologies has also altered the manner of people communication.
- The following things are only done through computers, cellphones, as well as the web.
<span><BODY> …</BODY>
It identifies the document's body area, which contains the Web page contents that appear in the browser window.
Hope this is the answer you are looking for.</span>
The answer is D copyright