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

Quiz

JavaScript 2

Alex Thompson 25 Fragen

Quiz starten

Dieses Quiz enthält Fragetypen, die sich im gewohnten Player öffnen.

Fragen in diesem Quiz (25)

  1. 1A JavaScript ________ is a block of JavaScript code, that can be executed when "asked" for. For example, a _______ can be executed when an event occurs, like when the user clicks a button.
    1. Afunction
    2. Bvariable
    3. Cobject
    4. Doperator
  2. 2_______ scripts are practical when the same code is used in many different web pages.
    1. AExternal
    2. BInternal
    3. CInline
  3. 3JavaScript files have the file extension _____
    1. A.exe
    2. B.javaScript
    3. C.js
  4. 4You can place an external script reference in _______
    1. A<head>
    2. B<head> or <body>
    3. C<body>
    4. DNone
  5. 5Placing scripts in external files have the following advantages:
    1. AIt separates HTML and code
    2. BIt makes HTML and JavaScript easier to read and maintain
    3. CCached JavaScript files can speed up page loads
    4. DNone
  6. 6How to add several script files to one page
    1. A<script src="[myScript1.js,myScript2.js]"></script>
    2. B<script src="myScript1.js,myScript2.js"></script>
    3. C<script src="myScript1.js"></script>
      <script src="myScript2.js"></script>
    4. D<script src="(myScript1.js,myScript2.js)"></script>
  7. 7External scripts can be referenced with a ___________________
    1. Afull URL or with a path relative to the current web page
    2. Bfull URL
    3. Cpath relative to the current web page
    4. DNone
  8. 8JavaScript can "display" data in different ways:
    Writing into an alert box, using [blank_start]window.alert()[blank_end].
    Writing into the HTML output using [blank_start]document.write()[blank_end].
    Writing into an HTML element, using [blank_start]innerHTML[blank_end].
    Writing into the browser console, using [blank_start]console.log()[blank_end].
    1. Awindow.alert()
    2. Bdocument.write()
    3. CinnerHTML
    4. Dconsole.log()
    5. Edocument.write()
    6. Fwindow.alert()
    7. GinnerHTML
    8. Hconsole.log()
    9. IinnerHTML
    10. Jwindow.alert()
    11. Kdocument.write
    12. Lconsole.log()
    13. Mconsole.log()
    14. Nwindow.alert()
    15. Odocument.write
    16. PinnerHTML
  9. 9A [blank_start]computer program[blank_end] is a list of "instructions" to be "executed" by the computer
    1. Acomputer program
    2. Bdigital list
    3. CSpreadsheet
  10. 10In JavaScript program instructions are called ____________
    1. Aobjects
    2. Bclass
    3. Carray
    4. Dstatements

Informationen

Beschreibung
Quiz am JavaScript 2, erstellt von Alex Thompson am 08/12/2016.
Sprache
English
Aufrufe
4
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck