กำหนด int a[5] = {15.5, 65.2, 45.8, 25.8, 10.4}; a[1] มีค่าเท่าไร
เลขฐานและอาเรย์

Quiz
•
Computers
•
8th Grade
•
Medium
ลักขณา พรมพัตร
Used 2+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
15.5
65.2
45.8
25.8
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ข้อใดเป็นการประกาศตัวแปรอาร์เรย์ 1 มิติที่ถูกต้อง
int a{5};
int a[5];
int a{5}
int a[5]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
การประกาศตัวแปร Array คือ
ตัวแปร
ตัวแปรชุด
Array
คำสั่ง
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
int score[ ] = { 70 , 82 ,63 , 89 , 98 ,100 }; จากโค้ด int หมายถึงตัวแปลชนิดใด
จำนวนเต็ม
ทศนิยมหลายตัวแหน่ง
ทศนิยม
ตัวอักษร
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1 #include
2 <stdio.h>
3 main(){
4 int score[ ] = { 70 , 82 ,63 , 89 , 98 ,100 };
5 printf("\n %d",score[0]);
6 printf("\n %d",score[1]);
7 printf("\n %d",score[2]);
8 printf("\n %d",score[3]);
9 printf("\n %d",score[4]);
10 printf("\n %d",score[5]);
11 }
จากโค้ด บรรทัดที่ 8 จะแสดงค่าใด
100
89
98
70
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
จากตัวแปล Array ถ้าจะแสดงค่าคะแนนของนักเรียนคนที่ 5 ซึ่งก็จะมี index ลำดับที่เท่าไหร่
3
4
5
6
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
ประกาศตัวแปร A : array[1…20] of integer : ตัวแปรอาร์เรย์ชุดที่ประกาศนี้สามารถเก็บค่าได้ทั้งหมดกี่ค่า
10 ค่า
20 ค่า
19 ค่า
21 ค่า
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Scratch

Quiz
•
8th Grade
20 questions
Final Exam M.3

Quiz
•
7th - 9th Grade
15 questions
การระบุข้อมูลเข้า ออก เงื่อนไขปัญหา

Quiz
•
8th Grade
15 questions
Python

Quiz
•
6th Grade - University
20 questions
วิทยาการคำนวณ (Scatch)

Quiz
•
6th - 8th Grade
20 questions
แบบทดสอบวิชาคอมพิวเตอร์

Quiz
•
6th - 8th Grade
15 questions
Python Algorithm

Quiz
•
4th Grade - University
15 questions
ใบงานที่ 4 ทําความรู้จักกับภาษาไพทอน

Quiz
•
8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade