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
dalvyx [7]
4 years ago
5

Suppose an initially empty stack S has performed a total of 15 push operations, 12 top operations, and 13 pop operations ( 3 of

which returned null to indicate an empty stack ). What is the current size of S
Computers and Technology
1 answer:
geniusboy [140]4 years ago
5 0

Answer:

The current size is 5

Explanation:

From this question,

You popped a total of 13-3 = 10 elements (3 was subtracted because these 3 pops are null and does not change the size of the stack). Therefore only 10 does.

- A total of 15 elements were pushed

- top operations cannot change the size or state of the stack so we are to ignore this.

The current size of s is therefore

15-10

= 5 elements

Another way to calculate this is 15-(13-3) = 5

You might be interested in
ANIME IS LIFE<br> GET WRECKED LIGHT
murzikaleks [220]

Answer:

i love anime

Explanation:

8 0
3 years ago
Read 2 more answers
Why do interest inventories compare your interests with the interests of others? A. to compare you with other people to see if y
Natasha2012 [34]

The answer is C: to match you with a career that someone with your same interests enjoys

People with similar interest have a high chance of having similar personalities. Interest inventories compare a person’s current interest with those of people in other occupations. This is done for the sole purpose of determining the preferred occupation for the individual. An example is a person taking the strong-Campbell interest inventory. He or she would receive a report comparing his or her interests to those already working in field like engineering, management, and accounting.  

6 0
3 years ago
Which one of these statements about digital signatures is true? A digital signature:
lbvjy [14]

Answer:

<h3>A. Is used to add a personal touch to e-mail messages.</h3>

Explanation:

<h3>A digital signature—a type of electronic signature—is a mathematical algorithm routinely used to validate the authenticity and integrity of a message (e.g., an email, a credit card transaction, or a digital document). ... Digital signatures are significantly more secure than other forms of electronic signatures.</h3>

4 0
3 years ago
What weight pencil is recommended for darkening lines and for lettering? *
Olenka [21]

Answer: darkened

Explanation: darkened

7 0
4 years ago
Read 2 more answers
Why cant I give 5 points on Brainly. Its locked on 10 points. If I keep giving 10 points, my points will run out so fast!!
Aleks04 [339]
Your giving 5 points right now.
8 0
3 years ago
Read 2 more answers
Other questions:
  • Can someone please tell me how to divide 2 columns in Ms excel and put the values in one column.
    15·1 answer
  • One of the most obvious initial changes in windows vista is the ____ interface
    10·1 answer
  • Xanadu was to be a full-blown multimedia computer that could embody any medium.a. Trueb. False
    6·1 answer
  • A machine that is used to print newspaper is a
    12·2 answers
  • You have created a PivotChart showing sales by quarter by sales rep. Before presenting it to management, you notice thename of a
    7·1 answer
  • PLEASE HELPP!!!!!
    14·1 answer
  • Define algorithm<br> Write a small algorithm
    15·2 answers
  • Managers can use __ software to discuss financial performance with the help of slides and charts
    11·1 answer
  • Which of the following is the best example of an installation issue
    11·2 answers
  • Provide a class Letter for authoring a simple letter. In the constructor, supply the names of the sender and the recipient: def
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!