Posts
Featured Post
How to Install FOG Server on Ubuntu Server 16 04 LTS via SSH
- Get link
- X
- Other Apps
FOG is an open-source cloning/imaging solution FOG is primarily used to image Windows desktops, but it also works on Linux desktops! This article will describe how to install the FOG Server as a vm with Ubuntu Jeos. Install Ubuntu Build an Ubuntu Jeos server with the following specifications. IMPORTANT NOTE: There is a known bug when using Ubuntu 16.04 LTS, when installing php5. The recommendation is to use Ubuntu 14.04 LTS. I use the 64-bit version. Create a vm with 512-1024 MB ram, one nic, a 100GB hard drive and one processor. Hostname image-01. WARNING: Do not choose fog for the username. Software Selection ? You don't need any for this install. Static IP Address of your choice (eg 192.168.0.61) Install wget A bare bones Jeos installation of ubuntu doesn't include wget. sudo apt-get install wget Install FOG Before installing FOG, browse to http://downloads.sourceforge.net/freeghost/ and check to see what ...
Ex.No. #6a SELECTION SORT (Second Model) Tamil
- Get link
- X
- Other Apps
Ex. No. : 6(a) SELECTION SORT Aim: To write a Python Program to perform selection sort. Program: (Model 1I) def sel_sort(list1): print(list1) for i in range(len(list1)): min_val=min(list1[i:]) min_ind=list1.index(min_val) list1[i],list1[min_ind] = list1[min_ind],list1[i] print(list1) list1=[] n=int(input("\n Enter the size:")) print('\n Enter elements:') for i in range(n): k=int(input()) list1.append(k) sel_sort(list1) print('\n The elements of the list are', list1) Selection Sort Concept Original List 5 2 1 LSB 3 4 Sorted part unsorted part 1 ...
Ex.No. #6a SELECTION SORT (First Model) English
- Get link
- X
- Other Apps
Ex. No. : 6(a) SELECTION SORT Aim: To write a Python Program to perform selection sort. Program: (Model 1) def sel_sort(a): for i in range(len(a)): small=a[i] pos=i for j in range(i+1,len(a)): if small>a[j]: small=a[j] pos=j a[pos],a[i]=a[i],a[pos] a=[] n=int(input("\n Enter the size:")) print('\n Enter elements:') for i in range(n): k=int(input()) a.append(k) sel_sort(a) print('\n The elements of the list are',a) Sele...