NPTEL Problem Solving Through Programming In C Week 5 Assignment Answers 2023

Join Our WhatsApp Group Join Now
Join Us On Telegram Join Now

NPTEL Problem Solving Through Programming In C Week 5 Assignment Answers

[Week 1] NPTEL Problem Solving Through Programming In C Assignment Answers 2023

NPTEL Problem Solving Through Programming In C Week 5 Assignment Answers 2023

1. The statement that transfers control to the beginning of the loop is called
a) break
b) continue
c) goto
d) None of the above

Answer :- 

2. In C three way transfer of control is possible using
a) Unary operator
b) Logical operator
c) Ternary operator
d) None

Answer :- 

3.

NPTEL Problem Solving Through Programming In C Week 5 Assignment Answers 2023

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

Answer :- For Answer Click Here

4.

NPTEL Problem Solving Through Programming In C Week 5 Assignment Answers 2023

a) 5
b) 10
c) No output
d) Compilation error

Answer :- For Answer Click Here

5.

NPTEL Problem Solving Through Programming In C Week 5 Assignment Answers 2023

a) True
b) False
c) Both ‘True’ and ‘False’
d) Compilation error

Answer :- For Answer Click Here

6.

NPTEL Problem Solving Through Programming In C Week 5 Assignment Answers 2023

a) After loop x=1
b) 1
After loop x=2
c) 1 2 3 4 5 6 7 8 9 10
d) No output

Answer :- For Answer Click Here

7.

NPTEL Problem Solving Through Programming In C Week 5 Assignment Answers 2023

a) Error
b) I love C – will be printed 3 times
c) I love C – will be printed 6 times
d) I love C – will be printed 5 times

Answer :- For Answer Click Here

8.

NPTEL Problem Solving Through Programming In C Week 5 Assignment Answers 2023

a) 1
b) 2
c) 3
d) Error

Answer :- For Answer Click Here

9.

NPTEL Problem Solving Through Programming In C Week 5 Assignment Answers 2023

a) n!=0
b) n==0
c) n%10==0
d) n/10==0

Answer :- For Answer Click Here

10.

NPTEL Problem Solving Through Programming In C Week 5 Assignment Answers 2023

a) 8,10
b) 8,9
c) 6, 9
d) 7, 10

Answer :- For Answer Click Here
Course NameProblem Solving Through Programming In C
CategoryNPTEL Assignment Answer
Home Click Here
Join Us on TelegramClick Here

Leave a comment