Integrated development environment

Assignment Help Business Management
Reference no: EM132900705

Part 1:

Python comes with a program called an IDLE, which belongs to a type of software known in computer science as an IDE (Integrated Development Environment). IDE's make programming easier, because they color the code for you, give you quick access to built in functions, debug your code, and allow you to run your code from the IDE instead of using the command line.

We will use IDLE in this course, but you are welcome to use ANY IDE you like! Or if you simply like to go old school and type your programs in a text editor (like Notepad) and run it manually through the command prompt, that is fine also! :)

Follow these steps to write your 1st Python program with IDLE:

1- Start IDLE, and select New File from the File menu

2- Type: print ("Hello world")

3- Save the file, by going to the File menu, make sure to save the file as with a .py extension. So you can call it hello.py or bifs617_wk2.py

4- Run the program by going to the Run menu and select Run Module

5- Congratulations! You've written and run your 1st Python program ;)

Questions:

1- What is print in your program actually doing? And why is "Hello world" between double quotes?

2- Add your name and the date to the code above, as comment lines (see Chapter 2 of text book on how to do this)

3- Take a snap shot of your code and paste it (or attach it) to your response. Also mention any issues you might have had.

Part 2: One of the key elements of designing a good program is to allow the user(s) to interact with it. You can do so by asking the user to input a file name, a string representing a DNA sequence, or just a number. These input that are coming in from the user get stored in variables, and make your program more interactive. They also allow you to write a general program that can work for any input (the user (or you) can run your program 100 times and each time input a different DNA sequence for instance).

The Python function to ask for use input, is simply called input()

Here is an example of how it can be used:

DNA = input("Enter a DNA sequence")

When you run this, you will see the string "Enter a DNA sequence", followed by a blinking line. That means Python is waiting for you to type in something! Once you type in a bunch of characters and hit enter, Python will grab what you typed and assign it to the variable DNA. So the string the user typed is now stored in memory and can be accessed by using the name DNA.

Reference no: EM132900705

Questions Cloud

Identify goals-articulate influences : This includes common beliefs about ethics to help you succeed. What steps you project are ahead in your career. THE leadership goals, ability to collaborate wit
Business ethics and legal environment course : In your response, include specific examples and incorporate concepts and terms according to the business ethics and legal environment course.
Prepare entries for the month of december : Prepare entries for the month of December to reflect the new line of products offered by the company, which includes using entries from "Inventory Valuation"
Research design with justification : Bannerman is a 3rd year student of GCTU offering a degree in business management. He is interested in investigating the coping strategies adopted by micro, smal
Integrated development environment : Python comes with a program called an IDLE, which belongs to a type of software known in computer science as an IDE (Integrated Development Environment).
Explain how determine the initial cash flows : Explain how you determine the terminal cash flows at the end of the project's life. Discuss the notion of sunk costs and identify the sunk cost in this project
Calculate the payback period : Calculate the payback period, IRR, MIRR, NPV, and PI for the following two mutually exclusive projects. The required rate of return is 15%
Leadership skills in an engineering environment : Application of leadership skills in an engineering environment. We have found it helpful for many students to interview an engineering leader
Hardness of the water in respondent home : A survey comes with a water hardness packet to test the hardness of the water in a respondent's home.

Reviews

Write a Review

Business Management Questions & Answers

  Caselet on michael porter’s value chain management

The assignment in management is a two part assignment dealing 1.Theory of function of management. 2. Operations and Controlling.

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. Due to increase in the preference for light beer drinkers, Chris Prangel wants to introduce light beer version in Mountain Man. An analysis into the la..

  Mountain man brewing company

Mountain Man Brewing, a family owned business where Chris Prangel, the son of the president joins. An analysis into the launch of Mountain Man Light over the present Mountain Man Lager.

  Analysis of the case using the doing ethics technique

Analysis of the case using the Doing Ethics Technique (DET). Analysis of the ethical issue(s) from the perspective of an ICT professional, using the ACS Code of  Conduct and properly relating clauses from the ACS Code of Conduct to the ethical issue.

  Affiliations and partnerships

Affiliations and partnerships are frequently used to reach a larger local audience? Which options stand to avail for the Hotel manager and what problems do these pose.

  Innovation-friendly regulations

What influence (if any) can organizations exercise to encourage ‘innovation-friendly' regulations?

  Effect of regional and corporate cultural issues

Present your findings as a group powerpoint with an audio file. In addition individually write up your own conclusions as to the effects of regional cultural issues on the corporate organisational culture of this multinational company as it conducts ..

  Structure of business plan

This assignment shows a structure of business plan. The task is to write a business plane about a Diet Shop.

  Identify the purposes of different types of organisations

Identify the purposes of different types of organisations.

  Entrepreneur case study for analysis

Entrepreneur Case Study for Analysis. Analyze Robin Wolaner's suitability to be an entrepreneur

  Forecasting and business analysis

This problem requires you to apply your cross-sectional analysis skills to a real cross-sectional data set with the goal of answering a specific research question.

  Educational instructional leadership

Prepare a major handout on the key principles of instructional leadership

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd