NPTEL The Joy Of Computing Using Python Week 8 Assignment Solutions
NPTEL The Joy Of Computing Using Python Week 8 Assignment Answer 2023
1. What is the correct initialisation of tuples?
Dates = [12,23,3,4]
Dates = (12,23,3,4)
Dates = {12,23,3,4}
Both B and C
Answer :- For Answer Click Here
2. What operations can be done on tuples?
- Tuples are appendable.
- We can delete a value from tuples.
- Both A and B.
- We can count the number of instances of an element.
Answer :- For Answer Click Here
3. What will be the output of the following code?
- 1,2,3,4,5
- 5,4,3,2,1
- 5,4,3,2
- 1,2,3,4
Answer :- For Answer Click Here
4. What will be the output of the following code?
- gbdfcppl
- ezbdannj
- ytvxuhhd
Answer :- For Answer Click Here
5. When the following program will clap?
- When both players will enter the same letters.
- When player 2 will enter the next letter with respect to player 1.
- When player 1 will enter the next letter with respect to player 2.
- It will never clap.
Answer :- For Answer Click Here
6. Which statement is correct about the following program?
- The graph will go up when guess and pick are the same.
- The graph will go down when guess and pick are the same.
- The graph will go up when guess and pick are not the same.
- Both B and C
Answer :- For Answer Click Here
7. What does NLTK do?
- Helps to work with human language data.
- Helps to convert machine data into human language.
- Helps to work on gibberish language.
- Helps to translate dog language into human language.
Answer :- For Answer Click Here
8. What is the output of the following code?
- [‘!’, ‘e’, ‘e’, ‘e’, ‘h’, ‘h’, ‘r’, ‘t’, ‘y’]
- [‘h’, ‘e’, ‘y’, ‘!’, ‘t’, ‘h’, ‘e’, ‘r’, ‘e’]
- [‘y’, ‘t’, ‘r’, ‘h’, ‘h’, ‘e’, ‘e‘, ‘e’, ‘!’]
- None of the above
Answer :- For Answer Click Here
9. While converting an image into black and white during enhancement you cannot convert it back into a colored image.
True
False
Answer :- For Answer Click Here
10. How does vader help in sentiment analysis?
- It calculates whether the statement is negative, positive or neutral.
- It takes care of the intensity of a statement.
- Both A and B
- None of the above
Answer :- For Answer Click Here
Course Name | The Joy Of Computing Using Python |
Category | NPTEL Assignment Answer |
Home | Click Here |
Join Us on Telegram | Click Here |