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
จาก loop for ที่กำหนดให้ ผลลัพธ์ที่ได้คืออะไร
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 Wayground
10 questions
Q3 ADT ArrayList

Quiz
•
1st Grade
10 questions
แบบทดสอบหน่วยที่ 5

Quiz
•
1st - 5th Grade
10 questions
แบบทดสอบหน่วยการเรียนรู้ที่ 5 ค้างคาวกินกล้วย

Quiz
•
1st - 5th Grade
10 questions
loop for

Quiz
•
1st Grade
10 questions
แฟคทอเรียล

Quiz
•
KG - 10th Grade
10 questions
เอ็กเซล

Quiz
•
1st - 3rd Grade
10 questions
แบบทดสอบเก็บคะแนน ม.5

Quiz
•
1st - 2nd Grade
10 questions
ระบบเครือข่ายไร้สาย5G

Quiz
•
1st Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade