Linux Exercises


[content_protector password="linux1" identifier="Linux" cookie_expires="5 minutes" ajax="true"]

[/content_protector]

Linux Homework


[content_protector password="linux1" identifier="Linux" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]

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 להורדה
  • Exercises:

  • Python exercise 1 להורדה, solution 1 להורדה
  • Python exercise 2 להורדה, solution 2 להורדה
  • Python exercise 3 להורדה, solution 3 להורדה
  • Python OOP Exercise להורדה
  • Python Test Exercise להורדה
  • Project:

  • testdb להורדה – project specifications להורדה
[/content_protector]

Python Homework


[content_protector password="python1" identifier="Python" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]

Java Exercises


[content_protector password="java1" identifier="Java" cookie_expires="5 minutes" ajax="true"]

[/content_protector]

Java Homework


[content_protector password="java1" identifier="Java" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]

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

מבחן סימולציה – simulation1

תרגיל – FIFO

Link List With Files

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 2010 לתרגול ב C++ לחץ כאן

עבור התקנת 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]

C++ Exercises


[content_protector password="c2" identifier="cplusplus" cookie_expires="5 minutes" ajax="true"]

[/content_protector]

C++ Homework


[content_protector password="c2" identifier="cplusplus" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]

Programming ARM Exercises


[content_protector password="arm1" identifier="arm" cookie_expires="5 minutes" ajax="true"]

[/content_protector]

Programming ARM Homework


[content_protector password="arm1" identifier="arm" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]

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 להורדה
[/content_protector]

Bash Homework


[content_protector password="bash1" identifier="Linux" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]

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 Templates:

  • STP IEEE template להורדה
  • STP_template להורדה
  • STP_Summary להורדה
  • STD Templates:

  • STD IEEE template להורדה
  • STD_template להורדה
  • STD_Summary להורדה
  • STR Templates:

  • STR_template להורדה
  • Final-Project- Smart Home:

  • Specification להורדה
  • Client_src_code להורדה
  • Server_src_code להורדה
[/content_protector]

QA Homework


[content_protector password="qa1" identifier="QA" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]

SQL Exercises


[content_protector password="sql1" identifier="sql" cookie_expires="5 minutes" ajax="true"]

    Extra Materials:

  • SQL Datatypes להורדה
  • SQL addium להורדה
  • SQL addium (2) להורדה
[/content_protector]

SQL Homework


[content_protector password="sql1" identifier="sql" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]

Boot Loading Excercises


[content_protector password="boot1" identifier="boot-loading" cookie_expires="5 minutes" ajax="true"]

    Class

    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.

    • 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 לקריאה

    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:

  • Homework Questions 1 – 4 word document להורדה
  • Package(archive into eclipse) להורדה
  • Exercise 2:

  • Homework Questions 1 – 2 word document להורדה
  • Package(archive into eclipse) להורדה
  • Exercise 3:

  • Homework Questions 1 – 7 word להורדה
  • Package(archive into eclipse) להורדה
  • Solutions

    Exercise 1:

  • part 1להורדה
  • part 2להורדה
  • part 3להורדה
  • part 4להורדה
  • Exercise 2:

  • part 1להורדה
  • part 2להורדה
  • Exercise 3:

  • parts 1-7להורדה
[/content_protector]

Boot Loading Homework


[content_protector password="boot1" identifier="boot-loading" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]

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 להורדה

[/content_protector]

Linux kernel Homework


[content_protector password="kernel1" identifier="linux-kernel" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]

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
[/content_protector]

RT Concepts Homework


[content_protector password="rt1" identifier="rt-concepts" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]

Networks Exercises


[content_protector password="networks1" identifier="networks" cookie_expires="5 minutes" ajax="true"]

    Network Utilities
    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

  • list of Linux based Networking terminal commands להורדה
  • Traffic Monitoring (Iperf) Iperf for WindowsIperf for Linux
  • 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:

  • RT Projects : telnet להורדה
  • QA Projects : Networking QA Project להורדה
  • Additional Slides:

  • TCP IP Slides להורדה
[/content_protector]

Networks Homework


[content_protector password="networks1" identifier="networks" cookie_expires="5 minutes" ajax="true"] 1
[/content_protector]