Hey Folks, If you are registered for the NPTEL Course Joy of computing Using Python for this new Academic Semester July 2024. Then This is for you. Our team Study2night will provide answers for this course.Â
If you registered for any other course, our team will going to provide the answers. Let us know in the telegram channel before July 30.ÂNPTEL Joy Of Python Using Python Week 1 Assignment July 2024
Q1. The cat wants to move 100 steps away slowly, and by the time it finishes moving 100 steps, it needs to slowly rotate as well towards the opposite direction. Can both these tasks be accomplished by using single loop in scratch?
Â
A. Yes
B. NoÂ
Answer: [ B ]Â NoÂ
Q2. Which block moves the cat as described in the previous question ?
Answer: [ B ]Â
Â
Â
Q3. What does the cat say here ?
 A. Says the number 4, for 1 second, 10 times and changes the value of number variable by multiplying previous value with 4.
 B. Says the number 4, for 1 second, 10 times and changes the value of number variable by adding previous value with 4.
 C. Says the number 4, and its multiples each for 1 second, till 40 and changes the value of number variable by multiplying previous value with 4.
 D. Says the number 4, and its multiples each for 1 second, till 40 and changes the value of number variable by adding previous value with 4.
Answer: [ D ]Â
Q4. From the previous question, what is the value of number variable after the loop ends ?
Â
A. 40
B. 44
C. 36
D. 4
Answer: [ B ] 44Â
Q5. Let answer for previous question be stored in variable x, what does the cat say after the execution of the loop ?
A. 16
B. 5
C. 29
D. 44
Answer: [ C ] 29Â
Q6. Which of the following is use case of variables in programming.
Â
A. They are used to make the computer store program data into SSD.
B. They help in storing and retrieval of information/data while a task on the machine is running.
C. They simplify a task which involves processing repetitive procedures.They simplify a task which involves processing repetitive procedures.
D. They help in running multiple tasks parallel to each other.
Answer: [ B ]Â
Q7. What is the concept that helps in instructing the computer to execute repetitive tasks ?
Â
A. Functions
B. Variables
C. Conditionals
D. Loops
Answer: [ D ] Loops
Q8. Can polynomial expressions be instructed to computer in logically finite steps ?
Â
A. Yes
B. No
Answer: [ A ]Â Yes
Q9. In which of the following code blocks calculation of the squared distance between two points (10, 20) and (35, 49) is accomplished.
Answer: [ D ]Â
Q10. What task does the block below accomplish ?
Â
A. Moves the ball in a parabolic path and stops 21 away steps from center(0, 0) in x direction.
B. Moves the ball in a circular path and 21 times.
C. Moves the ball in a triangular path and end at the center (0, 0).
D. Moves the ball in a parabolic path and stops 20 away steps from center(0, 0) in x direction.
Answer: [ D ]Â
Conclusion
If any changes in the answer, please visit the website on or before to the last date.Â
Join Telegram:Â Â CLICK HEREÂ Â