จาก loop for ที่กำหนดให้ ผลลัพธ์ที่ได้คืออะไร
Abstract QComplexLoop

Quiz
•
Computers
•
1st Grade
•
Hard
noi pc
Used 2+ times
FREE Resource
5 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
123
123
123
123
12
1
1
12
123
111
222
333
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
กำหนด
string temp="THIS";
string db[12] = {"IS", "THIS", "HIS", "AT", "HI",
"IT", "TWO", "OF", "FAT", "THAT", "HAT"};
ความหมายของ
if(temp==db[0]) คืออะไร
ให้ temp มีค่าเท่ากับ "IS"
ถ้าค่าในตัวแปร temp มีค่าเท่ากับค่าในตัวแปร db[0] จะได้ค่าเป็นจริง
error ไม่สามารถทำแบบนี้ได้
นับจำนวนว่ามีตัวอักษรเท่ากันหรือไม่
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ผลลัพธ์ที่แสดงบนจอภาพคืออะไร
1
12
123
123
23
3
1
22
333
3
22
111
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ถ้าต้องพิมพ์ข้อมูลตั้งแต่ index ที่ 2 ถึงข้อมูลตัวสุดท้าย ควรเติมอะไรในช่องว่าง
for(i=2;i<4;i++)
cout << a[i]
for(i=2;i=4;i++)
cout << a[i]
for(i=2;i<=4;i++)
cout << a[i]
for(i=2;i>=4;i++)
cout << a[i]
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
ถ้าต้องการทราบว่าข้อมูลในตัวแปร data อยู่ในช่องใดใน array และเก็บหมายเลขช่องนั้นในตัวแปร index ควรเติมอะไรในช่องว่าง
if(data == a[i] )
index=i;
if(data < a[i])
i=index;
if(data == a[i] )
i=index;
if(data == a[i])
index=a[i];
Similar Resources on Quizizz
10 questions
Soil

Quiz
•
KG - 5th Grade
10 questions
Excel

Quiz
•
1st - 3rd Grade
10 questions
หน่วยที่่ 5 web

Quiz
•
1st Grade
10 questions
loop for

Quiz
•
1st Grade
10 questions
หน่วยที่ 2 ความน่าเชื่อถือของข้อมูล

Quiz
•
1st - 3rd Grade
10 questions
ความรู้เบื้องต้น โปรแกรม Microsoft Excel

Quiz
•
1st - 5th Grade
5 questions
ข้อสอบการเขียนโปรเเกรมเพื่อเเก้ปัญหา

Quiz
•
1st - 5th Grade
10 questions
หน่วยที่2ระบบปฏิบัติการ ปวช

Quiz
•
1st Grade
Popular Resources on Quizizz
20 questions
math review

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
20 questions
Taxes

Quiz
•
9th - 12th Grade
10 questions
Human Body Systems and Functions

Interactive video
•
6th - 8th Grade
19 questions
Math Review

Quiz
•
3rd Grade
45 questions
7th Grade Math EOG Review

Quiz
•
7th Grade
Discover more resources for Computers
12 questions
Summer Trivia

Quiz
•
1st - 5th Grade
20 questions
Telling Time to the Hour and Half hour

Quiz
•
1st Grade
15 questions
Disney Trivia

Quiz
•
KG - 5th Grade
15 questions
spelling

Quiz
•
1st - 2nd Grade
12 questions
Pixar Movies!

Quiz
•
KG - 5th Grade
15 questions
goods and services

Quiz
•
1st Grade
15 questions
Addition and Subtraction

Quiz
•
1st Grade
20 questions
Summer

Quiz
•
KG - University