Você está na página 1de 2

SINAV CEVAP KAIDI

Dokman Kodu: -QU-FR-056-TR Revizyon No/Tarihi: 00/__.__.20__


Qafqaz niversitesi a retim letmeleri
Yayn Tarihi: 20.02.2004 Sayfa No: 1/2

Faklte/Enstit: Mhendislik Fakltesi


Blm/Anabilim Dal:
Bilgisayar Mhendislii Ara S.[ ] Yaryl Sonu S. [ ] Btnleme S. [ ] Ek S. [ ]
Dersin Ad: Web Programming and Design renci No: ..................... Ad Soyad: ..................................................
Duration 80 minutes;

1. Choose the right way to use CSS in integrated manner...


A) <font classname=color:red>Text</font> C) ><font class=color:red>Text</font>
B) <font style=color:red>Text</font D) <font style=color=red>Text</font>

2. How much will line (<HR>) width be in 14th question after making necessary changes, if not any value was
entered to TEXT element?
A) 50% of Browser width C) 10% of Browser width
B) 100% of Browser width D) 30% of Browser width

3. Which JavaScript command has to be used to return to previosly visited web page?
A) history.goBack C) history.Last
B) history.Prior D) history.go(-1)

4. Which style (property) of <DIV> must be used and which value must be
assigned to that property to get result on the picture.

A) position:absolute; C) overflow:hidden;
B) overflow:auto; D) position:related;

5. Which object and which property of that object must be used in JavaScript in order to load another one
WebPage.
A) window.replace() C) history.reload()
B) location.reload() D) location.replace()

6. Which one of these groups of Element Accesing methods is right?


A) document.getElementByName('Name'); C) document.getElementById('tagID');
document.all['Name']; document.all[Index];
var arr = document.all.tags(Index); arr[Index]...; var arr = document.all.tags('tagName'); arr[Index]...;
B) var arr = document.all; arr[Index]...; D) document.getElementByIndex(Index);
document.getElements(Name); document.objects[Index];
document.all[Index] document.all.tags(Index);

7. form.form_elt.selectedIndex Select the type of HTML FORM element named form_elt


(...NAME=selname...)?
A) COMBOBOX C) SELECT
B) CHECKBOX D) SUBMIT

8. window.open(str1, str2, str3) What is the meaning of each of three parameters of this JavaScript
function?
A) str1- Name or (and) Path of CSS file C) str1- Name of Window (Frame)
str2- Name of Window (Frame) str2- Name or (and) Path of HTML Document
str3- Browsers Options str3- Browsers Options
B) str1- Name or (and) Path of HTML Document D) str1- Browsers Options.
str2- Name of Window (Frame) str2- Name of Window (Frame)
str3- Browsers Options str3- Name or (and) Path of CSS file

9. <FORM NAME="mForm"> Choose the right code to access to the value of


<INPUT TYPE="text" NAME="digits" VALUE="info">
TEXT element...
</FORM>
A) document.mForm.info.value C) document.digits.value
B) document.forms[0].digits.value D) window.digits.value
SINAV CEVAP KAIDI
Dokman Kodu: -QU-FR-056-TR Revizyon No/Tarihi: 00/__.__.20__
Qafqaz niversitesi a retim letmeleri
Yayn Tarihi: 20.02.2004 Sayfa No: 2/2

10. Table:
Do necessary changes on the HTML code to get the shown table
<table width=150 border>
<tr><td>&nbsp<td>&nbsp<td>&nbsp<td>&nbsp</tr>
<tr><td colspan=2>&nbsp<td>&nbsp<td rowspan=2>&nbsp</tr>
<tr><td>&nbsp<td>&nbsp </tr>
</table>

11. Look at the picture of WebSite and write correct value


instead ? symbol.

document.all.length=?
document.all.tags('P').length=?
document.all.tags('IMG').length=?

12. function log(form) { Write appropriate ERROR Messages instead ?


if(form.isacs.checked)
if(form.text1.value.length <= 5) symbols.
alert('???????????????????'); What is the meaning of this JavaScript Code?
else
if(form.text1.value == form.text2.value)
alert('That is OK!!!');
else
alert('???????????????????');
else
alert('???????????????????');
}

13. HTML kod: Fill in a table depending on the HTML Code


<html>
<head> (Write appropriate values for each property)
<style type="text/css">
H1 right}
h1 {text-align: P
Font Size .big {font-size:20pt; color:blue}
Font Colorh1.big {font-style: italic}
</style>
Font Alignment
<head>
Font Style <body>
<h1 class=big>Some Head</h1>
<p class=big>Some Text</p>
</body>
</html>

14. <script language=javascript> Correct mistakes within JavaScrip Code (if


function Show(param){
document.write('<HR WIDTH='+((param+5)*2)+'%>') available)
}
</script>
</head><body>
<form name="cform">
<input type="text" name=digit maxlength=10
value="20">
<input type=button value=ok
onclick=Show(this.form.digit)>
</form>

Dr. Abzetdin ADAMOV

Você também pode gostar