Status change from F-1 OPT to H1B

In 2019, My F-1 status got changed to H1B. H1B Visa start date is 10/01/2019.

1. Will I be considered as a resident alien or nonresident alien for 2019 tax filing purposes?

 

I got married on 12/10/2018 and my spouse was with me in 2019 for 03/14/2019-12/31/2019.

2. Can I claim her as a dependent to get a tax benefit?

She doesn't work and we're planning to apply ITIN for her with 2019 tax filing. Please advise.