JavaScript ในการพัฒนาเว็บแอปพลิเคชัน
17 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to Lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

JavaScript

  • (correct)
  • (correct)
  • (correct)
  • (correct)

JavaScript HTML CSS

  • JavaScript HTML CSS
  • JavaScript HTML CSS
  • JavaScript DOM (correct)
  • JavaScript HTML CSS

Asynchronous JavaScript

  • real-time (correct)

Framework Library JavaScript

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

React.js, Angular.js Vue.js

<p>Framework (C)</p> Signup and view all the answers

ใน Python, คุณสมบัติของ Polymorphism คืออะไร?

<p>ความสามารถในการสร้างอ็อบเจ็กต์หลายรูปแบบ (A)</p> Signup and view all the answers

ในตัวอย่างการใช้ Polymorphism ใน Python, method ใดถูกเรียกเมื่อใช้ dog.sound()?

<p><code>sound()</code> ในคลาส Dog (C)</p> Signup and view all the answers

การสืบทอด (Inheritance) ใน Python เป็นกระบวนการที่ใช้สำหรับอะไร?

<p>การสร้าง object ขึ้นมาจาก class (A)</p> Signup and view all the answers

ในตัวอย่างการใช้ Inheritance ใน Python, Car และ Truck inherit จาก class ใด?

<p>Vehicle (C)</p> Signup and view all the answers

Polymorphism ช่วยให้โปรแกรม Python เกิดผลประโยชน์อย่างไร?

<p>เพิ่มความสามารถในการทำงานของโค้ด (D)</p> Signup and view all the answers

การสืบทอด (Inheritance) เป็นส่วนหนึ่งของ Object-Oriented Programming (OOP) เพื่อทำอะไร?

<p>สร้าง hierarchy ของ classes (D)</p> Signup and view all the answers

หลักการใดเป็นหลักการพื้นฐานของการเขียนโปรแกรมเชิงวัตถุในภาษาไพธอน?

<p>การห่อหุ้ม การสืบทอด และการพอลิมอร์ฟิซึม (Encapsulation, Inheritance, and Polymorphism) (B)</p> Signup and view all the answers

ข้อใดเป็นประโยชน์ของการห่อหุ้มในการเขียนโปรแกรมเชิงวัตถุ?

<p>ป้องกันการเข้าถึงข้อมูลที่ละเอียดอ่อน (D)</p> Signup and view all the answers

การสืบทอด (Inheritance) ในภาษาไพธอนหมายถึงอะไร?

<p>การสร้างคลาสใหม่จากคลาสที่มีอยู่แล้ว (C)</p> Signup and view all the answers

ภาษาไพธอนรองรับการสืบทอดแบบใด?

<p>ทั้งการสืบทอดแบบเดี่ยวและแบบหลายทาง (C)</p> Signup and view all the answers

ข้อใดไม่ใช่ประโยชน์ของการใช้การเขียนโปรแกรมเชิงวัตถุ?

<p>ทำให้โค้ดยากต่อการดูแลรักษา (A)</p> Signup and view all the answers

ข้อใดคือหลักการของการพอลิมอร์ฟิซึม (Polymorphism)?

<p>การที่วัตถุหลายๆ วัตถุสามารถใช้งานเมธอดเดียวกันได้ (D)</p> Signup and view all the answers

More Like This

Master React
3 questions

Master React

PopularToucan avatar
PopularToucan
React Tic-Tac-Toe Game Tutorial
0 questions
JavaScript and React Concepts Quiz
13 questions
Use Quizgecko on...
Browser
Browser