Search Header Logo

การเขียนโปรแกรมดอทเน็ต

Authored by กฤษณุชา อ่วมสน

Other

6th Grade

Used 22+ times

การเขียนโปรแกรมดอทเน็ต
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

บรรทัดที่ 11 ตัวแปรชนิด var คืออะไร

Variable

Variance

Valuetuple

Valorant

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

บรรทัดที่ 12 เครื่องหมาย “  ” เขียนโปรแกรมเอาไว้เพื่ออะไร

เพื่อเว้นวรรค

เพื่อเชื่อมตัวแปร FullnameFirst กับ FullnameLast

เพื่อให้ทราบว่าเป้นตัวแปรอักษร

เพื่อให้ทราบว่าเป็นตัวเลข

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

เมื่อทราบว่า MessageBox.Show(ข้อมูล String) แต่ข้อมูลที่นำเข้ามาเป็นข้อมูลชนิด int x = 0 ;ซึ่งจะต้องนำไปใช้ในการคำนวณครั้งถัดไปจะต้องทำอย่างไรเพื่อให้แสดง MessageBox ได้

เปลี่ยนไปใช้ String

สามารถทำได้โดยเขียนโปรแกรม MessageBox.Show(x.ToString());

สามารถทำได้โดยเขียนโปรแกรม MessageBox.Show(String(x));

สามารถทำได้โดยเขียนโปรแกรม MessageBox.Show(x);

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

เมื่อต้องการแสดงเลข 0 – 9 โดยใช้คำสั่ง for ข้อใดต่อไปนี้ถูกต้อง

for(i = 0; i <= 10; i++)

{TextS += "รอบที่ " + i.ToString() + Environment

.NewLine;}

for(i = 0; i <= -10;

i--)

{TextS += "รอบที่ " + i.ToString() + Environment

.NewLine;}

for(i = 9; i <= 0; i--)

{TextS += "รอบที่ " + i.ToString() + Environment

.NewLine;}

for(i = 0; i <= 9; i++)

{TextS += "รอบที่ " + i.ToString() + Environment.NewLine;}

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

การปรับ ReadOnly ใน Textbox เป็น True ข้อใดต่อไปนี้ถูกต้องที่สุด

การปรับให้ TextBox สามารถกรอกข้อมูลตัวแปรชนิดเลขจำนวนเต็ม

รอเพิ่มคำตอบการปรับให้ TextBox สามารถกรอกข้อมูลตัวแปรชนิดเลขทศนิยม

การปรับให้ TextBox สามารถกรอกข้อมูลตัวแปรชนิดข้อความ

การปรับให้ TextBox ไม่สามารถกรอกข้อมูลได้

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ในการสร้างฟังก์ชัน / เมธอด ในภาษา C# มีส่วนเหมือนภาษาซีอย่างไร

มีรูปแบบการทำงานเหมือนกับ C++

เมธอดไม่สามารถ return ค่าได้

เมธอดไม่สามารถส่งข้อมูลผ่านเข้าไปได้

แชร์ข้อมูลสู่สาธารณะชนได้

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

ตัวแปรข้อมูลชนิดใดใช้จะต้องใช้ f ในการเขียนโปรแกรมเพื่อให้แสดงทศนิยมได้

int

String

Float

Double

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

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

Already have an account?