Difference between revisions of "Weekly Schedule 20121 - OOP344"

From CDOT Wiki
Jump to: navigation, search
(To Do)
(OOP344 -- Weekly Schedule 2012/1 (Winter Semester))
Line 135: Line 135:
 
** Try My answer: [http://leolian.wordpress.com/2012/02/09/my-answer-to-todays-chanlenge-question Blog Post].
 
** Try My answer: [http://leolian.wordpress.com/2012/02/09/my-answer-to-todays-chanlenge-question Blog Post].
 
** Another answer: [http://mikeprog.blogspot.com/2012/02/oop344-lazy-authentication.html 'Lazy' Authentication].
 
** Another answer: [http://mikeprog.blogspot.com/2012/02/oop344-lazy-authentication.html 'Lazy' Authentication].
** My answer... using only && operator--[[User:Tvirutthasalam|Deva]] 01:15, 11 February 2012 (EST) [http://thevakaran.wordpress.com/2012/02/09/answer-to-challenging-question/ '''Blog Post''']
+
** My answer... using only && operator--[[User:Tvirutthasalam|Tvirutthasalam]] 01:15, 11 February 2012 (EST) [http://thevakaran.wordpress.com/2012/02/09/answer-to-challenging-question/ '''Blog Post''']
 
**Here is the solution [http://bsinghseneca.blogspot.com/2012/03/challenging-questions-solution.html '''Blog Post'''].--[[User:bsingh107|bsingh107]] 5:58, 4 March 2012 (EST)
 
**Here is the solution [http://bsinghseneca.blogspot.com/2012/03/challenging-questions-solution.html '''Blog Post'''].--[[User:bsingh107|bsingh107]] 5:58, 4 March 2012 (EST)
 
----
 
----
*Class for String Array --[[User:Tvirutthasalam|Deva]] 17:12, 09 February 2012 (EST) [http://thevakaran.wordpress.com/2012/02/08/class-for-string-array/ '''Blog Post''']
+
*Class for String Array --[[User:Tvirutthasalam|Tvirutthasalam]] 17:12, 09 February 2012 (EST) [http://thevakaran.wordpress.com/2012/02/08/class-for-string-array/ '''Blog Post''']
 
*Concatenate Command line program [http://777sblog.blogspot.com/2012/02/concatenate-command-line-program.html here]
 
*Concatenate Command line program [http://777sblog.blogspot.com/2012/02/concatenate-command-line-program.html here]
*Concatenate by command line argument!--[[User:Tvirutthasalam|Deva]] 07:08, 10 February 2012 (EST)[http://thevakaran.wordpress.com/2012/02/09/concatenate-by-command-line-arqument/ '''Blog Post''']
+
*Concatenate by command line argument!--[[User:Tvirutthasalam|Tvirutthasalam]] 07:08, 10 February 2012 (EST)[http://thevakaran.wordpress.com/2012/02/09/concatenate-by-command-line-arqument/ '''Blog Post''']
*Bug fixed version of MiniPrint!--[[User:Tvirutthasalam|Deva]] 17:26, 10 February 2012 (EST)[http://thevakaran.wordpress.com/2012/02/09/miniprint-bug-fixed-version/ '''Blog Post''']
+
*Bug fixed version of MiniPrint!--[[User:Tvirutthasalam|Tvirutthasalam]] 17:26, 10 February 2012 (EST)[http://thevakaran.wordpress.com/2012/02/09/miniprint-bug-fixed-version/ '''Blog Post''']
 
*Bug fixed version of MiniPrint(better code)--[[User:bsingh107|bsingh107]] 5:21, 4 March 2012 (EST)[http://bsinghseneca.blogspot.com/2012/03/miniprint-with-bugs-fixed-better-code.html '''Blog Post''']
 
*Bug fixed version of MiniPrint(better code)--[[User:bsingh107|bsingh107]] 5:21, 4 March 2012 (EST)[http://bsinghseneca.blogspot.com/2012/03/miniprint-with-bugs-fixed-better-code.html '''Blog Post''']
  
 
=== Help ===
 
=== Help ===
*Can anyone post the audio/video version of today's class. Can't remember the homework question that was given near end of class.--[[User:Tvirutthasalam|Deva]] 21:50, 6 February 2012 (EST)
+
*Can anyone post the audio/video version of today's class. Can't remember the homework question that was given near end of class.--[[User:Tvirutthasalam|Tvirutthasalam]] 21:50, 6 February 2012 (EST)
 
*You can find that at the the end of my page below in Resources
 
*You can find that at the the end of my page below in Resources
**Yea right... I forgot about you... again.. thank u for da wonderful job. It's always help me..!!--[[User:Tvirutthasalam|Deva]] 00:08, 7 February 2012 (EST)
+
**Yea right... I forgot about you... again.. thank u for da wonderful job. It's always help me..!!--[[User:Tvirutthasalam|Tvirutthasalam]] 00:08, 7 February 2012 (EST)
 
**No problems! Please comment!!
 
**No problems! Please comment!!
  
Line 165: Line 165:
  
 
=== To Do===
 
=== To Do===
*'''(Re-post): '''[http://thevakaran.wordpress.com/2012/02/08/class-for-string-array/ '''Class for String Array'''] --[[User:Tvirutthasalam|Deva]] 11:51, 16 February 2012 (EST)
+
*'''(Re-post): '''[http://thevakaran.wordpress.com/2012/02/08/class-for-string-array/ '''Class for String Array'''] --[[User:Tvirutthasalam|Tvirutthasalam]] 11:51, 16 February 2012 (EST)
*[http://thevakaran.wordpress.com/2012/02/17/list-for-single-integer-queue/ '''List for single integer – QUEUE'''] --[[User:Tvirutthasalam|Deva]] 17:36, 17 February 2012 (EST)
+
*[http://thevakaran.wordpress.com/2012/02/17/list-for-single-integer-queue/ '''List for single integer – QUEUE'''] --[[User:Tvirutthasalam|Tvirutthasalam]] 17:36, 17 February 2012 (EST)
  
 
=== Help ===
 
=== Help ===
Line 174: Line 174:
 
=== Resources ===
 
=== Resources ===
 
*[[SVN_for_School_Projects]]
 
*[[SVN_for_School_Projects]]
*:[http://thevakaran.wordpress.com/2012/02/14/how-to-work-with-svn/ Video DEMO/Tutorial]--[[User:Tvirutthasalam|Deva]] 10:04, 14 February 2012 (EST)
+
*:[http://thevakaran.wordpress.com/2012/02/14/how-to-work-with-svn/ Video DEMO/Tutorial]--[[User:Tvirutthasalam|Tvirutthasalam]] 10:04, 14 February 2012 (EST)
 
*If you missed this class (Thursday) or you couldn't follow along because fardad speaks too fast. whatever the reason you can watch the lecture [http://777sblog.blogspot.com/2012/02/oop344-lecture-feb-016-2012.html here!]
 
*If you missed this class (Thursday) or you couldn't follow along because fardad speaks too fast. whatever the reason you can watch the lecture [http://777sblog.blogspot.com/2012/02/oop344-lecture-feb-016-2012.html here!]
 
*[http://www.sendspace.com/file/248p40 16-Feb-2012.mp4] (Thursday) Also if you are interested audio lecture in one file.mp4 (84 mb)<br/>
 
*[http://www.sendspace.com/file/248p40 16-Feb-2012.mp4] (Thursday) Also if you are interested audio lecture in one file.mp4 (84 mb)<br/>
Line 189: Line 189:
 
*'''Fardad, I Have a question,'''
 
*'''Fardad, I Have a question,'''
 
*:data3 -> data2 -> data1 -> NULL
 
*:data3 -> data2 -> data1 -> NULL
*:I was asking the same question in today's class... just want to get clear about adding a Node. On your example, you wrote, that removing a Node is happenning from _head of the linked list... which is after data3 on my above example... right, then why we are adding a Node from tail (ie. between data1 and NULL) of the linked list...?? if the adding on tail is right then, why we are removing from other side i mean.. head??? both process suppose to happen from same place... right? If we get this type of question on test or exam, it will definetly cofuse me. Please correct me if I understand wrongly.  Thanks! If the adding is happenning on head, here is my code...--[[User:Tvirutthasalam|Deva]] 19:08, 23 February 2012 (EST)
+
*:I was asking the same question in today's class... just want to get clear about adding a Node. On your example, you wrote, that removing a Node is happenning from _head of the linked list... which is after data3 on my above example... right, then why we are adding a Node from tail (ie. between data1 and NULL) of the linked list...?? if the adding on tail is right then, why we are removing from other side i mean.. head??? both process suppose to happen from same place... right? If we get this type of question on test or exam, it will definetly cofuse me. Please correct me if I understand wrongly.  Thanks! If the adding is happenning on head, here is my code...--[[User:Tvirutthasalam|Tvirutthasalam]] 19:08, 23 February 2012 (EST)
*:* got the answer from Chris' notes. Actually, a queue operates on a first in, first out principle (FIFO). It means, adding haPpen on tail and remove happen on head... My bad.--[[User:Tvirutthasalam|Deva]] 09:08, 24 February 2012 (EST)
+
*:* got the answer from Chris' notes. Actually, a queue operates on a first in, first out principle (FIFO). It means, adding haPpen on tail and remove happen on head... My bad.--[[User:Tvirutthasalam|Tvirutthasalam]] 09:08, 24 February 2012 (EST)
 
*:* For a Stack, addition and removal of nodes occurs only at the head. But for a simple linked-list, addition of nodes occurs at the tail of the linked-list(as Fardad always gives an example of a queue at the Tim-Hortons where customers are removed from the queue from the head and are added at the back of the queue). But for a double linked-list, addition and removal of nodes can occur from anywhere in the queue...--[[User:bsingh107|bsingh107]] 5:34, 4 March 2012 (EST)
 
*:* For a Stack, addition and removal of nodes occurs only at the head. But for a simple linked-list, addition of nodes occurs at the tail of the linked-list(as Fardad always gives an example of a queue at the Tim-Hortons where customers are removed from the queue from the head and are added at the back of the queue). But for a double linked-list, addition and removal of nodes can occur from anywhere in the queue...--[[User:bsingh107|bsingh107]] 5:34, 4 March 2012 (EST)
  
Line 203: Line 203:
  
 
----
 
----
* Answer to TEST1 - [http://thevakaran.wordpress.com/2012/03/01/test-1-20113-q3-and-q4/ Q2/Q3] / [http://thevakaran.wordpress.com/2012/03/01/include-lt/ Q1]--[[User:Tvirutthasalam|Deva]] 09:48, 1 March 2012 (EST)
+
* Answer to TEST1 - [http://thevakaran.wordpress.com/2012/03/01/test-1-20113-q3-and-q4/ Q2/Q3] / [http://thevakaran.wordpress.com/2012/03/01/include-lt/ Q1]--[[User:Tvirutthasalam|Tvirutthasalam]] 09:48, 1 March 2012 (EST)
 
* Answer to TEST1 -[http://goop344.blogspot.com/2012/03/test-1-20113-q4.html Q4]--[[User:Gdanish|Gdanish]] 15:10, 2 March 2012 (EST)
 
* Answer to TEST1 -[http://goop344.blogspot.com/2012/03/test-1-20113-q4.html Q4]--[[User:Gdanish|Gdanish]] 15:10, 2 March 2012 (EST)
 
** Hey where are the questions to the above answers because I want to take a look at it. Thanks
 
** Hey where are the questions to the above answers because I want to take a look at it. Thanks
 
*** It's in Fardad's SVN svn://zenit.senecac.on.ca/oop344/tags/20113/test1/TestOne.rtf
 
*** It's in Fardad's SVN svn://zenit.senecac.on.ca/oop344/tags/20113/test1/TestOne.rtf
 
* [http://goop344.blogspot.com/2012/03/test-1-20113-q4.html '''STACK'''] (append/del from bottom included)--[[User:Gdanish|Gdanish]] 09:48, 4 March 2012 (EST)
 
* [http://goop344.blogspot.com/2012/03/test-1-20113-q4.html '''STACK'''] (append/del from bottom included)--[[User:Gdanish|Gdanish]] 09:48, 4 March 2012 (EST)
* [http://thevakaran.wordpress.com/2012/03/05/priority-queue-2/ '''PRIORITY QUEUE''']--[[User:Tvirutthasalam|Deva]] 21:33, 4 March 2012 (EST)
+
* [http://thevakaran.wordpress.com/2012/03/05/priority-queue-2/ '''PRIORITY QUEUE''']--[[User:Tvirutthasalam|Tvirutthasalam]] 21:33, 4 March 2012 (EST)
* [http://thevakaran.wordpress.com/2012/03/05/priority-queue/ '''SORTED QUEUE''']--[[User:Tvirutthasalam|Deva]] 22:15, 4 March 2012 (EST)
+
* [http://thevakaran.wordpress.com/2012/03/05/priority-queue/ '''SORTED QUEUE''']--[[User:Tvirutthasalam|Tvirutthasalam]] 22:15, 4 March 2012 (EST)
* [http://thevakaran.wordpress.com/2012/03/05/circular-left-shift-3/ '''CIRCULAR LEFT SHIFT''']--[[User:Tvirutthasalam|Deva]] 22:28, 4 March 2012 (EST)
+
* [http://thevakaran.wordpress.com/2012/03/05/circular-left-shift-3/ '''CIRCULAR LEFT SHIFT''']--[[User:Tvirutthasalam|Tvirutthasalam]] 22:28, 4 March 2012 (EST)
  
 
=== To Do===
 
=== To Do===
Line 236: Line 236:
  
 
=== To Do===
 
=== To Do===
* [http://thevakaran.wordpress.com/2012/03/09/find-given-bit-no-onoff/ '''Find given bit no ON/OFF for given Value'''] --[[User:Tvirutthasalam|Deva]] 19:41, 8 March 2012 (EST)
+
* [http://thevakaran.wordpress.com/2012/03/09/find-given-bit-no-onoff/ '''Find given bit no ON/OFF for given Value'''] --[[User:Tvirutthasalam|Tvirutthasalam]] 19:41, 8 March 2012 (EST)
 
* [http://bsinghseneca.blogspot.com/2012/03/find-given-bit-number-in-integer-value.html '''Find the given Bit number in a integer value is ON or OFF''']----[[User:bsingh107|bsingh107]] 11:21pm, 8 March 2012 (EST)
 
* [http://bsinghseneca.blogspot.com/2012/03/find-given-bit-number-in-integer-value.html '''Find the given Bit number in a integer value is ON or OFF''']----[[User:bsingh107|bsingh107]] 11:21pm, 8 March 2012 (EST)
 
* Try my answer: [http://leolian.wordpress.com/2012/03/09/after-class-exercise-bitwise/ '''Find the given Bit value is 0 or 1''']----[[User: leolian|xlian3]]
 
* Try my answer: [http://leolian.wordpress.com/2012/03/09/after-class-exercise-bitwise/ '''Find the given Bit value is 0 or 1''']----[[User: leolian|xlian3]]

Revision as of 17:17, 12 March 2012


OOP344 | Weekly Schedule | Student List | Teams | Project | Student Resources

OOP344 -- Weekly Schedule 2012/1 (Winter Semester)

  • Watch the lecture, scroll bellow to Resources!


Week 1 - Jan 8

This Week

  • Introduction to Open Source development.
  • Collaboration Tools:
    • Wiki
    • Blog
    • IRC
    • Code Repository


To Do

Form a team of 3 to 5 students and select a name for your team. (members can be from both sections of oop344)

  1. Create an account on this wiki, (please use your seneca email id for your wiki id)
  2. Join the IRC by registering your nickname on freenode server and joining the #seneca-oop344 channel for 344 related dialog
    Additional channels of interest: #seneca to interact with all Seneca students participating in opensource projects, and #seneca-social for Social (off-topic) dialog.
  3. Create a blog (if you don't already have one)
  4. Add your name to the OOP344 Student List
  5. Download SVN and check out the OOP344 repo(svn://zenit.senecac.on.ca/oop344) to get the notes done in class (userid: "oop344", no password)
  6. Create your team page using provided template

Resources

Week 2 - Jan 15

This Week

  • namespaces
  • extern
  • define
    Macros
  • project review

To Do

  • Form your teams and send me ONE email per team containing team member complete Seneca info.
    Update the Team page.
  • If you are not able to join a team send me an email to place your myself.

Resources

  • Each team should have their own page like this team. Click here for more info.

Week 3 - Jan 22

This Week

  • pointers review, pointer arithmetic
  • project review

To Do

  • Finalize your teams

Resources

  • Some notes from the Thursday class can be found here (apetrus)
  • 26-Jan-2012.mp4 Also if you are interested audio lecture in one file.mp4 (55 mb)
  • One important thing to know here --Gdanish 22:36, 9 February 2012 (EST)

Week 4 - Jan 30

This Week

  • Statics
    variables
    attributes (member variables
    methods
  • recursion
  • Operators in C
  • Virtual
    pure virtual methods
    abstract base classes
  • Pointers to Functions

To Do

  • Review your teams

Resources

  • If you missed this class (Thursday) or you couldn't follow along because fardad speaks too fast. whatever the reason you can watch the lecture here!
  • I have also posted some class notes here and here (apetrus)
  • 02-Feb-2012.mp4 Also if you are interested audio lecture in one file.mp4 (85 mb)

Week 5 - Feb 05

This Week

  • References
    review
    Returning
  • Dynamic Memory Allocation (DMA)
    review
    Creating a Smart Integer Array
  • Variable Argument list
  • Command line arguments
  • Pointers to Functions (continued)
  • SVN account submissions

To Do

int validMonth(int mon, char* errmes){
  int res = 0;
  if(mon > 0 && mon <=12){
    res  = 1;
  }
  else{
    strcpy(errmes, "Invalid month (1<=month<=12)");
  }
  return res;
}

write the above function in one line:

int validMonth(int mon, char* errmes){
  return yada yada;
}

yada yada can have only operators and one function call (no ?: operator allowed)


Help

  • Can anyone post the audio/video version of today's class. Can't remember the homework question that was given near end of class.--Tvirutthasalam 21:50, 6 February 2012 (EST)
  • You can find that at the the end of my page below in Resources
    • Yea right... I forgot about you... again.. thank u for da wonderful job. It's always help me..!!--Tvirutthasalam 00:08, 7 February 2012 (EST)
    • No problems! Please comment!!

Resources

  • If you missed this class (Monday) or you couldn't follow along because fardad speaks too fast. whatever the reason you can watch the lecture here!
  • 06-Feb-2012.mp4 (Monday) Also if you are interested audio lecture in one file.mp4 (70 mb)
  • If you missed this class (Thursday) or you couldn't follow along because fardad speaks too fast. whatever the reason you can watch the lecture here!
  • 09-Feb-2012.mp4 (Thursday) Also if you are interested audio lecture in one file.mp4 ( mb)

Week 6 - Feb 12

This Week

  • Monday Class will be in T2107
  • Dynamic Arrays/Strings Continued
  • Overload Casts
  • Linked Lists Intro

To Do

Help

  • Is anyone aware if the mid term test is this Thursday or the Monday after reading week?
    • It is on Monday after the study break.--Gdanish 16:17, 29 February 2012 (EST)

Resources

Week 7 - Feb 19

This Week

  • void pointers
  • Project
  • Linked Lists

To Do

Help

  • Fardad, I Have a question,
    data3 -> data2 -> data1 -> NULL
    I was asking the same question in today's class... just want to get clear about adding a Node. On your example, you wrote, that removing a Node is happenning from _head of the linked list... which is after data3 on my above example... right, then why we are adding a Node from tail (ie. between data1 and NULL) of the linked list...?? if the adding on tail is right then, why we are removing from other side i mean.. head??? both process suppose to happen from same place... right? If we get this type of question on test or exam, it will definetly cofuse me. Please correct me if I understand wrongly. Thanks! If the adding is happenning on head, here is my code...--Tvirutthasalam 19:08, 23 February 2012 (EST)
    • got the answer from Chris' notes. Actually, a queue operates on a first in, first out principle (FIFO). It means, adding haPpen on tail and remove happen on head... My bad.--Tvirutthasalam 09:08, 24 February 2012 (EST)
    • For a Stack, addition and removal of nodes occurs only at the head. But for a simple linked-list, addition of nodes occurs at the tail of the linked-list(as Fardad always gives an example of a queue at the Tim-Hortons where customers are removed from the queue from the head and are added at the back of the queue). But for a double linked-list, addition and removal of nodes can occur from anywhere in the queue...--bsingh107 5:34, 4 March 2012 (EST)

Resources

  • If you missed this class (Thursday) or you couldn't follow along because fardad speaks too fast. whatever the reason you can watch the lecture here!
  • 23-Feb-2012.mp4 (Thursday) Also if you are interested audio lecture in one file.mp4 (62 mb)

Week 8 - Feb 26

This Week



To Do

At 9:45:

  • Have your computers ready (you might want to)
    1. Login to IRC
    2. Have svn handy and Visual Studio (or any IDE) just in case
    3. make sure your default computer speakers are set to be your head set
    4. test your head set
    5. test your webcam, if you would like to use it (I will)

it is Very important to use your real name when joining the conference

Help

Resources

Linked List Slides (odp)
Linked List Slides (pptx)

Week 9 - Mar 04

This Week

  • Test One
  • bitwise operators

To Do

Help

Resources

  • If you missed this class (Thursday) or you couldn't follow along because fardad speaks too fast. whatever the reason you can watch the lecture here!

Week 10 - Mar 11

This Week

  • bitwise operators (continued)

To Do

  • Make the following possible:
int i = 2345;
cout<<"i: "<<bits(i)<<endl;
output: i: 00000000000000000000100100101001

Help

Resources