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?"))

Variable's and Data Types

Табло

Визуален стил

Опции

Шаблон за превключване

Възстановяване на авто-записаната: ?