{"id":15,"date":"2015-09-09T23:05:06","date_gmt":"2015-09-09T23:05:06","guid":{"rendered":"http:\/\/www.sqrlab.ca\/csci1060u\/?page_id=15"},"modified":"2020-11-30T14:30:31","modified_gmt":"2020-11-30T14:30:31","slug":"labs","status":"publish","type":"page","link":"https:\/\/www.sqrlab.ca\/csci1060u\/labs\/","title":{"rendered":"Labs"},"content":{"rendered":"<ul>\n<li><a href=\"#L1\">Lab 1: Introduction to C++ Programming<\/a><\/li>\n<li><a href=\"#L2\">Lab 2: Using Pre-Defined Functions in C++<\/a><\/li>\n<li><a href=\"#L3\">Lab 3: Programmer-Defined\u00a0Function in C++<\/a><\/li>\n<li><a href=\"#L4\">Lab 4: Creating a Calendar in C++<\/a><\/li>\n<li><a href=\"#L5\">Lab 5: Code Syle &amp; Documentation<\/a><\/li>\n<li><a href=\"#L6\">Lab 6: Programming Tic-Tac-Toe<\/a><\/li>\n<li><a href=\"#L7\">Lab 7: Programming Connect 4<\/a><\/li>\n<li><a href=\"#L8\">Lab 8: (More) Programming Tic-Tac-Toe<\/a><\/li>\n<li><a href=\"#L9\">Lab 9: Classes in C++<\/a><\/li>\n<li><a href=\"#L10\">Lab 10: A Queue Class in C++<\/a><\/li>\n<\/ul>\n\n\n<h3 class=\"wp-block-heading\"><a id=\"L1\" name=\"L1\"><\/a>LAB 1: INTRODUCTION TO C++ PROGRAMMING<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>The main purpose of this lab is to introduce C++ programming concepts related to input\/output, data types and type casting. Please comment your programs. Your teaching assistant will ensure that you are setup to use the Linux command line compiler g++.<\/li><li><em>Lab Description:<\/em> <a href=\"https:\/\/www.sqrlab.ca\/csci1060u\/wp-content\/uploads\/sites\/31\/2020\/09\/CSCI1060U_Lab01.pdf\">[PDF]<\/a><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"L2\" name=\"L2\"><\/a>LAB 2: USING Pre-Defined FUNCTIONS IN C++<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>The main purpose of this lab is to introduce C++ programming concepts related to branching, looping and predefined functions.<\/li><li><em>Lab Description:<\/em> <a href=\"https:\/\/www.sqrlab.ca\/csci1060u\/wp-content\/uploads\/sites\/31\/2020\/10\/CSCI1060U_Lab02_updated.pdf\">[PDF]<\/a><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"L3\" name=\"L3\"><\/a>LAB 3: PROGRAMMER DEFINED FUNCTIONS IN C++<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>The main purpose of this lab is to create functions and learn about call-by-reference parameters.<\/li><li><em>Lab Description:<\/em> <a href=\"https:\/\/www.sqrlab.ca\/csci1060u\/wp-content\/uploads\/sites\/31\/2020\/10\/CSCI1060U_Lab_03.pdf\">[PDF]<\/a><\/li><\/ul>\n\n\n<h3><a id=\"L4\" name=\"L4\"><\/a>LAB 4: Creating a Calendar IN C++<\/h3>\n<ul>\n<li><em>Note: This is a take home lab.<\/em><\/li>\n<li>This lab will give you an opportunity to practice using C++. In this lab you will be making a text-based calendar program that looks like:\n<pre>  JUNE 2020                   \n\n  S  M Tu  W Th  F  S            \n     1  2  3  4  5  6           \n  7  8  9 10 11 12 13            \n 14 15 16 17 18 19 20           \n 21 22 23 24 25 26 27            \n 28 29 30<\/pre>\n<p>Your calendar should be able to print months in the future and in the past.<\/p>\n<\/li>\n<li><em>Lab Description:<\/em> <a href=\"https:\/\/www.sqrlab.ca\/csci1060u\/wp-content\/uploads\/sites\/31\/2020\/10\/CSCI1060U_Lab_04.pdf\">[PDF]<\/a><\/li>\n<\/ul>\n<h3>LAB 5: CODE STYLE &amp; DOCUMENTATION<\/h3>\n<ul>\n<li>The main purpose of this lab is to reinforce the lectures on code style and documentation.<\/li>\n<li><em>Lab Description:<\/em>&nbsp;<a href=\"https:\/\/www.sqrlab.ca\/csci1060u\/wp-content\/uploads\/sites\/31\/2020\/10\/CSCI1060U_Lab_05.pdf\">[PDF]<\/a><\/li>\n<li><em>Source Files:<\/em>&nbsp;<a href=\"http:\/\/www.sqrlab.ca\/exercises\/csci1060u-f18\/lab05.cpp\">[lab05.cpp]<\/a><\/li>\n<\/ul>\n<h3><a id=\"L6\" name=\"L6\"><\/a>LAB 6:&nbsp;PROGRAMMING TIC-TAC-TOE<\/h3>\n<ul>\n<li>The main purpose of this lab is to get more experience programming in C++ by extending a tic-tac-toe game.<\/li>\n<li><em>Lab Description:<\/em>&nbsp;<a href=\"https:\/\/www.sqrlab.ca\/csci1060u\/wp-content\/uploads\/sites\/31\/2020\/10\/CSCI1060U_Lab_06.pdf\">[PDF]<\/a><\/li>\n<li><em>Source Files:&nbsp;<\/em>[<a href=\"http:\/\/www.sqrlab.ca\/exercises\/tictactoe_final.cpp\">tictactoe_final.cpp<\/a>]<\/li>\n<\/ul>\n<h3><a id=\"L7\" name=\"L7\"><\/a>LAB 7:&nbsp;PROGRAMMING CONNECT 4<\/h3>\n<ul>\n<li>The main purpose of this lab is to get more experience programming in C++ by completing the Connect 4 game that we built in class.<\/li>\n<li><em>Lab Description:<\/em>&nbsp;<a href=\"https:\/\/www.sqrlab.ca\/csci1060u\/wp-content\/uploads\/sites\/31\/2020\/11\/CSCI1060U_Lab_07.pdf\">[PDF]<\/a><\/li>\n<li><em>Source Files:&nbsp;<\/em><a href=\"https:\/\/www.sqrlab.ca\/exercises\/csci1060u-f20\/connect4_v2.cpp\">[connect4_v2.cpp]<\/a><\/li>\n<\/ul>\n<h3><a id=\"L8\" name=\"L8\"><\/a>LAB 8: (MORE) PROGRAMMING TIC-TAC-TOE<\/h3>\n<ul>\n<li>The main purpose of this lab is to implement a two-dimension dynamic array in the previously created Tic-Tac-Toe game.<\/li>\n<li><em>Lab Description:<\/em>&nbsp;<a href=\"https:\/\/www.sqrlab.ca\/csci1060u\/wp-content\/uploads\/sites\/31\/2020\/11\/CSCI1060U_Lab_08.pdf\">[PDF]<\/a><\/li>\n<li><em>Source Files:&nbsp;<\/em>[<a href=\"http:\/\/www.sqrlab.ca\/exercises\/tictactoe_final.cpp\">tictactoe_final.cpp<\/a>] (or you&nbsp;<a href=\"#L6\">Lab 6<\/a>&nbsp;submission)<\/li>\n<\/ul>\n<h3><a id=\"L9\" name=\"L9\"><\/a>LAB 9: Classes in C++<\/h3>\n<ul>\n<li>The main purpose of this lab is to practice object-oriented programming in C++ by using a class to solve a problem of your choice!<\/li>\n<li><em>Lab Description:<\/em>&nbsp;<a href=\"https:\/\/www.sqrlab.ca\/csci1060u\/wp-content\/uploads\/sites\/31\/2020\/11\/CSCI1060U_Lab_09.pdf\">[PDF]<\/a><\/li>\n<\/ul>\n<h3><a id=\"L10\" name=\"L10\"><\/a>LAB 10: A QUEUE CLASS IN C++<\/h3>\n<ul>\n<li>The main purpose of this lab is to implement a queue class to store data and perform basic data analysis.<\/li>\n<li><em>Lab Description:<\/em>&nbsp;<a href=\"https:\/\/www.sqrlab.ca\/csci1060u\/wp-content\/uploads\/sites\/31\/2020\/11\/CSCI1060U_Lab_10.pdf\">[PDF]<\/a><em><br><\/em><\/li>\n<li><em>Source Files:<\/em>&nbsp;<a href=\"http:\/\/www.sqrlab.ca\/exercises\/csci1060u-f20\/lab10.cpp\">[lab10.cpp]<\/a><\/li>\n<\/ul>\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Lab 1: Introduction to C++ Programming Lab 2: Using Pre-Defined Functions in C++ Lab 3: Programmer-Defined\u00a0Function in C++ Lab 4: Creating a Calendar in C++ Lab 5: Code Syle &amp; Documentation Lab 6: Programming Tic-Tac-Toe Lab 7: Programming Connect 4 &hellip; <a href=\"https:\/\/www.sqrlab.ca\/csci1060u\/labs\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":441,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"sidebar-page.php","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-15","page","type-page","status-publish","has-post-thumbnail","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/PcmAMt-f","_links":{"self":[{"href":"https:\/\/www.sqrlab.ca\/csci1060u\/wp-json\/wp\/v2\/pages\/15","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sqrlab.ca\/csci1060u\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.sqrlab.ca\/csci1060u\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.sqrlab.ca\/csci1060u\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sqrlab.ca\/csci1060u\/wp-json\/wp\/v2\/comments?post=15"}],"version-history":[{"count":75,"href":"https:\/\/www.sqrlab.ca\/csci1060u\/wp-json\/wp\/v2\/pages\/15\/revisions"}],"predecessor-version":[{"id":572,"href":"https:\/\/www.sqrlab.ca\/csci1060u\/wp-json\/wp\/v2\/pages\/15\/revisions\/572"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.sqrlab.ca\/csci1060u\/wp-json\/wp\/v2\/media\/441"}],"wp:attachment":[{"href":"https:\/\/www.sqrlab.ca\/csci1060u\/wp-json\/wp\/v2\/media?parent=15"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}