write implementation of the add (t value) method for the linkedlistadt. (implemented using linked nodes linkednode)

Answers

Answer 1

The provided implementation of the add method for the LinkedListADT using LinkedNode correctly adds a new node with the given value to the end of the list and increments the size of the list by one.

Here's an implementation of the add(t value) method for the LinkedListADT using linked nodes (LinkedNode):

public void add(T value) {
 LinkedNode newNode = new LinkedNode<>(value); // create a new LinkedNode with the given value
 if (head == null) { // if the list is empty, set the head to the new node
   head = newNode;
 } else { // otherwise, traverse the list to find the end and append the new node
   LinkedNode current = head;
   while (current.getNext() != null) {
     current = current.getNext();
   }
   current.setNext(newNode);
 }
 size++; // increment the size of the list
}

Explanation:

First, we create a new LinkedNode with the given value using the constructor that takes a value as a parameter. Then, we check if the list is empty by checking if the head is null. If it is, we set the head to the new node. Otherwise, we need to traverse the list to find the end so we can append the new node.

To do this, we start at the head and repeatedly call getNext() until we reach a node whose getNext() method returns null. This means we have found the last node in the list. Then, we set the next pointer of this last node to the new node we created earlier.

Finally, we increment the size of the list by 1 since we added a new node.

Know more about the node click here:

https://brainly.com/question/30885569

#SPJ11


Related Questions

Which of these statements about television is true?

a. "Studies show that people accept television's messages at face value, without much reinterpretation. "

b. "Television coverage can increase an area's participation in an activity. "

c. "American programming is much more popular than local television shows around the world. "

d. "Television is more popular in urban than in rural areas. "

e. "Television has little effect on culture. "

Answers

The statement that is true regarding "Television coverage can increase an area's participation in an activity." The correct option is b.

What is network coverage?

The geographical area covered by a service provider's network. Within this range, the phone will be able to complete a call by connecting to the carrier's or a partner network.

The geographic area where a radio station can communicate is referred to as its coverage in telecommunications.

Broadcasters and telecommunications companies frequently create coverage maps to show users the intended service area of a station.

The statement "Television coverage can increase an area's participation in an activity" is correct.

Thus, the correct option is b.

For more details regarding network coverage, visit:

https://brainly.com/question/28315381

#SPJ1

You have been given an assignment for a magazine. The assignment involves architectural photography. The magazine wants high-contrast black and white abstract images that follow the basics of composition. Choose four elements of composition and explain in detail how you would translate them into architectural photographs. Produce architectural photographs using the chosen rules of composition.

(Subject Photography)

Answers

Answer:

I think it should be camera

Recommend a minimum of 3 relevant tips for people using computers at home, work or school or on their SmartPhone. (or manufacturing related tools)

Answers

The three relevant tips for individuals using computers at home, work, school, or on their smartphones are ensure regular data backup, practice strong cybersecurity habits, and maintain good ergonomics.

1)Ensure Regular Data Backup: It is crucial to regularly back up important data to prevent loss in case of hardware failure, accidental deletion, or malware attacks.

Utilize external hard drives, cloud storage solutions, or backup software to create redundant copies of essential files.

Automated backup systems can simplify this process and provide peace of mind.

2)Practice Strong Cybersecurity Habits: Protecting personal information and devices from cyber threats is essential.

Use strong, unique passwords for each online account, enable two-factor authentication when available, and regularly update software and operating systems to patch security vulnerabilities.

Be cautious while clicking on email attachments, downloading files, or visiting suspicious websites.

Utilize reputable antivirus and anti-malware software to protect against potential threats.

3)Maintain Good Ergonomics: Spending extended periods in front of a computer or smartphone can strain the body.

Practice good ergonomics by ensuring proper posture, positioning the monitor at eye level, using an ergonomic keyboard and mouse, and taking regular breaks to stretch and rest your eyes.

Adjust chair height, desk setup, and screen brightness to reduce the risk of musculoskeletal problems and eye strain.

For more questions on computers

https://brainly.com/question/24540334

#SPJ8

Which one my guys I need help

Which one my guys I need help

Answers

Answer:

false

Explanation:

for the first one it is false because the toolbar is the same as the taskbar. and a taskbar just add more google windows. and to get a task bar you do SHIFT + Mouse Click on a taskbar button.

Type the correct answer in the box. Spell the word correctly.
Which programming language completes the sentence?
Translators convert code written in a high-level language to the ___
that the computer processor can execute.

Answers

Translators convert code written in a high-level language to the machine language.

Answer:

compiler

Explanation:

what does it mean to say that a database displays both entity integrity and referential integrity? and why entity integrity and referential integrity important in a database? provide an application example to support your discussion.

Answers

Entity integrity is a state in which all tuples in a table are uniquely identified by their primary key. Because nulls are not unique, the unique value requirement forbids a null primary key value.

What is integrity?Integrity is the practice of being truthful and adhering to strong moral and ethical principles and values on a consistent and unwavering basis. Integrity is defined in ethics as the honesty, truthfulness, or accuracy of one's actions.  According to the Random House Dictionary, integrity is defined as "adherence to moral and ethical principles; moral character; honesty." The state of being complete, complete, or undiminished. A good, unblemished, or perfect condition. Integrity is defined as acting in accordance with what you know to be excellent. A person of integrity demonstrates a principled commitment to values and beliefs. Regardless of the circumstances, they strive to reflect ethical standards and do the right thing.

To learn more about integrity, refer to:

https://brainly.com/question/14127696

#SPJ4

ASAP PLEASE... An employee of an organization is facing Internet issues. What should this employee do to troubleshoot this issue?A.
check for free disc space on the computer
B.
disconnect the Internet cable from the computer
C.
check the server
D.
check whether the computer has an IP address

Answers

C. check the server

Ask the user for their full name (using a single input), write a section of code below that will correctly print the users first name and last name on separate lines.

Answers

name = input("Enter your name: ")

lst = name.split()

print(lst[0])

print(lst[1])

We split the name apart at the spaces and print out the object at index 0, which is the first name and at index 1, which is the last name.

I hope this helps!

how to cite a website in apa

Answers

Authors, dates of publication, page or article titles, website names, and URLs are typically included in APA website citations. Start your citation with the article's title if there is no author listed.

What is APA?

Academic materials, including books and scholarly journal articles, should be written and formatted according to the APA style. In the field of behavioral and social sciences, such as sociology, education, health sciences, criminal justice, and anthropology, in addition to psychology, it is frequently used to cite sources. The Publication Manual of the American Psychological Association (APA), the style manual of the American Psychological Association, describes it. The rules were created to promote communication clarity, choice of words that "best decreases prejudice in language," and reader comprehension in the social and behavioral sciences. Numerous textbooks and hundreds of other scientific journals (including journals related to medicine and other public health) frequently follow the APA style, either in its entirety or with some modifications.

To know more about APA visit:

https://brainly.com/question/30480527

#SPJ4

in c++ Write a program that will read in an array of 10 numbers. Have the program find the largest, the smallest, find the numbers above 0, find how many numbers = 0, or find the numbers less than 0.

Answers

Using the knowledge in computational language in C++ it is possible to write a code that have the program find the largest, the smallest, find the numbers above 0, find how many numbers = 0, or find the numbers less than 0.

Writting the code:

#include<stdio.h>

main()

{

int a[10],i,sum=0;

printf("enter array\n");

for(i=0;i<10;i++)

{

scanf("%d",&a[i]);

sum=sum+a[i];

}

printf("sum of array =%d",sum);

}

See more about C++ at  brainly.com/question/19705654

#SPJ1

in c++ Write a program that will read in an array of 10 numbers. Have the program find the largest, the

A C++ program is one that is used to create high-performance programs. A program that will read an array of 10 numbers can be created by using a chart array.

What is a program?

A program is a specified set of codes that are used to run the computer. They are set instructions for the computer.

The C++ program is;

#include<stdio.h>

main()

{

int a[10],i,sum=0;

printf("enter array\n");

for(i=0;i<10;i++)

{

scanf("%d",&a[i]);

sum=sum+a[i];

}

printf("sum of array =%d",sum);

}

Therefore, a C++ program that will read an array of 10 numbers is given above.

To learn more about the program, refer to the below link:

https://brainly.com/question/28959658

#SPJ1

Translate the following code into hexidecimal and to octadecimal


....
110000100111000011001100111

Answers

Answer:

1

Explanation:

me want brainliest pwease

Who must yeild at T-intersections?

Answers

Answer: the driver on the street

Explanation:

which type is key consist of a set of one or more attributes that collectively identify uniquely a tuple in the relation?

Answers

The key type that consists of a set of one or more attributes that collectively identify uniquely a tuple in the relation is called a candidate key.

In a relational database, a candidate key is a combination of one or more attributes that can uniquely identify a tuple in a relation. A relation can have multiple candidate keys, but one of them is chosen as the primary key. The primary key is used to establish relationships with other tables and is also used to enforce data integrity constraints.

When choosing a candidate key, it is important to ensure that it uniquely identifies each tuple and does not contain any duplicate values. If a candidate key contains duplicate values, it cannot be used as a primary key.

You can learn more about candidate key at

https://brainly.com/question/29845331

#SPJ11

"necessarily is the mother of computer " justify this statement with respect to the evolution of computer.​

Answers

Explanation:

Computers in the form of personal desktop computers, laptops and tablets have become such an important part of everyday living that it can be difficult to remember a time when they did not exist. In reality, computers as they are known and used today are still relatively new. Although computers have technically been in use since the abacus approximately 5000 years ago,

________ is software with processing capabilities outside of what the operating system of the consumer provides. A. Computer wear B. Eveningwear C. Middleware D. Processing wear

Answers

The correct answer is C) Middleware. Middleware refers to software that provides additional processing capabilities beyond what the consumer's operating system offers.

It acts as a bridge between different applications, enabling them to communicate and interact with each other. Middleware helps facilitate the integration of different systems and components by providing services such as data management, message passing, security, and transaction management. It abstracts the complexities of underlying hardware and operating systems, allowing applications to focus on their specific tasks without having to directly deal with low-level details. Middleware plays a crucial role in enabling interoperability and enhancing the functionality and performance of software systems.

To learn more about Middleware  click on the link below:

brainly.com/question/15101632

#SPJ11

Which is the greatest potential drawback to a liberal market?


increased monopolization

decreased technological advancement

lack of consumer regulations

increased cybercrime


you can only pick one, if u get it wrong ima visit u tonight.

Answers

Answer; increase momonolatizion
Hope helps

Please post to this discussion board after completing tasks under Module 16. Discuss the following topics: o What does VBA stand for? o If we needed to edit VBA code, what do we do and where do we go to view the code? • Does Excel give its users the ability to write their own VBA code? How? • When writing code using VBA, is there a way of pausing the code until information or data is supplied by a user? Please explain. o How do we "debug" a macro? Please explain the procedure for "debugging" which includes an explanation of "stepping through" the macro.

Answers

The Visual Basic for Applications or VBA is a type of programming language that is used in conjunction with Microsoft applications like Excel.

VBA is a powerful tool that can help automate tasks and make Excel easier to use and more efficient. The VBA code is used to create macros that can be run in Excel. It is possible to edit VBA code using the Visual Basic Editor (VBE). To access the VBE, click on the Developer tab in the Ribbon and then click on the Visual Basic button. This will open the VBE. The code can be edited in the VBE, and then the changes can be saved and the macro can be run again.Excel gives its users the ability to write their own VBA code. To do this, click on the Developer tab in the Ribbon and then click on the Visual Basic button. This will open the VBE. From here, you can create a new module and start writing code. Once the code is written, you can save it and then run the macro.When writing code using VBA, it is possible to pause the code until information or data is supplied by a user. This can be done by using the InputBox function. This function will display a dialog box that prompts the user to enter a value. Once the user has entered a value, the code will continue to run.To debug a macro, you can use the VBE's debugging tools. This includes the ability to set breakpoints in the code and to step through the code line by line to see where errors are occurring. To set a breakpoint, click on the line of code where you want to start debugging and then press F9. When you run the macro, it will stop at this line of code, allowing you to step through the code and see what is happening. To step through the code, use the F8 key.

Learn more about VBA :

https://brainly.com/question/31607124

#SPJ11

The first commercial computer was developed by *

Microsoft
Apple
IBM
Intel

Answers

Answer:

Microsoft

Explanation:

Microsoft is the first ad

answer♡

microsoft, i think.

There are many different computer peripherals that are available to optimize your computing system’s specific needs. A graphic designer may need a different setup than a programmer. A student might need different tools than a gamer. With new peripheral devices being invented and created every day, you’ll need to be able to do a bit of research to find out which tools are necessary for your computing system. This includes evaluating each tool and making sure it is within your budget as well.

Research a personalized peripheral device (not the standard mouse, keyboard, etc) that could be beneficial for each person listed below. Include why you suggest the peripheral and include its cost (if it is known).

Jamal is a graphic designer.
Felicia is a computer programmer.
Credence is a student in college.

Answers

Answer:

Jamal could use a drawing pad. He could draw things out with a stylus and have it on his PC to manipulate. They cost as little as $40.

Felicia could use a mechanical keyboard. Although these are better for nearly everyone, someone who is doing a lot of typing and needing both speed and accuracy should get one. They start at around $50.

Credence could use a printer to print out work to hand in when needed. A decent one starts at around $100.

To use
as an effective note-taking tool, students should write or type thoughts, questions, or ideas on them while reading.

Answers

Answer:

B. Sticky notes

Explanation:

To use sticky notes as an effective note-taking tool, students should write or type thoughts, questions, or ideas on them while reading.

What are effective notes taking?

You remain awake because of it. Using words compels you to pay attention and enables you to be recognized for your greatness (or at the same time as analyzing a textbook).

It makes analysis possible. According to studies on studying, actively engaging with the material by listening and then summarizing what you hear will help you comprehend and remember the details later. Effective note-taking causes information to be recalled better.

It will be easier to remember the information for the test if you repeat the information more frequently in specific formats, such as note-taking or flashcards. Checks can be another way of remembering things.

Therefore, students should type or write down their thoughts, questions, or ideas on sticky notes while reading in order to use them as an efficient note-taking tool.

To learn more about effective notes, refer to the link:

https://brainly.com/question/29790338

#SPJ6

A data flow diagram (DFD) does not show the external entities that provide data to the system or receive output from the system.
False
True

Answers

The statement "A data flow diagram (DFD) does not show the external entities that provide data to the system or receive output from the system" is false because a data flow diagram (DFD) is a graphical representation of a system or business process that uses symbols such as arrows, circles, and rectangles to depict data flows and the entities that interact with them.

DFDs are utilized to define system requirements graphically, so stakeholders can comprehend the data movement within an application or system. The data flow diagram represents the external entities that interact with the system. External entities are entities that interact with the system, like clients, suppliers, or other systems. The external entities provide input data to the system and receive output data from the system.

A data flow diagram (DFD) is a modeling tool that helps depict the inputs, processes, and outputs of an information system. The external entities are depicted in a data flow diagram (DFD). In other words, external entities are those that are outside the system but play an important part in its operations.

You can learn more about data flow at: brainly.com/question/31765091

#SPJ11

Sending a message to a reference variable before the corresponding object has been instantiated will cause what

Answers

Null Pointer
Source: Quizlet

Which operating system function has a steeper learning curve and can potentially break the system without careful use of its operations

Answers

Answer:

Command line interface

Explanation:

Given that Command Line Interface requires a user to typed in commands accurately, otherwise a spelling error of the command will lead to failure or can break the system.

Also, by using command line interface requires a user to avoid a wrong instruction, otherwise the system may break and will require starting from the beginning.

Hence, Command-Line-Interface function has a steeper learning curve and can potentially break the system without careful use of its operations

What is more important, the individual or the collective (the group)? Why?
Least 2 paragraphs

Answers

Answer:

It's complicated.

Explanation:

I don't want to write the entire thing for you. However, there are multiple ways to think about this. Individualism vs. collectivism (groupthink) is a big debate itself.

---

Couple of points for the individual:

- Choice of personal freedom

- Not overly complicated (focuses on the self)

- The needs of the self comes before the needs of the many (in some situations, this might prove helpful)

Couple of points for the group:

- Shared thoughts and feelings may result in a bigger camaraderie than the thoughts of the self

- Compassion for humanity vs. selfishness

- A tendency to forge alliances

---

Interpret these for yourself. One's own mind is crucial in understanding the philosophical structures of life's biggest questions. And for it only being 2 paragraphs. Like, isn't that 10 sentences? I don't know what your teacher is looking for but your own personal thoughts on the matter may be good writing.

---

Here's a very-hard-to-see-the-text-but-helpful website, from the City University of New York (this talks about the theories of the individual and group interest in relation to government, but it may provide useful to you in understanding): https://www.qcc.cuny.edu/socialsciences/ppecorino/intro_text/Chapter%2010%20Political%20Philosophy/Group_vs_Individual_Interest.htm

19.2% complete Question The video card on your computer only has a single, 24-pin grey output, but you want to connect it to an HD TV. Which adapter should you use to connect your computer's digital signal to your HD TV's to display video

Answers

To connect your computer's digital signal to your HD TV for video display, you should use an HDMI adapter that converts the 24-pin grey output into an HDMI connection.

HDMI (High-Definition Multimedia Interface) is a common standard for transmitting high-quality audio and video signals. If your computer's video card only has a 24-pin grey output, it is likely a DVI (Digital Visual Interface) port. To connect it to an HD TV, you would need a DVI to HDMI adapter. This adapter converts the digital signal from the computer's DVI port into an HDMI connection that is compatible with the HD TV. With the adapter in place, you can simply connect one end to the computer's DVI port and the other end to the HDMI port on the TV to display video.

For more information on video card visit: brainly.com/question/32170276

#SPJ11

1. Many photographs tell a story. What is the story of this photograph? What is happening? Where is the photograph taken? Why is the photograph taken?

2. Good photographs create an emotion or feeling. What emotion does this photograph make you feel? How does the photographer create this emotion in the photograph?

1. Many photographs tell a story. What is the story of this photograph? What is happening? Where is the

Answers

Answer:

Answer below! Hope I am correct!( I know what happened in that picture, I am sure!)

Explanation:

What is the story of this photograph?

The story is... I think there is a earthquake going on in San Francisco...

What is happening?

There is a earthquake and people are trying to run away & trying to stay safe...

Where is the photograph taken?

Looks like a long time ago, maybe it’s in California (San Francisco) April 19 or 18, 1906.

Why is the photograph taken?

It was a really important & significant earthquakes! So it will be part of history & will be remembered....

What emotion does this photograph make you feel?

It makes me feel really horrible to see that there is a earthquake, I think many people died :( ......

How does the photographer create this emotion in the photograph?

By all the smokes... I can also see people trying to run away from the earthquake.. also I can tell they are really scared!

Hope this helps!

By:BrainlyAnime

How does a wireframe relate to a storyboard?

A. They are the same thing
B. The storyboard comes after the wireframe
C. The wireframe comes after the storyboard
D. They are unrelated

Answers

A storyboard is a graphic representation of how your video will unfold, shot by shot.

What is wireframe?

A wireframe is commonly used to layout content and functionality on a page which takes into account user needs and user journeys. Wireframes are used early in the development process to establish the basic structure of a page before visual design and content is added.A wireframe is a diagram or a set of diagrams that consists of simple lines and shapes representing the skeleton of a website or an application's user interface (UI) and core functionality. Get a more in-depth explanation of what UX wireframes are, what they look like, and how they can benefit your team.The Three Main Types of WireframesLow-fidelity wireframes.Mid-fidelity wireframes.High-fidelity wireframes.

To learn more about story refers to:

https://brainly.com/question/30235501

#SPJ1

A storyboard is a graphic representation of how your video will unfold, shot by shot.

What is wireframe?

A wireframe is commonly used to layout content and functionality on a page which takes into account user needs and user journeys. Wireframes are used early in the development process to establish the basic structure of a page before visual design and content is added.

A wireframe is a diagram or a set of diagrams that consists of simple lines and shapes representing the skeleton of a website or an application's user interface (UI) and core functionality. Get a more in-depth explanation of what UX wireframes are, what they look like, and how they can benefit your team.

The Three Main Types of Wireframes

Low-fidelity wireframes.

Mid-fidelity wireframes.

High-fidelity wireframes.

To learn more about story refers to:

https://brainly.com/question/11125030

#SPJ1

how does credit card fraud detection work when might detection fail?

Answers

what is thefullform of fortran​

Answers

Answer:

The full form of Fortran is Formula Translation. This language was developed in the year 1957 by John Backus.

Explanation:

found this on the internet

which of the following statements about byte pair encoding is true? responses byte pair encoding is an example of a lossy transformation because it discards some of the data in the original string. byte pair encoding is an example of a lossy transformation because it discards some of the data in the original string. byte pair encoding is an example of a lossy transformation because some pairs of characters are replaced by a single character. byte pair encoding is an example of a lossy transformation because some pairs of characters are replaced by a single character. byte pair encoding is an example of a lossless transformation because an encoded string can be restored to its original version. byte pair encoding is an example of a lossless transformation because an encoded string can be restored to its original version. byte pair encoding is an example of a lossless transformation because it can be used to transmit messages securely.

Answers

The statement "byte pair encoding is an example of a lossless transformation because an encoded string can be restored to its original version" is true.

Explanation:

1. Byte Pair Encoding (BPE): BPE is a data compression technique used to transform a sequence of symbols or characters into a more compact representation. It is often used in natural language processing and text compression tasks.

2. Lossy Transformation: A lossy transformation is a data compression method that intentionally discards some information from the original data to achieve higher compression rates. Lossy transformations result in a compressed version that cannot be restored to an exact replica of the original data.

3. Lossless Transformation: A lossless transformation is a data compression method that retains all the information from the original data and can be restored to its original form without any loss of data.

In the case of byte pair encoding, the statement correctly states that it is a lossless transformation. When using BPE, pairs of characters or symbols that occur frequently in the input data are replaced by a single, previously unused symbol. This process iteratively continues, merging the most frequent pairs, until a desired compression level is achieved.

The important aspect of BPE is that the encoding is reversible. An encoded string can be fully restored to its original version by performing the reverse process, which involves expanding the merged symbols back into their original pairs. This property ensures that no information is lost during the encoding and decoding process, making byte pair encoding an example of a lossless transformation.

It's worth noting that although BPE is lossless in terms of preserving the original information, the compressed representation may still result in a higher level of compression compared to the original data.

To know more about byte pair encoding, please click on:

https://brainly.com/question/31262160

#SPJ11

Other Questions
according to a recent survey, what percentage of community college students had gone hungry in the past 30 days because of lack of money? The aids quilt was started by a group of churches volunteers multination corporations schools . National Science Day is celebrated in India on the 28th of February each year to mark the discovery of the Raman Effect by the physicist C.V.Raman in 1928. The Science Club at your school is planning to celebrate National Science Day' and shall invite Mr. Jayant Narlikar, an eminent (well known) astrophysicist, to give a talk. Write a notice, as the Head Boy or Head Girl of your school to inform and invite the students to attend the event. Shereena made the following table she cant decide if its arithmetic or geometric sequence look at the picture bellow and answer the two questions pleaseeeeee What is the best way to approach ur audience in a more persuasive way! a recently admitted patient undergoing nutritional screening has an admission weight of 130 lbs. and states that her usual weight is 145 lbs. based on the information provided, what is the patient's percent of usual weight? . cuanto es ? porfa es para un examen What dose for Acute Radiation Syndrome for:Bone MarrowGICNS is 2 f's and 4 c's a passing grade please help, what is x and y?? Murray University invested over $450,000 in a customized learning management system so that professors could put courses online and use the Internet to deliver course content and communications to students. After the first year of use, only 20% of the faculty were using the system. Administrators were frustrated to learn that most faculty found the system difficult to use and that students also had difficulty understanding how to find information on the system. This case is an example of which of the following information deficiencies?a.Lost or bypassed datab. User-fierce interfacesc. Data silosd. Non-standardized data What will drink 3 taste like in comparison to drink 2? aDrink 3 will taste more sweet. bDrink 3 will taste the same as drink Drink 2. cDrink 3 will taste less sweet. Mary bought 5 pairs of gloves and 2 hats for $95. Mary received a text from her friend Joanna ask her to buy 4 pairs of gloves and a hat. Mary told Joanna that the cost was $70. How much does each pair of gloves cost? How much does the hat cost? What is the slope of the line that goes through the points (-7, 10) and (1,4)? at a cost of $1600/oz, how much would you have to pay for a solid cubic foot of gold?useful information: (1 oz = 28.4 g; 1 in = 2.54 cm) CAN SOMEONE HELP ME OUT PLEASE AND THANK YOU a reinforcement schedule in which every correct response is followed by a reinforcer is a(n) ____ reinforcement schedule. In which number is the value of 2 ten times the value of the 2 in 37.632? what is the major reason why the caregiver relationship is the most common relationship among siblings in traditional culture? g how is atp produced in mammalian cells under aerobic conditions?1. photophosphorylation 2. oxidative phosphorylation 3. substrate-level phosphorylation 4. phosphorolysis i. 2, 3 and 4 ii. 2 and 3 iii. 1 iv. 1 and 2 v.