Free Web Hosting
Day Session Date Lab Tasks Done Any issues (if any) or suggestions... Contact
Thursday Ses1 2018-07-26 Helping them learn how to set up the proxy. Opening up their account in piazza and helping them understand the platform. Helping them open their webmail and check the email details. Helping them navigate in the LINUX Terminal. Installing Qt creator and running simple-project file. Running 'HelloWorld' program in gedit. Students should be taught in class about directory structure of linux. Many people were saving the file in a different folder and running g++ command on some other folder. Awareness of Linux Commands. I am trying my best to send a document relating to basic linux commands which would help both the student and TA's. In the end of the lab, people were asking about attendance. So i felt as if the attendance thing is making them come to labs. So how about keeping a lab attendance? Just a suggestion. I didn't find the reason of introducing them to Qt creator. It was hard on both student and TA's part to handle it.Ruturaj
Monday Ses1 2018-07-30 Hello world program is explained along with the meanings of 1. including iostream 2. using namespace std 3 why int before main 4 why returning only 0 and what it signifies to the OS and what if we return something else following program was done after that double c = 100; double f = 9/5 * c + 32; print f using cout with explanation of difference between int and double why wrong output comes and all the alterations specified biggest issue was the main system hangs a lot in lab LH503 though over all experience was nice but there are few students who are able to complete tasks very fastly as the have prior knowledge of these things and thus ask for more work like some assignments on the knowledge provided in that lab, so it would be good if they can have hands-on some better application related tasks on the same lab knowledge, it would help those students too who are finding it boring to write 4-5 lines of code just to add two numbers for example we can make them calculate Simple interest when given three values as input.Kapil
Monday Ses2 2018-07-30 1. How to run a C++ program on Linux. 2. Hello World! program Execution. 3. Lab assignment 2. 4. Basic Linux Commands ( pwd, cd, mkdir, touch) 5. Navigation of directory structure on terminal. 5. Brief discussion on why to change file permissions. 1. To what extent are we supposed to help the students with their lab assignments? Are we supposed to discuss and explain only the question or can we help them figure out the solution and talk about what exactly is going on behind the scenes? 2. Recording attendance was an issue. We weren't sure if we should share the spreadsheet with them, so we took it on paper and updated it manually. It took a lot of unnecessary time. We need to figure out another way to count attendance of the lab. 3. There were two students attending from other groups. I'm not sure how should we count their attendance.Aditya
Tuesday Ses1 2018-07-31 Introduction to Linux commands(cd,mkdir,pwd,touch,gedit,g++,./a.out), lab 2 Assignments, difference between "\n" and endl, why use return 0; when return 2; is also possible.Significance of using namespace std. Print a pattern using printf command of stdio.h library. Print the ASCII value of the character 'A'. Students should be informed that in windows command promt linux commands(gedit and all) would not support/work. There were queries regarding this. Better suggest them to use codeblocks or online editor ideone.com if using windows.Ruturaj
Tuesday Ses2 2018-07-31 Explained the program of hello world and celcious to Fahrenheit. Asked the students to go through lecture 1 programs in extra time. In lecture notes, simpio.h is used to take input from console. We could not install it as we did not have admin privileges of lab computers. I request instructors to teach cin to take console input.Samir
Wednesday Ses1 2018-08-01 Revision of basic linux control - Note on Piazza and Webmail - Hello World Program Revisited - Explained variable declaration and initializing - Explained cin in extra time. Proxy setting for those who missed last day. They didnt have basics of how variable work, so main was to make them familiar with variables. Queries to run on Windows - suggested codeblocks. Basic errors with cout. Bit more explanation of cout syntax. Some had queries as to why their code is working without return 0, didn't go in deep on that. Queries on if they could leave earlier- Gave them some tasks.Ankesh
Wednesday Ses2 2018-08-01 1. Did hello world 2. Explained the -o header 3. Did the lab 2 provided and explained types to the students. All the tests were discussed on the board. Abhinav
Thursday Ses2 2018-08-02 Did Hello World and Celsius to Fahrenheit converter program on QTcreator. Explained the different data type conversions. Simpio.h was not installed on the machines so we did not use that.Shradha
Thursday Ses1 2018-08-02 1. A recap of Hello World and the significance of different parts of the code. Also, recap of cd, ls etc commands. 2. Did the given lab. Urged students to try out different combinations by themselves. 3. Asked them to find out and code how to take celcius as user input. The given lab did not have enough material to cover over 2 hours. A lot of students were done within an hour and had to be given the input exercise, which they also managed to finish and then had to sit idle.Sangnie
Friday Ses1 2018-08-03 1.Introduction of basic linux commands 2.Recap of hello world program 3.Explained meaning of syntax used in program 4.Did celsius to fahrenheit conversion program 5.Explained order of evaluation of operators Some of student having problem with syntax like when to use semicolon and curly braces.Aditya mishra
Friday Ses2 2018-08-03 1. A Recap of Hello World program 2. A recap of various Linux commands like cd,ls,mkdir. 3. Did the given lab. Explained the concepts of types and reasons for different outputs. 1. Some had been to the lab for the first time, and we had to work them out with setting up firefox, login proxy and repeat the hello world programAman
Monday Ses1 2018-08-06 started by telling what is If else and how to use it. explained first program of lab assignment 3, there were few basic queries by some students from what has been already taught in last labs so explained those things again, went on to second program of lab assignment 3 , explained that cin breaks the input stream whenever it encounters a space, explined them to use cin.get() or getline functions though many of those were not able to implement them well due to buffer flush problem so we instructed them to move on to third question They did third question well There is a student from FITT named SV singh who has got his login-password today only, there are many issues related to his access and it is suggested to contact him separately, Gedit is getting crashed at many systems simpio.h is not installed at many systems since most of the students have not been able to complete today's task and 2nd question is doe by almost negligible so it is recomended to let the same tasks contined in the next labMayank Jain
Tuesday Ses1 2018-08-07 Running programs using Qt creator was successfully performed along with the usage of simpio.h . Around 20 percent of people were able to complete all the 4 problems in time, 60 percent upto problem 3 and rest just got stuck in 2 problems. I have asked them to post doubts on piazza. Students were asking how to save in Qt creator as we were modifying on the same hello.cpp file. So many preferred gedit over qt creator. But gedit crashed many a times.Ruturaj
Tuesday Ses2 Asked the students to complete lab assignment 3. As everything required to complete it was explained in the class, we didn't go through it. We just helped the individuals who needed it. Since only one of the source files in src folder of a project can have main function in it, students are required to overwrite hello.cpp again and again. Otherwise they need to comment out their previously written codes if they keep all of them in the same src folder. How can we solve this?Samir
Monday Ses2 2018-08-06 Students were asked to read the lab assignments from the course website. When they started coding the first assignment they were unable to use simpio.h for i/o so we taught then how to take input using cin and they were able complete the first part of the assignment. They had many doubts while writing the code and we personally answered every doubt but for common doubts we addressed the entire lab. Part 1 of the assignment was done by everyone. Part 2, by all but 4 students. Part 3 by half of them and only a few students coded part 4. The attendance issue was fixed. Students still hadn't registered on piazza so that's the first thing we do for the next lab.Phaneesh
Wednesday Ses1 Demo for using QtCreator. Most of the students were unable to use QtCreator. We did a step by step demo ensuring each of them got started with it. Explained common doubts which were coming in many cases like: - difference between if (x==1) v/s if if (x=1) - using quotes while using string and character constants - taking input for space separated strings Most of the time and attention of the students got consumed in getting familiarised with QtCreator. Consequently, there were hardly any efforts being made by the students to understand the code more deeply.Anuj Dhawan
Thursday Ses2 2018-08-09 Followed the steps for Qt creator. Using Qt creator and doing the first question took lot of time. Explained how to take inputs, to calculate modulo and various syntaxes Most of them could only complete the first program and started working with the secondShradha
Friday Ses1 2018-08-10 Asked them to complete lab assignment 3 and Explained how to take user input ,nested if else and difference between = and ==. some of students had problem with QTcreator,they found it very difficult to use...and preferred gedit over QtCreator.Aditya mishra
Friday Ses2 2018-08-10 Students worked on QT Creator for the tasks in Assignment 3. Most of the people got how to work with QT and most of them completed the first 2 tasks. There were some students who were visiting the lab for Ist time. Some people were using simpio.h while some were using the traditional methods. Still, people are unclear about the basic C++ syntax.Paras
Saturday Ses1 2018-08-11 Lab3 completed. Taught them for loops, while loops. Gave them practice questions. Created a group on piazza and made them join that. Posted questions and sample code for if-else. Discussed some tricky for-while cases. Taught them to add multiple files QT Creator Nothing muchAnkesh
Monday Ses2 2018-08-13 We started with registering the remaining students on piazza. we explained to them in detail the first question of the assignment. Many students made basic loop mistakes so we explained the syntax and working of single and nested for loops. Around 50% students were able to complete all the programs. Students were confused about taking input without first prompting the user to enter a value. So addressing this right at the beginning would be helpful.Phaneesh
Monday Ses1 2018-08-13 The lab was dedicated to the graded assignment. What to do, the deadline, etc was explained to the students (although quite a few students already knew this info). If students had doubts with the questions, those were cleared. Roughly 75% students were done with all three questions before the lab ended. Only one student wasn't able to do even one by the end. 1. People couldn't understand what "one line of input" in the question meant 2. People were confused about the reason why input limits were specified. They thought they had to output "invalid input" or words to that effect when the input was out of bounds 3. A lot of confusion regarding submission. The moodle UI has two different ways to submit, which tripped up a lot of studentsAditya
Tuesday Ses2 2018-08-14 Instructions about how to create, edit and submit files on Moodle were given. Question statement, if-else conditions, for loops were explained in detail. Almost everybody completed the first question, except 1-2 students. Many people were able to complete all 3 programs. Students were encouraged to post any further doubts on Piazza. Students were not very clear about the input/output format and using couts when not required. They were still facing lots of syntactical problems in writing if-else and for loops.Mahima
Thursday Ses1 2018-08-16 Almost 90% student had completed graded assignment. So gave them additional programs like reverse a number, then reverse a string, gcd of 2 numbers etc. Some people are really good, they solved all of them. I made sure no one does input output errors in moodle. One old aged man often comes and sit in the lab. He demands personal attention very often as he is finding it very hard to write cout even. So we find it really difficult to give attention to other students. Morally it feels bad to say no to him but we had to.Ruturaj
Thursday Ses2 We initially briefed them about the common doubts: No prompts, no need to check for range, syntax of if-else and for loops, etc. Most of the students were able to complete all the three questions. Few of them could not. We initially told them that they can write the code anywhere and paste it to moodle. But later we realized that paste option was disabled for moodle.Sruti
Tuesday Ses1 2018-08-21 Students attempted the ungraded lab assignment 5 and their doubts related to scope, splitting code into functions and general implementation issues were addressed. Vaibhav
Monday Ses2 2018-08-27 We completed all the problems in Lab Assignment 6. The students are able to grasp the material really well. I was expecting a lot of questions regarding reference parameters but most of them understood the working well. No issues.Phaneesh
Monday Ses1 2018-08-27 Students completed lab assignment 5 and 6 successfully. Many students were not familiar with QT creator at all. They said that as it created problems, the previous TA's asked them to do it in terminal. So we had to again teach them QT creator from start. I guess there are some other sessions too in which till date QT creator is not introduced properly. Kindly have a check on this.Ruturaj
Tuesday Ses1 2018-08-28 Completed Assignment 6. Discussed and explained the concepts of pass by value and pass by reference parameter passing. Most of the students were not clear about the parameter passing concepts, specifically, Pass by value vs Pass by reference. I suggest that some practice material with very simple coding questions/ predict the output can be given (or a link to a similar online reference can be shared).Anuj Dhawan
None Ses2 2018-08-21 Revised and demonstrated the concept of scope. Students completed Assignment 5. No issuesSamir
Tuesday Ses2 2018-08-28 Explained students about the concepts of pass by value and pass by reference and gave demo programs for both. Students were encouraged to try out sample programs by changing the order of parameters, variable names, reference variables and couts to understand better. All students were able to complete first 2 questions and some finished the 3rd. No issuesMahima
Tuesday Ses2 2018-08-21 1. Asked students to solve ungraded lab5 2. Cleared doubts related to scope of variables 1. Qt Creator was giving build issues on some systems, so asked them to use gedit and g++Aman
Wednesday Ses1 2018-08-29 Lab Assignment 6 discussed. Call by value vs call by reference. Post increment vs pre increment. Minor 1 discussions. Minor appeared difficult to people. Confusion regarding call by value, reference argument passing semantics.Ankesh
Thursday Ses2 2018-08-30 Made them run build.sh script.Explained the concept of pass by value and reference.Discussed lab 6 questions. 40% students felt minor questions were difficult.Some of them were asking about steps for using simpio.h on Windows without QtCreator.Shradha
Friday Ses1 2018-08-31 Discussion of lab assignment 6. Clarification of call by value and call by reference. Some clarification about the newton's method and what does the initial estimate mean. Students seem to be not very confident and confused with call by value and reference. Also, some students seem to be confused with scope rules in general. They are sometimes not able to figure out what variables go out of scope and when (eg. some students were using the a,b,c variables inside main while working in the mystery function). May need a little bit of clarification with the scope rules.Vaibhav
Wednesday Ses2 2018-08-29 Need to logout and login for some students to automatically source bashrcAman
Saturday Ses1 2018-09-01 asked students to solve the graded assignment 2. most of them were able to solve question 1 and 2 in the lab itself. No issuesAditya mishra
Tuesday Ses1 2018-09-04 Students were supposed to do the graded assignment-2. Many students didn't know how to use mod(%) operator. Students also encountered arithmetic overflows in calculating approximation of pi.Shubham
Tuesday Ses2 2018-09-04 Cleared doubts regarding assignment 2 NilSaket
Thursday Ses2 2018-09-06 Assignment questions were made clear.Explained string data type and its functions,set precision. Sruti
Wednesday Ses1 2018-09-05 Explained Recursion. Cleared Graded A2 doubts. Some discussions on semantics of pow function of cmath. NoneAnkesh
Friday Ses1 2018-09-07 Student completed their graded assignment 2. And some of them have completed their assignment before so gave them some practice problems. Some student were facing problem in type casting. and still very few students are not familiar with syntax.aditya mishra
Saturday Ses1 2018-09-08 Ungraded assignment 8 Apparently there was a huge confusion among the students and most of them thought the lab session was from 11 to 1 pm. When I reached the lab at 1, most students said they were waiting since 11 o clock. I was told later that the confusion was because of an accidental announcement by one of the students, confusing a lab for another course with COL100. Either way, I think it will help if we send a reminder email a day before if a lab is on a special slot (e.g. Saturday). We can also ask the students to send an email to col100-staff in such a case. Some students wanted to go early, since they had been working for a few hours already. I allowed attendance for them and helped out the students who wanted to stay till 3.Prashant
Wednesday Ses2 2018-09-05 Cleared the doubts related to understanding of problem given in graded assignment 2. Explained how to print a real number up to some specific decimal. and some basic operations on strings. Students were using integer data type for factorial calculations, even if it going beyond the range of integer. some of the students believe that '^' can be used to calculate powers. i.e. a^b. Most of the students are not comfortable with strings.Jasbir Singh
Friday Ses2 2018-09-07 Lab Assignment 7 and 8 None, except that some (3-4) students found it too easy, and were asking what to do next. I asked them to write a progam to convert decimal numbers to binary and vice-versa.Aman
Saturday Ses2 2018-09-08 Lab Assignment 7 and 8 None, except that some (3-4) students finished everything yesterday, and were asking what to do next. I asked them to write a program to calculate the a^n using fast-power algorithm.Aman
Monday Ses1 2018-09-10 Some students completed lab assignment 8 completely. But many were confused with string operations So they couldnt complete all the qns within time. almost everyone is making a common mistake. They are looping on the original string length but checking condition on the reduced string after applying string erase method. So they were getting exceptions. This thing needs to be explained properly in class. string find method return values on not finding a substring and handling this case was unclear to students.Ruturaj
Monday Ses2 2018-09-10 We worked on lab assignment 8. Most of the students were able to complete 3 questions and some finished 4th one too. We tried different methods of solving the same questions. In Q2 some students were just printing the even characters which gave them the required output. So it'll be helpful if we make it clear in the beginning.Phaneesh
Tuesday Ses1 2018-09-11 Lab assignment 8 Some students were struggling with iterate-and-erase: they were iterating over the length of the string while modifying it in the loop body which was causing out_of_range exception. Since this technique is widely useful, some additional time can be devoted to it.Abhishek
Tuesday Ses2 2018-09-11 Students did Lab Assignment 8 on moodle No issuesSamir Vyas
Tuesday Ses1 2018-09-11 Ungraded Lab 8. Students do not indent their code and often get confused during balancing brackets in nested loops and conditionals. If possible, we can write a piazza post to suggest students how to make their code more readable which will help in debugging and avoiding bugs.Anuj Dhawan
Wednesday Ses1 2018-09-12 Ungraded Lab 8 We can choose not to disclose whether the lab is graded or ungraded to the students. It impacts their seriousness. There were questions in the lab like who is gonna correct the answers and all.Mahima
Thursday Ses2 2018-09-13 Did lab assignment 8 Students were looping on the string length which was getting changed due to which they got compile errors Many students are still using online compilers. Instead of using stanford vector library, won't it be better to use standard STL vectors. Students want to know how they can use stanford libraries on Windows machineShradha
Thursday Ses1 2018-09-13 Completed Lab assignment 8 I also think that it is better for students to know STL libraries instead of stanford libs so that they'd able to tackle problems on online platforms. Many completed their lab early and many others weren't serious about completing it since the lab assignment is non-graded. I think we should increase the frequency of graded lab assignmentsSourabh
Monday Ses1 2018-09-17 Lab Assignment 9 (Graded Assignment 3) (1) Students had to use C++ STL functions for Vectors. We asked students to follow the documentation on : "https://en.cppreference.com/w/cpp/container/vect or". The vector functions such as "v.add()" and "v.remove()" taught to students in class did not match with the actual C++ functions "v.insert()" and "v.erase()" respectively. (2) Students did not know about iterators. We provided a minimal idea of their functionality to get them started on the assignment. A detailed idea of the same could be provided by the instructors. (3) Students also faced difficulties with other functions such as "v.at()", "v[i]" and "v.insert()". (4) Working with "v.erase()" is tricky since it invalidates iterators. It would help students to know this sorcery in more detail.Isaar
Friday Ses1 2018-09-14 Completed lab assignment 8,Some have completed their assignment befor so gave them some practice problems. Students were facing problem in type casting like they don't understand when the result of any subexpression is integer or floatAditya mishra
Tuesday Ses1 2018-09-18 Graded Lab Assignment 3 1. Moodle backend doesn't work with the "vector.h" library that was taught in class, so we had to ask students to switch to the STL's <vector> library which has a different API, leading to some confusion. 2. We need to know what g++ version and compilation flags are used on Moodle. I saw many cases where a student's code works on her machine but doesn't work on Moodle. 3. We can also keep some test cases visible (while keeping some hidden) to give the student some feedback on why their code is failing.Prashant
Tuesday Ses2 2018-09-18 Graded Assignment 3 There was a confusion regarding Stanford's Vector and STL's vector functions. This was cleared in the lab as well as by the Piazza Post. Also, the constraint of vector size in the assignment is 10^4, while students are inserting and erasing from vector at an arbitrary index which will be O(n)(They won't realize this). Another loop outside makes it O(n^2) which may be giving timeout for many. Therefore, either the concepts of complexity must be taught or constraints must be made a bit linientSaket Dingliwal
Thursday Ses2 2018-09-20 Helped students with basic difference between STL and SPL vector. Also helped students with vector of vectors 1. Some of the test cases should be made visible while others should be hidden. It helps students to understand where their code is failing 2. Question 1 was still giving run time error for O(n*n) solution 3. Since the students are new to coding, it will be better if we give them to write the entire code (including main) as anyways they have to write the main function for local testingShradha
Wednesday Ses1 2018-09-19 Graded Assignment 3. Explained them about the iterators, pointed out differences between STL and SPL functions. Many students were getting timeouts, due to which there was a lot of chaos towards the end. It can be specified in the question what time complexity solution to be given.Mahima
Tuesday Ses1 2018-09-25 Graded Lab Assignment 3 and Ungraded lab assignment 8 Many students are getting tripped up because of modifying the vector they are iterating on. Could this be covered in class? In nthPascalTriangle, some students were getting segmentation fault because of assigning a large array on stack. They need to know about stack vs heap.Prashant
Thursday Ses2 2018-09-27 Students did Assignment 10. Many students printed vector directly without using for loop. Students were doubtful about whether to write the code or logic for question 1 and 4. So we told them to write the code. NoneShradha
Friday Ses2 2018-09-28 Solving Assignment 10 and clearing doubts on assignment tasks/ problem statement Nothing as such. People were trying to come up with algo. for questions.Ankesh
Monday Ses1 2018-10-01 Students solved practice problem set for minor 2. vert few attended the extra lab. most of them were asking problem from file handling .Aditya mishra
Monday Ses1 2018-10-08 Explained vector< vector<Type> > equivalence to Grid<Type>. Few i/o stream doubts. The assignment seems lengthy, almost none were able to solve even the first question. Maybe extend the deadline. Also when stanford containers are explained it would be better if equivalent stl containers are explained too.Sourabh
Monday Ses2 2018-10-08 Graded Assignment questions were explained to students. They were able to complete one question and some were able to do 2 questions. Ask the students to use vector of vectors to solve the problem involving grids. You will have to explain them the concept.Phaneesh
Tuesday Ses2 2018-10-09 Discussed Graded assignment 4, vector of vector and its correspondence with Stanford grid library. Almost all students were able to finish at least one question. The lab is challenging enough for the ending weeks of the course. Since this lab involves writing bigger codes, students will be more clear with concepts of scope, nested loops, memory allocation etc.Shubhani
Tuesday Ses1 2018-10-09 Discussion on the Graded Assignment 4. Issues related to vector of vectors were resolved. Some confusion related to file I/O and string streams were also discussed and resolved. Some of the students were not able to understand and appreciate taking input in vector of vectors and their relevance to grids. Some students were confused with the stream abstraction when they were trying to read the file multiple times, with the same stream, without closing and opening the stream again.Vaibhav
Wednesday Ses1 2018-09-10 Graded assignment 4. Almost all the students were clear about basic file reading/writing. Everybody was able to complete the first question. Students write the entire code and then try to debug instead of doing it piecewise, which makes it time- consuming for them as well as TAs. Encouraged them to debug the code at every step.Mahima
Friday Ses1 2018-10-12 Graded assignment 4. Most doubts were related to handling of vector of vector and *fstream objects. Some students were still somewhat confused about difference between `push_back` and `operator[]`, especially with the added complexity of vector of vector.Abhishek
Monday Ses2 2018-10-22 We discussed the need for debugging and different ways of going about it. There were students who were still working on their graded assignment 4. So there wasn't a lot of debugging that was done in lab. That probably will not be the case in sessions after the deadline. This week's lab work doesn't take a lot of time so we could actually revise previous topics or give the students some extra debugging practice.Phaneesh
Tuesday Ses1 2018-10-23 Students continued graded assignment 4 No particular issuesShubham
Tuesday Ses2 2018-10-23 Most of the students were still struggling with debugging of graded assignment 4. Only one or two started the ungraded assignment 12. Saket Dingliwal
Wednesday Ses2 2018-10-24 Discussed the GDB and balanced parentheses problems. Discussed any other doubt in general. Some students are not very clear with compilation using terminal. We discussed the gdb tutorial in detail and tried to clear their doubts side by side.Vaibhav
Thursday Ses2 2018-10-25 Explained basic working of gdb Sruti
Wednesday Ses1 2018-10-24 Explained basic working of gdb None as suchAnkesh Gupta
Saturday Ses2 2018-10-27 LAB 12 continued Shradha
Tuesday Ses1 2019-10-30 Students did partially graded assignment. Please create a sheet so we can assign marks for partially graded assignments.Shubham Jain
Wednesday Ses2 2018-10-31 Discussed Graded Assignment 5 related doubts No issue as such.Vaibhav
Tuesday Ses1 2018-11-06 Students continued the graded assignment. noneShubham
Friday Ses1 2018-11-13 Lab assignment 14 Some students faced the infinite recursion issue and could not understand the problem; demonstrated the issue using gdb.Abhishek
Wednesday Ses2 2018-11-14 Questions on subset computation discussed in great detail along with complexity arguments. NoneAnuj