Do I need to take ELM?

So I took precalc in 11th grade and passed only first semester, but I took precalc again 2nd semester of 12th grade, my question is am I exempt from the ELM if i pass 2nd semester?

You need to pass Algebra I/II and Geometry plus one advanced class (Pre Calc) by end of Senior or have high enough ACT/SAT math scores for an exemption.
Since you will not have 2nd semester Pre-Calc grade available prior to enrolling, you will conditionally accepted until you provide proof- final transcript.
What are your tests scores?

The Entry Level Mathematics (ELM) Examination is designed to assess and measure the level of mathematics skills acquired through three years of rigorous college preparatory mathematics coursework (Algebra I and II, and Geometry) of students entering the California State University (CSU). The CSU ELM must be completed by all non-exempt entering undergraduates prior to enrollment in any course, including remedial courses. Students who score 50 or above on the ELM will be placed in college-level mathematics classes.

Exemptions from the ELM are granted only to those who present proof of one of the following:

A result of Standard Exceeded: “Ready” for CSU or participating CCC college-level coursework in mathematics on the CAASPP Early Assessment Program (EAP) exam.
A result of Standard Met: “Conditionally Ready” for CSU or participating CCC college-level coursework in mathematics on the CAASPP Early Assessment Program (EAP) exam and met the conditional requirement.
The Conditional requirement may be met by completing an approved math course in the 12th grade and earning a grade of “C” or better. Students who do not meet the conditional requirement will need to participate in the CSU’s Early Start Program, unless exemption was met through one of the following:
New SAT: A score between 520-560 on the mathematics section of the new SAT Test*
Old SAT: A score between 490 - 540 on the mathematics section of the old SAT Reasoning Test
A score between 20 - 22 on the mathematics section of the ACT Test
New SAT: A score of 570 or above on the mathematics section of the new SAT*
Old SAT: A score of 550 or above on the mathematics section of the old SAT Reasoning Test
SAT Subject Test: A score of 550 or above on the SAT Subject Test in Mathematics (level 1 or level 2)**
A score of 23 or above on the ACT Mathematics Test
A score of 3 or above on the College Board Advanced Placement Calculus AB or Calculus BC
A score of 3 or above on the College Board Advanced Placement Statistics examination
Completion and transfer to CSU of a college course that satisfies the requirement in Quantitative Reasoning, provided such a course was completed with a grade of “C” or better

I passed pre-calc in 11th grade, however only 1st semester, and now im taking only a 2nd semester pre calc now that im in 12th, If i pass, is that an exemption?

or do i need to take both precalc semesters in one year.

Are your ACT/SAT scores high enough to exempt you? What are your scores?

If you pass Pre-Calc then you do not have to take the ELM but depending upon intended major, you may have to take a Math placement test at your CSU.

Also if you are not sure you will pass 2nd semester of Pre-Calc, you can take the ELM as insurance.