Are these sentences simple, compound, complex, or compound complex?

1. Tara opened the door, but when she saw the snow, she decided to stay inside.

2. Alaska's flag was designed by a seventh-grade boy who had entered a contest.

1. compound complex because it has two independent clauses and one dependent clause

2. complex because it has one independent clause and one dependent clause.

Thank you so much!

It is helpful

To determine whether the sentences are simple, compound, complex, or compound-complex, we need to analyze their structure.

1. Tara opened the door, but when she saw the snow, she decided to stay inside.

This sentence is a compound-complex sentence because it contains both a coordinating conjunction ("but") and a dependent clause ("when she saw the snow"). The main clause is "Tara opened the door," while the dependent clause acts as an adverbial clause explaining why Tara decided to stay inside.

2. Alaska's flag was designed by a seventh-grade boy who had entered a contest.

This sentence is a complex sentence because it contains a dependent clause ("who had entered a contest") modifying the noun "boy." The main clause is "Alaska's flag was designed by a seventh-grade boy."

To determine the structure of similar sentences, look for coordinating or subordinating conjunctions and whether they contain multiple clauses.