Free Essay

# Doc, Docx, Pdf, Wps, Rtf, Odt

In:

Submitted By Arzoo6
Words 1948
Pages 8
INDEX s.no | Name of program | Page no. | Remarks | SORTING PROGRAMS | 1 | program of merge sort | | | 2 | program of quick sort | | | 3 | program of bubble sort | | | 4 | program of insertion sort | | | 5 | program of selection sort | | | SEARCHING PROGRAMS | 6 | program of binary search iterative method | | | 7 | Program of binary search by recursive method | | | MULTIPLICATION PROGRAMS | 8 | program to multiply two matrices using direct method | | | 9 | program to multiply two matrices using recursion | | | 10 | program to multiply two matrices using strassen's method | | |

//program of merge sort
#include<stdio.h>
#include<conio.h>
#define MAX 50 void mergeSort(int arr[],int low,int mid,int high); void partition(int arr[],int low,int high); int main()
{
int merge[MAX],i,n; clrscr(); printf("Enter the total number of elements: "); scanf("%d",&n); printf("Enter the elements which to be sort: "); for(i=0;i<n;i++) { scanf("%d",&merge[i]); } partition(merge,0,n-1); printf("After merge sorting elements are: "); for(i=0;i<n;i++) { printf("%d ",merge[i]); } getch(); } void partition(int arr[],int low,int high)
{
int mid; if(low<high) { mid=(low+high)/2; partition(arr,low,mid); partition(arr,mid+1,high); mergeSort(arr,low,mid,high); }
}
void mergeSort(int arr[],int low,int mid,int high)
{
int i,m,k,l,temp[MAX]; l=low; i=low; m=mid+1; while((l<=mid)&&(m<=high)) { if(arr[l]<=arr[m]) { temp[i]=arr[l]; l++; } else { temp[i]=arr[m]; m++; } i++; } if(l>mid) { for(k=m;k<=high;k++) { temp[i]=arr[k]; i++; } } else { for(k=l;k<=mid;k++) { temp[i]=arr[k]; i++; } } for(k=low;k<=high;k++) { arr[k]=temp[k]; }
}

//program of quick sort
#include<stdio.h>
#include<conio.h> void quicksort(int [10],int,int); int main()
{
int x[20],size,i; clrscr(); printf("Enter size of the array: "); scanf("%d",&size); printf("Enter %d elements: ",size); for(i=0;i<size;i++) scanf("%d",&x[i]); quicksort(x,0,size-1); printf("Sorted elements after quick sort are: "); for(i=0;i<size;i++) printf(" %d",x[i]); getch();
}
void quicksort(int x[10],int first,int last){ int pivot,j,temp,i; if(first<last) { pivot=first; i=first; j=last; while(i<j) { while(x[i]<=x[pivot]&&i<last) i++; while(x[j]>x[pivot]) j--; if(i<j) { temp=x[i]; x[i]=x[j]; x[j]=temp; } } temp=x[pivot]; x[pivot]=x[j]; x[j]=temp; quicksort(x,first,j-1); quicksort(x,j+1,last); }
}

//program of bubble sort
#include<stdio.h>
#include<conio.h> void main()
{
int i,n,temp,j,arr[25]; clrscr(); printf("Enter the number of elements in the Array: "); scanf("%d",&n); printf("\nEnter the elements:\n\n"); for(i=0 ; i<n ; i++) { printf(" Array[%d] = ",i); scanf("%d",&arr[i]); } for(i=0 ; i<n ; i++) { for(j=0 ; j<n-i-1 ; j++) { if(arr[j]>arr[j+1]) //Swapping Condition is Checked { temp=arr[j]; arr[j]=arr[j+1]; arr[j+1]=temp; } } } printf("\nThe Sorted Array is:\n\n"); for(i=0 ; i<n ; i++) { printf(" %4d",arr[i]); } getch(); }

//program of insertion sort
#include<stdio.h>
#include<conio.h> int main()
{
int i,j,s,temp,a[20]; clrscr(); printf("Enter total elements: "); scanf("%d",&s); printf("Enter %d elements: ",s); for(i=0;i<s;i++) scanf("%d",&a[i]); for(i=1;i<s;i++) { temp=a[i]; j=i-1; while((temp<a[j])&&(j>=0)) { a[j+1]=a[j]; j=j-1; } a[j+1]=temp; } printf("After insertion sorting: "); for(i=0;i<s;i++) printf(" %d",a[i]); getch(); }

//program of selection sort
#include<stdio.h>
#include<conio.h> int main()
{
int s,i,j,temp,a[20]; clrscr(); printf("Enter total elements: "); scanf("%d",&s); printf("Enter %d elements: ",s); for(i=0;i<s;i++) scanf("%d",&a[i]); for(i=0;i<s;i++) { for(j=i+1;j<s;j++) { if(a[i]>a[j]) { temp=a[i]; a[i]=a[j]; a[j]=temp; } } } printf("After selection sorting is: "); for(i=0;i<s;i++) printf(" %d",a[i]); getch();
}

//program of binary search by iterative method
#include<stdio.h>
#include<conio.h>
#define MAX 10 int main()
{
int a[10],i,n,m,c=0,l,u,mid; clrscr(); printf("\n Enter the size of the array"); scanf("%d",&n); printf("\n Enter the elements in ascending order:"); for(i=0;i<n;i++) { scanf("%d",&a[i]); } printf("\n Enter the element to be searched:"); scanf("%d",&m); l=0,u=n-1; while(l<=u) { mid=(l+u)/2; if(m==a[mid]) { c=1; break; } else if(m<a[mid]) { u=mid-1; } else l=mid+1; } if(c==0) printf("\n The search is unsucessful"); else printf("The search is sucessful"); getch(); }

//program of binary search by recursive method
#include <stdio.h>
#include <conio.h> int bin_srch(int a[], int n, int key, int low, int high) { int mid; if(low <= high) { mid = (low + high)/2; if(a[mid] == key) { return mid; } else if(key < a[mid]) { return bin_srch(a, n, key, low, mid-1); } else if(key > a[mid]) { return bin_srch(a, n, key, mid+1, high); } } else { return -1; } } int main() { int a[10], n, key, low, mid, high, i, indx; printf("\nEnter size of array: "); scanf("%d", &n); printf("\nEnter elements of array: "); for(i=0;i<n;i++) { scanf("%d", &a[i]); } printf("\nEnter the key element to be searched: "); scanf("%d", &key); low = 0; high = n-1; indx = bin_srch(a, n, key, low, high); if(indx == -1) { printf("\nSearch unsuccessful"); } else { printf("\nElement found at position %d\n\n", indx+1); } }

//Program of matrix multiplication
#include<stdio.h>
#include<conio.h> int main()
{
int a[5][5],b[5][5],c[5][5],i,j,k,sum=0,m,n,o,p; printf("\nEnter the row and column of first matrix"); scanf("%d %d",&m,&n); printf("\nEnter the row and column of second matrix"); scanf("%d %d",&o,&p); if(n!=o) { printf("Matrix mutiplication is not possible"); printf("\nColumn of first matrix must be same as row of second matrix"); } else { printf("\nEnter the First matrix->"); for(i=0;i<m;i++) for(j=0;j<n;j++) scanf("%d",&a[i][j]); printf("\nEnter the Second matrix->"); for(i=0;i<o;i++) for(j=0;j<p;j++) scanf("%d",&b[i][j]); printf("\nThe First matrix is\n"); for(i=0;i<m;i++) { printf("\n"); for(j=0;j<n;j++) { printf("%d\t",a[i][j]); } } printf("\nThe Second matrix is\n"); for(i=0;i<o;i++) { printf("\n"); for(j=0;j<p;j++) { printf("%d\t",b[i][j]); } } for(i=0;i<m;i++) for(j=0;j<p;j++) c[i][j]=0; for(i=0;i<m;i++) { //row of first matrix for(j=0;j<p;j++) { //column of second matrix sum=0; for(k=0;k<n;k++) sum=sum+a[i][k]*b[k][j]; c[i][j]=sum; } } } printf("\nThe multiplication of two matrix is\n"); for(i=0;i<m;i++) { printf("\n"); for(j=0;j<p;j++) { printf("%d\t",c[i][j]); } } getch(); }

//progrm to multiply two matrices by recursion:
#include<stdio.h>
#include<conio.h>
#define MAX 10 void multiplyMatrix(int [MAX][MAX],int [MAX][MAX]); int m,n,o,p; int c[MAX][MAX]; int main()
{
int a[MAX][MAX],b[MAX][MAX],i,j,k; clrscr(); printf("Enter the row and column of first matrix: "); scanf("%d %d",&m,&n); printf("Enter the row and column of second matrix: "); scanf("%d %d",&o,&p); if(n!=o) { printf("Matrix multiplication is not possible"); printf("\nColumn of first matrix must be same as row of second matrix"); } else { printf("Enter the First matrix: "); for(i=0;i<m;i++) for(j=0;j<n;j++) scanf("%d",&a[i][j]); printf("Enter the Second matrix: "); for(i=0;i<o;i++) for(j=0;j<p;j++) scanf("%d",&b[i][j]); printf("\nThe First matrix is: \n"); for(i=0;i<m;i++) { printf("\n"); for(j=0;j<n;j++) { printf("%d\t",a[i][j]); } } printf("\nThe Second matrix is: \n"); for(i=0;i<o;i++) { printf("\n"); for(j=0;j<p;j++) { printf("%d\t",b[i][j]); } } multiplyMatrix(a,b); } printf("\nThe multiplication of two matrix is: \n"); for(i=0;i<m;i++) { printf("\n"); for(j=0;j<p;j++) { printf("%d\t",c[i][j]); } } getch();
}
void multiplyMatrix(int a[MAX][MAX],int b[MAX][MAX]){ static int sum,i=0,j=0,k=0; if(i<m) { //row of first matrix if(j<p) { //column of second matrix if(k<n) { sum=sum+a[i][k]*b[k][j]; k++; multiplyMatrix(a,b); } c[i][j]=sum; sum=0; k=0; j++; multiplyMatrix(a,b); } j=0; i++; multiplyMatrix(a,b); }
}

//program to multiply two matrices using strassen's method
#include<stdio.h>
#include<conio.h> int main()
{
int a[2][2],b[2][2],c[2][2],i,j; int m1,m2,m3,m4,m5,m6,m7; printf("Enter the 4 elements of first matrix: "); for(i=0;i<2;i++) for(j=0;j<2;j++) scanf("%d",&a[i][j]); printf("Enter the 4 elements of second matrix: "); for(i=0;i<2;i++) for(j=0;j<2;j++) scanf("%d",&b[i][j]); printf("\nThe first matrix is\n"); for(i=0;i<2;i++){ printf("\n"); for(j=0;j<2;j++) printf("%d\t",a[i][j]); } printf("\nThe second matrix is\n"); for(i=0;i<2;i++){ printf("\n"); for(j=0;j<2;j++) printf("%d\t",b[i][j]); } m1= (a[0][0] + a[1][1])*(b[0][0]+b[1][1]); m2= (a[1][0]+a[1][1])*b[0][0]; m3= a[0][0]*(b[0][1]-b[1][1]); m4= a[1][1]*(b[1][0]-b[0][0]); m5= (a[0][0]+a[0][1])*b[1][1]; m6= (a[1][0]-a[0][0])*(b[0][0]+b[0][1]); m7= (a[0][1]-a[1][1])*(b[1][0]+b[1][1]); c[0][0]=m1+m4-m5+m7; c[0][1]=m3+m5; c[1][0]=m2+m4; c[1][1]=m1-m2+m3+m6; printf("\nAfter multiplication using strassen methods: \n"); for(i=0;i<2;i++) { printf("\n"); for(j=0;j<2;j++) printf("%d\t",c[i][j]); } getch();
}

### Similar Documents

#### Doc, Docx, Pdf, Wps, Rtf, Odt

Words: 465 - Pages: 2

Free Essay

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...Paragraph on Co-Education eBudhia Articles Co-education is a system of educating boys and girls together. In ancient times, co-education was prevalent in Greece. Today, this system of education is there in almost all the countries of the world. It is economical. It generates a spirit of comradeship between boys and girls. The problem of shortage of trained teachers can be dealt with by this system. Boys overcome their curiosity and girls, their shyness. They learn to respect one another. Though a few conservative people are against this system, their view do not hold ground. Co-education generates harmonious relationship, a sense of cooperation, and thus, helps in the progress of the nation. 467 words essay on Co-education M Sanjeeta School and college where boys and girls study together are called co-educational. There are many co-educational institutions in our country. There are many arguments for and against co-education. Some are of the view that co-education is desirable at all stages of education, primary, secondary and at collegiate levels. Some are totally desirable at primary and collegiate levels and not at the secondary school level. The problem is linked with the aims and objectives set to be achieved at different levels of education and also with the roles the boys and girls have to play in a society later in their lives. However, it is agreed that at the primary stage of education it is desirable to have co-education. At this stage boys and girls...

Words: 602 - Pages: 3

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...1. Discuss the consequences proposed change from a partnership to corporation in terms of advantages and disadvantages. There are many consequences of the propos change from partnership to corporation because each one of partnership and corporation have his own advantages and disadvantages that's mean maybe if we change from one to other we will find some problem and some weakness in some points and on other points will find some strength things. For example: in partnership have two or more owners but in corporation have one owner. That's mean it's a disadvantage on partnership because it will be difficult to transfer ownership. Put on other side on corporation it's an advantage because it's easy to transfer of ownership. 2. Describe potential agency conflicts that can arise when hiring a management team and suggest possible solution In case mohd would like to hire a team of managers with international experience necessary to implement his corporate vision. Maybe he will face some difficult things with the management team because the management team that will come doesn't know everything about his company that's mean he should describe for the team everything about the company after that maybe they can do or not and this will be as a loss of his time to complete the work. I think on my point of view the best possible solution is train his team and put strategy and roles for everyone should interest to meet the company goal. 3. Determine the amount of cash the company would...

Words: 409 - Pages: 2

Free Essay

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...Kyle Pinner 76 Queen Emma’s Dyke Witney Oxfordshire OX28 4DX kylepinner@hotmail.co.uk Mobile: 07426 614 853 Home: 01993 358 543 Personal Statement I am a highly motivated, responsible, hardworking, conscientious individual. I have over 1 years experience in sales administration. Proven ability to meet deadlines set. I have an excellent track record. Due to doing a two year Business and Enterprise course (L3) at Abingdon and Witney College (Witney Campus) I am looking for a local part time position three days a week on a Tuesday, Saturday and Sunday (Preferably) and wouldn’t mind doing extra work over college breaks. Work Experience European Electronique (21st Nov – 25th Nov 2011) I did work experience through Wood Green School with European Electronique for a week to find out what the work environment was like. I enjoyed my time at the company; that they liked me so much that they offered me a position after I had finished Secondary School. European Electronique Sales Administrator/ Trainee Account Manager (Jul-2012 – Sep-2013) My job involved the following: * Sales – Getting leads from Colleges, Universities Etc. Collating & providing all details to Sales Account Managers to follow up on. * Administration - Data Cleansing, The Company’s CRM system (Highway) * Marketing – Processing contacts for Exhibitions & Assisting in materials preparation. * Technical – Assisting in the repair of Desktops and Laptops...

Words: 449 - Pages: 2

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...Eating Sugar The short story written by Catherine Merriman named ”Eating Sugar, was originally published in ”Getting a life”, Honno, in 2001. A third person narrator tells the short story and furthermore the narrator is omniscient. It seems to me that the time is not important in this short story. On the contrary the environment, the surroundings, are described into details. In this analysis I have chosen to focus on the description of the surroundings, a short analysis of Eileen and Alex and their relation, an analysis of the title “Eating Sugar” in comparison with the contents of the short story. Furthermore I have chosen to take the extract of the essay “A Small Place” and the picture “Tourists 2” into perspective. Finally I will discuss the globalization of the English language in the world today. In the short story we meet a family of three, Alex, the father, Eileen, the mother and their daughter Suzanne. Eileen works as a teacher in Thailand, where they live, and the moment she gets her Thai New Year holiday they decide to become tourists. They go on a trip with other holidaying Thais but when they decide to leave the paradise the small British family of three decide to stay so that they can have the small paradise to themselves. Alex and Eileen have been together most of their lives at least since the 1970s. Together they have tried LSD and they have also travelled to Yugoslavia hitchhiking - long-haired innocents as Alex himself calls it. Alex starts...

Words: 1119 - Pages: 5

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...[pic] ORGANISATIONAL CHANGE AND DEVELOPMENT “CANARA BANK” Submitted to Lovely Professional University In partial fulfillment of the course RETAIL MANAGEMENT [pic] Submitted to: Submitted by: Mrs. MALIKA JAVAID AHMAD Lecturer, LSB RR1709A15 3020070030 DEPARTMENT OF MANAGEMENT LOVELY PROFESSIONAL UNIVERSITY PHAGWARA ACKNOWLEDGEMENT With immense regard and respect in the honor of the “LOVELY PROFESSIONAL UNIVERSITY”, I am very grateful for providing me an opportunity to work on the topic “To establish a retail store of furniture and furnishing” under my term paper . I am highly grateful to Mrs. Anju Saini, Lecturer LSB, for the trust she has shown in me by allowing me to do this work. Her constant review and suggestions throughout my work on term paper are highly commendable. I express my thanks to my friends, with whom I was able to complete my term paper project, their able guidance and direction are always promising that help me a lot in one way or the other. Javaid Ahmad Canara Bank India The Canara Bank of India is one of the renowned banks in the country. The bank provides excellent services and facilities to its customers. Personal...

Words: 7637 - Pages: 31

Free Essay

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...2010 Instructions for Form 2441 (Rev. January 2011) Child and Dependent Care Expenses Purpose of Form If you paid someone to care for your child or other qualifying person so you (and your spouse if filing jointly) could work or look for work in 2010, you may be able to take the credit for child and dependent care expenses. You (and your spouse if filing jointly) must have earned income to take the credit. But see Spouse Who Was a Student or Disabled on page 4. If you can take the credit, use Form 2441 to figure the amount of your credit. If you (or your spouse if filing jointly) received any dependent care benefits for 2010, you must use Form 2441 to figure the amount, if any, of the benefits you can exclude from your income on Form 1040, line 7, Form 1040A, line 7, or Form 1040NR, line 8. You must complete Part III of Form 2441 before you can figure the credit, if any, in Part II. Additional information. See Pub. 503, Child and Dependent Care Expenses, for more details. Department of the Treasury Internal Revenue Service If you are divorced or separated, see Special rule for children of divorced or separated parents below. To find out who is a qualifying child and who is a dependent, see Pub. 501, Exemptions, Standard Deduction, and Filing Information. CAUTION ! To be a qualifying person, the person must have lived with you for more than half of 2010. Definitions Dependent Care Benefits Dependent care benefits include: • Amounts your employer paid directly...

Words: 4514 - Pages: 19

Free Essay

#### Doc, Pdf, Docx, Wps, Rtf, Odt

...CURRICULUM VITAE Bishwarup Podder F-2/E, T & T Staff Quarters, College Road, Narayanganj -1400. E-mail: bishwarup1986@yahoo.com Contact no: 01914390840, 02-7644545 Objective: To find a challenging position in an Electrical and Electronic Engineering field to meet my competencies, capabilities, skills , education & want to share my own knowledge. Profile: --Hardworking, Confident and Responsible. --Able to work as a part of the team. --Able to work in a Dynamic and Challenging Environment. --Computer Literate. --Fluent in Bengali & English. Degree Information & Field of Study: |Name of the Degree |Institute |Board | |Grade Point | | | | |Year |Average | |B.Sc. in | | |2008 | | |Electrical & Electronic |Ahsanullah University of | | |3.454 out of 4.0 | |Engineering |Science & Technology | | | | |H.S.C |Govt. Tolaram College |Dhaka |2003 ...

Words: 425 - Pages: 2

Free Essay

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...The Top 10 Steps to Making Major Life Changes 1. Identify the payoffs and price of staying where you are. There are certainly good reasons you have for not already having made a transition. Do some soul searching with trusted allies or through journaling to uncover what payoffs you're receiving for not making the change. At the same time, identify the price you are paying for maintaining the status quo. When your conscious mind gets that the price is greater than the payoff, you'll be much clearer whether it's in your best interest to keep things the same or to make a change. 2. Begin developing a reserve of everything. A difficult transition can be made much easier when you have reserves in many areas of your life. Develop a plan to put away enough money to support yourself for the next year or two. Seek out trusted friends and associates for your personal support team who are excited and committed to supporting you. Simplify your life in terms of time and clutter to free up the space for something more in alignment with what you want. Look at other life areas such as relationships, recreation, family, etc. that you can beef up to help you through the transition. Keep in mind that it's better to be over prepared and succeed than to fail because you were under prepared. 3. Develop a vision of what's possible to pull you through the transition. Not knowing what might happen if you change careers or leave a long-standing relationship can be very frightening. Fear of the unknown...

Words: 1539 - Pages: 7

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...An introduction to climate change Section 1: What is climate change? Recent climate history and future projections Weather is the state of the atmosphere, to the degree that it is hot or cold, wet or dry, calm or stormy, clear or cloudy. Most weather phenomena occur in the troposphere, just below the stratosphere. What is weather? At every moment at any spot of the world, the troposphere (the inner layer of atmosphere which contains earth’s most of the air) has a particular set of physical properties – i. Temperature, ii. air-pressure, iii. humidity, iv. precipitation, v. sun-shine, vi. wind direction and speed. These short term properties of atmosphere at a particular place and time are weather. What is Climate? Climate is a region’s general pattern of atmospheric or weather conditions over a long period. Average temperature and average precipitation are two main factors determining a region’s climate. What is climate? • The long-term average of a region’s weather: – Average rainfall. – Average hours of sunshine. – Average temperature. • Climate versus weather: – Weather describes whatever is happening outdoors in a given place at a given time. – Climate describes the total of all weather occurring over a period of years in a given place. – Climate tells us what it's usually like in the place where you live at a certain time of year. Climate change • Climate change represents a change in these long-term weather patterns. – Average temperatures can increase or decrease...

Words: 2020 - Pages: 9

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...Town of Jackson Economic Development Authority Report Executive Summary The Town of Jackson Economic Development Authority (EDA) has written an economic policy plan for the town of Jackson. The plan is intended to advance dynamic and interactive discussion. It will be used to continuously assess and foster decision-making about the following in the town of Jackson: Development Infrastructure Quality of life Mission Statement The purpose of the EDA is to foster a sustainable economy consistent with the town’s planning objectives. The mix of industry, commerce, open space, residential development, and the arts in Jackson results in the town’s vitality and an excellent quality of life for its citizens. Maintaining this balance is important. Guiding Principles Six basic principles guide Jackson’s economic policy. These principles seek to safeguard the special features that give the town its character while embracing appropriate economic opportunities. Jackson should remain a major economic center of the region. Economic activity must respect Jackson’s natural, cultural, and historic heritage. A pedestrian-friendly commercial center is essential. Sustained economic prosperity requires a balance between residential development, industrial/commercial development, and open space. Open space in the rural district must be preserved. Investing in the infrastructure is necessary to maintain and expand the existing tax and job base. Issues Of Jackson’s approximately 64,000 acres of...

Words: 456 - Pages: 2

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...TAYLOR’S BUSINESS SCHOOL TU/UWE Dual Awards Business Programmes STA60104 Quantitative Methods for Business Formulae and Distribution Tables Mathematical Formulae 1. Simple Interest: A=P(1+rt) 2. Compound Interest: A=P(1+i)n  1  i n  1 3. Future Value: FV=PMT   i   1  (1  i )  n 4. Present Value: PV  PMT  i or PMT= FV  i (1  i) n  1 or PMT= PV  i 1  (1  i ) n Statistical Formulae x 1. Sample Mean: x  2. Sample Standard Deviation n n s 3.  (x i 1 i  x)2 2 or n 1 Coefficient of variation = 1   x 2   x   n 1 n  s     s ( )(100 )% x 4. Probability (a) General Rule of Addition: P ( A  B )  P ( A)  P ( B )  P ( A  B ) (b) Special Rule of Addition: P ( A  B )  P ( A)  P ( B ) (c) Special Rule of Multiplication: P ( A  B )  P ( A) P ( B ) (d) Conditional probability rule: P( A B)  P( AandB) / P( B) (e) The conditional probability rule for independence testing: 5. Discrete Probability Distribution (a) E ( X )   xP( x)  x  E(X 2 )  [E(X)]2 (b) Binomial Distribution P(X  x)n Cx  p x  (q) nx Mean    np 2 Variance    npq (c) Poisson Distribution P(X  x )  6. e   x x! Continuous Probability Distribution (a) Standard Normal Value: z  x  P( A B)  P( A) (b) Mean of x to a z-score: z x  n 7. Confidence Interval...

Words: 3211 - Pages: 13

Free Essay

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...Apple's 2015: Apple Watch It had been nearly five years since Apple had launched a truly new product. When Steve Jobs held the first iPad up for the world to see in 2010, the technology company was on something of a roll – the iPhone was setting the benchmark for smartphones, laptop design had been shaken out of its plastic complacency by the MacBook Air, and personal music players were already beaten into weak submission by the all conquering iPod range. Then came the Apple Watch, first unveiled in September 2014 and finally released on 24 April 2015. But Apple's newest creation enters a marketplace that feels far more competitive than back then, and the Watch needs to prove its worth against the growing range of rival alternatives.  So far, if reports are to be believed (Apple didn’t release official figures with its Quarterly Results), the Apple Watch is succeeding, selling more units within its first few days than all of the Android Wear devices sold to date. Apple of course has a history of entering a market late but, through superior design and software, quickly becoming the dominant player. If it can repeat these past successes, then wearables look set to be the breakout technology this year. However, with this being said, a Daily Mail report claims that the Apple Watch hasn’t received such a warm welcome, and will only ship 21 million units by 2016, compared to the original 24-million-unit estimate. These estimations come from Slice Intelligence, who claim that Apple...

Words: 1110 - Pages: 5

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...1. Cấu hình cơ bản trên switch Bài 1.3.1.3: Yêu cầu: - Cấu hình tên và địa chỉ IP cho hai thiết bị switch - Cấu hình giới hạn truy cập vào thiết bị qua đường console và đường vty - Lưu cấu hình - Cấu hình địa chỉ IP quản lý - Kiểm tra việc truyền thông giữa các thiết bị. 3. Yêu cầu chi tiết - Đặt tên cho mỗi SW Switch(config)# Hostname Asw-1 Asw1(config) - Đặt mật khẩu cho các line Line console 0: để đặt mật khẩu khi truy cập bằng dây console Asw(config)#line console 0 Asw(config-line)#password abcxyz Asw(config-line)#login Line vty 0 15: để đặt mật khẩu khi quản lý từ xa bằng giao thức t elnet/ssh. Asw(config)#line vty 0 15 Asw(config-line)#password abcxyz Asw(config-line)#login - Đặt mật khẩu truy cập chế độ cấu hình toàn cục (privilige) Asw(config)#enable secret abcxyz (level 7) - Mã hóa mật khẩu dạng bản rõ (clear text) Asw(config)#service password-encryption (level 5) - Cấu hình MOTD: warning Asw(config)#banner motd #warning# - Cấu hình địa chỉ IP quản lý: Asw(config)#interface vlan1 Asw(config-if)#ip address 172.16.5.35 255.255.255.0 Asw(config-if)#no shut - Lưu cấu hình Asw#copy run start - Kiểm tra truyền thông giữa các PC PC1> Ping IPPC2 Lưu ý: khi cấu hình thiết bị thật Sw(config)#line console 0 Sw(config-line)#logging synchronous Sau câu lệnh này, các thông báo từ sw sẽ không đè lên dòng lệnh mà ta đang gõ Các trạng thái đèn trên SW SYSTEM: xanh thiết bị đc cấp nguồn và hoạt động bình thường ...

Words: 10875 - Pages: 44

Free Essay

#### Doc, Docx, Pdf, Wps, Rtf, Odt

...‫ﺠﺎﻤﻌﺔ ﺍﻟﺩﻭل ﺍﻟﻌﺭﺒﻴﺔ‬ ‫ﺍﻟﻤﻨﻅﻤﺔ ﺍﻟﻌﺭﺒﻴﺔ ﻟﻠﺘﺭﺒﻴﺔ ﻭﺍﻟﺜﻘﺎﻓﺔ ﻭﺍﻟﻌﻠﻭﻡ‬ ‫ﻤﻌﻬﺩ ﺍﻟﺒﺤﻭﺙ ﻭﺍﻟﺩﺭﺍﺴﺎﺕ ﺍﻟﻌﺭﺒﻴﺔ‬ ‫ﻗﺴﻡ ﺍﻟﺩﺭﺍﺴﺎﺕ ﺍﻹﻋﻼﻤﻴﺔ‬ ‫دور ﺸﺒﻜﺎﺕ ﺍﻟﺘﻭﺍﺼل ﺍﻻﺠﺘﻤﺎﻋﻲ ﻓﻲ ﺘﻨﻤﻴﺔ ﻤﺸﺎﺭﻜﺔ ﺍﻟﺸﺒﺎﺏ‬ ‫ﺍﻟﻔﻠﺴﻁﻴﻨﻲ ﻓﻲ ﺍﻟﻘﻀﺎﻴﺎ ﺍﻟﻤﺠﺘﻤﻌﻴﺔ‬ ‫دراﺳﺔ ﻤﻘﺩﻤﺔ ﻟﻨﻴل ﺩﺭﺠﺔ ﺍﻟﻤﺎﺠــﺴﺘﻴﺭ ﻤﻥ ﻗﺴﻡ ﺍﻟﺒﺤﻭﺙ ﻭﺍﻟﺩﺭﺍﺴــﺎﺕ ﺍﻹﻋﻼﻤﻴﺔ‬ ‫إﻋﺪاد ﺍﻟﻁﺎﻟﺏ‬ ‫أﺣﻤــﺪ ﯾــﻮﻧﺲ ﻣــﺤﻤﺪ ﺣـــﻤﻮدة‬ ‫إﺷﺮاف ﺍﻷﺴﺘﺎﺫ ﺍﻟﺩﻜﺘﻭﺭ‬ ‫ﺣﺴـــﻦ ﻋﻤــﺎﺩ ﻤــﻜــﺎﻭﻱ‬ ‫ﻋﻤﻴﺩ ﻜــﻠـﻴﺔ ﺍﻹﻋـﻼﻡ ﺒﺠﺎﻤﻌﺔ ﺍﻟﻘـﺎﻫــﺭﺓ‬ ‫اﻟﻘـﺎھﺮة‬ ‫ﺩﻴﺴﻤﺒﺭ ٣١٠٢‬ ‫ﻴﻢ‬‫ﻠ‬‫ﻠْﻢٍ ﻋ‬‫ﻱ ﻋ‬‫َ َﻮْ َ ﻛُﻞﱢ ﺫ‬ ‫وﻓ ق‬  {}‫ﺳﻮرة‬ ‫ﺍﻹﻫﺪﺍﺀ . .‬ ‫ﺇﻟﻴﻜ‪‬ـ ﻳﺎ ﻣﻨﺒﻊ ﺍﻷﻣﻞ ﺍﻟﺼﺎﰲ ﺍﳊﻨﻮﻥ ... ﻭﺍﻷﻣﻞ ﺍﳌﺸﺮﻕ ﺍﻟﺬﻱ ﻻ ﻳﻐﻴﺐ ﺿﻮﺀﻩ ﻛﺎﻟﺸﻤﺲ ﻭﺍﻟﻘﻤﺮ.‬ ‫ﺇﻟﻴﻜـِـ ﺃﻫﺪﻱ ﻋﺒﺎﺭﺍﰐ... ﻭﺭﺳﺎﻟﱵ ... ﻭﺃﺯﻛﻰ ﲢﻴﺎﰐ... ﻭﺍﻟﺪﰐ ﺍﻟﻌﺰﻳﺰﺓ .‬ ‫ﺇﻟﻴﻜﹶـ ﻳﺎ ﻣﻦ ﻏﻤﺮﺗﲏ ﺑﻌﻄﻔﻚ ﻭﺣﻨﺎﻧﻚ ﻭﺯﺭﻋﺖ ﺑﻨﻔﺴﻲ ﺣﺐ ﺍﳋﲑ.‬ ‫ﺇﻟﻴﻜﹶــ ﺃﻫﺪﻱ ﺣﱯ ﻭ ﻗﻠﻤﻲ.. ﻭﺭﺳﺎﻟﱵ.. ﻭﺟﻬﺪﻱ ﻭﻋﻤﺮﻱ ... ﻭﺍﻟﺪﻱ ﺍﻟﻌﺰﻳﺰ.‬ ‫ﺇﱃ ﺯﻭﺟﱵ ﺷـﲑﺍﺯ ،،، ﻭﻣﻬﺠﺘــﺎ ﻗﻠـﱯ‬ ‫" ﺭﳝــﺎﺱ ﻭ ﻣــــﺎﺭﻳـــﺎ " .‬ ‫ﺇﱃ ... ﺷـﻤﻮﻉﹴ ﺃﺿـــﺎﺀﺕ ﻟــﻲ ﺩﺭﰊ ، ﺇﺧـــﻮﺍﱐ ﻭﺃﺧـــﻮﺍﰐ.‬ ‫ﺇﱃ ... ﻛﺎﻓﺔ ﺯﻣﻼﺀ ﺍﻟﺪﺭﺍﺳﺔ ﰲ ﳎﺎﻝ ﺍﻹﻋﻼﻡ ﻭﻣﻦ ﺳﺒﻘﺘﻨﺎ ﺇﱃ ﺭﲪﺘﻪ ﺗﻌﺎﱃ‬ ‫ﺇﱃ ﻭﻃﲏ ﻓﻠﺴﻄﲔ ...... ﺃﺭﺿﺎ ﻭﺷﻌﺒﺎﹰ‬ ‫ﺃﻫﺪﻱ ﳍﻢ ﲨﻴﻌﺎً ﻫﺬﺍ ﺍﳉﻬﺪ ﺍﳌﺘﻮﺍﺿﻊ‬ ‫ﺷﻜﺮ ﻭﺗﻘﺪﻳﺮ‬ ‫}ﺭ ﹺ ﺃَﻭ ﹺﻋ ‪‬ﻲ ًﻥ ﺃﺸﹾ ﹸ ‪ ‬ﻌ‪ ‬ﺘﹶ ‪ ‬ﺍﻟ ‪‬ﻲ ﺃﻨـ ‪‬ﻤ‪‬ﺕ ‪‬ﻠﻲ ‪ ‬ﻠﻰ ﻭﺍﻟ ‪‬ﻱ ﻭﺃﻥ‪ ‬ﺃﻋﻤل ﺼـﺎﻟﺤ ﹰ ﺘﺭﻀـﺎﻩ‬ ‫ﺎ‬ ‫ﺩ‬ ‫ﻌ ﻋ ﻭﻋ‬ ‫ﻜﺭ ﻨ ﻤ ﻙ ﺘ‬ ‫ﺏ ﺯ ﻨ ﺃ‬ ‫ﻭﺃْﺩﺨﻠﹾﻨﻲ ﹺﺭﺤﻤ‪   ‬ﻲ ‪‬ﺒﺎﺩ ‪ ‬ﺍﻟـ ‪‬ﺎِﺤﻴﻥ {‬ ‫ﺒ ﺘﻙ ﻓ ﻋ ﻙ ﺼ ﻟ‬ ‫ﺍﻟﻨﻤل ﺃﻴﺔ ٩١ .‬ ‫ﺍﻟﺤﻤﺩ ﷲ ﺍﻟﻜﺭﻴﻡ ﺍﻟﻤﻨﺎﻥ ﺍﻟﺭﺤﻴﻡ ﺍﻟﺭﺤﻤﻥ ﺍﻟﺫﻱ ﺨﻠﻕ ﺍﻹﻨﺴﺎﻥ ﻭﻋﻠﻤﻪ ﺍﻟﺒﻴﺎﻥ ﻭﺍﻨﻁﻕ ﻟﺴﺎﻨﻪ ﺒﺂﻱ ﺍﻟﺫﻜﺭ‬ ‫ﻭﺍﻟﻘﺭﺁﻥ ، ﻭﺍﺼﻠﻲ ﻭﺍﺴﻠﻡ ﻋﻠﻲ ﻤﺒﻌﻭﺙ...

Words: 49057 - Pages: 197