GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

Internet Technology Lab Viva 2

Rejin Rajan 50 Fragen

Quiz starten

Fragen in diesem Quiz (50)

  1. 1Where is the correct place to insert a JavaScript?
    1. AThe <head> section
    2. BThe <body> section
    3. CBoth the <head> section and the <body> section are correct
  2. 2What is the correct syntax for referring to an external script called "xxx.js"?
    1. A<script src="xxx.js">
    2. B<script href="xxx.js">
    3. C<script name="xxx.js">
  3. 3How do you create a function in JavaScript?
    1. Afunction myFunction()
    2. Bfunction:myFunction()
    3. Cfunction = myFunction()
  4. 4How to write an IF statement in JavaScript?
    1. Aif i = 5
    2. Bif (i == 5)
    3. Cif i = 5 then
    4. Dif i == 5 then
  5. 5How does a WHILE loop start?
    1. Awhile (i <= 10)
    2. Bwhile (i <= 10; i++)
    3. Cwhile i = 1 to 10
  6. 6How to insert a comment that has more than one line in CSS?
    1. A/*This comment has
      more than one line*/
    2. B//This comment has
      more than one line//
    3. C<!--This comment has
      more than one line-->
  7. 7What is the correct way to write a JavaScript array?
    1. Avar colors = "red", "green", "blue"
    2. Bvar colors = (1:"red", 2:"green", 3:"blue")
    3. Cvar colors = 1 = ("red"), 2 = ("green"), 3 = ("blue")
    4. Dvar colors = ["red", "green", "blue"]
  8. 8How do you find the number with the highest value of x and y?
    1. Atop(x, y)
    2. BMath.max(x, y)
    3. Cceil(x, y)
    4. DMath.ceil(x, y)
  9. 9How do you declare a JavaScript variable?
    1. Avar carName;
    2. Bv carName;
    3. Cvariable carName;
  10. 10Is JavaScript case-sensitive?
    1. ARichtig
    2. BFalsch

Informationen

Beschreibung
Quiz am Internet Technology Lab Viva 2, erstellt von Rejin Rajan am 18/03/2018.
Sprache
English
Aufrufe
2
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Mehr zu HTML, CSS and JavaScript

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck