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
nordsb [41]
3 years ago
9

Assume that you have implemented a sequence class. Describe the mySequence object (i.e., items with the correct order and the po

sition of the current index) after each line of the following code
sequence mySequence;
mySequence.insert(3)
mySequence.insert(2);
mySequence.attach(10);
mySequece.advance();
mySequence.attach(11);
mySequence.insert(4);
mySequence.insert(6);
mySequece.advance();
mySequence.remove_current();
mySequence.insert(9);
Computers and Technology
1 answer:
djyliett [7]3 years ago
7 0

Answer:

The final sequence is:  2 10 3 6 9(c) 11

Explanation:

The first line of code creates the sequence object "mySequence". Every insert() method inserts the item before the current item to make a new current item. The attach() method adds a new current item after the previous current item. The advance() method makes the next item to the current item the new current item.

The remove_current method of the sequence object removes the current item of the sequence.

You might be interested in
1) The critical path of a network is the A) shortest time path through the network. B) path with the fewest activities. C) path
german

Answer:

D

Explanation:

source

https://hbr.org/1963/09/the-abcs-of-the-critical-path-method

7 0
3 years ago
How do you take a green screen out of the video while editing?
ElenaW [278]

you should get something called  filmora you should be able to find a tutorial on how to use it

5 0
3 years ago
A restaurant bill comes to $28.35. Find the total cost if the tax is 6.25% and a 20% tip is left on the amount before tax.​
Salsk061 [2.6K]

Not sure how this is computers and technology

3 0
3 years ago
Ites and days, on one of the slides in her school presentation. Which element can she use to
Lady_Fox [76]
<h2>Answer:</h2><h3>A text</h3><h3>or</h3><h3>C chart</h3>

8 0
3 years ago
Read 2 more answers
From your first impressions, write down what first comes to mind as to what is good or bad about the way the website/system work
suter [353]

Answer: I will consider the factors below

Usability: A measure of a user’s ability to arrive on a site, use it easily, and complete the desired task. Remember, we’re designing websites, where there is flow, rather than focusing on page design and assuming everything will flow later.

Explanation:

1.) It should be easy for the user to become familiar with and competent in using the user interface on the first contact with the website. If we take a travel agent’s website that a designer has made well, the user should be able to move through the sequence of actions to book a ticket quickly.

2.) It should be easy for users to achieve their objective through using the website. If a user has the goal of booking a flight, a good design will guide him/her through the easiest process to purchase that ticket.

3.) It should be easy to recall the user interface and how to use it on subsequent visits. So, a good design on the travel agent’s site means the user should learn from the first time and book a second ticket just as easily.

4.) We also consider user's experience

5.) The hosting server of the website

6.) Usability: A measure of a user’s ability to arrive on a site, use it easily, and complete the desired task. Remember, we’re designing websites, where there is flow, rather than focusing on page design and assuming everything will flow later.

4 0
4 years ago
Other questions:
  • Computers have become easier to use and more powerful over time.
    12·2 answers
  • Why are video games interesting?
    5·1 answer
  • "Suppose there is a class Alarm. Alarm has two class variables, code which contains a String value representing the code that de
    10·1 answer
  • Write a SELECT statement that returns these column names and data from the Order_Items table:
    14·1 answer
  • In a virtual memory system, each process must have its own page table.(True or False?)
    13·1 answer
  • Define function print_popcorn_time() with parameter bag_ounces. If bag_ounces is less than 3, print "Too small". If greater than
    14·1 answer
  • What effect does screen resolution have on how graphics are displayed?
    7·1 answer
  • Cookies Are Us runs a series of 100 cookie stores across the Midwestern United States and central Canada. At the end of each day
    13·1 answer
  • Create a page using PHP for a business website that will ask the user to enter his or her name into text boxes and will display
    5·1 answer
  • RIGHT ANSWER GETS BRAINLEST
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!