1) What danger should you look out for when creating a while loop? a) Misplacing Syntax b) Forgetting to increment your counter and creating a infinite loop c) While loops are not Dangerous 2) Inside which HTML element do we put the JavaScript? a) <javascript> b) <script> and </script> c) <js> 3) How can you add a comment in a JavaScript? a) <!--This is a comment--> b) This is a comment c) //This is a comment 4) How to insert a comment that has more than one line? a) //This comment has more than one line// b) /This comment has more than one line/ c) /*This comment has more than one line */ 5) JavaScript is the same as Java a) True b) False 6) How do you declare a JavaScript variable? a) variable carName; b) v carName c) var carName; 7) Which operator is used to assign a value to a variable? a) = b) * c) == 8) Is JavaScript case-sensitive? a) Yes b) No 9) what is the general while loop syntax? a) while (expression){statement} b) Statement(s) to be executed if expression is true c) while do check
0%
while loop , do...while loop
แชร์
แชร์
แชร์
โดย
Abidrashiduk
KS3
Computing
แก้ไขเนื้อหา
สั่งพิมพ์
ฝัง
เพิ่มเติม
กำหนด
ลีดเดอร์บอร์ด
แสดงเพิ่มขึ้น
แสดงน้อยลง
ลีดเดอร์บอร์ดนี้ตอนนี้เป็นส่วนตัว คลิก
แชร์
เพื่อทำให้เป็นสาธารณะ
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานโดยเจ้าของทรัพยากร
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานเนื่องจากตัวเลือกของคุณแตกต่างสำหรับเจ้าของทรัพยากร
แปลงกลับตัวเลือก
แบบทดสอบ
เป็นแม่แบบแบบเปิดที่ไม่ได้สร้างคะแนนสำหรับลีดเดอร์บอร์ด
ต้องลงชื่อเข้าใช้
สไตล์ภาพ
แบบ อักษร
ต้องสมัครสมาชิก
ตัวเลือก
สลับแม่แบบ
แสดงทั้งหมด
รูปแบบเพิ่มเติมจะปรากฏเมื่อคุณเล่นกิจกรรม
เปิดผลลัพธ์
คัดลอกลิงค์
คิวอาร์โค้ด
ลบ
คืนค่าการบันทึกอัตโนมัติ:
ใช่ไหม