Quiz 1
July 12, 2021
Assesment Summary
0 of 10 Questions completed
Questions:
Information
You have already completed the assesment before. Hence you can not start it again.
Assesment is loading…
You must sign in or sign up to start the assesment.
You must first complete the following:
Results
Results
0 of 10 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
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 10
1. Question
1.Which of the options prints “I am 20 years old” if added to the end of the given code?
CorrectIncorrect -
Question 2 of 10
2. Question
2.How do you insert COMMENTS in Python code?
CorrectIncorrect -
Question 3 of 10
3. Question
3.How do you create a variable with the numeric value 5?
CorrectIncorrect -
Question 4 of 10
4. Question
4. What is the correct file extension for Python files?
CorrectIncorrect -
Question 5 of 10
5. Question
5. What is the type of the “a”?
>> a = “12”*(12%11)CorrectIncorrect -
Question 6 of 10
6. Question
6.What will be the output of the following Python code?
>>>str=“hello”
>>>str[:2]
CorrectIncorrect -
Question 7 of 10
7. Question
7.What is the correct syntax to return the first character in a string?
CorrectIncorrect -
Question 8 of 10
8. Question
8.What is the output?
CorrectIncorrect -
Question 9 of 10
9. Question
9.Which of the following is the output of the following Python code?
CorrectIncorrect -
Question 10 of 10
10. Question
10.Which of the following is the list comprehension version of the below code?
CorrectIncorrect