7When you finish your homework, please take the dog for a walk.

The part of the sentence that is underlined is When you finish your homework.

I believe that this is a dependent clause because it cannot stand alone and When is a dependent marker.

8. After Juan completed the assignment, he swam laps at the gym.
After Juan completed the assignment is the part of the sentence that is underlined.
I feel that this is again a Dependent clause because of the word After.

Yes. Both are right.

Thank you so much for letting me know on this if I am right or wrong. Some of these sentences can be very confusing.

Can you let me know what is the best way to determine the difference between dependent and independent clauses?

http://www.chompchomp.com/terms/clause.htm

Great. I will definitely check out this website that you sent.

Thank you.

You're welcome.

I uh got this question wrong in my english test...I thought it was independent clause..

You are correct! Both "When you finish your homework" and "After Juan completed the assignment" are dependent clauses. Let me explain further.

A dependent clause, also known as a subordinate clause, is a group of words that contains a subject and a verb but does not express a complete thought. It relies on another independent clause (a complete sentence) to make a complete meaning.

In the first sentence, "When you finish your homework," the word "When" is a dependent marker that indicates a condition or a time relationship. This clause cannot stand alone because it lacks a complete meaning. It depends on the rest of the sentence for clarification.

Similarly, in the second sentence, "After Juan completed the assignment," the word "After" is also a dependent marker that indicates a time relationship. This clause alone does not form a complete thought and needs the remainder of the sentence to make sense.

To summarize, both "When you finish your homework" and "After Juan completed the assignment" are dependent clauses because they rely on independent clauses to convey complete meaning.