Exams scheduled on the below date
Rescheduled - New Date
March 29, 2020
June 23, 2020
April 25, 2020
June 24, 2020
April 26, 2020
June 25, 2020
Important:
The above is subject to Government restrictions prevalent in various states at that point in time.
If you choose this option, the responsibility to reach the centre lies with you.
If the exams do get postponed due to unavoidable circumstances, exams may be conducted in August 2020 or maybe even as late as in October 2020.
If you choose to write the exam through this option and the exam is conducted by us in a particular city and you miss it, refund will NOT be possible as all arrangements would have been made with the vendor for the same and hence payment made to the vendor.
If you do pass the course as per the criteria mentioned, certificate will be the same as we normally give.
NPTEL, along with the exam partner, will make sure that exams are conducted by following appropriate social distancing norms and hygiene rules as required in the current situation.
We will try and ensure conduct of exam in the cities given in the list, but if in case for any unforeseen reason, we are unable to conduct the exam in the city chosen by you, we will refund 80% of the exam fee. In this case, you will not get the certificate from us.
Same final score calculation and pass criteria as mentioned in the Course introduction page will be applied and NPTEL certificates will be given as per that.
Exam fees will not be refunded if you select this option and later do not/cannot take the exam.
In the link given below, you may choose exam cities where you prefer to write exams.
------------------------------ ----
OPTION 2: CANCEL EXAM AND TAKE A REFUND
NPTEL certificate will NOT be issued in this case and you will only get an attested assignment score sheet. We will create and share a letter stating the Assignment scores obtained in the course, by the end of June, 2020.
We will refund 80% of the exam fees you had paid, with 20% retained by NPTEL towards admin costs. Refund will be initiated only after exams are concluded (after June 25).
THOSE WHO DO NOT FILL THIS FORM
By default, your choice will be taken as: CANCEL AND REFUND
LAST DATE TO FILL THIS FORM: JUNE 7, 2020 - 5PM
Link: bit.ly/NPTELExamOptionForm (Please open from Incognito window)
- NPTEL Team
If you wish to take the remote proctored online exam online, please follow the following steps. STEP 1 : Mock Test You will receive an email with Link for a Mock Test. Please go ahead and use this link to test your system requirements and compatibility.
Dear Learners,
Detailed Solution for Assignment 12 is available now in the Course Outline section. Please go through the solution and in case of any doubt post your queries in the forum.
Thank you for enrolling to this NPTEL course and we hope you have gone through the contents for this week and also attempted the assignment.
We value your feedback and wish to know how you found the videos and the questions asked - whether they were easy, difficult, as per your expectations, etc
We shall use this to make the course better and we can also know from the feedback which concepts need more explanation, etc.
Please do spare some time to give your feedback - comprises just 5 questions - should not take more than a minute, but makes a lot of difference for us as we know what the learners feel.
Here is the link to the form: https://docs.google.com/forms/d/e/1FAIpQLSdHGLrRc9m1gjDlV2w7K0hL9eBq2XcMSJ-LYG6tWhxlR5ZRPw/viewform
A brand new series from nptel is available from april 13, 2020 onward.
Dear Students
The lecture videos for Week 12 have been uploaded for the course Problem solving through Programming In C . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=13&lesson=70
The other lectures of this week are accessible from the navigation bar to the left. Please remember to login into the website to view contents (if you aren't logged in already).
Assignments for Week 12 are also uploaded and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=13&assessment=159 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=177 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=178 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=179 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=180 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=181
The assignment has to be submitted on or before Wednesday, 2020-04-22, 23:59 IST. For Programming assignment due date will be : 2020-04-23, 23:59 IST.
As we have done so far, please use the discussion forums if you have any questions on this module.
--NPTEL Team
Problem solving through programming in c - solution for week 10 assignment.
Detailed Solution for Assignment 10 is available now in the Course Outline section. Please go through the solution and in case of any doubt post your queries in the forum.
Dear learner, Hope you are staying safe and keeping well. We are entering the last week of learning in all NPTEL online courses of the Jan 2020 Semester, next week. Many of you have been wondering about the status of exams and writing to us or posting on the forums. In view of the current situation all across the country, we are postponing the NPTEL exams that were scheduled to have happened on April 25. We are still unsure about the dates for conducting the same as it depends on how things change. We will keep you informed through email and sms as we finalise the options. Once the dates are finalised, we will also allow you: 1. to cancel your exams if the future dates announced by us do not suit you 2. to change cities selected, if required. Please check the course Announcement section, your email (spam/junk folders also) and ask your friends/college for updates so that you don't miss it. Please write to [email protected] for any clarifications/concerns. Warm regards Nptel team
Dear Learners We hope you are doing well and staying safe. *Stuck indoors due to covid-19?* *Have time and would like to use it well?* *Have a passion to learn?* Join us for a session on how to utilize resources in Nptel. Presenter: Dr. Prathap Haridoss Professor, Dept. of Metallurgical and Materials Engg, IIT Madras NPTEL Coordinator Date: April 7, 2020 (Tuesday) Time: 4:00 pm YouTube link - https://youtu.be/BqD6CGIM5Dw Stay Home Stay Safe!” Happy Learning! NPTEL Team.
Dear Candidate Taking into consideration the current situation due to Coronavirus (COVID-19) pandemic and preventive actions, we are postponing the NPTEL Programming exam scheduled on April 15,2020 and 10AM and 8PM. We will keep you posted about the final date for the exam shortly. Please check your email/course announcement for further updates. Stay Home Stay Safe!” - NPTEL team
Problem solving through programming in c - week 11 is live now.
The lecture videos for Week 11 have been uploaded for the course Problem solving through Programming In C . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=12&lesson=65
Assignments for Week 11 are also uploaded and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=12&assessment=158 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=169 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=170 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=171 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=172 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=173
The assignment has to be submitted on or before Wednesday, 2020-04-15, 23:59 IST. For Programming assignment due date will be : 2020-04-16, 23:59 IST.
Detailed Solution for Assignment 9 is available now in the Course Outline section. Please go through the solution and in case of any doubt post your queries in the forum.
The lecture videos for Week 10 have been uploaded for the course Problem solving through Programming In C . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=11&lesson=60
Assignments for Week 10 are also uploaded and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=11&assessment=157 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=162 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=163 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=164 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=165 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=166
The assignment has to be submitted on or before Wednesday, 2020-04-08, 23:59 IST. For Programming assignment due date will be : 2020-04-09, 23:59 IST.
Detailed Solution for Assignment 8 is available now in the Course Outline section. Please go through the solution and in case of any doubt post your queries in the forum.
Problem solving through programming in c - week 9 is live now.
The lecture videos for Week 9 have been uploaded for the course Problem solving through Programming In C . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=10&lesson=55
Assignments for Week 9 are also uploaded and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=10&assessment=150 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=151 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=152 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=153 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=154 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=155
The assignment has to be submitted on or before Wednesday, 2020-04-01, 23:59 IST. For Programming assignment due date will be : 2020-04-02, 23:59 IST.
Exam registration related queries.
Kindly write all exam registration queries (e.g. payment not successful, not received payment confirmation, not able to pay, refund etc.) to [email protected]
Dear Learner We are receiving queries about the course schedule due to Coronavirus (COVID-19) pandemic and preventive actions. We will release our contents/assignment every Monday as usual till the course end date. Hence please note that our courses will be as per the schedule and request you to login your course and check for the contents every week. - NPTEL team
The lecture videos for Week 8 have been uploaded for the course Problem solving through Programming In C . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=9&lesson=50
Assignments for Week 8 are also uploaded and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=9&assessment=140 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=142 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=144 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=145 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=146 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=147
The assignment has to be submitted on or before Wednesday, 2020-03-25, 23:59 IST. For Programming assignment due date will be : 2020-03-26, 23:59 IST.
In Question no. 9 please consider a, b and c as three different numbers and answer the question accordingly.
Detailed Solution for Assignment 6 is available now in the Course Outline section. Please go through the solution and in case of any doubt post your queries in the forum.
Dear Candidate The criteria for certification of this course " Problem solving through Programming In C " is different because of the online programming exam component. Please read the following carefully. Final score = 25% of Assignment score + 50% of Online exam score (Proctored) + 25% of Programming exam (unproctored). - Unproctored means, candidates will be taking the exam from college/home without NPTEL team present for monitoring the test- with access to all resources. - The discussion forum will be disabled during the exam duration (during both sessions) and re-enabled thereafter. How to take the online programming test 1. Go to: https://onlinecourses.nptel.ac.in/noc20_cs06/ 2. Log in using the same email id which you have been accessing the course (i.e. using to watch videos & submit Assignments) 3. There will be sections under the course outline "April 15 programming Test" that will have the online programming exam link. 4. You can click on this link and attempt the programming exam. Date: April 15 (Wednesday) First Session: 10.00AM - 11.00PM (Duration of the session will be 1 hr) Second Session: 8.00PM - 9.00PM (Duration of the session will be 1 hr ) Note - You can take any one or both sessions too; the best score will be considered towards the final certification score. - You can take the exam from your college or home. - The exam has to be taken in pc or laptop. DO NOT TRY TO TAKE THE EXAM USING YOUR MOBILE PHONE. - The discussion forum will be disabled during the exam duration (during both sessions) and re-enabled thereafter. - If you encounter any issues during the exam, please write to [email protected] IMPORTANT: CERTIFICATION CRITERIA Candidates have to come to the exam center and take the theory test on April 25, 2020. It is mandatory to take the Proctored in-person final exam to obtain a certificate. To pass the course and get a certificate: Assignment score >= 40/100 AND Programming exam score >= 40/100 AND Proctored exam score >= 40/100 OR Assignment score >= 10/25 AND Programming exam score >= 10/25 AND Proctored exam score >= 20/50 All 3 conditions have to be satisfied. All the best to the candidates! -NPTEL Team.
In Week 7, Question no. 3 the option (c) is wrongly typed as n1 =17, n1 =17 which should be n1 =17, n2 =17 (by mistake both are typed as n1). Kindly answer it accordingly.
There is an ambiguity in the lecture regarding the method of finding the address of an element in a 2-dimensional array. The correct method is given below. The general formula to find address of any element in a 2D array is - Suppose a[x][y] has been declared. Starting address is z. The address of a[p][q] will be z+(p*y+q)*size of array element According to the lecture, array is A[5][3] and z=1000, p=2, q=2 So, the location of A[2][2] will be 1000+(2*3+2)*2=1016 Please note this correction
Reminder 3 : problem solving through programming in c: register today - certification exam form is now open.
Problem solving through programming in c - week 7 is live now.
The lecture videos for Week 7 have been uploaded for the course Problem solving through Programming In C . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=8&lesson=45
Assignments for Week 7 are also uploaded and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=8&assessment=132 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=133 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=134 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=135 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=136 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=137
The assignment has to be submitted on or before Wednesday, 2020-03-18, 23:59 IST. For Programming assignment due date will be : 2020-03-19, 23:59 IST.
Detailed Solution for Assignment 5 is available now in the Course Outline section. Please go through the solution and in case of any doubt post your queries in the forum.
Note: This is to remind you that exam registration deadline is 16 th March, 2020 and it is fast approaching. We recommend you to register for the certification exam so that your effort in learning this course gives you a valuable certificate with grades. If you have not registered yet, please do it as soon as possible.
Please ignore, if you have already registered for the exam.
Please note that in Assignment 5 question no. 9 the first "return 0;" statement in wrongly typed inside the "if" statement. Please read the program as below and answer the question. if( n%100 == 0 ){ if (_______________){ printf("%d is a leap year.\n",n); } return 0; } if( n%4 == 0){ printf ("%d is a leap year.\n",n); return 0; }
The lecture videos for Week 6 have been uploaded for the course Problem solving through Programming In C . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=7&lesson=40
Assignments for Week 6 are also uploaded and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=7&assessment=124
https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=125 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=126 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=127 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=128 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=129
The assignment has to be submitted on or before Wednesday, 2020-03-11, 23:59 IST. For Programming assignment due date will be : 2020-03-12, 23:59 IST.
Detailed Solution for Assignment 4 is available now in the Course Outline section. Please go through the solution and in case of any doubt post your queries in the forum.
Problem solving through programming in c - week 5 is live now.
The lecture videos for Week 5 have been uploaded for the course Problem solving through Programming In C . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=6&lesson=35
Assignments for Week 5 are also uploaded and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=6&assessment=104 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=118 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=119 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=120 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=121 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=122
The assignment has to be submitted on or before Wednesday, 2020-03-04, 23:59 IST. For Programming assignment due date will be : 2020-03-05, 23:59 IST.
Dear Learners, We have seen that there are many queries regarding assignment submission, hence we have prepared a document, please go through the document: https://drive.google.com/file/d/1KJp790xAaAbtEaYVvm0l-u87kAl48cn6/view?usp=sharing -NPTEL admin
Detailed Solution for Assignment 3 is available now in the Course Outline section. Please go through the solution and in case of any doubt post your queries in the forum.
Problem solving through programming in c - week 4 is live now.
The lecture videos for Week 4 have been uploaded for the course Problem solving through Programming In C . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=5&lesson=30
Assignments for Week 4 are also uploaded and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=5&assessment=103 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=109 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=110 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=111 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=112 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=113
The assignment has to be submitted on or before Wednesday, 2020-02-26, 23:59 IST. For Programming assignment due date will be : 2020-02-27, 23:59 IST.
Dear Learners We have noticed problems with the display of marks on mobile clients. For the users who submitted the assignment from the desktop, even when they have given the correct answer, the score for the individual question is shown as 0 on the assignment page on the mobile front. This error was specific to the users who submitted the assignment on the desktop and check the same from the mobile. The issue has been fixed now and you can check the same now through your desktop or mobile. -NPTEL amdin
Detailed Solution for Assignment 1 & 2 are available now in the Course Outline section. Please go through the solution and in case of any doubt post your queries in the forum.
Dear NPTEL Learner, Here is a great opportunity to listen to an industry expert, Mr. Nitesh Kumar Jangid, Technology and Research Advisor of Green Research IT Solutions Pvt Ltd., talk about Web Key Components. The topics covered in this session will include HTML, CSS, JavaScript, PHP, MySQL, etc. Time & Date : 13/02/2020, 7PM Click on this link to watch this LIVE session: youtu.be/AnD2xH72jHg During the session, you can post your queries through the chat window. If you want to post any questions based on the topic of the Live session to the Industry expert, please click here: forms.gle/ 6nE8vV9pnqMoH4k86 -NPTEL TEAM
Problem solving through programming in c - week 3 is live now.
The lecture videos for Week 3 have been uploaded for the course Problem solving through Programming In C . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=4&lesson=25
Assignments for Week 3 are also uploaded and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=4&assessment=102 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=105 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=106 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=107 https://onlinecourses.nptel.ac.in/noc20_cs06/progassignment?name=108
The assignment has to be submitted on or before Wednesday, 2020-02-19, 23:59 IST . For Programming assignment due date will be : 2020-02-20, 23:59 IST.
Here is the link to the form: https://docs.google.com/forms/d/1hlKvYYM4b9dUqhTDHUAY2R0Ke56e4XhR5lqgAZ_rZNg/viewform
Detailed Solution for Assignment 0 is available now in the Course Outline section. Please go through the solution and in case of any doubt post your queries in the forum.
The lecture videos for Week 2 have been uploaded for the course Problem solving through Programming In C . The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=3&lesson=20
Assignment for Week 2 is also uploaded and can be accessed from the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=3&assessment=94
The assignment has to be submitted on or before Wednesday, 2020-02-12, 23:59 IST.
Problem solving through programming in c - week 1 assignment is live now.
Dear Learners,
The assignment for Week 1 for the course Problem solving through Programming In C is made available early for viewing to get an idea about the assignments but the actual start date of the course remains unchanged.
Assignment 1 can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=2&assessment=93
The other Assignment 1 is accessible from the navigation bar to the left under Week 1. Please remember to login into the website to view contents (if you aren't logged in already).
The assignment has to be submitted on or before Wednesday , 12-02-2020 ,23:59 IST.
Please use the discussion forums if you have any questions on this module.
Happy Learning!
-NPTEL Team
There are some mistakes specially in the lecture 3 which are mentioned below: At 11.25 mins of the Lecture 3: Flow Chart and Pseudocode, in the flow chart of printing average of 3 numbers the final print statement should be “ Print AVG ” instead of “ Print SUM” as we are finding the Average of 3 numbers.
At 7.12 mins of the Lecture 3: Flow Chart and Pseudocode, Regarding the symbols used to represent the flow chart, generally oblong symbol is used to represent START and END of a flow chart and a parallelogram symbol is used to represent INPUT and OUTPUT, and the Circle symbol is used as a connector, when we need to represent the continuation of flow chart when there is shortage of space.
At 18.52 mins of the Lecture 3: Flow Chart and Pseudocode , in the flow chart of printing the average of N numbers: after reading the number and storing it in N we should store in another variable say M. So after the statement “ Read the value of N ” there will be another statement which will be “ M=N ” in a rectangular box. And after the decision box instead of AVG=SUM/N it will be AVG=SUM/M, as the value of N is becoming zero at the end of the decision loop.
At 28.07mins of the Lecture 3: Flow Chart and Pseudocode : in the flow chart for finding Max of N positive integer please follow the flow chart drawn in blue colour. Please ignore the corrections made. Thanks
The videos for Week 1 for the course Problem solving through Programming In C is made available early for viewing to get an idea about the content but the actual start date remains unchanged.
The lectures can be accessed using the following link: https://onlinecourses.nptel.ac.in/noc20_cs06/unit?unit=2&lesson=15
We welcome you all to this course. The assignment 0 for the course Problem solving through Programming In C has been released. This assignment is based on a prerequisite of the course. Kindly note that marks obtained in this assignment will not be considered for the final assessment. You can find the assignment under Week 0 unit on the left-hand side of your screen You can submit the assignment multiple times before the due date. All the best !!
The due date of Assignment 0: 2020-01-27, 23:59 IST.
Dear Learner Welcome to the NPTEL Online course. Thank you for enrolling with us. We are releasing the first set of videos which are help videos. These are prepared to walk you through the portal functionalities and give you a basic idea about the entire online learning process. We request you to go through each of these videos for a better understanding of the NPTEL Certification Process (They are quite short and brief). For first time online enrollees: How to view the videos: Click on the tab (on the left side if using a Desktop) called Course Outline and then on the Unit called " How does an NPTEL online course work? ". Click on every link given there and watch the video. Hope these will help you get the most out of the online course. After watching these, ask any queries you may have on the Discussion Forum. Looking forward to interacting with you. Thanks & Regards, NPTEL Team.
Find centralized, trusted content and collaborate around the technologies you use most.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Get early access and see previews of new features.
I feel stuck and I don't know what to do to become a good programmer. I have followed so many tutorials:
FreeCodeCamp - 4h 30 min
3dbuzz C# (like 2 beginner and 1 advanced)
Caleb Curry - 6+
Bob from Microsoft
and many more videos.
And I am stuck. My goal with C# was to improve it so I would get better at Unity. But I dont feel that much better. I would say that my syntax knowledge is pretty good now, but thats the easy part. C# is my first programming language and I am struggling to use my knowledge(syntax) to build things with it. I just dont have the problem solving skills required to create things in either C# or Unity. But where am I supposed to learn that? It seems like everyone either tells you to just do algorithms(Leetcode) or "Just code". (1) I have done different sorting algorithms and other stuff, but I feel like that doesn't really help me. (2) "Just code" yes but what? Everyone tells you to practice, but never how or what. Like I dont have any tasks to use the knowledge I have gained on.
I cant build big applications, I cant make save/load systems, I cant make complex things. I dont know where I am supposed to learn that stuff. And I cant find any vidoes/courses that teach me that stuff. Its all just "this is how foreach" works. "This is how delegates" works. "This is how you implement the observer pattern" its never "This is how you should think, this is how you should implement it all together"
Like do I have to enroll in CS50 to learn how to think as a programmer or is taking a deep dive in C# just a waste of time when my goal is game development(I dont think/hope it is, I mean game engines build on programming)
What Am I supposed to do?
This is a great question that I believe needs to be discussed more. I love programming and have done so from an early age. So, where did I learn it to become seasoned? To reiterate all the great comments, you get there by doing, get frustrated, work through it. Ask what else you could do.
The tutorials you've followed and possibly interacted with have led you to understand how to read code and, in a theoretical sense, concepts such as polymorphism and inheritance. The problem you're facing now is taking that and applying it to the Unity projects you've got queued up. The other piece to note, which you need to separate, is domain knowledge as it applies to C#. Knowing how to develop in C# and the domain libraries, terms, and concepts for game programming and graphics are different.
You're clearly motivated, so take one of your more straightforward ideas and work through it. Make it work, however ugly you think it is; a blank page is daunting. Unity has many tutorials. Work through one and then expand on it. Once it's effectively operating, think about how you could have broken that code up. Are some of your methods doing too much? If you wanted to expand your game ideas, will what you've written support that? If not, think about how you might extract critical information, such as the separation of duties. An example: Round 1 - You want a bag to carry the items you collected:
It's a start, but now you want to know more about the item rather than just a name. Ok, let's create an object for that and apply it.
In this example, you finally want some items to be health, weapons, armor, etc. Each one now deviates from a basic named item.
These still fit in your bag, but you can do much more now. You need to start with your problem, and yes, it can be frustrating, but it's that process of iterating that trains you to think about what you're attempting to do. Everyone has the potential to do this; it just takes time and experience, so start small and grow. Remember, even the most seasoned of us have days where we question our choices but keep going, it's worth it :-)
I have a suggestion to get a feedback loop that is more effective and engaging. Ask AI to build code for things you want to build. For example, a small game. For bigger things, you can ask it to build parts of it, and then you try to glue it together. Then, when invariably it doesn't work perfectly, either solve it, or, if you run out of ideas, ask the AI about your next doubt. If you can't get insight, then you can ask a human. But the fact you can ask lots of small questions in succession to an AI is beneficial when there's a lot to discover, vs. asking larger questions and waiting some time for an answer. The goal is to iterate quickly on small doubts. The small steps you make this way are motivating. This helps you identify if there are any specific areas you want to tackle first, as opposed to the full technology, by steering yourself towards what pikes your curiosity. Get interacting and put watching as a lower priority.
Learn Programming & Prepare for NPTEL Exams... Swayam Solver is your one-stop destination for NPTEL exam preparation.
NPTEL » Problem Solving Through Programming In C
Please scroll down for latest Programs 👇
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Private Test cases used for Evaluation | Status |
Test Case 1 |
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Private Test cases used for Evaluation | Status |
Test Case 1 | |
Test Case 2 |
Week-04: program-02, week-04 program-03, week-04: program-04, week-05 problem-01, week-05 problem-02, week-05 problem-03, week-05 problem-04, week 6 : problem 01, week 6 : problem 02, week 6 : problem 03, week 6 : problem 04, week-07 program-01, week-07 program-02, week-07 program-03.
Public Test Cases | Input | Expected Output | Actual Output | Status |
---|---|---|---|---|
Week 08: program-01, week-08 program-02, week-08 program-03, week 08: program-04, 2 comments:.
The programs of 9th week are not posted. Please post it as soon as possible
It has been posted on different blog post. Follow this link : https://swayamsolver.blogspot.com/2024/03/problem-solving-through-programming-in-c-jan-2024-programs-week9to10.html
Keep your comments reader friendly. Be civil and respectful. No self-promotion or spam. Stick to the topic. Questions welcome.
If you have experience with object-oriented programming languages, then you’ve likely heard of the SOLID principles, MVP, singleton, factory, and observer patterns. Our new e-book highlights best practices for using these principles and patterns to create scalable game code architecture in your Unity project.
For every software design issue you encounter, a thousand developers have been there before. Though you can’t always ask them directly for advice, you can learn from their decisions through design patterns.
By implementing common, game programming design patterns in your Unity project, you can efficiently build and maintain a clean, organized, and readable codebase, which in turn, creates a solid foundation for scaling your game, development team, and business.
In our community, we often hear that it can be intimidating to learn how to incorporate design patterns and principles, such as SOLID and KISS, into daily development. That’s why our free e-book, Level up your code with game programming patterns , explains well-known design patterns and shares practical examples for using them in your Unity project.
Written by internal and external Unity experts, the e-book is a resource that can help expand your developer’s toolbox and accelerate your project’s success. Read on for a preview of what the guide entails.
Design patterns are general solutions to common problems found in software engineering. These aren’t finished solutions you can copy and paste into your code, but extra tools that can help you build larger, scalable applications when used correctly.
By integrating patterns consistently into your project, you can improve code readability and make your codebase cleaner. Design patterns not only reduce refactoring and the time spent testing, they speed up onboarding and development processes.
However, every design pattern comes with tradeoffs, whether that means additional structures to maintain or more setup at the beginning. You’ll need to do a cost-benefit assessment to determine if the advantage justifies the extra work required. Of course, this assessment will vary based on your project.
KISS stands for “keep it simple, stupid.” The aim of this principle is to avoid unnecessary complexity in a system, as simplicity helps drive greater levels of user acceptance and interaction.
Note that “simple” does not equate to “easy.” Making something simple means making it focused. While you can create the same functionality without the patterns (and often more quickly), something fast and easy doesn’t necessarily result in something simple.
If you’re unsure whether a pattern applies to your particular issue, you might hold off until it feels like a more natural fit. Don’t use a pattern because it’s new or novel to you. Use it when you need it.
It’s in this spirit that the e-book was created. Keep the guide handy as a source of inspiration for new ways of organizing your code – not as a strict set of rules for you to follow.
Now, let’s turn to some of the key software design principles.
SOLID is a mnemonic acronym for five core fundamentals of software design. You can think of them as five basic rules to keep in mind while coding, to ensure that object-oriented designs remain flexible and maintainable.
The SOLID principles were first introduced by Robert C. Martin in the paper, Design Principles and Design Patterns . First published in 2000, the principles described are still applicable today, and to C# scripting in Unity:
In the e-book, we provide illustrated examples of each principle with clear explanations for using them in Unity. In some cases, adhering to SOLID can result in additional work up front. You may need to refactor some of your functionality into abstractions or interfaces, but there is often a payoff in long-term savings.
The principles have dominated software design for nearly two decades at the enterprise level because they’re so well-suited to large applications that scale. If you’re unsure about how to use them, refer back to the KISS principle. Keep it simple, and don’t try to force the principles into your scripts just for the sake of doing so. Let them organically work themselves into place through necessity.
If you’re interested in learning more, check out the SOLID presentation from Unite Austin 2017 by Dan Sagmiller of Productive Edge.
What’s the difference between a design principle and a design pattern? One way to answer that question is to consider SOLID as a framework for, or a foundational approach to, writing object-oriented code. While design patterns are solutions or tools you can implement to avoid everyday software problems, remember that they’re not off-the-shelf recipes – or for that matter, algorithms with specific steps for achieving specific results.
A design pattern can be thought of as a blueprint. It’s a general plan that leaves the actual construction up to you. For instance, two programs can follow the same pattern but involve very different code.
When developers encounter the same problem in the wild, many of them will inevitably come up with similar solutions. Once a solution is repeated enough times, someone might “discover” a pattern and formally give it a name.
Many of today’s software design patterns stem from the seminal work, Design Patterns: Elements of Reusable Object-Oriented Software by Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides. This book unpacks 23 such patterns identified in a variety of day-to-day applications.
The original authors are often referred to as the “Gang of Four” (GoF),and you’ll also hear the original patterns dubbed the GoF patterns. While the examples cited are mostly in C++ (and Smalltalk), you can apply their ideas to any object-oriented language, such as C#.
Since the Gang of Four originally published Design Patterns in 1994, developers have since established dozens more object-oriented patterns in a variety of fields, including game development.
While you can work as a game programmer without studying design patterns, learning them will help you become a better developer. After all, design patterns are labeled as such because they’re common solutions to well-known problems.
Software engineers rediscover them all the time in the normal course of development. You may have already implemented some of these patterns unwittingly.
Train yourself to look for them. Doing this can help you:
As indicated earlier, not all design patterns apply to every game application. Don’t go looking for them with Maslow’s hammer ; otherwise, you might only find nails.
Like any other tool, a design pattern’s usefulness depends on context. Each one provides a benefit in certain situations and also comes with its share of drawbacks. Every decision in software development comes with compromises.
Are you generating a lot of GameObjects on the fly? Does it impact your performance? Can restructuring your code fix that? Be aware of these design patterns, and when the time is right, pull them from your gamedev bag of tricks to solve the problem at hand.
In addition to the Gang of Four’s Design Patterns, Game Programming Patterns by Robert Nystrom is another standout resource, currently available for free as a web-based edition. The author details a variety of software patterns in a no-nonsense manner.
In our new e-book, you can dive into the sections that explain common design patterns, such as factory, object pool, singleton, command, state, and observer patterns, plus the Model View Presenter (MVP), among others. Each section explains the pattern along with its pros and cons, and provides an example of how to implement it in Unity so you can optimize its usage in your project.
Unity already implements several established gamedev patterns, saving you the trouble of writing them yourself. These include:
Both the e-book and a sample project on the use of design patterns are available now to download for free. Review the examples and decide which design pattern best suits your project. As you gain experience with them, you’ll recognize how and when they can enhance your development process. As always, we encourage you to visit the forum thread and let us know what you think of the e-book and sample.
Campbell river rcmp search warrant that led to alleged find of 3,500 pills highlights issue of drug diversion.
The investigation began with the alleged kidnapping last November of a bank customer in Campbell River, B.C., who claimed he was being forced to transfer his car and thousands of dollars to drug traffickers.
It ended with a raid on a fortress-like property within the boundaries of a tiny First Nation 10 kilometres away and, according to police, the seizure of thousands of pills originally provided to users of the province's safe supply program.
Four people now face charges of drug trafficking in association with the bust — with one count specifically accusing them of dealing hydromorphone, the substance handed out as safe supply.
The story of the investigation and its consequences — including banishment for three of the accused from the We Wai Kai First Nation — is told in documents CBC News applied to unseal in provincial court.
It's a case the We Wai Kai chief says raises questions about the flow of government-funded drugs into the illicit market; a story that illuminates the bigger toxic drug crisis and its mix of greed, death and desperation.
"It's never 'safe' when it's in the hands of drug dealers," says Chief Ronnie Chickite, leader of the We Wai Kai's roughly 1,100 members.
"It just shows you that it's not a safe supply. I think the program had intentions, but it's obviously failed. ... I know the government officials see it different, but this is how we're seeing it as a nation of our size. And seeing the amount that was there, I mean it's unfortunate, but it's not the system we need."
'it's a good money-maker'.
The search warrant and the criminal charges that flowed from it were all issued in the downtown Campbell River courthouse, which sits about 50 metres away from the pharmacy where a handful of people line up every weekday morning to get their safe supply pills.
According to documents obtained by CBC in a similar case , patients can be issued up to 28 hydromorphone tablets at a time. On the street, the tiny pills are worth as much as $20 each and can be swapped for cash or harder drugs.
CBC spent two days in Campbell River speaking to police, First Nations members and safe supply users.
William Cook is here every day. He says he'd never trade the safe supply that protects him from death; he thinks it's wrong to sell personal medication.
But he understands both the temptation and the pressure.
"Sometimes it's chaotic. There's people outside and they're bugging you and they're asking you and there are people trying — like more than multiples — trying to get it. It's a good money-maker," he says.
"For some people it's probably an income and they'd starve [without it]. I think it's wrong, of course, because it's against the law, [but] some people need it to eat. That is a fact."
CBC News applied to unseal the Campbell River search warrant to look at the facts behind the controversy surrounding claims that safe supply drugs are winding up in the hands of criminals.
British Columbia became the first province to offer prescribed alternatives to street drugs in March 2020. As of this April, 4,387 people were dispensed safe supply, according to figures provided by B.C.'s Ministry of Mental Health and Addictions.
Advocates have long acknowledged the possibility some safe supply users might exchange their prescription drugs for stronger street drugs — a process known as diversion.
But the extent of the problem is unknown.
At one point, Prince George RCMP called it an "alarming trend" — a claim the force's assistant commissioner countered almost immediately by saying there was "no evidence to support a widespread diversion."
B.C. Premier David Eby says he has asked health authorities to look at introducing some kind of chemical marker into the supply of prescribed alternatives in order to trace them back to their origin.
"Yes, there's a risk of diversion, just like any medication," Eby said in the legislature in response to a question about the issue in May.
"We need to, as government, through the health authorities, through the prescribers, stay on top of that and address those issues as they come up. And that's what we will continue to do."
Campbell River RCMP entered the fray in February by announcing the seizure of 3,500 pills of Dilaudid — a brand name for hydromorphone — during a bust on the We Wai Kai First Nation.
The target of the raid was a home on Nursery Drive — a bucolic road about two minutes drive from a controlled gate Chief Chickite said was purpose built to keep first COVID, then drug dealers out of the reserve.
Four of the home's residents — Chris Lewis, Leah Lewis, Shyanne Davis and Serena Hadley — have since been charged with drug trafficking.
None of the accused have entered a plea at this point and none of the allegations against them have been tested in court.
According to the search warrant, the arrests followed surveillance of a husband and wife suspected of drug trafficking, who were flagged to police by staff at the TD bank.
A customer "told the bank staff he had been kidnapped and was being forced to transfer money to a bank account," the warrant says.
"Bank staff called the Campbell River RCMP, who responded."
The detachment's street crime unit began watching the suspects, noting "meetings with known drug users and street-level drug traffickers" as they drove between the Nursery Road house and locations around Campbell River, including hotels, parking lots and residences.
Police obtained the search warrant on Feb. 20. The raid happened the next day, with the safe supply pills allegedly turning up alongside two kilograms of fentanyl and a kilo each of cocaine and methamphetamine.
Campbell River RCMP Insp. Jeff Preston says police regularly test drugs to determine whether they're counterfeit or diverted from safe supply or another type of prescription.
"Typically when a person does get prescribed safe supply, they go to the pharmacy, they will get their pill bottle with the allotted number of prescribed pills," Preston says.
"And there is a way for us to tell from that bottle if it's safe supply."
Collen Middleton keeps a drawer full of those bottles in the small room where he hangs his guitars in his house in Nanaimo, about 150 kilometres south of Campbell River. He has collected them as evidence of what he sees as a failure of the safe supply system that he has observed first hand.
An environmental scientist and punk musician, Middleton admits he knew little about the toxic drug crisis before moving to Vancouver Island from Calgary with his wife and children a few years ago. Then someone died in his yard.
He says he started finding labels and pill bottles on the ground between his house and the safe supply pharmacy a few blocks away — which is how his collection started.
Middleton says he has watched people swap safe supply pills for money or drugs before casting aside the empty containers. They tear the labels off some. There are names on others. Middleton wonders how many of those people are now dead.
Middleton and his neighbours started the Nanaimo Area Public Safety Association in an effort to have their voices heard. He says he has been attacked as a right-wing conspiracy theorist — a charge he calls "ridiculous."
He doesn't know what to do with his collection of bottles, which no one seems to want.
Like the We Wai Kai chief, Middleton says he feels like he's pointing out facts government doesn't really want to hear.
"I think taxpayers are getting ripped off," he says.
"If the drugs aren't being used for their intended purpose and they're being sold into the black market for profit, then the people who are selling their supply are not getting the health benefits of the system, and organized criminals and gangs are profiting."
All four accused in the case made brief first appearances in the Campbell River courthouse on June 10 — two by phone and two in person.
In addition to the count accusing them of trafficking in hydromorphone, they are also charged with multiple counts of trafficking in other substances, including fentanyl, methamphetamine, cocaine and GHB.
Leah Lewis had little to say as she and her co-accused left court and walked across the street to her car.
"The system's broken," she told CBC News before driving off. She wouldn't explain what she meant.
According to Chickite, the raid and the allegations of drug dealing have had consequences beyond the courthouse for Leah Lewis, Serena Hadley and Shyanne Davis.
All three women — who are not members of the We Wai Kai First Nation — have been banished from the reserve.
"It's a grave threat. ... They are not permitted on any land the nation owns," Chickite says.
He said Chris Lewis is a member of the First Nation.
In part because of the raid and the sheer amount of drugs seized, Chickite says the We Wai Kai have also amended their laws to give the band the option of revoking citizenship for members considered to be a "grave threat" to the citizenry.
Chickite says the We Wai Kai have been successful in steering youth away from the toxic drugs that killed 47 people in the Greater Campbell River health area in 2023 — the region's deadliest year since a public health emergency was declared in 2016.
According to the search warrant, one of those deaths occurred in a motorhome in the front yard of the Nursery Road property last October: "Leah Lewis advised that her husband Chris Lewis found the woman deceased."
Outside the Campbell River pharmacy, Shauna Adams holds out her hand to display the 10 Dilaudid pills she gets through safe supply every day. She takes them two at a time, every few hours, to stave off withdrawal.
The 30-year-old says her problems began with a bad relationship and "spiralled from there."
She says she has seen too many friends die from overdoses.
"I didn't want to be one of them because I have two kids," she says. "So I want to be in their lives and watch them grow up."
Adams says her boys only know that she needs to "go and get medicine every day."
She puts her hands over her ears as she talks about the pressure to sell and the dealers who circle safe supply users every day asking if they want to trade or sell their pills.
"I kind of just don't listen to it 'cause I don't wanna be a part of it," she says.
"I'd rather live than die. That clearly makes sense. I don't want to cheat the system. I like my doctor. I don't want to lie to her."
At the end of the day, Adams says the ability to get off drugs comes down to a combination of willpower, support and motivation. She's come to know a lot of the people who depend on the safe supply program as friends.
It upsets her to see anyone taking advantage of them.
"It bothers me that they care more about making money than other people's safety," she says. "That's what really bothers me."
About the author.
@proctor_jason
Jason Proctor is a reporter in British Columbia for CBC News and has covered the B.C. courts and the justice system extensively.
With files from Chris Corday
IMAGES
VIDEO
COMMENTS
Learners enrolled: 29073. ABOUT THE COURSE : This course is aimed at enabling the students to. Formulate simple algorithms for arithmetic and logical problems. Translate the algorithms to programs (in C language) Test and execute the programs and correct syntax and logical errors. Implement conditional branching, iteration and recursion.
Learn C programming language by solving 30 online exercises with solutions. Topics include arrays, pointers, loops, recursion, and more.
Learn how to solve problems with computers using C language and systematic steps. This lesson covers problem definition, analysis, solution development, coding and implementation, and general problem solving strategies.
This course is aimed at enabling the students toFormulate simple algorithms for arithmetic and logical problems.Translate the algorithms to programs (in C la...
C is a general-purpose, imperative computer programming language, supporting structured programming, lexical variable scope and recursion, while a static type system prevents many unintended operations. C was originally developed by Dennis Ritchie between 1969 and 1973 at Bell Labs.
Learn problem solving in C from our online course and tutorial. You will learn basic math, conditionals and step by step logic building to solve problems easily. 4.5 (1338 reviews) 18 lessons Beginner level. 21.4k Learners.
Improve your C programming skills with over 200 coding practice problems. Solve these beginner friendly problems online to get better at C language. Courses. Learn Python 10 courses. Learn C++ 9 courses. Learn C 9 courses. Learn Java 9 courses. Learn Javascript 9 courses. Data ...
This self-readable and student-friendly text provides a strong programming foundation to solve problems with C language through its well-supported structured programming methodology, rich set of operators and data types. It is designed to help students build efficient and compact programs. The book, now in its second edition, is an extended version of Dr. M.T. Somashekara's previous book ...
Problem solving through Programming In C By Prof. Anupam Basu | IIT Kharagpur INTENDED AUDIENCE : BE/BTech in all disciplines BCA/MCA/M. Sc INDUSTRY SUPPORT ...
Share your videos with friends, family, and the world
Specialization - 4 course series. This specialization develops strong programming fundamentals for learners who want to solve complex problems by writing computer programs. Through four courses, you will learn to develop algorithms in a systematic way and read and write the C code to implement them. This will prepare you to pursue a career in ...
Course abstract. This course is aimed at enabling the students to 1. Formulate simple algorithms for arithmetic and logical problems 2. Translate the algorithms to programs (in C language) 3. Test and execute the programs and correct syntax and logical errors 4. Implement conditional branching, iteration and recursion 5.
Join over 23 million developers in solving code challenges on HackerRank, one of the best ways to prepare for programming interviews.
Learn C programming language and problem solving skills from Prof A Basu of IIT Kharagpur. Watch online videos, download assignments and transcripts, and access books from NPTEL.
Complete program on problem solving with C programming language The best way to learn C programming is by practicing and solving the C programs (C problems). ... also Download our #I-a-Programmer application to teach programming from the Google Play Store now and start learning through a simple application that is always with you on your phone.
Problem solving through Programming In C. ABOUT THE COURSE This course is aimed at enabling the students to. ·formulate simple algorithms for arithmetic and logical problems·translate the algorithms to programs (in C language)·test and execute the programs and correct syntax and logical errors·implement conditional branching, iteration and ...
This course is aimed at enabling the students toFormulate simple algorithms for arithmetic and logical problemsTranslate the algorithms to programs (in C language)Test and execute the programs and correct syntax and logical errorsImplement conditional branching, iteration and recursionDecompose a problem into functions and synthesize a complete program using divide and conquer approachUse ...
Course abstract. This course is aimed at enabling the students to • formulate simple algorithms for arithmetic and logical problems • translate the algorithms to programs (in C language) • test and execute the programs and correct syntax and logical errors • implement conditional branching, iteration and recursion • decompose a problem into functions and synthesize a complete program ...
In this article, we will be tackling problem-solving through C programming. For embedded devices, C is the most extensively used language. C is a structured programming language with a large number of built-in functions and operators that can be used to create complicated programs. It's crucial to be able to solve problems in C. Don't get ...
The videos for Week 1 for the course Problem solving through Programming In C is made available early for viewing to get an idea about the content but the actual start date remains unchanged. The lectures can be accessed using the following link: https: ...
Knowing how to develop in C# and the domain libraries, terms, and concepts for game programming and graphics are different. You're clearly motivated, so take one of your more straightforward ideas and work through it. Make it work, however ugly you think it is; a blank page is daunting. Unity has many tutorials. Work through one and then expand ...
Share your videos with friends, family, and the world
Write a C Program to calculates the area (floating point number with two decimal places) of a Circle given it's radius (integer value). The value of Pi is 3.14. [This Programming assignments will not be evaluated. This is for users to get familiar with programming in google course builder platform]
Be aware of these design patterns, and when the time is right, pull them from your gamedev bag of tricks to solve the problem at hand. In addition to the Gang of Four's Design Patterns, Game Programming Patterns by Robert Nystrom is another standout resource, currently available for free as a web-based edition.
Documents obtained by CBC tell the story behind a headline-grabbing bust by Campbell River RCMP that resulted in the seizure of thousands of pills doled out through B.C.'s safe supply program.