CP-String

CP-String

University

18 Qs

quiz-placeholder

Similar activities

GED1001

GED1001

University

15 Qs

5. Presentation

5. Presentation

University

20 Qs

ข้อสอบวิชาการใช้เทคโนโลยีดิจิทัลเพื่อการศึกษา (ชุดที่1)

ข้อสอบวิชาการใช้เทคโนโลยีดิจิทัลเพื่อการศึกษา (ชุดที่1)

University

20 Qs

Basics of programming - Quiz - 01

Basics of programming - Quiz - 01

University - Professional Development

20 Qs

Atividade de Fixação - Python

Atividade de Fixação - Python

University

20 Qs

Python Basics

Python Basics

KG - University

16 Qs

ข้อสอบคอมพิวเตอร์เบื้องต้น

ข้อสอบคอมพิวเตอร์เบื้องต้น

University

20 Qs

Python Basics

Python Basics

KG - University

15 Qs

CP-String

CP-String

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Panupong Sornkhom

Used 19+ times

FREE Resource

AI

Enhance your content in a minute

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

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อมูลสตริง (String) ในภาษาซี คือ อะไร

ข้อมูลประเภทของดนตรี

ข้อมูลตัวอักขระ

ข้อมูลที่ยาว ๆ มีลักษณะเป็นเส้น ๆ

กลุ่มของตัวอักขระที่เรียงลำดับเป็นข้อความ

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ในภาษาซี เราสามารถประกาศตัวแปรชนิด String ได้หรือไม่

ได้ เพราะ String เป็นข้อมูลชนิดหนึ่ง

ไม่ได้ เพราะ ไม่ใช่ชนิดข้อมูลพื้นฐาน

ได้ เพราะ ภาษาซีเป็น dynamic typed programming language

ไม่ได้ เพราะ ภาษาซีเป็น static typed programming language

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ภาษาซีเก็บข้อมูลสตริง ในตัวแปรแบบใด

array of characters

String

char

structure

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ตัวอักขระที่ใช้เป็นตัวบอกจุดสิ้นสุดของสตริงเรียกว่า

null character

stop character

end character

control character

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดแสดงค่าคงที่สตริงในภาษาซีได้ถูกต้อง

'Hello world'

Hello world

"Hello world"

<Hello world>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

การประกาศตัวแปรเพื่อเก็บข้อมูล String ในข้อใดไม่ถูกต้อง

char str[20];

char str;

char str[ ] = "Hello World";

char str[20] = "Hello World";

7.

FILL IN THE BLANK QUESTION

1 min • 1 pt

char str[20] = "Hello World"; ใช้พื้นที่หน่วยความจำกี่ไบต์

Access all questions and much more by creating a free account

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

Already have an account?

Discover more resources for Computers