Noc20-Cs07 Week 02 Assignment 03
Noc20-Cs07 Week 02 Assignment 03
(https://swayam.gov.in) (https://swayam.gov.in/nc_details/NPTEL)
Announcements (announcements)
W2_ProgrammingQs-2
Course Due on 2020-02-13, 23:59 IST
outline
Consider the following program and complete the operator overloading
How does an of + operator for struct Complex
NPTEL online such that it matches the given test cases.
course work?
Sample Test Cases
Week 0 Input Output
Module 6 : 10, 20
Constants and Test Case 2 10 20 30 40 30, 40
Inline
40, 60
Functions
(Lecture 08)
(unit? 10, -20
unit=4&lesson=21) Test Case 3 10 -20 20 -10 20, -10
30, -30
Module 6 :
Constants and
Inline
The due date for submitting this assignment has passed.
Functions
As per our records you have not submitted this assignment.
(Contd.)
(Lecture 09)
(unit?
unit=4&lesson=22)
Module 7 :
Reference and
Pointer
(Lecture 10)
https://onlinecourses.nptel.ac.in/noc20_cs07/progassignment?name=107 1/4
02/07/2020 Programming in C++ - Course
(unit?
unit=4&lesson=23)
Module 7 :
Reference and
Pointer
(Contd.)
(Lecture 11)
(unit?
unit=4&lesson=24)
Module 8 :
Default
Parameters
and Function
Overloading
(Lecture 12)
(unit?
unit=4&lesson=25)
Module 8 :
Default
Parameters
and Function
Overloading
(Contd.)
(Lecture 13)
(unit?
unit=4&lesson=26)
Module 8 :
Default
Parameters
and Function
Overloading
(Contd.)
(Lecture 14)
(unit?
unit=4&lesson=27)
Module 9 :
Operator
Overloading
(Lecture 15)
(unit?
unit=4&lesson=28)
Module 9 :
Operator
Overloading
(Contd.)
(Lecture 16)
(unit?
unit=4&lesson=29)
Module 10 :
Dynamic
Memory
Management
(Lecture 17)
(unit?
unit=4&lesson=30)
https://onlinecourses.nptel.ac.in/noc20_cs07/progassignment?name=107 2/4
02/07/2020 Programming in C++ - Course
Module 10 :
Dynamic
Memory
Management
(Contd.)
(Lecture 18)
(unit?
unit=4&lesson=31)
Lecture
Materials (unit?
unit=4&lesson=32)
Quiz :
Assignment 2
(assessment?
name=105)
W2_ProgrammingQs-
1
(/noc20_cs07/progassignment?
name=106)
W2_ProgrammingQs-
2
(/noc20_cs07/progassignment?
name=107)
W2_ProgrammingQs-
3
(/noc20_cs07/progassignment?
name=108)
Feedback For
Week 2 (unit?
unit=4&lesson=101)
Week 3
Week 4
Week 5
Week 6
Week 7
Week 8
DOWNLOAD
VIDEOS
Text Transcripts
Assignment
Solution
Live Interactive
Session
https://onlinecourses.nptel.ac.in/noc20_cs07/progassignment?name=107 3/4
02/07/2020 Programming in C++ - Course
Books
https://onlinecourses.nptel.ac.in/noc20_cs07/progassignment?name=107 4/4