Search Header Logo

๋JavaScript05

Authored by วิรยา สีขาว

Computers

12th Grade

Used 2+ times

๋JavaScript05
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่ง for ในภาษา JavaScirpt ในข้อใดที่ใช้วนซ้ำกับ Object

for

for in

for of

for i

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดเขียนการใช้ for in ร่วมกับ array ได้ถูกต้อง

for ( x as numbers) {

  ................;

}

for (let x in numbers) {

  ................;

}

for in (let x as numbers) {

  ................;

}

for in (array numbers) {

  ................;

}

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดเขียนคำสั่ง for โดยกำหนดค่าเริ่มต้นเป็น 0 สิ้นสุดเป็น 100 และให้เพิ่มค่าทีละ 1 ได้ถูกต้อง

for (let i < 0; i < 100; i++) {

  .........................

}

for (let i > 0; i < 100; i++) {

  .........................

}

for (let i = 0; i < 100; i++) {

  .........................

}

for (let i = 0; i <= 100; i++) {

  .........................

}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่ง setTimeout( ) ใช้ในกรณีใด

เป็นฟังก์ชันที่กำหนดเวลาสิ้นสุดการแสดงผล

เป็นฟังก์ชันที่จะดำเนินการเมื่อถึงเวลาที่กำหนด

เป็นฟังก์ชันที่จะดำเนินการเมื่อหมดเวลาที่กำหนด

เป็นฟังก์ชันที่กำหนดเวลาเริ่มต้นในการแสดงผล

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดเขียนการทำงานของฟังก์ชัน setTimeout ได้ถูกต้อง

setTimeout(3000);

setTimeout=myFunction, 3000;

setTimeout(myFunction, 3000);

setTimeout{myFunction, 3000};

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้าต้องการเขียน tag div ให้เป็นภาพเคลื่อนไหวจะต้องกำหนด id ใดต่อไปนี้

id ="animate"

id ="container"

id ="position"

id ="animation"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้าต้องการเขียน tag div ให้เป็นภาพเคลื่อนไหว

ต้องเขียน id ใดต่อไปนี้กำกับการทำภาพเคลื่อนไหว

id ="animate"

id ="container"

id ="position"

id ="animation"

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?