The Joy of Computing Using Python | Week 1
Session: JULY- DEC 2024
Course Name: The Joy of Computing using Python
Course Link: Click Here
For answers or latest updates join our telegram channel: Click here to join
These are The Joy of Computing Using Python Week 1 Nptel Answers
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)
For answers or latest updates join our telegram channel: Click here to join
These are The Joy of Computing Using Python Week 1 Nptel Answers
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) 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.
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
For answers or latest updates join our telegram channel: Click here to join
These are The Joy of Computing Using Python Week 1 Nptel Answers
Q5. Let answer for previous question be stored in variable x, what does the cat say after the execution of the loop ?
16
5
29
44
Answer: 29
Q6. Which of the following is use case of variables in programming.
They are used to make the computer store program data into SSD.
They help in storing and retrieval of information/data while a task on the machine is running.
They simplify a task which involves processing repetitive procedures.They simplify a task which involves processing repetitive procedures.
They help in running multiple tasks parallel to each other.
Answer: They help in storing and retrieval of information/data while a task on the machine is running.
For answers or latest updates join our telegram channel: Click here to join
These are The Joy of Computing Using Python Week 1 Nptel Answers
Q7. What is the concept that helps in instructing the computer to execute repetitive tasks ?
Functions
Variables
Conditionals
Loops
Answer: Loops
Q8. Can polynomial expressions be instructed to computer in logically finite steps ?
Yes
No
Answer: Yes
For answers or latest updates join our telegram channel: Click here to join
These are The Joy of Computing Using Python Week 1 Nptel Answers
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 ?
Moves the ball in a parabolic path and stops 21 away steps from center(0, 0) in x direction.
Moves the ball in a circular path and 21 times.
Moves the ball in a triangular path and end at the center (0, 0).
Moves the ball in a parabolic path and stops 20 away steps from center(0, 0) in x direction.
Answer: Moves the ball in a parabolic path and stops 20 away steps from center(0, 0) in x direction.
For answers or latest updates join our telegram channel: Click here to join
These are The Joy of Computing Using Python Week 1 Nptel Answers
More Weeks of The Joy of Computing Using Python: Click here
More Nptel Courses: https://progiez.com/nptel-assignment-answers