Professional Documents
Culture Documents
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
reviewer4@nptel.iitm.ac.in
Unit 7 - Week 5
Course
outline Assignment 5
How does an The due date for submitting this assignment has passed. Due on 2020-03-04, 23:59 IST.
NPTEL online As per our records you have not submitted this assignment.
course work?
1) 1 point
Week 0
Week 1
Week 2
Week 3
Week 4
Week 5
Lecture 22:
Example of If-
Else (unit?
unit=6&lesson=36)
a) 012…9
Lecture 23 :
Example of
b) 0 1 2 … 10
Loops (unit? c) 123…9
unit=6&lesson=37)
d) 1 2 3 … 10
Lecture 24 : No, the answer is incorrect.
Example of Score: 0
A dA
https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=6&assessment=104 1/7
03/07/2020 Problem solving through Programming In C - - Unit 7 - Week 5
Week-05
Problem-02
(/noc20_cs06/progassignment?
name=119)
Week-05
Problem-03
(/noc20_cs06/progassignment?
name=120)
Week-05
Program-04
(/noc20_cs06/progassignment?
name=121)
Week-05
Program-05
(/noc20_cs06/progassignment?
name=122)
a) 4, 5
Feedback For
Week 5 (unit?
b) 4, 4
unit=6&lesson=130) c) 5, 5
d) 0, 0
Week 6
No, the answer is incorrect.
Score: 0
Week 7
Accepted Answers:
c) 5, 5
Week 8
4) 1 point
Week 9
Week 10
Week 11
Week 12
DOWNLOAD
VIDEOS
https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=6&assessment=104 2/7
03/07/2020 Problem solving through Programming In C - - Unit 7 - Week 5
Assignment
Solution
a) n multiplied n times
b) factorial of n
c) display factors of n
d) display Fibonacci series upto n.
No, the answer is incorrect.
Score: 0
Accepted Answers:
b) factorial of n
https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=6&assessment=104 3/7
03/07/2020 Problem solving through Programming In C - - Unit 7 - Week 5
5) 1 point
a) IIT Delhi
b) IIT Kharagpur
c) IIT Madras
d) IIT Guwahati
No, the answer is incorrect.
Score: 0
Accepted Answers:
c) IIT Madras
6) 1 point
https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=6&assessment=104 4/7
03/07/2020 Problem solving through Programming In C - - Unit 7 - Week 5
a) Condition is true
b) Condition is false
c) Error
d) No output possible
No, the answer is incorrect.
Score: 0
Accepted Answers:
a) Condition is true
7) 1 point
a) 12345
b) 1245
c) 12
d) 45
No, the answer is incorrect.
Score: 0
Accepted Answers:
c) 1 2
https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=6&assessment=104 5/7
03/07/2020 Problem solving through Programming In C - - Unit 7 - Week 5
8) 1 point
a) Compilation error
b) 0, 1, 2 …….., 127
c) 0, 1, 2, …….., 127, -128, -127,……., -2, -1, 0, 1, ……. infinite loop
d) 1, 2, 3…….,127
No, the answer is incorrect.
Score: 0
Accepted Answers:
c) 0, 1, 2, …….., 127, -128, -127,……., -2, -1, 0, 1, ……. infinite loop
9) 1 point
a) n==4
b) n%400 != 0
c) n>0
d) n%400 == 0
No, the answer is incorrect.
Score: 0
Accepted Answers:
d) n%400 == 0
https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=6&assessment=104 6/7
03/07/2020 Problem solving through Programming In C - - Unit 7 - Week 5
10) 1 point
https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=6&assessment=104 7/7