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
עריכת תוכן
הדפסה
הטבעה
עוד
הקצאות
לוח תוצאות מובילות
הצג עוד
הצג פחות
לוח התוצאות הזה הוא כרגע פרטי. לחץ
שתף
כדי להפוך אותו לציבורי.
לוח תוצאות זה הפך ללא זמין על-ידי בעל המשאב.
לוח תוצאות זה אינו זמין מכיוון שהאפשרויות שלך שונות מאשר של בעל המשאב.
אפשרויות חזרה
חידון
היא תבנית פתוחה. זה לא יוצר ציונים עבור לוח התוצאות.
נדרשת כניסה
סגנון חזותי
גופנים
נדרש מנוי
אפשרויות
החלף תבנית
הצג הכל
תבניות נוספות יופיעו במהלך המשחק.
תוצאות פתוחות
העתק קישור
קוד QR
מחיקה
האם לשחזר את הנתונים שנשמרו באופן אוטומטי:
?