F1Visa after H1 Extension denial

Hi, H1b Extension was denied recently in “specialty occupation” category. I had applied for extension before I94 Expiry and left the country immediately after extension. Will my F1 Visa application have an impact because of H1 Extension denial?

It should not have any impact. Both are very different categories of visas.

I have a similar question.
Background - was working in the US on H1B visa in 2019. My I-94 was valid until Apr 30, 2019. My employer applied for an H1B extension on Apr 22, 2019 so I continued working in the US. On Nov 14, 2019 USCIS denied my H1B extension petition. My lawyer received the decision notice a few days later and I immediately made plans to exit US. I finally left on Nov 25, 2019 (~11 days after my extension was denied).
Question - I’m now applying for F1 visa. In DS-160, how should I answer this question - "Have you ever been unlawfully present, overstayed the amount of time granted by an immigration official or otherwise violated the terms of a U.S. visa? (Yes/No)"