SlideShare a Scribd company logo
1 of 2
Download to read offline
Make the table for "program" in this project. Do not use software to run the project!!! Write an
program by hand. Here is the sample for the "program". (This is Assembly Language question).
PROJECT The Bubble Sort Algorithm Perhaps the most important application of computers is
the ability to sort data. Data is either sorted in ascending or descending order. For the following 4
numbers, we will state the tasks that show how the bubble sort algorithm is applied using the IF-
THEN statement to move the highest remaining numbers to the right: List of numbers (unsorted).
X4
Solution
#include
#include
void bubble_sort(int[], int);
void main() {
int arr[30], num, i;
printf(" Enter no of elements :");
scanf("%d", &num);
printf(" Enter array elements :");
for (i = 0; i < num; i++)
scanf("%d", &arr[i]);
bubble_sort(arr, num);
getch();
}
void bubble_sort(int iarr[], int num) {
int i, j, k, temp;
printf(" Unsorted Data:");
for (k = 0; k < num; k++) {
printf("%5d", iarr[k]);
}
for (i = 1; i < num; i++) {
for (j = 0; j < num - 1; j++) {
if (iarr[j] > iarr[j + 1]) {
temp = iarr[j];
iarr[j] = iarr[j + 1];
iarr[j + 1] = temp;
}
}
printf(" After pass %d : ", i);
for (k = 0; k < num; k++) {
printf("%5d", iarr[k]);
}
}
}

More Related Content

Similar to Make the table for program in this project. Do not use software .pdf

Comp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source codeComp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source codepradesigali1
 
C Language Programming Introduction Lecture
C Language Programming Introduction LectureC Language Programming Introduction Lecture
C Language Programming Introduction Lecturemyinstalab
 
For this homework, you will write a program to create and manipulate.pdf
For this homework, you will write a program to create and manipulate.pdfFor this homework, you will write a program to create and manipulate.pdf
For this homework, you will write a program to create and manipulate.pdfherminaherman
 
Basic C Programming Lab Practice
Basic C Programming Lab PracticeBasic C Programming Lab Practice
Basic C Programming Lab PracticeMahmud Hasan Tanvir
 
I really need help with this Assignment Please in C programming not .pdf
I really need help with this Assignment Please in C programming not .pdfI really need help with this Assignment Please in C programming not .pdf
I really need help with this Assignment Please in C programming not .pdfpasqualealvarez467
 
Operating system labs
Operating system labsOperating system labs
Operating system labsbhaktisagar4
 
Write a task that will perform some of the functions performed by a s.docx
 Write a task that will perform some of the functions performed by a s.docx Write a task that will perform some of the functions performed by a s.docx
Write a task that will perform some of the functions performed by a s.docxajoy21
 
Dti2143 lab sheet 9
Dti2143 lab sheet 9Dti2143 lab sheet 9
Dti2143 lab sheet 9alish sha
 
Create a menu-driven program that will accept a collection of non-ne.pdf
Create a menu-driven program that will accept a collection of non-ne.pdfCreate a menu-driven program that will accept a collection of non-ne.pdf
Create a menu-driven program that will accept a collection of non-ne.pdfrajeshjangid1865
 
VIT351 Software Development VI Unit2
VIT351 Software Development VI Unit2VIT351 Software Development VI Unit2
VIT351 Software Development VI Unit2YOGESH SINGH
 
Develop a system flowchart and then write a menu-driven C++ program .pdf
Develop a system flowchart and then write a menu-driven C++ program .pdfDevelop a system flowchart and then write a menu-driven C++ program .pdf
Develop a system flowchart and then write a menu-driven C++ program .pdfleventhalbrad49439
 
Core programming in c
Core programming in cCore programming in c
Core programming in cRahul Pandit
 
Chapter 4 : Balagurusamy Programming ANSI in C
Chapter 4 : Balagurusamy Programming ANSI in CChapter 4 : Balagurusamy Programming ANSI in C
Chapter 4 : Balagurusamy Programming ANSI in CBUBT
 
Program 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdfProgram 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdfezhilvizhiyan
 
CP PPT_Unit IV computer programming in c.pdf
CP PPT_Unit IV computer programming in c.pdfCP PPT_Unit IV computer programming in c.pdf
CP PPT_Unit IV computer programming in c.pdfsaneshgamerz
 
In C Programming create a program that converts a number from decimal.docx
In C Programming create a program that converts a number from decimal.docxIn C Programming create a program that converts a number from decimal.docx
In C Programming create a program that converts a number from decimal.docxtristans3
 

Similar to Make the table for program in this project. Do not use software .pdf (20)

Comp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source codeComp 122 lab 6 lab report and source code
Comp 122 lab 6 lab report and source code
 
C Language Programming Introduction Lecture
C Language Programming Introduction LectureC Language Programming Introduction Lecture
C Language Programming Introduction Lecture
 
For this homework, you will write a program to create and manipulate.pdf
For this homework, you will write a program to create and manipulate.pdfFor this homework, you will write a program to create and manipulate.pdf
For this homework, you will write a program to create and manipulate.pdf
 
Basic C Programming Lab Practice
Basic C Programming Lab PracticeBasic C Programming Lab Practice
Basic C Programming Lab Practice
 
I really need help with this Assignment Please in C programming not .pdf
I really need help with this Assignment Please in C programming not .pdfI really need help with this Assignment Please in C programming not .pdf
I really need help with this Assignment Please in C programming not .pdf
 
Operating system labs
Operating system labsOperating system labs
Operating system labs
 
Write a task that will perform some of the functions performed by a s.docx
 Write a task that will perform some of the functions performed by a s.docx Write a task that will perform some of the functions performed by a s.docx
Write a task that will perform some of the functions performed by a s.docx
 
Dti2143 lab sheet 9
Dti2143 lab sheet 9Dti2143 lab sheet 9
Dti2143 lab sheet 9
 
Create a menu-driven program that will accept a collection of non-ne.pdf
Create a menu-driven program that will accept a collection of non-ne.pdfCreate a menu-driven program that will accept a collection of non-ne.pdf
Create a menu-driven program that will accept a collection of non-ne.pdf
 
VIT351 Software Development VI Unit2
VIT351 Software Development VI Unit2VIT351 Software Development VI Unit2
VIT351 Software Development VI Unit2
 
C- Programming Assignment 3
C- Programming Assignment 3C- Programming Assignment 3
C- Programming Assignment 3
 
Python Question - Python Assignment Help
Python Question - Python Assignment HelpPython Question - Python Assignment Help
Python Question - Python Assignment Help
 
Leniar datastructure
Leniar datastructureLeniar datastructure
Leniar datastructure
 
Develop a system flowchart and then write a menu-driven C++ program .pdf
Develop a system flowchart and then write a menu-driven C++ program .pdfDevelop a system flowchart and then write a menu-driven C++ program .pdf
Develop a system flowchart and then write a menu-driven C++ program .pdf
 
Arrays
ArraysArrays
Arrays
 
Core programming in c
Core programming in cCore programming in c
Core programming in c
 
Chapter 4 : Balagurusamy Programming ANSI in C
Chapter 4 : Balagurusamy Programming ANSI in CChapter 4 : Balagurusamy Programming ANSI in C
Chapter 4 : Balagurusamy Programming ANSI in C
 
Program 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdfProgram 1 (Practicing an example of function using call by referenc.pdf
Program 1 (Practicing an example of function using call by referenc.pdf
 
CP PPT_Unit IV computer programming in c.pdf
CP PPT_Unit IV computer programming in c.pdfCP PPT_Unit IV computer programming in c.pdf
CP PPT_Unit IV computer programming in c.pdf
 
In C Programming create a program that converts a number from decimal.docx
In C Programming create a program that converts a number from decimal.docxIn C Programming create a program that converts a number from decimal.docx
In C Programming create a program that converts a number from decimal.docx
 

More from jeeteshmalani1

How can you define the traits below and what are your thoughts on th.pdf
How can you define the traits below and what are your thoughts on th.pdfHow can you define the traits below and what are your thoughts on th.pdf
How can you define the traits below and what are your thoughts on th.pdfjeeteshmalani1
 
frank has klinefelter syndrome (47, XXY)... Frank has Klinefelter sy.pdf
frank has klinefelter syndrome (47, XXY)... Frank has Klinefelter sy.pdffrank has klinefelter syndrome (47, XXY)... Frank has Klinefelter sy.pdf
frank has klinefelter syndrome (47, XXY)... Frank has Klinefelter sy.pdfjeeteshmalani1
 
Does law provide liberty What is law How does law tend to be perve.pdf
Does law provide liberty What is law How does law tend to be perve.pdfDoes law provide liberty What is law How does law tend to be perve.pdf
Does law provide liberty What is law How does law tend to be perve.pdfjeeteshmalani1
 
Consider two n times n matrices C and D that commute under matrix mul.pdf
Consider two n times n matrices C and D that commute under matrix mul.pdfConsider two n times n matrices C and D that commute under matrix mul.pdf
Consider two n times n matrices C and D that commute under matrix mul.pdfjeeteshmalani1
 
Can someone help me setup this in JAVA Im new to java. Thanks.pdf
Can someone help me setup this in JAVA Im new to java. Thanks.pdfCan someone help me setup this in JAVA Im new to java. Thanks.pdf
Can someone help me setup this in JAVA Im new to java. Thanks.pdfjeeteshmalani1
 
atify and describe the cult alue dimensions that help ural profile of.pdf
atify and describe the cult alue dimensions that help ural profile of.pdfatify and describe the cult alue dimensions that help ural profile of.pdf
atify and describe the cult alue dimensions that help ural profile of.pdfjeeteshmalani1
 
21. Assume that mutations in the transformer (tra) and the male- spec.pdf
21. Assume that mutations in the transformer (tra) and the male- spec.pdf21. Assume that mutations in the transformer (tra) and the male- spec.pdf
21. Assume that mutations in the transformer (tra) and the male- spec.pdfjeeteshmalani1
 
Write one Conditional Signal Assignment VHDL code statement in the b.pdf
Write one Conditional Signal Assignment VHDL code statement in the b.pdfWrite one Conditional Signal Assignment VHDL code statement in the b.pdf
Write one Conditional Signal Assignment VHDL code statement in the b.pdfjeeteshmalani1
 
Write a two- to three- page paper responding to the questions at the.pdf
Write a two- to three- page paper responding to the questions at the.pdfWrite a two- to three- page paper responding to the questions at the.pdf
Write a two- to three- page paper responding to the questions at the.pdfjeeteshmalani1
 
1. Match the following. DOE is pursuing the demonstration of one suc.pdf
1. Match the following. DOE is pursuing the demonstration of one suc.pdf1. Match the following. DOE is pursuing the demonstration of one suc.pdf
1. Match the following. DOE is pursuing the demonstration of one suc.pdfjeeteshmalani1
 
Which of the following involve an increase in the entropy of the sys.pdf
Which of the following involve an increase in the entropy of the sys.pdfWhich of the following involve an increase in the entropy of the sys.pdf
Which of the following involve an increase in the entropy of the sys.pdfjeeteshmalani1
 
Which of the following was true about the Great Depression in th.pdf
Which of the following was true about the Great Depression in th.pdfWhich of the following was true about the Great Depression in th.pdf
Which of the following was true about the Great Depression in th.pdfjeeteshmalani1
 
What are the major concerns for corporations in developing and re.pdf
What are the major concerns for corporations in developing and re.pdfWhat are the major concerns for corporations in developing and re.pdf
What are the major concerns for corporations in developing and re.pdfjeeteshmalani1
 
Which factors might account for the specificity of certain viruses f.pdf
Which factors might account for the specificity of certain viruses f.pdfWhich factors might account for the specificity of certain viruses f.pdf
Which factors might account for the specificity of certain viruses f.pdfjeeteshmalani1
 
What basic auditing policy logs attempts to authenticate a user thro.pdf
What basic auditing policy logs attempts to authenticate a user thro.pdfWhat basic auditing policy logs attempts to authenticate a user thro.pdf
What basic auditing policy logs attempts to authenticate a user thro.pdfjeeteshmalani1
 
What is a warrant in Toulmins model of a syllogismA) A legal do.pdf
What is a warrant in Toulmins model of a syllogismA) A legal do.pdfWhat is a warrant in Toulmins model of a syllogismA) A legal do.pdf
What is a warrant in Toulmins model of a syllogismA) A legal do.pdfjeeteshmalani1
 
What are the main methods anthropologists use Give an example of ho.pdf
What are the main methods anthropologists use Give an example of ho.pdfWhat are the main methods anthropologists use Give an example of ho.pdf
What are the main methods anthropologists use Give an example of ho.pdfjeeteshmalani1
 
Arrange the following parts and processes of eukaryotic gene expressi.pdf
Arrange the following parts and processes of eukaryotic gene expressi.pdfArrange the following parts and processes of eukaryotic gene expressi.pdf
Arrange the following parts and processes of eukaryotic gene expressi.pdfjeeteshmalani1
 
The polarization of the CMB detected in the WMAP data is evidence fo.pdf
The polarization of the CMB detected in the WMAP data is evidence fo.pdfThe polarization of the CMB detected in the WMAP data is evidence fo.pdf
The polarization of the CMB detected in the WMAP data is evidence fo.pdfjeeteshmalani1
 
Technical Performance Measures are quantitative measures that must be.pdf
Technical Performance Measures are quantitative measures that must be.pdfTechnical Performance Measures are quantitative measures that must be.pdf
Technical Performance Measures are quantitative measures that must be.pdfjeeteshmalani1
 

More from jeeteshmalani1 (20)

How can you define the traits below and what are your thoughts on th.pdf
How can you define the traits below and what are your thoughts on th.pdfHow can you define the traits below and what are your thoughts on th.pdf
How can you define the traits below and what are your thoughts on th.pdf
 
frank has klinefelter syndrome (47, XXY)... Frank has Klinefelter sy.pdf
frank has klinefelter syndrome (47, XXY)... Frank has Klinefelter sy.pdffrank has klinefelter syndrome (47, XXY)... Frank has Klinefelter sy.pdf
frank has klinefelter syndrome (47, XXY)... Frank has Klinefelter sy.pdf
 
Does law provide liberty What is law How does law tend to be perve.pdf
Does law provide liberty What is law How does law tend to be perve.pdfDoes law provide liberty What is law How does law tend to be perve.pdf
Does law provide liberty What is law How does law tend to be perve.pdf
 
Consider two n times n matrices C and D that commute under matrix mul.pdf
Consider two n times n matrices C and D that commute under matrix mul.pdfConsider two n times n matrices C and D that commute under matrix mul.pdf
Consider two n times n matrices C and D that commute under matrix mul.pdf
 
Can someone help me setup this in JAVA Im new to java. Thanks.pdf
Can someone help me setup this in JAVA Im new to java. Thanks.pdfCan someone help me setup this in JAVA Im new to java. Thanks.pdf
Can someone help me setup this in JAVA Im new to java. Thanks.pdf
 
atify and describe the cult alue dimensions that help ural profile of.pdf
atify and describe the cult alue dimensions that help ural profile of.pdfatify and describe the cult alue dimensions that help ural profile of.pdf
atify and describe the cult alue dimensions that help ural profile of.pdf
 
21. Assume that mutations in the transformer (tra) and the male- spec.pdf
21. Assume that mutations in the transformer (tra) and the male- spec.pdf21. Assume that mutations in the transformer (tra) and the male- spec.pdf
21. Assume that mutations in the transformer (tra) and the male- spec.pdf
 
Write one Conditional Signal Assignment VHDL code statement in the b.pdf
Write one Conditional Signal Assignment VHDL code statement in the b.pdfWrite one Conditional Signal Assignment VHDL code statement in the b.pdf
Write one Conditional Signal Assignment VHDL code statement in the b.pdf
 
Write a two- to three- page paper responding to the questions at the.pdf
Write a two- to three- page paper responding to the questions at the.pdfWrite a two- to three- page paper responding to the questions at the.pdf
Write a two- to three- page paper responding to the questions at the.pdf
 
1. Match the following. DOE is pursuing the demonstration of one suc.pdf
1. Match the following. DOE is pursuing the demonstration of one suc.pdf1. Match the following. DOE is pursuing the demonstration of one suc.pdf
1. Match the following. DOE is pursuing the demonstration of one suc.pdf
 
Which of the following involve an increase in the entropy of the sys.pdf
Which of the following involve an increase in the entropy of the sys.pdfWhich of the following involve an increase in the entropy of the sys.pdf
Which of the following involve an increase in the entropy of the sys.pdf
 
Which of the following was true about the Great Depression in th.pdf
Which of the following was true about the Great Depression in th.pdfWhich of the following was true about the Great Depression in th.pdf
Which of the following was true about the Great Depression in th.pdf
 
What are the major concerns for corporations in developing and re.pdf
What are the major concerns for corporations in developing and re.pdfWhat are the major concerns for corporations in developing and re.pdf
What are the major concerns for corporations in developing and re.pdf
 
Which factors might account for the specificity of certain viruses f.pdf
Which factors might account for the specificity of certain viruses f.pdfWhich factors might account for the specificity of certain viruses f.pdf
Which factors might account for the specificity of certain viruses f.pdf
 
What basic auditing policy logs attempts to authenticate a user thro.pdf
What basic auditing policy logs attempts to authenticate a user thro.pdfWhat basic auditing policy logs attempts to authenticate a user thro.pdf
What basic auditing policy logs attempts to authenticate a user thro.pdf
 
What is a warrant in Toulmins model of a syllogismA) A legal do.pdf
What is a warrant in Toulmins model of a syllogismA) A legal do.pdfWhat is a warrant in Toulmins model of a syllogismA) A legal do.pdf
What is a warrant in Toulmins model of a syllogismA) A legal do.pdf
 
What are the main methods anthropologists use Give an example of ho.pdf
What are the main methods anthropologists use Give an example of ho.pdfWhat are the main methods anthropologists use Give an example of ho.pdf
What are the main methods anthropologists use Give an example of ho.pdf
 
Arrange the following parts and processes of eukaryotic gene expressi.pdf
Arrange the following parts and processes of eukaryotic gene expressi.pdfArrange the following parts and processes of eukaryotic gene expressi.pdf
Arrange the following parts and processes of eukaryotic gene expressi.pdf
 
The polarization of the CMB detected in the WMAP data is evidence fo.pdf
The polarization of the CMB detected in the WMAP data is evidence fo.pdfThe polarization of the CMB detected in the WMAP data is evidence fo.pdf
The polarization of the CMB detected in the WMAP data is evidence fo.pdf
 
Technical Performance Measures are quantitative measures that must be.pdf
Technical Performance Measures are quantitative measures that must be.pdfTechnical Performance Measures are quantitative measures that must be.pdf
Technical Performance Measures are quantitative measures that must be.pdf
 

Recently uploaded

SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code ExamplesPeter Brusilovsky
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital ManagementMBA Assignment Experts
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint23600690
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...EADTU
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...Gary Wood
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportDenish Jangid
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17Celine George
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxCeline George
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....Ritu480198
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaEADTU
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSAnaAcapella
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesAmanpreetKaur157993
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...Nguyen Thanh Tu Collection
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...Nguyen Thanh Tu Collection
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhleson0603
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppCeline George
 

Recently uploaded (20)

SPLICE Working Group: Reusable Code Examples
SPLICE Working Group:Reusable Code ExamplesSPLICE Working Group:Reusable Code Examples
SPLICE Working Group: Reusable Code Examples
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
Including Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdfIncluding Mental Health Support in Project Delivery, 14 May.pdf
Including Mental Health Support in Project Delivery, 14 May.pdf
 
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)ESSENTIAL of (CS/IT/IS) class 07 (Networks)
ESSENTIAL of (CS/IT/IS) class 07 (Networks)
 
Book Review of Run For Your Life Powerpoint
Book Review of Run For Your Life PowerpointBook Review of Run For Your Life Powerpoint
Book Review of Run For Your Life Powerpoint
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...When Quality Assurance Meets Innovation in Higher Education - Report launch w...
When Quality Assurance Meets Innovation in Higher Education - Report launch w...
 
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of TransportBasic Civil Engineering notes on Transportation Engineering & Modes of Transport
Basic Civil Engineering notes on Transportation Engineering & Modes of Transport
 
Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"Mattingly "AI and Prompt Design: LLMs with NER"
Mattingly "AI and Prompt Design: LLMs with NER"
 
How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17How To Create Editable Tree View in Odoo 17
How To Create Editable Tree View in Odoo 17
 
How to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptxHow to Manage Website in Odoo 17 Studio App.pptx
How to Manage Website in Odoo 17 Studio App.pptx
 
diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....diagnosting testing bsc 2nd sem.pptx....
diagnosting testing bsc 2nd sem.pptx....
 
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes GuàrdiaPersonalisation of Education by AI and Big Data - Lourdes Guàrdia
Personalisation of Education by AI and Big Data - Lourdes Guàrdia
 
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPSSpellings Wk 4 and Wk 5 for Grade 4 at CAPS
Spellings Wk 4 and Wk 5 for Grade 4 at CAPS
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH FORM 50 CÂU TRẮC NGHI...
 
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
24 ĐỀ THAM KHẢO KÌ THI TUYỂN SINH VÀO LỚP 10 MÔN TIẾNG ANH SỞ GIÁO DỤC HẢI DƯ...
 
OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...OS-operating systems- ch05 (CPU Scheduling) ...
OS-operating systems- ch05 (CPU Scheduling) ...
 
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinhĐề tieng anh thpt 2024 danh cho cac ban hoc sinh
Đề tieng anh thpt 2024 danh cho cac ban hoc sinh
 
Improved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio AppImproved Approval Flow in Odoo 17 Studio App
Improved Approval Flow in Odoo 17 Studio App
 

Make the table for program in this project. Do not use software .pdf

  • 1. Make the table for "program" in this project. Do not use software to run the project!!! Write an program by hand. Here is the sample for the "program". (This is Assembly Language question). PROJECT The Bubble Sort Algorithm Perhaps the most important application of computers is the ability to sort data. Data is either sorted in ascending or descending order. For the following 4 numbers, we will state the tasks that show how the bubble sort algorithm is applied using the IF- THEN statement to move the highest remaining numbers to the right: List of numbers (unsorted). X4 Solution #include #include void bubble_sort(int[], int); void main() { int arr[30], num, i; printf(" Enter no of elements :"); scanf("%d", &num); printf(" Enter array elements :"); for (i = 0; i < num; i++) scanf("%d", &arr[i]); bubble_sort(arr, num); getch(); } void bubble_sort(int iarr[], int num) { int i, j, k, temp; printf(" Unsorted Data:"); for (k = 0; k < num; k++) { printf("%5d", iarr[k]); } for (i = 1; i < num; i++) { for (j = 0; j < num - 1; j++) { if (iarr[j] > iarr[j + 1]) { temp = iarr[j]; iarr[j] = iarr[j + 1]; iarr[j + 1] = temp;
  • 2. } } printf(" After pass %d : ", i); for (k = 0; k < num; k++) { printf("%5d", iarr[k]); } } }