Introduction to Visual Basic Programming

所在平台: Coursera

课程主页: https://www.coursera.org/learn/visual-basic-programming-introduction

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:视觉基本编程入门 概述:这是一个系列课程中的第二门,旨在为您准备作为程序员的角色。在本课程中,您将学习过程编程的五个主要概念:用户输入、控制台输出、变量声明与赋值、决策分支和迭代。实验室将允许学生应用讲座中的材料,通过简单的计算机程序加深对课程内容的理解。学习者需要在本地机器上安装以下操作系统之一:Windows 7 SP1或更高版本、macOS 10.1.13或更高版本,或近几年的几乎任何Linux版本。学习者需要下载免费的Visual Studio社区版或开源的.NET Core安装包。课程将指导您如何设置本地开发环境。 大纲: 1. **控制台输入与输出** 描述:在这个模块中,我们将开始编码!我们将学习如何使用Visual Studio开发代码和命令行。Visual Basic程序可以在Windows、Mac OS或Linux机器上编写,我会向您展示如何做到这一点。我们的第一个程序将集中于从键盘读取输入并将程序结果输出到控制台。 2. **数据类型** 描述:在本课程的第二个模块中,我们将探讨计算机如何在程序执行过程中存储数据。我们将研究存储整数、十进制数、布尔值和字符串。我们会探讨如何在不同类型的变量之间进行转换。最后,我们将讨论变量的生命周期以及何时能在代码中被访问。 3. **决策分支** 描述:在本课程的第三个模块中,我们将学习如何根据测试改变程序的执行流程。我们将通过if语句研究单个测试的使用。接下来,我们将介绍带有else分支的多重测试。最后,我们将研究case语句作为程序流的另一种表达方式。 4. **迭代** 描述:在本课程的第四个模块中,我们将学习如何通过重复代码来更改程序的流。我们将首先关注重复固定次数的循环。随后,我们将编写在测试为真时持续运行的循环。最后,我们将探讨如何立即中断循环或跳回测试条件以修改程序流。

课程大纲

Name:Console Input and Output

Description:In this module, we roll up our sleeves and start coding! We will learn to use both Visual Studio to develop code and the command line. The Visual Basic Programs can be written on a Windows, Mac OS or Linux machine and I will show you how to do so. Our first programs will focus on reading input from the keyboard and outputting the results of the program to the console output.

Name:Data Types

Description:In the second module of this course, we will look at how computers store data during the execution of a program. We will look at storing whole numbers, decimal numbers, boolean values and strings. We will explore how you can convert between different types of variables. Lastly, we will look at how long a variable stays in existence and when it is visible to the pieces of the code.

Name:Decision Branching

Description:In the third module of this course, we will learn how to change the flow of a program’s execution based on a test. We will look at single tests utilizing if statements in our code. We follow up with multiple tests with the addition of the else clause. Lastly, we look at the case statement as an alternative expression of the flow of the program.

Name:Iteration

Description:In the fourth module of this course, we learn how to change the flow of our programs by repeating code iteratively. We will start with a look at loops that repeat a fixed number of times. We will follow up with writing loops that continue while a test is positive. Lastly, we will look at how we can modify the flow to immediately break from a loop or jump back to the test condition.

课程评论(0条)

课程详情

This course is the second course in a series that aims to prepare you for a role working as a programmer. In this course, you will be introduced to the five main concepts in procedural programming: user input, console output, variable declaration and assignment, decision branching and iteration. Labs will allow the students to apply the material in the lectures in simple computer programs designed to re-enforce the material in the lesson. Learners will need to have a local machine with any one of the following operating systems; Windows 7 SP1 or higher, macOS 10.1.13 or higher, or almost any version of Linux from the last several years. The learner will either need to download the free community edition of Visual Studio or the open source .NET Core installation. We will walk you through the process of getting your local environment set up as part of the course.

课程标签

0人关注该课程

主题相关的课程