الاختبارات
JavaScript
ماهو طريقة الصحيحة يتم كتابة اللغة جافا سكربت.
<java> ..</java>
<script>..</script>
<Javascript><Javascript>
<js>..</js>
لما نكتب بهذي طريقة <p id="demo">hello world</p> ماهو الاجابة الصحيحة يتم استخدام id في جافاسكربت.
#id
#demo.innerHTML = "Hello World!";
.id
document.getElementById("demo").innerHTML = "Hello World!";
ماهو مكان الصحيح يتم وضع جافاسكربت.
head و body sections
head section
body section
footer section
أذا كنت تريد استدعاء script خارجي بأسم hello.js ماهو طريقة المناسبه يتم أستدعاءه؟
<script location="hello.js">
<script src="hello.js">
<js src="hello.js">
<js location="hello.js">
يوجد نوع من let و var هل هم نفس النوع؟
صحيح نفس النوع ولكن var لايمكن اعاده استخدام المتغير نفسه
صحيح نفس النوع ولكن let لايمكن اعاده استخدام المتغير نفسه
صحيح كلهم نفس النوع...
غير صحيح
ماهو طريقة الصحيحة يتم اظهار بالشاشة welcome to eqla3tech؟
windows.box("welcome to eqla3tech");
alert("welcome to eqla3tech")
windows.alert("welcome to eqla3tech")
msg("welcome to eqla3tech")
ماهو الطريقة الصحيحة يتم عمل الدالة؟
function = myfunctionName()
function->myfunctionName()
function = new myfunctionName()
function myfunctionName()
ماهو الطريقة الصحيحة يتم استدعاء الدالة myfunctionName؟
call myfunctionName()
call->myfunctionName()
myfunctionName();
function myfunctionName();
ماهو الطريقة الصحيحة يتم عمل المشروط if-then؟
if i > 9: then
if i > 9
if (i > 9)
if(i > 9): then
عندما نستخدم المشروط اذا كان المتغير i لايساوي 7 ماهو طريقة صحيحة يتم كتابتها؟
if(i != 7)
if(i >< 7)
if i != 7: then
if (i != 7):then
ماهو طريقة الصحيحة يتم كتابة while ؟
while i = 1 to 100
while (i <= 100)
while (i <= 100 ; i++)
while i <= 100:
ماهو طريقة الصحيحة يتم اضافة comment في اللغة جافاسكربت؟
<!-- comment -->
//comment
/comment
'comment'
ماهو أختيار الصحيح في for loop باللغة جافاسكربت..؟
while(i>40) do
do while(1>40)
for(i=0;i<=10;i++)
for i = 1 to 10;
ماهو طريقة الصحيحة يتم كتابة المصفوفات باللغة جافاسكربت؟
var colors = "red", "green", "blue"
var colors = ["red", "green", "blue"]
var colors = (1:"red", 2:"green", 3:"blue")
var colors = 1 = ("red"), 2 = ("green"), 3 = ("blue")
ماهو الاجابة الصحيحة يتم كتابة الدالة new set()؟
const letters = set(["a","b","n"])
const letters = set("a","b","n")
const letters = new set(["a","b","n"])
const letters = new set("a","b","n")
كيف يتم عمل round للرقم 5.60 الى رقم مثلآ 6.00؟ ماهو الدالة الصحيحة؟
round(5.60)
math.rnd(5.60)
rnd(5.60)
math.round(5.60)
أذا كنت أريد بحث عن أكبر قيمة بين z و y ماهو الدالة الصحيحة؟
largest(z,y)
max(z,y)
Math.max(z,y)
Math.ceil(z,y)
ماهو الطريقة الصحيحة يتم فتح نافذة جديدة بأسم eqla3؟
eqla3 = windows.new("eqla3tech.com");
eqla3 = windows.unlock("eqla3tech.com");
eqla3 = windows.link("eqla3tech.com");
eqla3 = windows.open("eqla3tech.com");
هل جافاسكربت يعتبر حساسة ألاحرف؟
صحيح
ماهو الدالة الصحيحة عندما يتم ضغط الزر في html؟
onopen
onchange
onclick
onmouseclick
ماهو طريقة الصحيحة يتم أنشاء المتغير في جافاسكربت؟
variable eqla3tech;
v eqla3tech;
var eqla3tech;
int eqla3tech
أذا كنت أريد أنشاء قيمة أو assign قيمة في المتغير! ماهو الاجابة الصحيحة؟
$
%
==
=
ماهو الاجابة في هذا الكود boolean(15<5)
False
True
NaN
NULL
هل الكلمة const تسمح تغير القيمة في المتغير؟