The Joy of Computing Using Python Week 1 Nptel Answers
Are you looking for The Joy of Computing Using Python Week 1 Nptel Answers . All weeks of The Joy of Computing Using Python Week 1 Nptel Answerss available here
Table of Contents

The Joy of Computing Using Python Week 1 Nptel Answers (Jan-Apr 2025)
Course Link: Click Here
1. Which blocks can be used to move the cat?
- A) Walk
- B) Move
- C) Teleport
- D) Glide
2. Which set of blocks moves the cat 40 steps and then points down?

3. What does the cat say here?
- A) Says the number 7, for 1 second, 7 times, and changes the value of the variable by multiplying the previous value with 1.
- B) Says the number 7, for 1 second, 7 times, and changes the value of the variable by adding 1.
- C) Says the number 7, for 1 second, then numbers from 6 to 1, one by one, for 1 second each.
- D) Says the number 7, for 1 second, then numbers from 6 to 0, one by one, for 1 second each.
4. From the previous question, what is the value of myNum
after the loop ends?
- A) 1
- B) 0
- C) 7
- D) Undefined
5. Let the answer from the 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) 2
6. Which of the following data types is primarily used for storing a sequence of characters in most programming languages?
- A) Integer
- B) Float
- C) String
- D) Boolean
7. Which of the following statements best describes why loops are commonly used?
- A) Loops make the code run slower but more reliably.
- B) Loops allow you to execute a block of code repeatedly without having to write it multiple times.
- C) Loops are only useful for error handling.
- D) Loops automatically convert variables from one data type to another.
8. Suppose you have an arithmetic expression involving addition, subtraction, multiplication, and exponentiation. Which statement is true about instructing a computer to evaluate it?
- A) Such expressions cannot be computed.
- B) A computer can only evaluate expressions involving addition and multiplication.
- C) These expressions can be evaluated using built-in operations or libraries.
- D) A computer can only evaluate expressions involving addition and subtraction.
9. In which of the following code blocks is the calculation of the squared distance between two points (15, 25) and (20, 19) accomplished?


10. What task does the block below accomplish?
- A) Moves the ball in a parabolic path and stops 18 steps away from the center (0, 0) in the x-direction.
- B) Moves the ball in a circular path 18 times.
- C) Moves the ball in a parabolic path and stops 18 steps away from the center (0, 0) in the y-direction.
- D) Moves the ball in a parabolic path and stops 17 steps away from the center (0, 0) in the x-direction.
The Joy of Computing Using Python Week 1 Nptel Answers (July-Dec 2024)
Course Link: Click Here
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
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.
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
