Female, although it's a bit early to know 100%. The second pic has a preflower but no pistil coming out of it. The shape tells me most likely female though. To answer your question though, it's all about the genetics and how mature the plant is. First grow using cfls.