Quiz on Python Variables and Data types
FREE Online Courses: Transform Your Career – Enroll for Free!
Quiz Summary
0 of 15 Questions completed
Questions:
Information
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:
Results
Results
0 of 15 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)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- Current
- Review / Skip
- Answered
- Correct
- Incorrect
-
Question 1 of 15
1. Question
- Which of the following cannot be a Python variable name?
CorrectIncorrect -
Question 2 of 15
2. Question
- Which of the following is not a Python Data Type?
CorrectIncorrect -
Question 3 of 15
3. Question
What is the output of the following code?
print(type({}))
CorrectIncorrect -
Question 4 of 15
4. Question
- Which data type can be used to store the percentage obtained by a student?
CorrectIncorrect -
Question 5 of 15
5. Question
dic={1:’A’,2:’E’,3:’I’}
dic[4]=’O’
print(dic)CorrectIncorrect -
Question 6 of 15
6. Question
What is the output of the following code?
list1=[‘a’,’b’,’g’,1,5]
print(list1.pop)
CorrectIncorrect -
Question 7 of 15
7. Question
- Which of the following operators is used to add elements at the end of list?
CorrectIncorrect -
Question 8 of 15
8. Question
var=2
print(2==2.0)
CorrectIncorrect -
Question 9 of 15
9. Question
num=4+0j
print(type(num))
CorrectIncorrect -
Question 10 of 15
10. Question
print(int(3.9))
CorrectIncorrect -
Question 11 of 15
11. Question
a=’Python’+”.py”
print(a)
CorrectIncorrect -
Question 12 of 15
12. Question
In which of the following indexing is not allowed?
CorrectIncorrect -
Question 13 of 15
13. Question
What is the output of the following code?
print(str(True),end = ” “)
int(“4.5”)
CorrectIncorrect -
Question 14 of 15
14. Question
- Which of the following gives the output as “ello” from name=“Hello, World!”?
CorrectIncorrect -
Question 15 of 15
15. Question
set1={1,5,6,4,3}
print(set1)
CorrectIncorrect