Le langage javascript

Average rating : Published by jhemy on January 21st, 2014


jhemy
3.25

Related quizes

Question 1
Le debut de la boucle FOR correspond à :

If (i != 5)
For (i = 0; i <= 5; i++)
For (i <= 5; i++)
For i = 1 to 5
Question 2
Quelle est la syntaxe javascript correcte pour afficher "Hello world"

Echo "Hello World";
Response.write("Hello World");
Document.write("Hello World");
("Hello World");
Question 3
A quel endroit inserer un code javascript ? :

La section <body>
La section <head>
Les deux sections <head> et <body> sont correctes
Question 4
Quelles est la syntaxe correcte pour appeler un fichier javascript "XXX.js"

<script name="xxx.js">
<script src="xxx.js">
<script href="xxx.js">
Question 5
Le fichier javascript externe doit contenir la balise <script> ? :

Vrai
Faux
Question 6
Comment afficher "Hello world" dans une boite alerte ? :

AlertBox("Hello World");
MsgBox("Hello World");
Msg("Hello World");
Alert("Hello World");
Question 7
Comment écrit on une instruction IF en javascript ? :

If i=5
If i==5 then
If (i==5)
If i=5 then
Question 8
Comment creer une fonction en javascript ? :

Function myFunction()
Function=myFunction()
Function:myFunction()
Question 9
Comment appeler une fonction nommée"myfunction"

MyFunction()
Call function myFunction()
Call myFunction()
Question 10
Comment traduit on en javascript cette instruction : si "i" différent de 5 ?

If i<>5
If i=! 5 then
If (i <> 5)
If (i != 5)

Comments

The author deactivated comments on this page.

Quiz information

Author : jhemy
Difficulty : MediumPlayed :
ShareFavoritesReport
Embed this quiz on your website

Ranking

Average score : %

1.O2n100 %
2.Superbaillot100 %
3.darius390 %
4.Evan90 %
5.Riwa70 %
6.karlon40 %
7.sbastien20 %
8.Sow900 %
9.decddecde0 %
10.

They played it

Communauty

Follow us on Facebook to be updated about the latest good quizes !

More quizes !

Cookies and privacy

By browsing this website, you accept our cookie and privacy policy explained here.