Forum'da ara:
Ara


« Önceki başlık :: Sonraki başlık »  
Yazar Mesaj
Mesaj14.08.2007, 16:25 (UTC)    
Mesaj konusu: oss puan hesaplama kodları burda!

İLGİLENENLER İÇİN OSS PUANI HESAPLAMA HTML KODLARI bu kodları sitenize yapıştırın sitenize gelen ziyaretçi sınavda yaptığı netleri yazdığında oss puanı hesaplansı.
<tbody>
<tr>
<td valign="top" width="100%" height="15"><center></center>
<p align="center"> </p>
</td>
</tr>
<tr>
<td valign="top" width="100%" height="17">
<table height="100%" cellspacing="0" cellpadding="0" width="734" background="../../../Documents%20and%20Settings/MEHMET/Desktop/Mef%20Dershaneleri_dosyalar/ic_zemin.gif" border="0">
<tbody>
<tr>
<td valign="top" width="1"> </td>
<td valign="top" width="730">
<script language="javascript" type="text/javascript">

var Mat1Dogru;
var Mat1Yanlis;
var Mat1Net;

var Fen1Dogru;
var Fen1Yanlis;
var Fen1Net;

var Tur1Dogru;
var Tur1Yanlis;
var Tur1Net;

var Sos1Dogru;
var Sos1Yanlis;
var Sos1Net;

var Mat2Dogru;
var Mat2Yanlis;
var Mat2Net;

var Fen2Dogru;
var Fen2Yanlis;
var Fen2Net;

var EdSos2Dogru;
var EdSos2Yanlis;
var EdSos2Net;

var Sos2Dogru;
var Sos2Yanlis;
var Sos2Net;

var SAY1;
var EA1;
var SOZ1;

var Say1Puan;
var Say2Puan;

var Soz1Puan;
var Soz2Puan;

var EA1Puan;
var EA2Puan;



function OSSPuanHesabi ()
{
Mat1Dogru = document.form1.Mat1Dogru.value;
Mat1Yanlis = document.form1.Mat1Yanlis.value;
Mat1Net = document.form1.Mat1Net.value;

Fen1Dogru = document.form1.Fen1Dogru.value;
Fen1Yanlis = document.form1.Fen1Yanlis.value;
Fen1Net = document.form1.Fen1Net.value;


Tur1Dogru = document.form1.Tur1Dogru.value;
Tur1Yanlis = document.form1.Tur1Yanlis.value;
Tur1Net = document.form1.Tur1Net.value;

Sos1Dogru = document.form1.Sos1Dogru.value;
Sos1Yanlis = document.form1.Sos1Yanlis.value;
Sos1Net = document.form1.Sos1Net.value;


Mat2Dogru = document.form1.Mat2Dogru.value;
Mat2Yanlis = document.form1.Mat2Yanlis.value;
Mat2Net = document.form1.Mat2Net.value;

Fen2Dogru = document.form1.Fen2Dogru.value;
Fen2Yanlis = document.form1.Fen2Yanlis.value;
Fen2Net = document.form1.Fen2Net.value;


EdSos2Dogru = document.form1.EdSos2Dogru.value;
EdSos2Yanlis = document.form1.EdSos2Yanlis.value;
EdSos2Net = document.form1.EdSos2Net.value;

Sos2Dogru = document.form1.Sos2Dogru.value;
Sos2Yanlis = document.form1.Sos2Yanlis.value;
Sos2Net = document.form1.Sos2Net.value;


Sos1Net = (Sos1Dogru - (Sos1Yanlis * 0.25));
Fen1Net = (Fen1Dogru - (Fen1Yanlis * 0.25));
Tur1Net = (Tur1Dogru - (Tur1Yanlis * 0.25));
Mat1Net = (Mat1Dogru - (Mat1Yanlis * 0.25));

Sos2Net = (Sos2Dogru - (Sos2Yanlis * 0.25));
Fen2Net = (Fen2Dogru - (Fen2Yanlis * 0.25));
EdSos2Net = (EdSos2Dogru - (EdSos2Yanlis * 0.25));
Mat2Net = (Mat2Dogru - (Mat2Yanlis * 0.25));


Sos1Net = parseFloat (Sos1Net);
Fen1Net = parseFloat (Fen1Net);
Tur1Net = parseFloat (Tur1Net);
Mat1Net = parseFloat (Mat1Net);

Sos2Net = parseFloat (Sos2Net);
Fen2Net = parseFloat (Fen2Net);
EdSos2Net = parseFloat (EdSos2Net);
Mat2Net = parseFloat (Mat2Net);


document.form1.Mat1Net.value = Mat1Net;
document.form1.Fen1Net.value = Fen1Net;
document.form1.Tur1Net.value = Tur1Net;
document.form1.Sos1Net.value = Sos1Net;

document.form1.Mat2Net.value = Mat2Net;
document.form1.Fen2Net.value = Fen2Net;
document.form1.EdSos2Net.value = EdSos2Net;
document.form1.Sos2Net.value = Sos2Net;



Say1Puan = 124.873 + (Tur1Net * 0.746) + (Sos1Net * 0.527) + (Mat1Net * 2.500) + (Fen1Net * 2.064);
EA1Puan = 120.004 + (Tur1Net * 2.125) + (Sos1Net * 0.844) + (Mat1Net * 2.402) + (Fen1Net * 0.630);
Soz1Puan = 119.664 + (Tur1Net * 2.637) + (Sos1Net * 1.954) + (Mat1Net * 0.795) + (Fen1Net * 0.625);

Say2Puan = 126.750 + (Tur1Net * 0.787) + (Sos1Net * 0.525) + (Mat1Net * 1.312) + (Fen1Net * 0.919) + (Mat2Net * 1.312) + (Fen2Net * 0.919);
EA2Puan = 122.951 + (1.073 * Tur1Net) + (0.805 * Sos1Net) + (1.207 * Mat1Net) + (0.537 * Fen1Net) + (1.073 * EdSos2Net) + (1.207 * Mat2Net);
Soz2Puan = 122.999 + (1.341 * Tur1Net) + (0.939 * Sos1Net) + (0.805 * Mat1Net) + (0.536 * Fen1Net) + (1.341 * EdSos2Net) + (0.939 * Sos2Net);


document.form1.Say1Puan.value = Say1Puan;
document.form1.EA1Puan.value = EA1Puan;
document.form1.Soz1Puan.value = Soz1Puan;

document.form1.Say2Puan.value = Say2Puan;
document.form1.EA2Puan.value = EA2Puan;
document.form1.Soz2Puan.value = Soz2Puan;
}

</script>
<form method="post" name="form1">
<table cellspacing="1" cellpadding="5" width="460" align="center" bgcolor="#999999" border="0" class="Style1">
<tbody>
<tr bgcolor="#999999">
<td colspan="5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><strong><font color="#ffffff">ORTAK TESTLER</font></strong></font></div>
</td>
</tr>
<tr bgcolor="#f5f5f5">
<td width="92"> </td>
<td width="92" bgcolor="#eeeeee">
<div align="center"><strong><font face="Arial, Helvetica, sans-serif" size="2">MAT 1</font></strong></div>
</td>
<td width="92" bgcolor="#eeeeee">
<div align="center"><strong><font face="Arial, Helvetica, sans-serif" size="2">FEN 1</font></strong></div>
</td>
<td width="92" bgcolor="#eeeeee">
<div align="center"><strong><font face="Arial, Helvetica, sans-serif" size="2">TÜRKÇE</font></strong></div>
</td>
<td width="92" bgcolor="#eeeeee">
<div align="center"><strong><font face="Arial, Helvetica, sans-serif" size="2">SOS 1</font></strong></div>
</td>
</tr>
<tr bgcolor="#f5f5f5">
<td width="92" bgcolor="#eeeeee"><strong><font face="Arial, Helvetica, sans-serif" size="2">Doğru Sayısı</font></strong></td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Mat1Dogru" /> </font></div>
</td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Fen1Dogru" /> </font></div>
</td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Tur1Dogru" /> </font></div>
</td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Sos1Dogru" /> </font></div>
</td>
</tr>
<tr bgcolor="#f5f5f5">
<td width="92" bgcolor="#eeeeee"><strong><font face="Arial, Helvetica, sans-serif" size="2">Yanlış Sayısı</font></strong></td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Mat1Yanlis" /> </font></div>
</td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Fen1Yanlis" /> </font></div>
</td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Tur1Yanlis" /> </font></div>
</td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Sos1Yanlis" /> </font></div>
</td>
</tr>
<tr bgcolor="#f5f5f5">
<td width="92" bgcolor="#eeeeee"><strong><font face="Arial, Helvetica, sans-serif" size="2">Netleriniz</font></strong></td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Mat1Net" /> </font></div>
</td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Fen1Net" /> </font></div>
</td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Tur1Net" /> </font></div>
</td>
<td width="92">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Sos1Net" /> </font></div>
</td>
</tr>
</tbody>
</table>
<p> </p>
<table cellspacing="1" cellpadding="5" width="460" align="center" bgcolor="#999999" border="0" class="Style1">
<tbody>
<tr>
<td colspan="5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><strong><font color="#ffffff">ALAN TESTLERİ</font></strong></font></div>
</td>
</tr>
<tr>
<td width="92" bgcolor="#f5f5f5"> </td>
<td width="92" bgcolor="#eeeeee">
<div align="center"><strong><font face="Arial, Helvetica, sans-serif" size="2">MAT 2</font></strong></div>
</td>
<td width="92" bgcolor="#eeeeee">
<div align="center"><strong><font face="Arial, Helvetica, sans-serif" size="2">FEN 2</font></strong></div>
</td>
<td width="92" bgcolor="#eeeeee">
<div align="center"><strong><font face="Arial, Helvetica, sans-serif" size="2">ED-SOS</font></strong></div>
</td>
<td width="92" bgcolor="#eeeeee">
<div align="center"><strong><font face="Arial, Helvetica, sans-serif" size="2">SOS 2</font></strong></div>
</td>
</tr>
<tr>
<td width="92" bgcolor="#eeeeee"><font face="Arial, Helvetica, sans-serif" size="2"><strong>Doğru Sayısı</strong></font></td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Mat2Dogru" /> </font></div>
</td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Fen2Dogru" /> </font></div>
</td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="EdSos2Dogru" /> </font></div>
</td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Sos2Dogru" /> </font></div>
</td>
</tr>
<tr>
<td width="92" bgcolor="#eeeeee"><font face="Arial, Helvetica, sans-serif" size="2"><strong>Yanlış Sayısı</strong></font></td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Mat2Yanlis" /> </font></div>
</td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Fen2Yanlis" /> </font></div>
</td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="EdSos2Yanlis" /> </font></div>
</td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Sos2Yanlis" /> </font></div>
</td>
</tr>
<tr>
<td width="92" bgcolor="#eeeeee"><font face="Arial, Helvetica, sans-serif" size="2"><strong>Netleriniz</strong></font></td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Mat2Net" /> </font></div>
</td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Fen2Net" /> </font></div>
</td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="EdSos2Net" /> </font></div>
</td>
<td width="92" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="2" name="Sos2Net" /> </font></div>
</td>
</tr>
</tbody>
</table>
<p align="center"><input id="btnBolum1Hesapla" onclick="OSSPuanHesabi()" type="button" value="Hesapla" /> <input id="btnFormuTemizle" onclick="Temizle()" type="reset" name="Reset" value="Temizle" /> </p>
<table cellspacing="1" cellpadding="5" width="460" align="center" bgcolor="#999999" border="0">
<tbody>
<tr bgcolor="#eeeeee">
<td width="115">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><strong>Puanlarınız </strong>(300'lü sisteme uygun)</font></div>
</td>
<td width="115">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><strong>Sayısal</strong></font></div>
</td>
<td width="115">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><strong>Eşit Ağırlık</strong></font></div>
</td>
<td width="115">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><strong>Sözel</strong></font></div>
</td>
</tr>
<tr>
<td width="115" bgcolor="#eeeeee"><font face="Arial, Helvetica, sans-serif" size="2"><strong>ÖSS 1 Puanları</strong></font></td>
<td width="115" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="10" name="Say1Puan" /> </font></div>
</td>
<td width="115" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="10" name="EA1Puan" /> </font></div>
</td>
<td width="115" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="10" name="Soz1Puan" /> </font></div>
</td>
</tr>
<tr>
<td width="115" bgcolor="#eeeeee"><font face="Arial, Helvetica, sans-serif" size="2"><strong>ÖSS 2 Puanları</strong></font></td>
<td width="115" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="10" name="Say2Puan" /> </font></div>
</td>
<td width="115" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="10" name="EA2Puan" /> </font></div>
</td>
<td width="115" bgcolor="#f5f5f5">
<div align="center"><font face="Arial, Helvetica, sans-serif" size="2"><input size="10" name="Soz2Puan" /> </font></div>
</td>
</tr>
</tbody>
</table>
<p> </p>
</form>
</td>
</tr>
</tbody>
</table>
</td>
</tr>
</tbody>
</table>
Mesaj22.08.2007, 10:47 (UTC)    
Mesaj konusu:

ben yapamadım yardım edermisiniz
Önceki mesajları göster:   


Powered by phpBB © 2001, 2005 phpBB Group
Türkçe Çeviri: phpBB Türkiye & Erdem Çorapçıoğlu