Calculate The Perimeter of A Rectangle
Calculate The Perimeter of A Rectangle
1. Instruction: State the most appropriate data type for each of the following
scenarios.
Question:
What type of data is the program's result (True)?
b) In a quiz, the teacher asks students to write the first letter of their favorite fruit.
Lisa writes "A" for apple.
Question:
What type of data is the letter "A"?
c) A teacher asks John to count the total number of books on the classroom shelf.
John counts 12 books.
Question:
What type of data is the total number of books?
d) The school needs to print name tags for an event. John’s name is written as "John
Smith" on his tag.
Question:
What type of data is the name "John Smith"?