-
Notifications
You must be signed in to change notification settings - Fork 3
/
cp.html
561 lines (526 loc) · 24.3 KB
/
cp.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>OSD Labs</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="all,follow">
<!-- Inserting subtle preloader here.-->
<script src="js/pace.js"></script>
<link href="css/pace-theme-flash.css" rel="stylesheet" />
<!-- Bootstrap CSS-->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Font Awesome and Pixeden Icon Stroke icon fonts-->
<link rel="stylesheet" href="css/font-awesome.min.css">
<link rel="stylesheet" href="css/pe-icon-7-stroke.css">
<!-- Google fonts - Roboto-->
<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Roboto:300,400,700">
<!-- lightbox-->
<link rel="stylesheet" href="css/lightbox.min.css">
<!-- theme stylesheet-->
<link rel="stylesheet" href="css/style.default.css" id="theme-stylesheet">
<!-- Custom stylesheet - for your changes-->
<link rel="stylesheet" href="css/custom.css">
<!-- Favicon-->
<link rel="shortcut icon" href="favicon.png">
<!-- Tweaks for older IEs-->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script><![endif]-->
<style> <!-- NEEDS DESPEREATE ENHANCEMENT -->
.powered {
visibility: hidden!important;
}
#notice {
font-size: 120%;
box-shadow: 0px 0px 7px 0px rgb(50,50,50);
padding: 10px;
border-radius: 5px;
}
#notice p{
color: rgb(180,45,45);
margin: auto;
}
#notice h4{
color: rgb(180,45,45);
text-align: center;
}
</style>
<!-- "MENU" style display-->
<link rel="stylesheet" href="css/cp.css">
<script type="text/javascript" >
function loadScripts () {
heights['L1V1'] = 613;//(document.getElementById('L1V1').clientHeight);
heights['L1V2'] = 613;//(document.getElementById('L1V2').clientHeight);
heights['L1V3'] = 613;//(document.getElementById('L1V3').clientHeight);
heights['L1V4'] = 613;//(document.getElementById('L1V4').clientHeight);
heights['L2V1'] = 502;//(document.getElementById('L1V1').clientHeight);
heights['L2V2'] = 502;//(document.getElementById('L1V2').clientHeight);
heights['L2V3'] = 726;//(document.getElementById('L1V3').clientHeight);
heights['L2V4'] = 726;//(document.getElementById('L1V4').clientHeight);
heights['L3V1'] = 726;//(document.getElementById('L1V3').clientHeight);
heights['L3V2'] = 726;//(document.getElementById('L1V4').clientHeight);
heights['L3V3'] = 726;//(document.getElementById('L1V3').clientHeight);
heights['L3V4'] = 726;//(document.getElementById('L1V4').clientHeight);
heights['L4V1'] = 1068;//(document.getElementById('L1V4').clientHeight);
heights['L4V2'] = 1090;//(document.getElementById('L1V4').clientHeight);
heights['L5V1'] = 875;//(document.getElementById('L1V4').clientHeight);
heights['L5V2'] = 750;//(document.getElementById('L1V4').clientHeight);
heights['L5V3'] = 750;//(document.getElementById('L1V4').clientHeight);
heights['L6V1'] = 750;//(document.getElementById('L1V4').clientHeight);
heights['L6V2'] = 750;//(document.getElementById('L1V4').clientHeight);
heights['L7V1'] = 750;//(document.getElementById('L1V4').clientHeight);
heights['L7V2'] = 750;//(document.getElementById('L1V4').clientHeight);
heights['L7V3'] = 750;//(document.getElementById('L1V4').clientHeight);
heights['L7V4'] = 500;
heights['L8V1'] = 750;
heights['L8V2'] = 750;
heights['L9V1'] = 750;
heights['L9V2'] = 750;
heights['L10V1'] = 750;
heights['L10V2'] = 750;
heights['L10V3'] = 720;
hide('L1V1');
hide('L1V2');
hide('L1V3');
hide('L1V4');
hide('L2V1');
hide('L2V2');
hide('L2V3');
hide('L2V4');
hide('L3V1');
hide('L3V2');
hide('L3V3');
hide('L3V4');
hide('L4V1');
hide('L4V2');
hide('L5V1');
hide('L5V2');
hide('L5V3');
hide('L6V1');
hide('L6V2');
hide('L7V1');
hide('L7V2');
hide('L7V3');
hide('L7V4');
hide('L8V1');
hide('L8V2');
hide('L9V1');
hide('L9V2');
hide('L10V1');
hide('L10V2');
hide('L10V3');
}
var heights = [];
var openDiv;
function show (id) {
if (id === openDiv) {
hide(id);
openDiv = 'null?!';
return;
}
hide('L1V1');
hide('L1V2');
hide('L1V3');
hide('L1V4');
hide('L2V1');
hide('L2V2');
hide('L2V3');
hide('L2V4');
hide('L3V1');
hide('L3V2');
hide('L3V3');
hide('L3V4');
hide('L4V1');
hide('L4V2');
hide('L5V1');
hide('L5V2');
hide('L5V3');
hide('L6V1');
hide('L6V2');
hide('L7V1');
hide('L7V2');
hide('L7V3');
hide('L7V4');
hide('L8V1');
hide('L8V2');
hide('L9V1');
hide('L9V2');
hide('L10V1');
hide('L10V2');
hide('L10V3');
//if (heights[id] < 613) {
// heights[id] = 613;
//}
document.getElementById(id).style.height = heights[id] + "px";
document.getElementById(id).style.padding = 5;
setTimeout(function() {
document.getElementById(id.substring(0, 2)).scrollIntoView();
}, 2200);
openDiv = id;
}
function hide (id) {
document.getElementById(id).style.height = "1px";
document.getElementById(id).style.padding = 0;
}
</script>
<script type="text/javascript">
var isMobile = {
Android: function() {
return navigator.userAgent.match(/Android/i);
},
BlackBerry: function() {
return navigator.userAgent.match(/BlackBerry/i);
},
iOS: function() {
return navigator.userAgent.match(/iPhone|iPad|iPod/i);
},
Opera: function() {
return navigator.userAgent.match(/Opera Mini/i);
},
Windows: function() {
return navigator.userAgent.match(/IEMobile/i) || navigator.userAgent.match(/WPDesktop/i);
},
any: function() {
return (isMobile.Android() || isMobile.BlackBerry() || isMobile.iOS() || isMobile.Opera() || isMobile.Windows());
}
};
function loadScript() {
if(isMobile.any()) alert("This page currently doesn't function correctly on mobile browsers.");
loadScripts();
}
</script>
</head>
<body onload="javascript:loadScript();">
<!-- navbar-->
<header class="header">
<div role="navigation" class="navbar navbar-default">
<div class="container">
<div class="navbar-header"><a href="index.html" class="navbar-brand">OSD Labs</a>
<div class="navbar-buttons">
<button type="button" data-toggle="collapse" data-target=".navbar-collapse" class="navbar-toggle navbar-btn">Menu<i class="fa fa-align-justify"></i></button>
</div>
</div>
<div id="navigation" class="collapse navbar-collapse navbar-right">
<ul class="nav navbar-nav">
<li><a href="index.html">Home</a></li>
<li><a href="projects.html">Projects</a></li>
<li><a href="blog">Blog</a></li>
<li><a href="sessions.html">Sessions</a></li>
<li class="active"><a href="cp.html">CP</a></li>
</ul>
</div>
</div>
</div>
</header>
<section class="background-gray-lightest">
<div class="container" style="min-height: 65vh; min-width: 994px;">
<h2> Computer programming</h2>
<h4>Disclaimer</h4>
<p>
The content here is unnoficial, and meant to aid the students enrolled in CS F111, Computer Programming.
Please use these materials as they are intended - supplementary learning aids.
</p>
<h3 id="L1">Lab 1
<a href="CPFiles/shell(tran)script.sh" class="shelltranscript" style="float: right; text-align: right;">Complete Shell (Tran)Script</a>
</h3>
<h5><span onClick="javascript:show('L1V1');" class="minclick">Video 1 - date, who, cal, man </span>
<a href="CPFiles/shell(tran)script1.sh" class="shelltranscript" style="float: right; text-align: right;">Shell (Tran)Script</a>
</h5>
<div id="L1V1" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="2" type="text/javascript" src="https://asciinema.org/a/3ikr40n0o49prot8ygzn7wwsp.js" id="asciicast-3ikr40n0o49prot8ygzn7wwsp" async></script>
</p>
</div>
<h5> <span onClick="javascript:show('L1V2');" class="minclick">Video 2 - pwd, mkdir, clear, cd, ls</span>
<a href="CPFiles/shell(tran)script2.sh" class="shelltranscript" style="float: right; text-align: right;">Shell (Tran)Script</a>
</h5>
<div id="L1V2" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="2" type="text/javascript" src="https://asciinema.org/a/1b0ahj8bvd7lesacoyv2ox9hw.js" id="asciicast-1b0ahj8bvd7lesacoyv2ox9hw" async></script>
</p>
</div>
<h5> <span onClick="javascript:show('L1V3');" class="minclick">Video 3 - echo, >, >>, cat, cp, mv, rm</span>
<a href="CPFiles/shell(tran)script3.sh" class="shelltranscript" style="float: right; text-align: right;">Shell (Tran)Script</a>
</h5>
<div id="L1V3" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="2" type="text/javascript" src="https://asciinema.org/a/7zi9v8ql202osc0mshexq3ccq.js" id="asciicast-7zi9v8ql202osc0mshexq3ccq" async></script>
</p>
</div>
<h5> <span onClick="javascript:show('L1V4');" class="minclick">Video 4 - tips for proficiency and speed (and lab marks) </span>
<a href="CPFiles/shell(tran)script4.sh" class="shelltranscript" style="float: right; text-align: right;">Shell (Tran)Script</a>
</h5>
<div id="L1V4" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="2" type="text/javascript" src="https://asciinema.org/a/9vo9wncvz74sp1lh8lwhsohyk.js" id="asciicast-9vo9wncvz74sp1lh8lwhsohyk" async></script>
</p>
</div>
<h3 id="L2">Lab 2
<a href="#" class="shelltranscript" style="float: right; text-align: right;">Complete Shell (Tran)Script</a>
</h3>
<h5><span onClick="javascript:show('L2V1');" class="minclick">Video 1 - IO redirection refresher </span>
<a href="#" class="shelltranscript" style="float: right; text-align: right;">Shell (Tran)Script</a>
</h5>
<div id="L2V1" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/6f6wn373j8oygph4p7bch5ph1.js" id="asciicast-6f6wn373j8oygph4p7bch5ph1" async></script>
</p>
</div>
<h5><span onClick="javascript:show('L2V2');" class="minclick">Video 2 - <code>sort</code>, <code>xinput</code>, <code>wc</code>, <code>head</code>, <code>tail</code> </span>
<a href="#" class="shelltranscript" style="float: right; text-align: right;">Shell (Tran)Script</a>
</h5>
<div id="L2V2" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/annamb56kp12kaj0ze6gnfxjo.js" id="asciicast-annamb56kp12kaj0ze6gnfxjo" async></script>
</p>
</div>
<h5><span onClick="javascript:show('L2V3');" class="minclick">Video 3 - Pipes and <code>grep</code> </span>
<a href="#" class="shelltranscript" style="float: right; text-align: right;">Shell (Tran)Script</a>
</h5>
<div id="L2V3" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/au3tc1b29hkzbdlegn94dq0mp.js" id="asciicast-au3tc1b29hkzbdlegn94dq0mp" async></script>
</p>
</div>
<h5><span onClick="javascript:show('L2V4');" class="minclick">Video 4 - Wildcard Problems </span>
<a href="#" class="shelltranscript" style="float: right; text-align: right;">Shell (Tran)Script</a>
</h5>
<div id="L2V4" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/ajiagz6rhapk5lbz1cp9dmif5.js" id="asciicast-ajiagz6rhapk5lbz1cp9dmif5" async></script>
</p>
</div>
<h3 id="L3">Lab 3
</h3>
<h5><span onClick="javascript:show('L3V1');" class="minclick">Screencast 1 - Intro to C: compiling, executing </span>
</h5>
<div id="L3V1" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/0bzt8x02yghcd2w9lzvt3lkii.js" id="asciicast-0bzt8x02yghcd2w9lzvt3lkii" async></script>
</p>
</div>
<h5><span onClick="javascript:show('L3V2');" class="minclick">Screencast 2 - <code>HW.c</code>, <code>Linux.c</code></span>
</h5>
<div id="L3V2" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/akl9xg5rami1bxvcah42e0uuv.js" id="asciicast-akl9xg5rami1bxvcah42e0uuv" async></script>
</p>
</div>
<h5><span onClick="javascript:show('L3V3');" class="minclick">Screencast 3 - Incremental Development</span>
</h5>
<div id="L3V3" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="2" type="text/javascript" src="https://asciinema.org/a/css0x5yaa0k1wr6xfzwk6bisv.js" id="asciicast-css0x5yaa0k1wr6xfzwk6bisv" async></script>
</p>
</div>
<h5><span onClick="javascript:show('L3V4');" class="minclick">Screencast 4 - <code>Dates.c</code></span>
</h5>
<div id="L3V4" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="2" type="text/javascript" src="https://asciinema.org/a/0bh6sngw63zp3165mi82b1y0k.js" id="asciicast-0bh6sngw63zp3165mi82b1y0k" async></script>
</p>
</div>
<h3 id="L4">Lab 4
</h3>
<h5><span onClick="javascript:show('L4V1');" class="minclick">Screencast 1 - Intro to Conditional statements and if-else </span>
</h5>
<div id="L4V1" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/9tb6ejnosgovw4ct6ltsmr6kt.js" id="asciicast-9tb6ejnosgovw4ct6ltsmr6kt" async></script>
</p>
</div>
<h5><span onClick="javascript:show('L4V2');" class="minclick">Screencast 2 - Switch statements</span>
</h5>
<div id="L4V2" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="2" type="text/javascript" src="https://asciinema.org/a/c89nwo90mcqbwyer9iqcm1kt7.js" id="asciicast-c89nwo90mcqbwyer9iqcm1kt7" async></script>
</p>
</div>
<h3 id="L5">Lab 5
</h3>
<h5><span onClick="javascript:show('L5V1');" class="minclick">Screencast 1 - for, while and do-while loops </span>
</h5>
<div id="L5V1" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/c69u59rtbb8d774ll1syepzap.js" id="asciicast-c69u59rtbb8d774ll1syepzap" async></script>
</p>
</div>
<h5><span onClick="javascript:show('L5V2');" class="minclick">Screencast 2 - Control statements: break and continue</span>
</h5>
<div id="L5V2" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/6wrhqup5hka5mi2kaubdje2cy.js" id="asciicast-6wrhqup5hka5mi2kaubdje2cy" async></script>
</p>
</div>
<h5><span onClick="javascript:show('L5V3');" class="minclick">Screencast 3 - Nested loops</span>
</h5>
<div id="L5V3" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/cpbrekynlb8i63imwgg3kbp59.js" id="asciicast-cpbrekynlb8i63imwgg3kbp59" async></script>
</p>
</div>
<h3 id="L6">Lab 6</h3>
<h5> <span onClick="javascript:show('L6V1');" class="minclick">Screencast 1 - Introduction to Arrays </span>
</h5>
<div id="L6V1" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/eer464odjatascwvpx0smjf58.js" id="asciicast-eer464odjatascwvpx0smjf58" async></script>
</p>
</div>
<h5> <span onClick="javascript:show('L6V2');" class="minclick">Screencast 2 - Two Dimensional Arrays</span>
</h5>
<div id="L6V2" class="min">
<p class="lead" style="text-align: center;">
<script data-speed="3" type="text/javascript" src="https://asciinema.org/a/8nrdv1ke8xmzpv3kleqcq3jhc.js" id="asciicast-8nrdv1ke8xmzpv3kleqcq3jhc" async></script>
</p>
</div>
<h3 id="L7">Lab 7</h3>
<h5> <span onClick="javascript:show('L7V1');" class="minclick">Screencast 1 - Introduction to Pointers </span>
</h5>
<div id="L7V1" class="min">
<p class="lead" style="text-align: center;">
<script data-speed='3' type="text/javascript" src="https://asciinema.org/a/3pqxkmzq6i038aypqhxy8rk98.js" id="asciicast-3pqxkmzq6i038aypqhxy8rk98" async></script>
</p>
</div>
<h5> <span onClick="javascript:show('L7V2');" class="minclick">Screencast 2 - Pointer Arithmetic </span>
</h5>
<div id="L7V2" class="min">
<p class="lead" style="text-align: center;">
<script data-speed='3' type="text/javascript" src="https://asciinema.org/a/0xa2rezwf9gci4nuwvlu85qc6.js" id="asciicast-0xa2rezwf9gci4nuwvlu85qc6" async></script>
</p>
</div>
<h5> <span onClick="javascript:show('L7V3');" class="minclick">Screencast 3 - Pointers and Arrays </span>
</h5>
<div id="L7V3" class="min">
<p class="lead" style="text-align: center;">
<script data-speed='3' type="text/javascript" src="https://asciinema.org/a/0ckipraeexi9w37kqxi1xotke.js" id="asciicast-0ckipraeexi9w37kqxi1xotke" async></script>
</p>
</div>
<h5> <span onClick="javascript:show('L7V4');" class="minclick"> Challenge 1 </span>
</h5>
<div id="L7V4" class="min" style="background-color: inherit; font-size: 16px;">
<p>
We received a question about pointers on <a href="bitsgoacodes.slack.com" target="_blank">our slack channel</a>
from Tanmay Dixit recently. While the solution has been posted there, it would be nice if you could try this out.
<br><br>
Question: Predict the output of the following code snippet:
</p>
<pre style="height: 200px;">
<code class="language-c">
#include <stdio.h>
int main () {
int c[3] = {4, 5, 6}; // an array is basically a pointer to the first element
void *d = c; // cast int* to void*
d += 1; // increment the void pointer
printf("%08x\n", *((int *)d));
}
</code>
</pre>
<p>
Now run it and see if you got the answer correct. <a href="https://gist.github.com/kaivalyar/05b20df01eb17a8dccb45f5c556e4c2b">Here</a> is a simulation you can run that explains the output.
(Download the gist, compile with <code>gcc simulation.c -w</code> and run with <code>./a.out</code>.)<br><br>
If you have a better or simpler simulation, please leave a comment on the gist link.<br>
If you would like to help build future screencasts, message @kaivalyar or @garvit_gupta on <a href="bitsgoacodes.slack.com" target="_blank">slack</a>.
</p>
</div>
<h3 id="L8">Lab 8</h3>
<h5> <span onClick="javascript:show('L8V1');" class="minclick">Screencast 1 - Introduction to Functions </span>
</h5>
<div id="L8V1" class="min">
<p class="lead" style="text-align: center;">
<script data-speed='3' type="text/javascript" src="https://asciinema.org/a/544r9tbz1nip024z0wyw6vftw.js" id="asciicast-544r9tbz1nip024z0wyw6vftw" async></script>
</p>
</div>
<h5> <span onClick="javascript:show('L8V2');" class="minclick">Screencast 2 - Call by value, Call by reference and Arrays as parameters</span>
</h5>
<div id="L8V2" class="min">
<p class="lead" style="text-align: center;">
<script data-speed='3' type="text/javascript" src="https://asciinema.org/a/4bz9d2wbjf1cal4z7qe21ljbm.js" id="asciicast-4bz9d2wbjf1cal4z7qe21ljbm" async></script>
</p>
</div>
<h3 id="L9">Lab 9</h3>
<h5> <span onClick="javascript:show('L9V1');" class="minclick">Screencast 1 - Introduction to Recursive Functions </span>
</h5>
<div id="L9V1" class="min">
<p class="lead" style="text-align: center;">
<script data-speed='3' type="text/javascript" src="https://asciinema.org/a/7uexd6s6vm9bcbi790x7gfvsu.js" id="asciicast-7uexd6s6vm9bcbi790x7gfvsu" async></script>
</p>
</div>
<h5> <span onClick="javascript:show('L9V2');" class="minclick">Screencast 2 - Some examples of Recursive Functions</span>
</h5>
<div id="L9V2" class="min">
<p class="lead" style="text-align: center;">
<script data-speed='3' type="text/javascript" src="https://asciinema.org/a/0d2vilzpz1dhtfqm78mwpx2a3.js" id="asciicast-0d2vilzpz1dhtfqm78mwpx2a3" async></script>
</p>
</div>
<h3 id="L10">Lab 10</h3>
<h5> <span onClick="javascript:show('L10V1');" class="minclick">Screencast 1 - Introduction to Strings </span>
</h5>
<div id="L10V1" class="min">
<p class="lead" style="text-align: center;">
<script data-speed='3' type="text/javascript" src="https://asciinema.org/a/1cxmelgmrdbl05sik3d57kgk1.js" id="asciicast-1cxmelgmrdbl05sik3d57kgk1" async></script>
</p>
</div>
<h5> <span onClick="javascript:show('L10V2');" class="minclick">Screencast 2 - <code>strcpy()</code>, <code>strcmp()</code> and Segmentation Faults </span>
</h5>
<div id="L10V2" class="min">
<p class="lead" style="text-align: center;">
<script data-speed='3' type="text/javascript" src="https://asciinema.org/a/761p04qr2i2yvro44kodg4tc0.js" id="asciicast-761p04qr2i2yvro44kodg4tc0" async></script>
</p>
</div>
<h5> <span onClick="javascript:show('L10V3');" class="minclick">Screencast 3 - <code>strlen()</code>, <code>strcat()</code>, <code>strstr()</code> and <code>atoi()</code> </span>
</h5>
<div id="L10V3" class="min">
<p class="lead" style="text-align: center;">
<script data-speed='3' type="text/javascript" src="https://asciinema.org/a/d33eu2xrq5294ap5sx6hmtgy4.js" id="asciicast-d33eu2xrq5294ap5sx6hmtgy4" async></script>
</p>
</div>
</div>
</section>
<footer class="footer">
<div class="footer__copyright">
<div class="container">
<div class="row">
<div class="col-md-6">
<p>© 2016 OSDLabs</p>
</div>
</div>
</div>
</div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.0/jquery.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/jquery.cookie.js">
</script>
<script src="js/lightbox.min.js"></script>
<script src="js/front.js"></script>
<!-- Start of StatCounter Code for Default Guide -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-91145511-1', 'auto');
ga('send', 'pageview');
</script>
<!-- <script type="text/javascript">
var sc_project=11224678;
var sc_invisible=1;
var sc_security="6e6f5e75";
var scJsHost = (("https:" == document.location.protocol) ?
"https://secure." : "http://www.");
document.write("<sc"+"ript type='text/javascript' src='" +
scJsHost+
"statcounter.com/counter/counter.js'></"+"script>");
</script>
<noscript><div class="statcounter"><a title="site stats"
href="http://statcounter.com/" target="_blank"><img
class="statcounter"
src="//c.statcounter.com/11224678/0/6e6f5e75/1/" alt="site
stats"></a></div></noscript> -->
<!-- End of StatCounter Code for Default Guide -->
</body>
</html>