1) Which data type would be used to store the age, in years, of a person? a) String b) Integer c) Real d) Boolean e) Character 2) Which data type would be used to store a person's name? a) String b) Integer c) Real d) Boolean e) Character 3) Which data type would be used to store a person's height in metres (for example, 1.35)? a) String b) Integer c) Real d) Boolean e) Character 4) Which data type would be useful to store if a person has passed a test or not (TRUE/FALSE) a) String b) Integer c) Real d) Boolean e) Character 5) The user wants to take in the persons height in metres (e.g. 1.85) which piece of code is correct? a) height = str(input("What is your height?")) b) height = float(input("What is your height?")) c) height = int(input("What is your height?")) d) height = chr(input("What is your height?"))
0%
Variable's and Data Types
แชร์
แชร์
แชร์
โดย
Gw22brysonscott
แก้ไขเนื้อหา
สั่งพิมพ์
ฝัง
เพิ่มเติม
กำหนด
ลีดเดอร์บอร์ด
แสดงเพิ่มขึ้น
แสดงน้อยลง
ลีดเดอร์บอร์ดนี้ตอนนี้เป็นส่วนตัว คลิก
แชร์
เพื่อทำให้เป็นสาธารณะ
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานโดยเจ้าของทรัพยากร
ลีดเดอร์บอร์ดนี้ถูกปิดใช้งานเนื่องจากตัวเลือกของคุณแตกต่างสำหรับเจ้าของทรัพยากร
แปลงกลับตัวเลือก
แบบทดสอบ
เป็นแม่แบบแบบเปิดที่ไม่ได้สร้างคะแนนสำหรับลีดเดอร์บอร์ด
ต้องลงชื่อเข้าใช้
สไตล์ภาพ
แบบ อักษร
ต้องสมัครสมาชิก
ตัวเลือก
สลับแม่แบบ
แสดงทั้งหมด
รูปแบบเพิ่มเติมจะปรากฏเมื่อคุณเล่นกิจกรรม
เปิดผลลัพธ์
คัดลอกลิงค์
คิวอาร์โค้ด
ลบ
คืนค่าการบันทึกอัตโนมัติ:
ใช่ไหม