shivo

Kayıt : 6 Haziran 2008 Townsville Şehri
|
|
Selam Arkadaşlar;
Php'den hoca 3 tane proje ödevi verdi de Php'den anlamıyorum ben de ygs,lys sayesinde okula gitmediğimiz için 2.dönem hiç birşey öğrenemedik ilk dönem de pek birşey anlatmadılar anca
Şimdiden Teşekkürler sorular şöyle;
PROJE 1. Windows’ ta yer alan (aşağıda ekran çıktısı görülen) hesap makinesini PHP ile oluşturunuz?

PROJE 2. Aşağıda ekran görüntüsünü oluşturacak html ve php dosyalarını oluşturunuz? Not hesaplama işleminde;
- Ders zorunlu ise 1.notun %40,2.notun %20,3.notun%40'ı alınacak ve toplanıp sonuç olarak verilecek.
- Eğer ders seçmeli ise 1.notun %30,2.notun %30,3.notun%40'ı alınacak ve toplanıp sonuç olarak verilecektir.
- Tekrar
durumu hesaplamada kullanılmayacaktır. Fakat kaçıncı kez aldığı yapılan
seçime göre ortalam ile birlikte ekrana yazdırılacaktır.
- Aşağıdaki resimdeki duruma göre örnek ekran çıktısı (Hesapla butonuna basıldığında)şu şekilde olacaktır.
Öğrenci Dersi 3. Kez Alıyor ve Ortalaması= 52’ dir.
PROJE
3. PHP kodları ile anket uygulayıcısı oluşturunuz? Daha sonra örnek bir
anket oluşturunuz? Örnek anket uygulaması içeriği tarafınızdan
belirlenecektir. Anket sonuçları mail ile admin’e (yöneticiye)
yollanacaktır ve Veri Tabanında anket sonuçları tutulacaktır?
|
Buremba

Kayıt : 16 Haziran 2006 6/6/6
|
|
hocam 3 tane yazmışın maşallah da oturup bir bir buçuk saat uğraşmadan bitecek şeyler değil bunlar. sen başlasan bir yere gelsen ve takılsan yardım ederiz tabi ama bu şekilde yardım edecek kişi zor bulursun bence. :(
bak sitesi bile var: http://canyoudomyhomework.com
demiş bilge.
|
Cosmic (Harlem)

Kayıt : 14 Haziran 2006
|
|
başla sen yapmaya takıldığın yerde sor yardımcı olan çıkar ama direk kimseden yapmasını bekleme
Bu profil 05-10-2011 tarihinden itibaren 609 tekil hit ve 1437 normal hit almistir.
|
|
|
<!doctype html public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Hesap Kitap
<style>
input {
width: 100%;
font-size: medium;
}
body {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: x-small;
margin: 0px;
padding: 0px;
}
h1 {
font-size: medium;
font-weight: bold;
}
td {
text-align: center;
vertical-align: middle;
}
table {
margin: 4px;
border: thick solid #0099FF;
}
</style>
<script language="JavaScript">
var Result=0, Operator=0, Second=0, Ready=0, Done=1, Complete=0, Integer, CurrentValue;
function reset(value)
{
document.calculator.LED.value = value;
Result = 0, Operator = 0, Second = 0, Ready = 0; Done = 1; Complete = 0;
}
function SetValue(NewValue)
{
Integer = 1;
if(Second || Done)
{
Second = 0;
Done = 0;
CurrentValue = NewValue;
}
for(var i=0; i<CurrentValue.length; i++)
if (CurrentValue[i]=='.')
Integer=0;
}
function Click(Caption)
{
CurrentValue = document.calculator.LED.value;
if(Caption=='.')
{
SetValue('0');
if(Integer)
{
CurrentValue += Caption;
document.calculator.LED.value = CurrentValue;
Complete = 0;
}
}
if (Caption.length == 1 && Caption>='0' && Caption<='9')
{
SetValue('');
if(CurrentValue=='0')
CurrentValue='';
CurrentValue += Caption;
document.calculator.LED.value = CurrentValue;
Complete = 1;
}
if (Caption=='pi')
{
CurrentValue = Math.PI;
document.calculator.LED.value = CurrentValue;
Complete = 1;
}
if (Caption=='e')
{
CurrentValue = Math.E;
document.calculator.LED.value = CurrentValue;
Complete = 1;
}
if(Caption=='-' || Caption=='+' || Caption=='/' || Caption=='*' || Caption=='^')
{
if(Second)
Operator = Caption
else
{
if(!Ready)
{
Operator = Caption;
Result = CurrentValue;
Ready=1;
} else
{
if (Operator=='^')
Result = Math.pow(Result, CurrentValue);
else
Result = eval(Result + Operator + CurrentValue);
Operator = Caption; document.calculator.LED.value = Result;
} Complete=0; Second = 1;
}
}
if(Caption=='1/x' )
{
Result = eval('1/' + CurrentValue) ; reset(Result);
}
if(Caption=='sqrt')
{
Result = Math.sqrt(CurrentValue);
reset(Result);
}
if(Caption=='exp' )
{
Result = Math.exp(CurrentValue);
reset(Result);
}
if(Caption=='log' )
{
Result = Math.log(CurrentValue) / Math.LN10;
reset(Result);
}
if(Caption=='ln' )
{
Result = Math.log(CurrentValue);
reset(Result);
}
if(Caption=='sin' )
{
Result = CurrentValue;
if (document.calculator.angle[0].checked)
Result = Result * Math.PI / 180;
if (document.calculator.angle[2].checked)
Result = Result * Math.PI / 200;
Result = Math.sin(Result);
reset(Result);
}
if(Caption=='cos' )
{
Result = CurrentValue;
if (document.calculator.angle[0].checked)
Result = Result * Math.PI / 180;
if (document.calculator.angle[2].checked)
Result = Result * Math.PI / 200;
Result = Math.cos(Result);
reset(Result);
}
if(Caption=='tan' )
{
Result = CurrentValue;
if (document.calculator.angle[0].checked)
Result = Result * Math.PI / 180;
if (document.calculator.angle[2].checked)
Result = Result * Math.PI / 200;
Result = Math.tan(Result);
reset(Result);
}
if(Caption=='asin' )
{
Result = Math.asin(CurrentValue);
if (document.calculator.angle[0].checked)
Result = Result * 180 / Math.PI;
if (document.calculator.angle[2].checked)
Result = Result * 200 / Math.PI;
reset(Result);
}
if(Caption=='acos' )
{
Result = Math.acos(CurrentValue);
if (document.calculator.angle[0].checked)
Result = Result * 180 / Math.PI;
if (document.calculator.angle[2].checked)
Result = Result * 200 / Math.PI;
reset(Result);
}
if(Caption=='atan' )
{
Result = Math.atan(CurrentValue);
if (document.calculator.angle[0].checked)
Result = Result * 180 / Math.PI;
if (document.calculator.angle[2].checked)
Result = Result * 200 / Math.PI;
reset(Result);
}
if(Caption=='sinh' )
{
Result = Math.exp(CurrentValue);
Result = (Result - 1 / Result) / 2;
reset(Result);
}
if(Caption=='cosh' )
{
Result = Math.exp(CurrentValue);
Result = (Result + 1 / Result) / 2;
reset(Result);
}
if(Caption=='tanh' )
{
Result = Math.exp(CurrentValue);
Result = (Result - 1 / Result) / (Result + 1 / Result);
reset(Result);
}
if(Caption=='asinh' )
{
//sign(x) * log(|x| + sqrt(x*x+1))
// alert(CurrentValue + Math.sqrt(CurrentValue * CurrentValue + 1));
// Result = Math.log(CurrentValue + Math.sqrt(CurrentValue * CurrentValue + 1));
Result = CurrentValue / Math.abs(CurrentValue) * Math.log(Math.abs(CurrentValue) + Math.sqrt(CurrentValue * CurrentValue + 1));
reset(Result);
}
if(Caption=='acosh' )
{
//2 log (sqrt((x+1)/2) + sqrt((x-1)/2))
Result = 2 * Math.log(Math.sqrt((CurrentValue + 1) / 2) + Math.sqrt((CurrentValue - 1) / 2));
reset(Result);
}
if(Caption=='atanh' )
{
//0.5*log((x-1)/(x+1))
Result = Math.log((CurrentValue - 1) / (CurrentValue + 1)) / 2;
reset(Result);
}
if(Caption=='+/-')
document.calculator.LED.value = eval(-CurrentValue);
if(Caption=='=' && Complete && Operator!='0')
{
if (Operator=='^')
{
Result = Math.pow(Result, CurrentValue);
reset(Result);
} else
reset(eval(Result + Operator + CurrentValue));
}
if (Caption=='C')
reset(0);
if(document.calculator.LED.value[0] == '.')
document.calculator.LED.value = '0' + document.calculator.LED.value;
}
</script>
<form name="calculator">
<h1 align="center"> </h1>
<h1 align="center">Bilimsel Hesap Makinası</h1>
<table width="360" height="240" border="0" align="center" cellpadding="2" cellspacing="0">
<tr>
<td colspan="4"> <input name="LED" type="text" value="0" /> </td>
<td><input type="button" name="C" value="C" onclick="Click('C')" /></td>
<td width="60"><input name="=" type="button" id="=2" value="=" onclick="Click('=')" />
</td>
</tr>
<tr>
<td colspan="2"> <input name="angle" type="radio" checked />
Degrees</td>
<td colspan="2"> <input name="angle" type="radio" />
Radians</td>
<td colspan="2"> <input name="angle" type="radio" />
Gradients</td>
</tr>
<tr>
<td width="60"> <input name="sin" type="button" id="sin" value="sin" onclick="Click('sin')" /></td>
<td width="60"> <input name="cos" type="button" id="cos" value="cos" onclick="Click('cos')" /></td>
<td width="60"> <input name="tab" type="button" id="tab" value="tan" onclick="Click('tan')" /></td>
<td width="60"> <input name="sinh" type="button" id="sinh" value="sinh" onclick="Click('sinh')" /></td>
<td width="60"> <input name="cosh" type="button" id="cosh" value="cosh" onclick="Click('cosh')" /></td>
<td width="60"> <input name="tanh" type="button" id="tanh" value="tanh" onclick="Click('tanh')" /></td>
</tr>
<tr>
<td width="60"> <input name="asin" type="button" id="asin" value="asin" onclick="Click('asin')" /></td>
<td width="60"> <input name="acos" type="button" id="acos" value="acos" onclick="Click('acos')" /></td>
<td width="60"> <input name="atan" type="button" id="atan" value="atan" onclick="Click('atan')" /></td>
<td width="60"> <input name="asinh" type="button" id="asinh" value="asinh" onclick="Click('asinh')" />
</td>
<td width="60"> <input name="acosh" type="button" id="acosh" value="acosh" onclick="Click('acosh')" />
</td>
<td width="60"> <input name="atanh" type="button" id="atanh" value="atanh" onclick="Click('atanh')" /></td>
</tr>
<tr>
<td width="60"><input name="exp" type="button" id="exp" value="exp" onclick="Click('exp')" />
</td>
<td width="60"><input name="7" type="button" id="7" value="7" onclick="Click('7')" />
</td>
<td width="60"><input name="8" type="button" id="8" value="8" onclick="Click('8')" />
</td>
<td width="60"><input name="9" type="button" id="9" value="9" onclick="Click('9')" />
</td>
<td width="60"><input name="+" type="button" id="+" value="+" onclick="Click('+')" />
</td>
<td width="60"><input name="^" type="button" id="^" value="^" onclick="Click('^')" />
</td>
</tr>
<tr>
<td width="60"><input name="log" type="button" id="log" value="log" onclick="Click('log')" />
</td>
<td width="60"><input name="4" type="button" id="4" value="4" onclick="Click('4')" />
</td>
<td width="60"><input name="5" type="button" id="5" value="5" onclick="Click('5')" />
</td>
<td width="60"><input name="6" type="button" id="6" value="6" onclick="Click('6')" /></td>
<td width="60"><input name="-" type="button" id="-" value="-" onclick="Click('-')" />
</td>
<td width="60"><input name="1/x" type="button" id="1/x2" value="1/x" onclick="Click('1/x')" />
</td>
</tr>
<tr>
<td width="60"><input name="ln" type="button" id="abs22" value="ln" onclick="Click('ln')" />
</td>
<td width="60"><input name="1" type="button" id="1" value="1" onclick="Click('1')" />
</td>
<td width="60"><input name="2" type="button" id="2" value="2" onclick="Click('2')" />
</td>
<td width="60"><input name="3" type="button" id="3" value="3" onclick="Click('3')" />
</td>
<td width="60"><input name="*" type="button" id="*" value="*" onclick="Click('*')" />
</td>
<td width="60"><input name="pi" type="button" id="pi3" value="pi" onclick="Click('pi')" />
</td>
</tr>
<tr>
<td width="60"><input name="sqrt" type="button" id="sqrt" value="sqrt" onclick="Click('sqrt')" />
</td>
<td width="60"><input name="0" type="button" id="0" value="0" onclick="Click('0')" />
</td>
<td width="60"><input name="." type="button" id="." value="." onclick="Click('.')" />
</td>
<td width="60"><input name="+/-" type="button" id="+/-2" value="+/-" onclick="Click('+/-')" />
</td>
<td width="60"><input name="/" type="button" id="/" value="/" onclick="Click('/')" />
</td>
<td width="60"><input name="e" type="button" id="pi4" value="e" onclick="Click('e')" />
</td>
</tr>
</table>
</form>
<p><center>
</center><p>
</p></p> </!doctype>
bn bi ara bunu bulduydum blogda kullanmak iicn ama bu jsp
diyalektik için kesin, mutlak hiç bir şey yoktur..Her şeyin bir geçmişi vardir ve bir geleceği olacaktır. Her şey bir kez bulunduğu yerde her zaman icin kesin olarak bulunmaz, ve o bugünki o,kesin ve son değildir
|
NmC

Kayıt : 23 Kasim 2008 (Cahil AKPli)
|
|
warlife bunu yazdı: -----------------------------
-----------------------------
Hocam jsp değil bu, bildiğin javascript :) js ile jsp apayrı şeyler..
There are 10 types of people in the world. Those who knows binary and those who dont...
|
|
|
tmm o zmn js olsun :) anlamyom işte )
diyalektik için kesin, mutlak hiç bir şey yoktur..Her şeyin bir geçmişi vardir ve bir geleceği olacaktır. Her şey bir kez bulunduğu yerde her zaman icin kesin olarak bulunmaz, ve o bugünki o,kesin ve son değildir
|
shivo

Kayıt : 6 Haziran 2008 Townsville Şehri
|
|
3 sorunun cevabını da arkadaştan aldım ancak 3. soru da hata var ilk 2 sorunun cevabının da arkadaşla aynı olmasını istemiyorum çok şey istiyorrum farkındayım ama anlamıyorum şu phpden hocalar yardım edin.buraya şimdi kodları yapıştırmakla uğraşılmaz yardım edecek olan biri varsa msnden konuşalım.
|
shivo

Kayıt : 6 Haziran 2008 Townsville Şehri
|
|
|
ChelicK (Çömez)

Kayıt : 18 Ekim 2010
|
|
Buremba bunu yazdı: -----------------------------
hocam 3 tane yazmışın maşallah da oturup bir bir buçuk saat uğraşmadan bitecek şeyler değil bunlar. sen başlasan bir yere gelsen ve takılsan yardım ederiz tabi ama bu şekilde yardım edecek kişi zor bulursun bence. :(
bak sitesi bile var: http://canyoudomyhomework.com
-----------------------------
muhteşemmiş :)
"Ben seni daha ziyade kardeşim gibi seviyorum..."
|
|