SlideShare a Scribd company logo
1 of 21
Download to read offline
Billings 1 
Bobby E. Billings 
Professor Scott D. Vanselow 
COP 1000 - 170 Introduction to Computer Programming 
November 16, 2014 
INTRODUCTION: 
The following represents the sixth and final portion of an ongoing programming project throughout the Fall 2014 semester of Professor Scott D. Vanselow’s “Introduction to Programming” course. This final segment is a compilation of parts 3, 4, and 5 into a single PDF file. The 3 parts are clearly designated with their own header titles. 
This project began with an introduction to the Python language, which included the usage of Python’s IDLE utility. With Python we learned the underlying fundamentals of coding which appear to be similar in most other languages. I found it to be an excellent foundation for building upon. ‘ 
Part 4 of the programming project was an introductory to the Visual Basic language through the use of Visual Studios, which I found easy to work with once I had time to experiment. I especially enjoyed seeing the results of code translated into a GUI environment. 
Part 5 of this project challenged me with learning some of the basics of the Java language. My first attempt at the assignment was with the NetBeans IDE, but time constraints forced me to opt for the Programmr.com site to complete the task. 
Overall, this was a rewarding project for me. I found it to be an excellent method of learning Python, as well as a great introduction to different IDE’s. Further, it revealed the similarities between the coding languages, and taught the importance of debugging. 
CONTENTS: 
Page 2 - 14 Programming Part 3 
Page 15 – 18 Programming Part 4 
Page 19 – 21 Programming Part 5
Billings 2 
The following programs represent part 3 of the programming project for my Introduction to Programming course. The ten programs that were designed in the previous two projects are now incorporated into a singular menu driven program.
Billings 3
Billings 4
Billings 5
Billings 6
Billings 7
Billings 8
Billings 9
Billings 10
Billings 11
Billings 12 
The following is a series of excerpts from the menu driven program (Code shown above). In the interest of space in this document, the introduction screen is removed after its first appearance below. During the actual running of the program, this introduction will appear each time the user chooses to run it again, so that the user’s options are always visible on the user’s current screen.
Billings 13
Billings 14
Billings 15 
The following represents part 4 of my programming project for COP 1000. (Introduction to Programming) There are two divisions to this portion of the project. The first, is the Test Average program from the Language Companion in Visual Basic. The Test Average program was an introduction to the Visual Studio format. While working on this first section, I gained some familiarity with the toolset environment and learned the locations of the various tools and tabs. I also came to understand, to a limited degree, some of the differences between the Visual Basic language and that of Python. 
The second part of this assignment was to choose any programming exercise from the textbook. Then, in Visual Basic or C#, we were to create a graphical user interface using the chosen program. I selected exercise 5 from chapter 4, titled “Color Mixer”. I felt that it presented a sufficient challenge, and that it would translate well into a graphical user interface. 
I found the auto-fill ability of Visual Studio to be very helpful. There were many tooltip information bars that contained much useful information as well.
Billings 16 
The Test Average Program Code: 
The Test Average Program Form:
Billings 17 
Chapter 4 Exercise 5 “Color Mixer” Program Code:
Billings 18 
Chapter 4 Exercise 5 “Color Mixer” Program Form:
Billings 19 
The fifth part of Professor Vanselow’s Introduction to Computer Programming (COP 1000) is represented below. This first portion of this project required us to reproduce program 2-5 from the Java Language Companion and to run it using one of five options. Initially, I attempted this with the NetBeans IDE, but eventually opted for the more user friendly environment of the Programmr.com site. This first section was a decent introduction to the Java language that helped to speed things along for the second segment. 
The second half of this project entailed solving at least one exercise from any of the chapters in the textbook. (Programming Logic and Design 3rd Edition, authored by Tony Gaddis) I chose to work with exercise 4 from chapter 3, titled, “Automobile Cost”. I had completed this program in one of our earlier assignments using the Python language, but I found it to be more of a challenge in Java. I attribute this greater difficulty to a current lack of experience with that language in particular, but it is my goal to eventually master Java as well. 
Section 1: The GetInput code and it’s GUI
Billings 20 
Section 2: Chapter 3 Exercise 4 “Auto Costs”
Billings 21 
Chapter 3 Exercise 4 “Auto Cost” GUI

More Related Content

What's hot

What is c#
What is c#What is c#
What is c#shwet18
 
Language translation system p
Language translation system pLanguage translation system p
Language translation system panassatti5
 
The Ring programming language version 1.5.1 book - Part 173 of 180
The Ring programming language version 1.5.1 book - Part 173 of 180 The Ring programming language version 1.5.1 book - Part 173 of 180
The Ring programming language version 1.5.1 book - Part 173 of 180 Mahmoud Samir Fayed
 
Programming in Java: Getting Started
Programming in Java: Getting StartedProgramming in Java: Getting Started
Programming in Java: Getting StartedMartin Chapman
 
The Ring programming language version 1.10 book - Part 99 of 212
The Ring programming language version 1.10 book - Part 99 of 212The Ring programming language version 1.10 book - Part 99 of 212
The Ring programming language version 1.10 book - Part 99 of 212Mahmoud Samir Fayed
 
Chapter 2.3
Chapter 2.3Chapter 2.3
Chapter 2.3sotlsoc
 
OpenOffice.org Extension Development with Java and NetBeans in practice
OpenOffice.org Extension Development with Java and NetBeans in practiceOpenOffice.org Extension Development with Java and NetBeans in practice
OpenOffice.org Extension Development with Java and NetBeans in practiceAlexandro Colorado
 
Lecture 1 programming fundamentals (PF)
Lecture 1 programming fundamentals (PF)Lecture 1 programming fundamentals (PF)
Lecture 1 programming fundamentals (PF)Kamran Zafar
 
Module 201 2 20 just 20 basic
Module 201   2  20  just 20 basic Module 201   2  20  just 20 basic
Module 201 2 20 just 20 basic Nick Racers
 
C programming introduction
C programming introductionC programming introduction
C programming introductionDucat
 
Windows batch scripting
Windows batch scriptingWindows batch scripting
Windows batch scriptingArghodeepPaul
 
Comso c++
Comso c++Comso c++
Comso c++Mi L
 
Galician Experience with OpenOffice.org
Galician Experience with OpenOffice.orgGalician Experience with OpenOffice.org
Galician Experience with OpenOffice.orgAlexandro Colorado
 

What's hot (20)

What is c#
What is c#What is c#
What is c#
 
Language translation system p
Language translation system pLanguage translation system p
Language translation system p
 
The Ring programming language version 1.5.1 book - Part 173 of 180
The Ring programming language version 1.5.1 book - Part 173 of 180 The Ring programming language version 1.5.1 book - Part 173 of 180
The Ring programming language version 1.5.1 book - Part 173 of 180
 
Programming in Java: Getting Started
Programming in Java: Getting StartedProgramming in Java: Getting Started
Programming in Java: Getting Started
 
The Ring programming language version 1.10 book - Part 99 of 212
The Ring programming language version 1.10 book - Part 99 of 212The Ring programming language version 1.10 book - Part 99 of 212
The Ring programming language version 1.10 book - Part 99 of 212
 
7 best AI tools in 2020
7 best AI tools in 20207 best AI tools in 2020
7 best AI tools in 2020
 
Intro1
Intro1Intro1
Intro1
 
Chapter 2.3
Chapter 2.3Chapter 2.3
Chapter 2.3
 
Windows script host
Windows script hostWindows script host
Windows script host
 
OpenOffice.org Extension Development with Java and NetBeans in practice
OpenOffice.org Extension Development with Java and NetBeans in practiceOpenOffice.org Extension Development with Java and NetBeans in practice
OpenOffice.org Extension Development with Java and NetBeans in practice
 
Lecture 1 programming fundamentals (PF)
Lecture 1 programming fundamentals (PF)Lecture 1 programming fundamentals (PF)
Lecture 1 programming fundamentals (PF)
 
Module 201 2 20 just 20 basic
Module 201   2  20  just 20 basic Module 201   2  20  just 20 basic
Module 201 2 20 just 20 basic
 
C programming introduction
C programming introductionC programming introduction
C programming introduction
 
Windows batch scripting
Windows batch scriptingWindows batch scripting
Windows batch scripting
 
201801 CSE240 Lecture 04
201801 CSE240 Lecture 04201801 CSE240 Lecture 04
201801 CSE240 Lecture 04
 
C tutorial
C tutorialC tutorial
C tutorial
 
Comso c++
Comso c++Comso c++
Comso c++
 
Benefits of Extensions
Benefits of ExtensionsBenefits of Extensions
Benefits of Extensions
 
Learn C Language
Learn C LanguageLearn C Language
Learn C Language
 
Galician Experience with OpenOffice.org
Galician Experience with OpenOffice.orgGalician Experience with OpenOffice.org
Galician Experience with OpenOffice.org
 

Similar to Programming Project Part 6

LESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.pptLESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.pptChristopherOlaya1
 
Compose Camp session 2.pptx.pdf
Compose Camp session 2.pptx.pdfCompose Camp session 2.pptx.pdf
Compose Camp session 2.pptx.pdfDhruv675089
 
Programming Without Coding Technology (PWCT) Getting Started - The Time Machine
Programming Without Coding Technology (PWCT)  Getting Started - The Time MachineProgramming Without Coding Technology (PWCT)  Getting Started - The Time Machine
Programming Without Coding Technology (PWCT) Getting Started - The Time MachineMahmoud Samir Fayed
 
The Ring programming language version 1.3 book - Part 81 of 88
The Ring programming language version 1.3 book - Part 81 of 88The Ring programming language version 1.3 book - Part 81 of 88
The Ring programming language version 1.3 book - Part 81 of 88Mahmoud Samir Fayed
 
A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...IRJET Journal
 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfSubramanyambharathis
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for universitySheikh Monirul Hasan
 
Prg 218 entire course
Prg 218 entire coursePrg 218 entire course
Prg 218 entire coursegrades4u
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil EngineeringRushikesh Kolhe
 
The Ring programming language version 1.5.4 book - Part 5 of 185
The Ring programming language version 1.5.4 book - Part 5 of 185The Ring programming language version 1.5.4 book - Part 5 of 185
The Ring programming language version 1.5.4 book - Part 5 of 185Mahmoud Samir Fayed
 
Programming lesson1
Programming lesson1Programming lesson1
Programming lesson1camfollower
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfacesdjdskjd9097
 

Similar to Programming Project Part 6 (20)

Module 1 2 just basic-
Module 1 2  just basic-Module 1 2  just basic-
Module 1 2 just basic-
 
Lecture 1-3.ppt
Lecture 1-3.pptLecture 1-3.ppt
Lecture 1-3.ppt
 
LESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.pptLESSON 1- VISUAL BASIC PROGRAMMING.ppt
LESSON 1- VISUAL BASIC PROGRAMMING.ppt
 
Compose Camp session 2.pptx.pdf
Compose Camp session 2.pptx.pdfCompose Camp session 2.pptx.pdf
Compose Camp session 2.pptx.pdf
 
Notes
NotesNotes
Notes
 
Computer
ComputerComputer
Computer
 
Programming Without Coding Technology (PWCT) Getting Started - The Time Machine
Programming Without Coding Technology (PWCT)  Getting Started - The Time MachineProgramming Without Coding Technology (PWCT)  Getting Started - The Time Machine
Programming Without Coding Technology (PWCT) Getting Started - The Time Machine
 
The Ring programming language version 1.3 book - Part 81 of 88
The Ring programming language version 1.3 book - Part 81 of 88The Ring programming language version 1.3 book - Part 81 of 88
The Ring programming language version 1.3 book - Part 81 of 88
 
Programming in c
Programming in cProgramming in c
Programming in c
 
A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...A Research Study of Data Collection and Analysis of Semantics of Programming ...
A Research Study of Data Collection and Analysis of Semantics of Programming ...
 
kecs105.pdf
kecs105.pdfkecs105.pdf
kecs105.pdf
 
Moreno Xec
Moreno XecMoreno Xec
Moreno Xec
 
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdfINTRODUCTION TO C PROGRAMMING MATERIAL.pdf
INTRODUCTION TO C PROGRAMMING MATERIAL.pdf
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
 
Introduction To Python
Introduction To PythonIntroduction To Python
Introduction To Python
 
Prg 218 entire course
Prg 218 entire coursePrg 218 entire course
Prg 218 entire course
 
Why Python in required in Civil Engineering
Why Python in required in Civil EngineeringWhy Python in required in Civil Engineering
Why Python in required in Civil Engineering
 
The Ring programming language version 1.5.4 book - Part 5 of 185
The Ring programming language version 1.5.4 book - Part 5 of 185The Ring programming language version 1.5.4 book - Part 5 of 185
The Ring programming language version 1.5.4 book - Part 5 of 185
 
Programming lesson1
Programming lesson1Programming lesson1
Programming lesson1
 
Cis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interfaceCis247 i lab 1 of 7 creating a user interface
Cis247 i lab 1 of 7 creating a user interface
 

Programming Project Part 6

  • 1. Billings 1 Bobby E. Billings Professor Scott D. Vanselow COP 1000 - 170 Introduction to Computer Programming November 16, 2014 INTRODUCTION: The following represents the sixth and final portion of an ongoing programming project throughout the Fall 2014 semester of Professor Scott D. Vanselow’s “Introduction to Programming” course. This final segment is a compilation of parts 3, 4, and 5 into a single PDF file. The 3 parts are clearly designated with their own header titles. This project began with an introduction to the Python language, which included the usage of Python’s IDLE utility. With Python we learned the underlying fundamentals of coding which appear to be similar in most other languages. I found it to be an excellent foundation for building upon. ‘ Part 4 of the programming project was an introductory to the Visual Basic language through the use of Visual Studios, which I found easy to work with once I had time to experiment. I especially enjoyed seeing the results of code translated into a GUI environment. Part 5 of this project challenged me with learning some of the basics of the Java language. My first attempt at the assignment was with the NetBeans IDE, but time constraints forced me to opt for the Programmr.com site to complete the task. Overall, this was a rewarding project for me. I found it to be an excellent method of learning Python, as well as a great introduction to different IDE’s. Further, it revealed the similarities between the coding languages, and taught the importance of debugging. CONTENTS: Page 2 - 14 Programming Part 3 Page 15 – 18 Programming Part 4 Page 19 – 21 Programming Part 5
  • 2. Billings 2 The following programs represent part 3 of the programming project for my Introduction to Programming course. The ten programs that were designed in the previous two projects are now incorporated into a singular menu driven program.
  • 12. Billings 12 The following is a series of excerpts from the menu driven program (Code shown above). In the interest of space in this document, the introduction screen is removed after its first appearance below. During the actual running of the program, this introduction will appear each time the user chooses to run it again, so that the user’s options are always visible on the user’s current screen.
  • 15. Billings 15 The following represents part 4 of my programming project for COP 1000. (Introduction to Programming) There are two divisions to this portion of the project. The first, is the Test Average program from the Language Companion in Visual Basic. The Test Average program was an introduction to the Visual Studio format. While working on this first section, I gained some familiarity with the toolset environment and learned the locations of the various tools and tabs. I also came to understand, to a limited degree, some of the differences between the Visual Basic language and that of Python. The second part of this assignment was to choose any programming exercise from the textbook. Then, in Visual Basic or C#, we were to create a graphical user interface using the chosen program. I selected exercise 5 from chapter 4, titled “Color Mixer”. I felt that it presented a sufficient challenge, and that it would translate well into a graphical user interface. I found the auto-fill ability of Visual Studio to be very helpful. There were many tooltip information bars that contained much useful information as well.
  • 16. Billings 16 The Test Average Program Code: The Test Average Program Form:
  • 17. Billings 17 Chapter 4 Exercise 5 “Color Mixer” Program Code:
  • 18. Billings 18 Chapter 4 Exercise 5 “Color Mixer” Program Form:
  • 19. Billings 19 The fifth part of Professor Vanselow’s Introduction to Computer Programming (COP 1000) is represented below. This first portion of this project required us to reproduce program 2-5 from the Java Language Companion and to run it using one of five options. Initially, I attempted this with the NetBeans IDE, but eventually opted for the more user friendly environment of the Programmr.com site. This first section was a decent introduction to the Java language that helped to speed things along for the second segment. The second half of this project entailed solving at least one exercise from any of the chapters in the textbook. (Programming Logic and Design 3rd Edition, authored by Tony Gaddis) I chose to work with exercise 4 from chapter 3, titled, “Automobile Cost”. I had completed this program in one of our earlier assignments using the Python language, but I found it to be more of a challenge in Java. I attribute this greater difficulty to a current lack of experience with that language in particular, but it is my goal to eventually master Java as well. Section 1: The GetInput code and it’s GUI
  • 20. Billings 20 Section 2: Chapter 3 Exercise 4 “Auto Costs”
  • 21. Billings 21 Chapter 3 Exercise 4 “Auto Cost” GUI