ควิซเกี่ยวกับประเภทข้อมูลและการดำเนินการพื้นฐานใน Python ใน TU156 Intro to

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson
Download our mobile app to listen on the go
Get App

Questions and Answers

Literals คืออะไร?

  • ค่าที่สามารถแก้ไขได้
  • ค่าที่ไม่สามารถแก้ไขได้
  • ค่าคงที่ที่กําหนดให้กับตัวแปรคงที่ (correct)
  • ตัวแปรที่มีค่าเปลี่ยนแปลงได้

ตัวอักษรใน Python หมายถึงอะไร?

  • ค่าคงที่ที่ไม่สามารถแก้ไขได้ (correct)
  • ตัวแปรที่ไม่สามารถแก้ไขได้
  • ตัวแปรที่มีค่าเปลี่ยนแปลงได้
  • ค่าที่สามารถแก้ไขได้

ตัวแปรคงที่คือ?

  • ตัวแปรที่มีค่าเปลี่ยนแปลงได้
  • ตัวแปรที่สามารถแก้ไขได้
  • ตัวแปรที่มีค่าคงที่ที่กําหนดไว้ (correct)
  • ตัวแปรที่ไม่มีค่า

ตัวอักษรคืออะไรในโปรแกรม?

<p>ค่าคงที่ที่ไม่สามารถแก้ไขได้ (B)</p> Signup and view all the answers

จากข้อใดต่อไปนี้เป็นตัวอย่างของ literals ใน Python?

<p>5.6 (B)</p> Signup and view all the answers

Flashcards

What are Literals?

Fixed values assigned to constant variables in programming.

Define literals in Python.

Constants in Python that cannot be changed.

What is a constant variable?

A variable holding a fixed, unchanging value.

What are literals in programming?

Pre-defined values that cannot be modified.

Signup and view all the flashcards

Give an example of a literal in Python.

A specific value like the number 5.6.

Signup and view all the flashcards

Study Notes

터พญคืออะไร?

  • 터พญ (Literals) คือ ค่า固定 ที่กำหนดไว้ล่วงหน้าในโปรแกรม
  • ตัวอย่างของ 터พญ เช่น числа, สตริง, หรือค่า逻辑

ตัวอักษรใน Python หมายถึงอะไร?

  • ตัวอักษรใน Python หมายถึง สตริง (String) ซึ่งเป็นข้อความที่ประกอบด้วยตัวอักษรหลายตัว

ตัวแปรคงที่คืออะไร?

  • ตัวแปรคงที่ คือ ค่า固定 ที่กำหนดไว้ล่วงหน้าในโปรแกรม และไม่สามารถเปลี่ยนแปลงได้

ตัวอักษรคืออะไรในโปรแกรม?

  • ตัวอักษรในโปรแกรม หมายถึง สตริง (String) ซึ่งเป็นข้อความที่ประกอบด้วยตัวอักษรหลายตัว
  • สตริงใช้ในการเก็บข้อความหรือข้อมูลอื่นๆ ในโปรแกรม

ตัวอย่างของ 터พญ ใน Python

  • ตัวอย่างของ 터พญ ใน Python เช่น 123 (INTEGER), "Hello World" (СТRING_), True (BOOLEAN_) เป็นต้น

Studying That Suits You

Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

Quiz Team

More Like This

Use Quizgecko on...
Browser
Browser