Python Exercises
[content_protector password="python1" identifier="Python" cookie_expires="5 minutes" ajax="true"]
- Class 1 – print & If Statements & Loops להורדה
- Class 2 – Functions & Modules להורדה
- Class 3 – Files להורדה
- Class 4 – Exceptions להורדה
- Class 5 – Object Oriented Programming להורדה
- Class 6 – Os & Sys Module להורדה
- Class 7 – Sockets להורדה
- Class 8 – Serial להורדה
- Class 9 – MySql להורדה
- Class 10 – Regular Expressions להורדה
- Class 11 – MultiThreading להורדה
- Class 12 – Graphic User Interface להורדה
- Class 13 – Python With C Extension להורדה
- Python exercise 1 להורדה, solution 1 להורדה
- Python exercise 2 להורדה, solution 2 להורדה
- Python exercise 3 להורדה, solution 3 להורדה
- Python OOP Exercise להורדה
- Python Test Exercise להורדה
- testdb להורדה – project specifications להורדה
Exercises:
Project:
C Exercises
[content_protector password="c1" identifier="clang" cookie_expires="5 minutes" ajax="true"]
Lectures Code Examples
each link has a zip file containing all relevant codes for the subject:
Lesson1 – introduction – the main() function, the body
Lesson 2 – variables – enumarated constants, chars
Lesson 3 – Static and Extern – local static and extren
Lesson 4 – expressions statements – if else keywords
Lesson 5 – functions– declarations and usage of functions
Lesson 6 – for while – using loops
Lesson 7 – Arrays -accessing, initilizing, modfying
Lesson 8 – Pointers -Declaring, purposes and usage
Lesson 9 – Strings Manipulations – initialization and string.h features
Lesson 10 – I\O commands – basic i\o commands
Lesson 11 – Pointers to Functions – pointers to functions usage
Lesson 12- Structures – creating structures and operating on them
Lesson 13 – bitwise operations – read modify write operations
Lesson 14 – bitfields And Unions – unions and bit field examples
Lesson 15 – Linked List and Hash Tables – implementation
Lesson 16 – main function arguments
Lesson 17 – Macros
Lesson 18 – Searching Algorithems
Lesson 19 – Sorting Algorithems
Lectures Application Notes
Simple Solution to Peramid exercise, with and without Functions. See the Diffrence
Dynamic Allocation
Structures
Main function Args
Classes Worksheets :
each link has a zip file containing a workheet and the relevant supplemental codes:
primeNum solution source code for prime numbers questions
Question2 – Calculator Functions
QuestionSet3 arrays, functions and recursions
QuestionSet4 : bitwise operations, unions, pointers to functions
arrays and pointers class exer
ChessBoard
Binary Tree With Linked List
[/content_protector]
C Homework
[content_protector password="c1" identifier="clang" cookie_expires="5 minutes" ajax="true"]
עבור התקנת Visual Studio Express 2008לתרגול ב C++ לחץ כאן
עבור התקנת Code-Block IDE and Compiler לחץ כאן
הסבר כללי למבנה של הפתרונות בקובץ readme:
צפו בסרטון התחלת עבודה עם Visual Studio 20xx
צפו בסרטון יצירת פרויקט ב Eclipse בסביבת windows.
צפו בסרטון התקנת Eclipse בלינוקס + התקנת קומפיילר C ו – C++ ע\"ג אקליפס
Questions
Lesson 1: Introduction , Expressions & Statements , If
Lesson 2: Loops
Lesson 3: Functions
Lesson 4: Arrays
Lesson 5: Pointers
Lesson 6: Strings
Lesson 7: Advanced Pointers , Bitwize Operations
Lesson 8: structures , Bitfields And Unions
Lesson 9: Hash Table , Linked List
Solutions
Lesson 1: introduction , Expression and Statements , If
Lesson 2: Loops
Lesson 3: Functions
Lesson 4: Arrays
Lesson 5: Pointers
Lesson 6: Strings
Lesson 7: Advanced Pointers , Bitwise Operations
Lesoon 8: Structures , bitfields And Unions
Lesson 9: Hash Tables , Linked List
Tests
Tests-1
Tests-2
Test-3
Test-3 – solution
Test – 3/3/15
Projects
Phone-book – Question: Solution Algebraic Chess Notation
Chess Solution
more C solutions
[/content_protector]
Programming ARM Exercises
[content_protector password="arm1" identifier="arm" cookie_expires="5 minutes" ajax="true"]
- CLASS-Exercise1, makefile_variables להורדה, להורדה
- CLASS-Exercise2 להורדה
- CLASS-Exercise3 להורדה
- CLASS-Exercise4 להורדה
- CLASS-Exercise5 להורדה
- CLASS-Exercise6 להורדה
- CLASS-Exercise7 להורדה
- CLASS-Exercise8 להורדה
- CLASS-Exercise9 להורדה
- CLASS-Exercise10 להורדה
- CLASS-Solution1 להורדה
- CLASS-Solution2 להורדה
- CLASS-Solution3 להורדה
- CLASS-Solution4 להורדה
- CLASS-Solution5 להורדה
- CLASS-Solution6 להורדה
- CLASS-Solution7 להורדה
- CLASS-Solution8 להורדה
- CLASS-Solution9 להורדה
- CLASS-Solution10 להורדה
- ISR Demo להורדה
- PingPong (Ethernet Driver) להורדה + Readme להורדה, PingPong-Benny להורדה
- Clock Exercise להורדה, Clock Exercise Solution להורדה
- IIC Demo להורדה
- SWI Demo להורדה
- MMU-QEMU Demo להורדה
- Overall Exercise להורדה
- FINAL-CLASS להורדה
- Supplementary להורדה
- BootModes להורדה
- watch how to convert an exercise for qemu לצפיה
- watch how to run a converted exercise in qemu לצפיה
- qemu-emulator להורדה
- qemu-exercise להורדה
- MMU addium from yoav להורדה
Installation tools, IDE and SDK:
In order to program (meaning compile and link the source code and then download it into the target) embedded applications,
we'll need a matching SDK (Cross-Compiler & IDE) for the Dev board.
We recommend using Linux OS for the host operating system, we will be using geany or Eclipse IDE (ronetix distribution) and GNU Tool-chain.
– below are the required lines to guides:
Installation using a Linux Machine (recommended) להורדה
Installation using a Windows Machine (not supported by Real Time Group) להורדה
Link to Development Card's Data Sheets and Schematics Data-Sheets and Schema.
Source Code: Class Exercises & Solutions:
This is the Source code used for programming the Development card during the Class-Exercises, through out the course we"ll go through them and learn the proper implementation.
The ReadMe.txt file includes a brief description of each exercise.
Class Exercises
Class-Solutions
Misc Exercises
Misc tools
Bash Exercises
[content_protector password="bash1" identifier="Linux" cookie_expires="5 minutes" ajax="true"]
- simple bash להורדה
- simple examples להורדה
- ((Arithmetic Expressions)) להורדה
- [[Conditional Expressions]] להורדה
- loops להורדה
- nested_loops להורדה
- control_loops להורדה
- testing_branching להורדה
- Class Script Examples להורדה
QA Exercises
[content_protector password="qa1" identifier="QA" cookie_expires="5 minutes" ajax="true"]
-
Document Templates:
- Intro_SW_Testing להורדה
- Testing_World_Magazine_05_042016 להורדה
- Testing_World_Magazine_06_072016 להורדה
- STP IEEE template להורדה
- STP_template להורדה
- STP_Summary להורדה
- STD IEEE template להורדה
- STD_template להורדה
- STD_Summary להורדה
- STR_template להורדה
- Specification להורדה
- Client_src_code להורדה
- Server_src_code להורדה
STP Templates:
STD Templates:
STR Templates:
Final-Project- Smart Home:
Boot Loading Excercises
[content_protector password="boot1" identifier="boot-loading" cookie_expires="5 minutes" ajax="true"]
-
Class
- getting_started.pdf להורדה
- qemu-emulator qemu-exercise להורדת התרגיל emulator להורדת
- installing qemu and fixing insight known issue(documentation below) video1 video2 video3
- working with eclipse video לצפיה
- working with insight video לצפיה
- IDE and Tool Chien Installation_package לקריאה
- Homework Questions 1 – 4 word document להורדה
- Package(archive into eclipse) להורדה
- Homework Questions 1 – 2 word document להורדה
- Package(archive into eclipse) להורדה
- Homework Questions 1 – 7 word להורדה
- Package(archive into eclipse) להורדה
- part 1להורדה
- part 2להורדה
- part 3להורדה
- part 4להורדה
- part 1להורדה
- part 2להורדה
- parts 1-7להורדה
Getting Started with Boot Loading
this pdf file explains step by step which applications and drivers are needed for this course.
it helps you download, install and configure all the needed applications.
insight known issue:
as for working for the first time with insight, you might get the following error:
arm-elf-insight: error while loading shared libraries: libexpat.so.0: cannot open shared object file: no such file or directory
do the following:
cd /; find . -name libexpat.so*
go to the directory in which the files were found, and type the command
ln libexpat.so.1 libexpat.so.0
or
use the latest libexpat.so.x in the "ln" command. So, it might be:
ln libexpat.so.x libexpat.so.0
HomeWork
Exercise 1:
Exercise 2:
Exercise 3:
Solutions
Exercise 1:
Exercise 2:
Exercise 3:
Linux kernel Exercises
[content_protector password="kernel1" identifier="linux-kernel" cookie_expires="5 minutes" ajax="true"]
-
Installing Course SW – a pdf elaborating what components are needed for the Linux Kernel Training and how to להורדה
install them on your Linux Desktop \ Laptop.
To support 32\64 bit issues please use the following:
sudo apt-get install libc6-i386
Source code and Utility links:
linux_kernel_source_code for the mini2440 להורדה
linux_ARM_Cross_Compiler להורדה
usb_push להורדה
Binary Image Files:
supervivi-128M – Serves as the Linux Boot-Loader להורדה
Linux_Zimage – Serves as the Linux Kernel Image להורדה
Linux_Root_Dir – Serves as the Linux File System Image. extract first: xz -d root_qtopia-128M.img.xz להורדה
Lectures Code Examples
each link has a zip file containing all relevant codes for that Lesson:
Lesson-1: Linux Kernel Overview
Lesson-2: Cross Compiling the Kernel – Compiling the EVB's Kernel source code להורדה
also optional: sudo apt-get install -y build-essential kernel-package libncurses5-dev bzip2 bin86 qt4-dev-tools wget libncurses5 git-core
Lesson-3: Booting the Linux Kernel
Lesson-4: Linux Kernel Modules – building your first "hello world" LKM on the EVB להורדה
Lesson-5: Char Device Drivers – Implementing Character Device Drivers on the EVB להורדה
Lesson-6: Sys File-system – Unified Device Model להורדה mini2440_LED_solution
Lesson-7: Memory Management – Memory Allocation להורדה
Lesson-8: Concurrency and Race Conditions -Mutexes, Spinlocks להורדה
Lesson-9: I\O Memory and Ports – I\O and Memory להורדה mini2440_ADC_solution
Lesson-10: Wait Queues
Lesson-11: Kernel Interrupts and Exceptions להורדה
Lesson-12: Network Device
Lesson-13: PCI Subsystem
Lesson-14: USB Subsystem להורדה
Lesson-15: Input Subsystem להורדה
Lesson-16: Serial interface
Additional Lecture pdf's
Data-Sheets and Schema להורדה
diff & patch manual and diff & patch exercises files להורדה להורדה
Udev Hot-Plugging להורדה
USB Subsystem להורדה
RT Concepts Exercises
[content_protector password="rt1" identifier="rt-concepts" cookie_expires="5 minutes" ajax="true"]
-
These are questions and Test examples for RT and Embedded Concepts Course
Homework Exercises
Questions:
Lesson-1
Lesson-2
Lesson-3
Solutions:
Lesson-1
Lesson-2
Lesson-3
Test Examples
Test-Feb-2011
Test – Aug -2011 Solution-Aug -2011
Networks Exercises
[content_protector password="networks1" identifier="networks" cookie_expires="5 minutes" ajax="true"]
-
Network Utilities
- list of Linux based Networking terminal commands להורדה
- Traffic Monitoring (Iperf) Iperf for WindowsIperf for Linux
- RT Projects : telnet להורדה
- QA Projects : Networking QA Project להורדה
- TCP IP Slides להורדה
Installing Wireshark Sniffer
Ubuntu: apt-get install wireshark
Centos: yum install wireshark-gnome
Installing Ostinato (Packet \ Traffic Generator)
Ubuntu: apt-get install ostinato
Centos: cd /etc/yum.repos.d/
or
wget http://download.opensuse.org/repositories/home:pstavirs:ostinato/CentOS_CentOS-6/home:pstavirs:ostinato.repo
yum -y install ostinato
Network Terminal Commands
Network Programming
Getting Started with Network Programming on ARM EVB
These pdf files explain step by step which programs and drivers are needed for this course.
They will help you download, install and configure all that's needed.
We recommend using Linux OS as the host operating system, you can use Eclipse IDE (ronetix distribution),
and GNU Tool-chain, or just gedit \ geany and make utility
In order to run your Src code for the target, we'll need matching:
a – Cross-Compiler \ The GNU tool-chain להורדה
Note: for Ubuntu 64 bit USERS –> you have to install the following library:
apt-get install libusb-0.1-4:i386
sudo apt-get install lib32z1 lib32ncurses5 lib32bz2-1.0 lib32stdc++6
b – SDK (Software Development Kit) for the Dev board is given below
c – IDE such as Eclipse להורדה
d – The usbpush tool, for downloading and burning binary files to the EVB להורדה
e – The console application (communication through RS232 interface) : minicom / putty
for examples of working with the eclipse IDE: לצפיה
Questions:
Lesson 1- introduction
Lesson 2 – OSI Modal להורדה
Lesson 3 – Ethernet Protocol
Lesson 4 – ARP protocol, ICMP and ping
Lesson 5 – IP protocol, UDP and TCP protocols
Lesson 6 – VLAN
Lesson 7 -MPLS
Solutions:
Basic Application (No Network implementation)
Linux Implementation להורדה
Lesson 1- introduction
Lesson 2 – OSI Modal להורדה
Lesson 3 – Ethernet Protocol
Lesson 4 – Linux Implementation להורדה
Lesson 5- udp_ping_implementation להורדה
Lesson 6- tftp_server_implementation להורדה
Projects:
Additional Slides: