Course Content
Week 1 Assignment Answers (Free)
0/1
Week 2 Assignment Answers
0/1
Week 4 Assignment Answers
0/1
Week 7 Assignment Answers
0/1
Week 8 Assignment Answers
0/1
Week 9 Assignment Answers
0/1
Week 10 Assignment Answers
0/1
Week 11 Assignment Answers
0/1
Week 12 Assignment Answers
0/1
NPTEL The Joy of Computing using Python Assignment Answers 2024 (July-October)
    About Lesson

    1. 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?

    • Yes
    • No
    Answer :- a

    2. Which block moves the cat as described in the previous question ?

    Answer :- c

    3. What does the cat say here ?

    • Says the number 4, for 1 second, 10 times and changes the value of number variable by multiplying previous value with 4.
    • Says the number 4, for 1 second, 10 times and changes the value of number variable by adding previous value with 4.
    • 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.
    • 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

    4. From the previous question, what is the value of number variable after the loop ends ?

    • 0
    • 44
    • 36
    • 4
    Answer :- b

    5. 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 :- c

    6. 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 :- b

    7. What is the concept that helps in instructing the computer to execute repetitive tasks ?

    • Functions
    • Variables
    • Conditionals
    • Loops
    Answer :- d

    8. Can polynomial expressions be instructed to computer in logically finite steps ?

    • Yes
    • No
    Answer :- a

    9. In which of the following code blocks calculation of the squared distance between two points (10, 20) and (35, 49) is accomplished.

    Answer :- d

    10. 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 :- d
    0% Complete