Don't close this page .. Test is protected .. Answers cannot be changed .. We try now to connect to save and correct your answers.
Connection trial number:
If this message persists for long, please check your internet connection.
This test is monitored
Switching to another webpage or any other program is considered a cheating behavior and your test may be automatically terminated.
Okay
Important Notice
If you moved to the next question, you will not be able to come back to this question again.
Cancel
Move to next question
29:59
Grade 10 Quiz
Student data
×
Student data
Student name: ***
Student number: ***
Class or section: ***
Test instructions
×
Test instructions
Welcome to IT Online Exam
☺
- Once you submit the exam
you cannot go back
-After you finish solving the questions review it before you submit the exam
- Be sure to solve all the questions
Page direction
×
Change page direction
Right to left
Left to right
Q1
of 9
Score: 1
_________means to change the content of an HTML element with content of your choice,
Logging to HTML
The Console
Alerts
Q2
of 9
Score: 1
the correct type of External Javascript file is:
.js
.javascrpt
.jsf
Q3
of 9
Score: 1
which of the following is
Not
a Javascript Keyword:
number1
function
var
Q4
of 9
Score: 1
In __________ the JavaScript code will be within the head of the document.
Internal Javascript
External Javascript
Q5
of 9
Score: 2
This Question Worth 2 Points,read the question carefully
A webpage is design to the user to display a welcome message as an alert when the user click on "Enter" Button
the following part of JavaScript and HTML code is given,
Which code is correct?
_______________________
A.
HTML:
<input type= submit value = Enter Onclick=
welcome() />
JavaScript:
welcome(){
alert("Welcome to IT" )
; }
_______________________
B.
HTML:
<input type=" submit" value = "Enter" Onclick="
welcome()" />
JavaScript:
function
welcome(){
alert("Welcome to IT" )
; }
_______________________
C.
HTML:
<input type= "submit" value = "Enter" Onclick=
"
welcome()" />
JavaScript:
document.getElementById("Welcome");
alert("Welcome to IT" )
;
_______________________
A
B
C
Q6
of 9
Score: 1
The correct way to define the array fruits that contain a list of fruits.
var fruits= ["Apple" , "Orange" , "Banana", "Strawberry" ];
var fruits ["Apple" , "Orange" , "Banana", "Strawberry" ];
var fruits= [Apple , Orange , Banana, Strawberry ];
Q7
of 9
Score: 1
True or false.?
- Comments cause the browser to print the text after
//
on the screen when the user open the page
True
False
Q8
of 9
Score: 1
var
num1
=
true
;
what is the type of
num1 ?
string
number
boolean
Q9
of 9
Score: 1
the redefine function in javascript to get the following pop-up window is __________
prompt()
alert()
announcement ()
Questions you haven't answered yet:
1
,
2
,
3
,
4
,
5
,
6
,
7
,
8
,
9
Are you sure you want to end this test and send your answers?
All copy rights reserved
©
arab-exams.com
2014-2023
Dismiss this alert