Elementi di Calcolo Vettoriale e Lavoro compiuto da una Forza
Studia con la mappa concettuale
Mettiti alla prova con il quiz
Domanda 1 di 5
Which JavaScript expression in the code is used to create image objects for preloading
A. document.createElement('img')
B. new Image()
C. Image.prototype
D. createImage()
Spiegazione
The code uses new Image() to create Image objects and then sets their src to preload images.
Domanda 2 di 5
What is the name attribute of the main form in the HTML
A. WapForm
B. MainForm
C. QuizForm
D. Form1
Spiegazione
The form tag is declared as <form name="WapForm" ...>, so its name is WapForm.
Domanda 3 di 5
What action does the flipImage function perform on image elements
A. Preload images into cache
B. Reset image elements to default size
C. Change an image element's src to an alternate image
D. Remove image elements from the document
Spiegazione
flipImage sets document[imageName].src to a preloaded image source, swapping the displayed image.
Domanda 4 di 5
Which function is invoked in the page to generate the test content inside the table
A. initTest()
B. loadQuestions()
C. doTest()
D. start()
Spiegazione
The page includes <script language="javascript"> doTest(); </script>, so doTest() is called to build the test.
Domanda 5 di 5
What is the effect of the form attribute onsubmit="return false"
A. Allows normal form submission
B. Prevents the form from submitting
C. Submits the form via AJAX
D. Automatically validates inputs
Spiegazione
onsubmit="return false" stops the form's submit action, preventing any submission to the server.
Errore durante il login. Riprova.
Quiz completato
Ecco il tuo risultato personalizzato