0% found this document useful (0 votes)
131 views7 pages

Noc20-Cs06 Week 05 Assignment 01

The document is a weekly summary for an online NPTEL course on problem solving through programming in C. It provides an overview of the course content for Week 5, including lectures on for statements, if/else examples, and loops. It also links to assignments, programs, and a feedback form for the week. The summary concludes by noting the student has not submitted Assignment 5, which was due on March 4, 2020.

Uploaded by

Modicare Quite
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
131 views7 pages

Noc20-Cs06 Week 05 Assignment 01

The document is a weekly summary for an online NPTEL course on problem solving through programming in C. It provides an overview of the course content for Week 5, including lectures on for statements, if/else examples, and loops. It also links to assignments, programs, and a feedback form for the week. The summary concludes by noting the student has not submitted Assignment 5, which was due on March 4, 2020.

Uploaded by

Modicare Quite
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

03/07/2020 Problem solving through Programming In C - - Unit 7 - Week 5

(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)

reviewer4@nptel.iitm.ac.in 

NPTEL (https://swayam.gov.in/explorer?ncCode=NPTEL) » Problem solving through Programming In C (course)

Announcements (announcements) About the Course (https://swayam.gov.in/nd1_noc20_cs06/preview)

Ask a Question (forum) Progress (student/home) Mentor (student/mentor)

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 21: For


Statement
(Contd.) (unit?
unit=6&lesson=35)

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

Loops (Contd.) Accepted Answers:


(unit? d) 1 2 3 … 10
unit=6&lesson=38)
2) Continue statement used 1 point
Lecture 25 :
Example of
a) to continue to the next line of code
Loops (Contd.),
Use of FOR b) to debug
Loops (unit? c) to stop the current iteration and begin the next iteration from the
unit=6&lesson=39)
beginning
Quiz : d) None of the above
Assignment 5
(assessment? No, the answer is incorrect.
Score: 0
name=104)
Accepted Answers:
Week-05 c) to stop the current iteration and begin the next iteration from the beginning
Problem-01
3)
(/noc20_cs06/progassignment? 1 point
name=118)

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

a) ‘while vs do-while’ once


b) ‘Out of loop’ infinite times
c) Both ‘while vs do-while’ and ‘Out of loop’ once
d) ‘while vs do-while’ infinite times
No, the answer is incorrect.
Score: 0
Accepted Answers:
d) ‘while vs do-while’ infinite times

https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=6&assessment=104 7/7

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy