01 Prepare: Preparation Material
Overview
Welcome to CSE 110!
This week you will set up your computer with the applications you will use this semester. You will need the following:
Visual Studio Code - The application you'll use to write your programs.Python 3 - The application you'll use to run your programs.
Once you have those in place, you will begin writing your very first programs.
Preparation Material
One of the great things about programming in this day and age is that there is a wealth of information available on the internet. In fact, professional programmers spend a good part of their days looking for answers on the internet and then piecing them together and modifying them to fit the specific problem at hand.
This means that to be a successful programmer you need the following:
A strong understanding of the fundamentals of programming (what you'll study in this and subsequent courses).
The ability to learn and apply new things.
The ability to use information from various online sources.
This course and subsequent courses are designed to help you grow in all three of these areas.
In this course, you will be provided the information you will need to be successful, whereas in future courses you will develop your ability to find more and more of the information for yourself. But even in this course, you will start to learn to use material from many different sources on the internet. Some will be written by BYU-Idaho, but much of it will be curated for you from various resources available on the internet.
Install Python and Visual Studio Code
Please watch the video below.
As shown in this video, you will need to download and install both Python and Visual Studio Code on your computer. Also, please note that your Visual Studio Code preferences may be set up slightly differently than those in the video.
Direct link: Download and Install
As you follow the video above, you'll be downloading programs and an extension from:
The Basics of Writing a Program
We all interact with many kinds of devices, websites, and apps that are made from "programs." As you might imagine, apps like Instagram or Google Maps are pretty complex and have taken teams of professional programmers many months or years to create. You are starting on the journey that can lead to creating programs that are just polished and interactive, but we will begin with much simpler programs.
The essence of all programs, no matter how complex or simple, is that they provide a step-by-step list of instructions that the computer will follow. The computer, while powerful, is also very simplistic—it only does what you tell it. In addition, it does exactly what you tell it to do, nothing more and nothing less, and if you leave out a very small thing, or make even a tiny mistake, the computer is very unforgiving.
Starting with this lesson, we are going to practice writing programs—the step-by-step instructions for the computer—and we are going to start with simple ones. We will start by displaying words on the screen and have the user type responses in a text window. While not nearly as glamorous as the professional apps you see around you, the fundamentals are the same. These simple programs will help you develop skills you need to create more powerful and more exciting applications as you continue to learn.
Please watch the following videos that introduce the idea of writing programs. While you are watching, you should pause the videos and follow along by typing the same code on your computer. The demos they walk through will be very similar to the assignments you have this week.
Direct link: Basic Print
Direct link: Variables
Direct link: The Debugger
Direct link: Basic f-strings
Direct link: Input
Next Steps
Once you have finished with watching these videos and installing the applications mentioned above, you are prepared to complete the assignments of this course.