Skip to content

Commit cf31687

Browse files
committed
No changes to Python code cells; only description Markdown cells were revised for presentation purposes.
1 parent a3852e3 commit cf31687

File tree

3 files changed

+48
-59
lines changed

3 files changed

+48
-59
lines changed

Section_01_Introduction.ipynb

Lines changed: 9 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,7 @@
1414
"# Programming and Information Technology\n",
1515
"\n",
1616
"- [Welcome](#Welcome)\n",
17-
"- [Lecture Notes](#Lecture Notes)\n",
18-
"- [Credit Application](#Credit-Application)\n",
19-
"- [Tutorial Sessions](#Tutorial-Sessions)\n",
17+
"- [Lecture Notes](#Lecture-Notes)\n",
2018
"- [Weekly Assignments](#Weekly-Assignments)\n",
2119
"- [Tests & Exams](#Tests-&-Exams)\n",
2220
"- [Plagiarism](#Plagiarism)\n",
@@ -48,7 +46,7 @@
4846
"\n",
4947
"- Please read the study guide\n",
5048
"\n",
51-
"- All communication via ClickUP\n",
49+
"- All announcements via ClickUP\n",
5250
"\n",
5351
"- Software and study material $\\to$ ClickUP\n",
5452
"\n",
@@ -64,42 +62,14 @@
6462
"- Download from GitHub (https://github.com/mpr213/lecture-notes/releases)\n",
6563
" - Click on the ``Source code (zip)`` download\n",
6664
" - Save to your PC and extract the files\n",
67-
"- Viewed using Jupyter Notebook (https://jupyter.org) $\\to$ installed through Anaconda (https://www.anaconda.com/download)\n",
65+
"- Viewed using Jupyter Notebook (https://jupyter.org) $\\to$ installed through Anaconda (https://www.anaconda.com/distribution/)\n",
6866
" - see ClickUP (Software section) for installation instructions\n",
6967
"- Make use of ``nbtutor`` (https://github.com/lgpage/nbtutor)\n",
7068
" - see ClickUP (Software section) for installation instructions\n",
7169
"- \"Getting started\" videos on ClickUP (Software section)\n",
7270
"- \"Working with the lecture notes videos\" on ClickUP (Study Material section)"
7371
]
7472
},
75-
{
76-
"cell_type": "markdown",
77-
"metadata": {
78-
"nbpresent": {
79-
"id": "13ff89bd-e2b1-4526-b261-79757cc95f72"
80-
},
81-
"slideshow": {
82-
"slide_type": "slide"
83-
}
84-
},
85-
"source": [
86-
"## Credit Application\n",
87-
"\n",
88-
"- Application form:\n",
89-
" - From Student Administration (Eng. I, Floor 6)\n",
90-
" - Submit completed form to Mr L Page (Eng. III, 6-93) **before 17:00 on 12 February 2018**\n",
91-
" - Along with academic record and study guides\n",
92-
"\n",
93-
"\n",
94-
"- Credit Assessment Exam:\n",
95-
" - Date: **14 February 2018**\n",
96-
" - Venue: NW2 PhD Lab\n",
97-
" - Time: **11:30 to 13:00** (90 minutes)\n",
98-
"\n",
99-
"\n",
100-
"- Detailed instructions $\\to$ Study Guide"
101-
]
102-
},
10373
{
10474
"cell_type": "markdown",
10575
"metadata": {
@@ -130,15 +100,15 @@
130100
}
131101
},
132102
"source": [
133-
"## Weekly Assignments\n",
103+
"## Weekly Tutorial Assignments\n",
134104
"- Covers the concepts discussed in class the previous week.\n",
135-
"- Not compulsory $\\to$ not for marks\n",
136105
"- Will be uploaded to ClickUP\n",
137106
"- Due each week Friday $\\to$ Feedback provided Monday or Tuesday\n",
138107
"- Best form of practice and preparation for tests and exams\n",
139108
"- Detailed instructions on ClickUP !!\n",
140109
" - All answers will be marked electronically (I.e. by a computer)\n",
141-
" - All answers are graded binary (right or wrong)"
110+
" - All answers are graded binary (right or wrong)\n",
111+
"- Marks will contribute towards the semester mark (see $\\S$6.4 of the Study Guide)"
142112
]
143113
},
144114
{
@@ -156,7 +126,7 @@
156126
"\n",
157127
"- Closed book tests.\n",
158128
"- Written in the computer labs, with access to a PC\n",
159-
"- Anaconda, Jupyter-Notebook, Spyder, and LibreOffice help documentation is available\n",
129+
"- Anaconda, Jupyter-Notebook and Microsift Excel help documentation is available\n",
160130
"- Detailed test instruction $\\to$ ClickUP"
161131
]
162132
},
@@ -190,7 +160,7 @@
190160
" - [Plagiarism.org](http://www.plagiarism.org/article/what-is-plagiarism)\n",
191161
"\n",
192162
"\n",
193-
"- Plagiarism degrades the integrity of your qualification at the end of the day"
163+
"- Plagiarism degrades the integrity of your qualification at the end of the day."
194164
]
195165
},
196166
{
@@ -343,7 +313,7 @@
343313
"name": "python",
344314
"nbconvert_exporter": "python",
345315
"pygments_lexer": "ipython3",
346-
"version": "3.6.5"
316+
"version": "3.6.3"
347317
},
348318
"nbpresent": {
349319
"slides": {},

Section_02_Basic_Programming.ipynb

Lines changed: 39 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@
2727
"\n",
2828
"\n",
2929
"- Overview on what you see on *Anaconda Navigator*\n",
30-
" - Launching *Jupyter* and/or *Spyder*\n",
30+
" - Launching *Jupyter*\n",
3131
" - The *Learning* tab and documentation\n",
3232
"\n",
3333
"\n",
3434
"- *Anaconda Navigator* takes a while to start up\n",
35-
" - Easier to launch *Jupyter* or *Spyder* via the Windows Menu\n",
35+
" - Easier to launch *Jupyter* via the Windows Menu\n",
3636
"\n",
3737
"\n",
3838
"- Overview on what you see in the *Jupyter Home* window\n",
@@ -43,7 +43,11 @@
4343
"\n",
4444
"- Running *Jupyter* from a specific folder:\n",
4545
" - Open Windows Explorer $\\to$ Navigate to folder with *Jupyter Notebooks*\n",
46-
" - Type `jupyter notebook` into *Address Bar* and hit `Enter`"
46+
" - Type `jupyter-notebook` into *Address Bar* and hit `Enter`\n",
47+
" - See video at [https://youtu.be/yCAWLgoo94Y](https://youtu.be/yCAWLgoo94Y) for this way to start Jupyter Notebook\n",
48+
" \n",
49+
" \n",
50+
"- See [https://youtu.be/sJ8UY9xDP-4](https://youtu.be/sJ8UY9xDP-4) on different ways to start *Jupyter*"
4751
]
4852
},
4953
{
@@ -59,7 +63,7 @@
5963
" - Saving *Notebook*s\n",
6064
"\n",
6165
"\n",
62-
"- See \"getting started\" videos on ClickUP"
66+
"- See \"getting started\" video on ClickUP, or [https://youtu.be/uYWRE0hX2Xo](https://youtu.be/uYWRE0hX2Xo)"
6367
]
6468
},
6569
{
@@ -705,21 +709,6 @@
705709
"print(rhs)"
706710
]
707711
},
708-
{
709-
"cell_type": "markdown",
710-
"metadata": {},
711-
"source": [
712-
"## Note on startup of Jupyter Notebook:\n",
713-
"\n",
714-
"Depending on the computer resources, one may get an `IOPub data rate exceeded` error in the next code cell, where the command `help(numpy)` is executed. If you experience this problem, it may be avoided by starting Jupyter Notebook from an Anaconda Prompt, with the following:\n",
715-
"\n",
716-
"jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10\n",
717-
"\n",
718-
"The figure below shows this, for a Windows 7 installation, where prior to issuing this command, in the first line, the default folder location has been changed with the DOS \"cd\" command, followed by hitting three \"Enter\"-s to get a clearer picture.\n",
719-
"\n",
720-
"<img src=\"figures\\anaconda-promp-start.PNG\" style=\"width: 800px;\"/>"
721-
]
722-
},
723712
{
724713
"cell_type": "markdown",
725714
"metadata": {},
@@ -750,6 +739,36 @@
750739
"help(numpy)"
751740
]
752741
},
742+
{
743+
"cell_type": "markdown",
744+
"metadata": {},
745+
"source": [
746+
"## Note on startup of Jupyter Notebook:\n",
747+
"\n",
748+
"Depending on the computer resources, one may get an `IOPub data rate exceeded` error in the previous code cell, where the command `help(numpy)` is executed. If you experience this problem, it may be avoided by starting Jupyter Notebook from either a Windows Command Prompt, or an Anaconda Prompt.\n",
749+
"\n",
750+
"### Starting Jupyter Notebook from a Windows Command Prompt\n",
751+
"\n",
752+
"Start a Windows Command Prompt and issue the following command from inside the Command Prompt:\n",
753+
"\n",
754+
"`jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10`\n",
755+
"\n",
756+
"If one wants to start Jupyter Notebook from a specific folder, one needs to first change the default folder location with the DOS `cd` command. The figure below shows this, for a Windows 10 installation, where prior to issuing this command, in the first line (indicated by the green arrow), the default folder location has been changed with the DOS `cd` command to the path shown underlined in green, followed by hitting four \"Enter\"-s to get a clearer picture. The above command was then issued (indicated by the red arrow and underlined in red).\n",
757+
"\n",
758+
"<img src=\"figures\\windows-command-promp-start.PNG\" style=\"width: 800px;\"/>\n",
759+
"\n",
760+
"\n",
761+
"### Starting Jupyter Notebook from an Anaconda Prompt\n",
762+
"\n",
763+
"If on installation of Anaconda one did **not** select to add Anaconda to the PATH environment variable (as was very strongly advised), one will not be able to start Jupyter Notebook from the Windows Command Prompt. In such a case one can start it form an Anaconda Prompt, with the following (the same command):\n",
764+
"\n",
765+
"`jupyter notebook --NotebookApp.iopub_data_rate_limit=1.0e10`\n",
766+
"\n",
767+
"The figure below shows this, for a Windows 7 installation, where prior to issuing this command, in the first line, the default folder location has been changed with the DOS `cd` command, followed by hitting three \"Enter\"-s to get a clearer picture.\n",
768+
"\n",
769+
"<img src=\"figures\\anaconda-promp-start.PNG\" style=\"width: 800px;\"/>"
770+
]
771+
},
753772
{
754773
"cell_type": "code",
755774
"execution_count": null,
@@ -989,7 +1008,7 @@
9891008
"name": "python",
9901009
"nbconvert_exporter": "python",
9911010
"pygments_lexer": "ipython3",
992-
"version": "3.6.5"
1011+
"version": "3.6.3"
9931012
},
9941013
"nbpresent": {
9951014
"slides": {},
133 KB
Loading

0 commit comments

Comments
 (0)