while

while

1st Grade

6 Qs

quiz-placeholder

Similar activities

loop for

loop for

1st Grade

10 Qs

Pemrograman Dasar Percabangan dan Perulangan

Pemrograman Dasar Percabangan dan Perulangan

1st - 3rd Grade

10 Qs

Test Informatica final nivel1, C++

Test Informatica final nivel1, C++

1st Grade

8 Qs

Pascal

Pascal

1st Grade

10 Qs

Robotics Quiz

Robotics Quiz

1st - 12th Grade

8 Qs

Programming

Programming

1st - 10th Grade

10 Qs

Цикл whille

Цикл whille

1st - 5th Grade

8 Qs

Caligrafía | CM7

Caligrafía | CM7

1st - 10th Grade

11 Qs

while

while

Assessment

Quiz

Computers

1st Grade

Medium

Created by

noi pc

Used 5+ times

FREE Resource

6 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

loop while ต่อไปนี้ทำงานกี่รอบ

2

3

4

0

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

loop while ต่อไปนี้ทำงานกี่รอบ

0

1

2

3

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ถ้าต้องการพิมพ์ตัวเลข 2 4 6 8 ควรเลือกข้อใด

n=1;

while(n<10)

{ cout << n;

n=n+1;

}

n=2;

while(n<10)

{ n=n+2;

}

n=2;

while(n<=10)

{ cout << n;

n=n+2;

}

n=2;

while(n<10)

{ cout << n;

n=n+2;

}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

จงหาผลลัพธ์ของโค้ดต่อไปนี้

int x = 5;
while (x > 0) {
  cout << x;
  x--;
}

5 4 3 2 1

1 2 3 4 5

5 4 3 2

1 2 3 4

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

จงหาผลลัพธ์ของโค้ดต่อไปนี้

int x = 10;
while (x > 5) {
  cout << x;
  x--;
}

10 9 8 7 6

5 6 7 8 9 10

10 9 8 7 6 5

5 6 7 8 9

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

จงหาผลลัพธ์ของโค้ดต่อไปนี้

int x = 1;
while (x < 10) {
  cout << x;
  x = x * 2;
}

1 2 4 8

1 2 4 8 16

1 2 4 6 8

1 2 4 6 8 10

Discover more resources for Computers