สอบปลายภาค สอวน.2/1

สอบปลายภาค สอวน.2/1

8th Grade

30 Qs

quiz-placeholder

Similar activities

Python по занятиям

Python по занятиям

1st - 10th Grade

28 Qs

2 Python (переменные, типы данных)

2 Python (переменные, типы данных)

5th - 12th Grade

33 Qs

Python 2021

Python 2021

7th - 9th Grade

25 Qs

Algorytmy i jezyki programowania

Algorytmy i jezyki programowania

4th Grade - University

25 Qs

PH II TIK KLS 8

PH II TIK KLS 8

8th Grade

25 Qs

KISI KISI SAS INFORMATIKA KLS 8 TP.2024/2025

KISI KISI SAS INFORMATIKA KLS 8 TP.2024/2025

8th Grade

25 Qs

Recap B1 (version française)

Recap B1 (version française)

3rd Grade - University

25 Qs

Computer Systems

Computer Systems

7th - 12th Grade

25 Qs

สอบปลายภาค สอวน.2/1

สอบปลายภาค สอวน.2/1

Assessment

Quiz

Computers

8th Grade

Medium

Created by

ลักขณา พรมพัตร

Used 5+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนด int a[5] = {15.5, 65.2, 45.8, 25.8, 10.4}; a[1] มีค่าเท่าไร

15.5

65.2

45.8

25.8

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การประกาศตัวแปร Array คือ

ตัวแปร

ตัวแปรชุด

Array

คำสั่ง

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int score[ ] = { 70 , 82 ,63 , 89 , 98 ,100 }; จากโค้ด int หมายถึงตัวแปลชนิดใด

จำนวนเต็ม

ทศนิยมหลายตัวแหน่ง

ทศนิยม

ตัวอักษร

4.

MULTIPLE CHOICE QUESTION

1 min • 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

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ประกาศตัวแปร A : array[1…20] of integer : ตัวแปรอาร์เรย์ชุดที่ประกาศนี้สามารถเก็บค่าได้ทั้งหมดกี่ค่า

10 ค่า

20 ค่า

19 ค่า

21 ค่า

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

กำหนดให้ char s2[4] = {‘G’, ‘O’, ‘O’, ‘D’}; ดังนั้น s2 เป็นตัวแปรประเภทใด

ตัวอักขระ

ข้อความ

ตัวอักขระ และ ข้อความ ถูก

ไม่มีคำตอบที่ถูก

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดกล่าวถึงตัวแปรอาร์เรย์ได้ถูกต้อง

ตัวแปรเดียวเก็บข้อมูลได้หลายประเภท

ตัวแปรเดียวเก็บข้อมูลประเภทเดียวได้หลายชุด

ตัวแปรเดียวเก็บข้อมูลได้ชุดเดียว

ไม่มีคำตอบที่ถูกต้อง

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?