Tags: Programming

Teaching Materials (1-11 of 11)

  1. TANMS/MESA Electromagnetism Unit 4: Arduino Design Project Focused on Application of EM

    Teaching Materials | 15 May 2023 | Contributor(s):: TANMS UCLA

    This unit consists of several downloads. The entire unit is available as a zip download. A README file is available as an Adobe PDF document or Microsoft Word document. Please see the README for a description of all component with in the unit.Lesson PlanIntroduction to Robotics, Design and...

  2. Learning Python 3 using "Python for Everybody" with nanoHUB Jupyter Notebooks

    Teaching Materials | 06 Jul 2021 | Contributor(s):: Tanya Faltens

    This document provides instructions for setting up your nanoHUB file structure and using Jupyter notebooks in nanoHUB to go through the online course, "Python for Everybody".This course is free and readily available, but may not be what you are looking for.For a shorter tutorial...

  3. The Jupyter Dashboard, Notebook and Terminal Interfaces in nanoHUB

    Teaching Materials | 06 Jul 2021 | Contributor(s):: Tanya Faltens

    This document describes the functionalities and appearance of the Jupyter Dashboard, Notebook and Terminal interfaces in nanoHUB.

  4. Playing with pointers in C++

    Teaching Materials | 05 Jun 2012 | Contributor(s):: David A Saenz

    Two simple examples of how pointers and arrays relate to each other. These examples make a pointer point to every element of a 2D and 3D array and print their elements in order using pointer arithmetic.David SaenzNCN Project, Purdue University

  5. Playing with structures in C++

    Teaching Materials | 05 Jun 2012 | Contributor(s):: David A Saenz

    Simple examples of how to work with structures in C++. The examples within the compressed folder include simple code which exemplifies their use to form more complex ones like linked lists. There is an example on simple linked lists and there is another one on doubly linked lists.David Saenz

  6. Playing with shells in C++

    Teaching Materials | 05 Jun 2012 | Contributor(s):: David A Saenz

    Although simple, this example portrays the essential parts of a shell program. In this example we can appreciate how other examples like the tokenizer can get merged with new code to create a new program. Also a basic introduction to the creation of child processes is exemplified. Lastly, this...

  7. Playing with memory in C++

    Teaching Materials | 05 Jun 2012 | Contributor(s):: David A Saenz

    This resource contains a couple of programs exemplifying the use of the function "malloc" for static and dynamic memory allocation. For making the programs understandable, many details have been simplified, but the main idea, (i.e. memory allocation/deallocation) is perfectly portrayed.David...

  8. Playing with tokens in C++

    Teaching Materials | 05 Jun 2012 | Contributor(s):: David A Saenz

    In this example, the use of a tokenizer function explains how the process of separating a string into tokens works. A programmer is usually interested in tokens because they serve as a raw input for terminal shells. David SaenzNCN Project, Purdue University

  9. Playing with classes in C++

    Teaching Materials | 05 Jun 2012 | Contributor(s):: David A Saenz

    This is a simple example of how to use classes in C++. The program within the folder is a simple terminal TicTacToe game. It makes use of the TicTacToe class where all data and methods are defined.David SaenzNCN Project, Purdue University

  10. Playing with arrays in C++

    Teaching Materials | 28 May 2012 | Contributor(s):: David A Saenz

    Two very simple examples on how to manage multidimensional arrays in C++. The compressed folder contains two examples. One on I/O of a 2D array and another on a 3D one. From these examples, an instructor or student can extend the technique for higher dimensional arrays.NCN ProjectNCN Project,...

  11. C++ Programming Examples I

    Teaching Materials | 02 Mar 2012 | Contributor(s):: David A Saenz

    A set of simple C++ programming examples, from a basic Hello World to an example of the use of pointers.David Saenz, O'Reili book: Practical C++ programmingPractical C++ ProgrammingNCN Project, Purdue University