Pearson Edexcel GCSE (9-1) · Computer Science (1CP2)

Input/output: แบบฝึกหัด

ข้อปรนัย 5 ข้อ ตรวจให้ทันทีที่ตอบ และข้อเขียน 4 ข้อ พร้อมวิธีทำละเอียด ทั้งหมดจากเรื่อง Input/output

9 ข้อ20 คะแนนฟรี ไม่ต้องสมัคร
ข้อ 1
1 คะแนน

In programming, which command is typically used to display data on the screen for the user to see?

ข้อ 2
1 คะแนน

Which type of validation check would be most effective to ensure a user enters a password that is at least 8 characters long?

ข้อ 3
1 คะแนน

A program reads data from a CSV file. Which of the following best describes the structure of a CSV file?

ข้อ 4
1 คะแนน

Which programming command is used to display information to the user on the screen?

ข้อ 5
1 คะแนน

Which of the following describes the process of checking if a user has entered a value into a required field?

ข้อ 6
2 คะแนน

State the name of the programming technique that allows a program to accept data from a user via a keyboard.

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

ข้อ 7
3 คะแนน

A program reads a list of names from a file. Describe one benefit of using a comma-separated value (CSV) format for this file.

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

ข้อ 8
5 คะแนน

A developer is creating a login system. Explain why authentication is required after the user provides their ID and password.

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

ข้อ 9
5 คะแนน

A software module reads data from a text file named log.csv.

(a) Describe the purpose of using validation when reading data from an external file.
(b) Provide two examples of validation checks that could be applied to a "UserAge" field read from the file.
(c) Write a code snippet to show how a program would open a file and read its contents.

ลองเขียนคำตอบด้วยตัวเองก่อน แล้วค่อยเทียบกับวิธีทำ

* เนื้อหาของ thinka สร้างโดย AI อาจไม่ถูกต้องสมบูรณ์ในทุกกรณี กรุณาใช้เป็นสื่อเสริมและตรวจสอบกับเอกสารอ้างอิงอย่างเป็นทางการ

คุณเห็นเฉลยแล้ว ทีนี้มาตรวจคำตอบของคุณบ้าง

หน้านี้บอกได้ว่าคำตอบที่ดีเป็นอย่างไร แต่บอกไม่ได้ว่าคำตอบของคุณขาดอะไร thinka ตรวจข้อเขียนของคุณตามเกณฑ์ให้คะแนนจริงในราว 15 วินาที

อยากฝึกโจทย์แบบนี้เพิ่มไหม เริ่มฝึกหัวข้อนี้ได้เลย ตรวจให้ทันทีทุกข้อ

เริ่มฝึกเลย