The objectives for this quiz are:
Char
Strings
Numbers (Integers, Floats)
Boolean
0 of 20 Questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 20 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
_____________ is a collection of text characters. For example: XYZ, Hello world. There is no real limit on the amount of storage that can be used by a string.
_________________ is a single textual character, and can be a letter of the alphabet, a symbol, or, indeed, a numerical character. For example: a, D, 7, $, @, #. These consume one byte of storage.
These are a special numeric data type indicating that something is either TRUE or FALSE (with a 1 or 0).
Which of the following data types should a developer use when creating a variable to hold a postal code?
________________ are whole numbers. For example: 5, 21, or 65536. An __________ data type consumes 1 to 8 bytes of computer storage.
________________ can support decimal fractions such as 4.1, 26.4, or 5.62.
Which of the following is true about strings?
For example: 5, 21, or 65536 is what data type?
For example 4.1, 26.4, or 5.62 is what data type?
Something is either TRUE or FALSE (with a 1 or 0) is what data type?
Which of the following is true about integers?
Which of the following is true about Boolean values?
Which of the following is true about characters(char)?
Which of the following is true about Floating-point numbers?
The following link will show you how to install python app on your system. https://vimeo.com/827151528?share=copy
Once python is installed complete the following to determine the appropriate data type
y = “Today is a Good Day”
#display y:
print(y)
#display the data type of y:
print(type(y))
The following link will show you how to install python app on your system. https://vimeo.com/827151528?share=copy
Once python is installed complete the following to determine the appropriate data type
y = 30
#display y:
print(y)
#display the data type of y:
print(type(y))
The following link will show you how to install python app on your system. https://vimeo.com/827151528?share=copy
Once python is installed complete the following to determine the appropriate data type
y = True
#display y:
print(y)
#display the data type of y:
print(type(y))
The following link will show you how to install python app on your system. https://vimeo.com/827151528?share=copy
Once python is installed complete the following to determine the appropriate data type
y = 30.5
#display y:
print(y)
#display the data type of y:
print(type(y))
The following code what data type of y would output to the screen?
>>> y=str(“Today is a Good Day”)
>>> print(type(y))
Match the correct data type to the code
x = 200
|
|
x = 90.5
|
|
x = False
|
|
x = "Hello Good Morning"
|
|