| |
|
开发:
C++知识库
Java知识库
JavaScript
Python
PHP知识库
人工智能
区块链
大数据
移动开发
嵌入式
开发工具
数据结构与算法
开发测试
游戏开发
网络协议
系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁 |
-> Python知识库 -> Introduction to Computing with Python - lecture 1 -> 正文阅读 |
|
[Python知识库]Introduction to Computing with Python - lecture 1 |
Today目录 Course Goals·Introduction to computer science and software development ·Present methods for problem solving ·Acquiring Python 3 programming skills Learning and understanding tools for problem solving using a computer in science and engineering. ?MotivationWhy do I need this?How would this course benefit me? ? Problem SolvingMathematics, StatisticsMonte Carlo Method – Using randomness in problem solving ? ?? Data Visualization?? Physics: DEM and CFDDiscrete Element Method (DEM) for simulating structural failure? Computational Fluid Dynamics (CFD) simulation?for evaluating air velocity around a cyclist Physics: Evolution of a Cough? ? Biology: Protein Folding? Neural Style Transfer?Machine LearningGenetic Algorithms (GA) are a mathematical model inspired by the famous Charles Darwin’s idea of natural selection. The natural selection preserves only the fittest individuals, over the different generations. ? WHAT IS A COMPUTER??Where did it All Begin?
? ? Mechanical Calculator
? ?Mechanical Computer
? ?Hardware and SoftwareHardware: ? ?HARDWARE COMPONENTS?CPU – ? Central Processing Unit
? ? ?MemoryThe Memory is a special hardware component in which the CPU can read from and write to. Difference between types of memory:
Main Memory - RAM?
? ? ?Secondary Memory
? ? ? ? ? ? Communication? Channel? (BUS)?
? OPERATING SYSTEM??
? ?Operating System: ExampleWhat happens when you type the string “Hello” in a Word document?
? ? DATA IN MEMORYWhat is Data?
How is Data Stored??
? ?
? ? ?Base-10 Number Representation?
What is the representation of 452 in powers of 10? ? Base-2 Number Representation?? ? ? Binary System?
? ?
Binary Number Representation? ?More Examples? ? ?Byte
? ? ?Numbers in Memory
? ? ?Other Types of Data
? ? Images??Images - RGB?
? ? ?Music
? ? ?Most Important – ?Code!
0 – read a number from memory 1 – add two numbers 01 – write number to memory 10 – subtract two numbers
This is called Machine Code.
PROGRAMMING LANGUAGES?Machine Code
? High-Level Programming Language?
? ? A program that displays the text “Hello World!” in different programming languages:
?
? ?
print(‘Hello world!’)? PYTHON 3Simple Example
? ? STEPS IN PROBLEM SOLVINGProblem Solving: The Steps
? ? ? Problem Solving: Cashier?Example: Write a program which receives a series of purchases, prints the current total and tells the cashier to go home when the total reaches over $1000. ?Problem Solving: Algorithm? ? ?1.Define a counter which keeps track of the current sum. ? ? ?2.Get the cost as input? Add the cost to the sum Display the sum ? ? ?3.If the sum is smaller than $1000, repeat ?????4.If not, display “Go Home!” ? ? Problem Solving: Code? ? ?Actual Coding and Debugging?Soon…. ? ? |
|
|
上一篇文章 下一篇文章 查看所有文章 |
|
开发:
C++知识库
Java知识库
JavaScript
Python
PHP知识库
人工智能
区块链
大数据
移动开发
嵌入式
开发工具
数据结构与算法
开发测试
游戏开发
网络协议
系统运维
教程: HTML教程 CSS教程 JavaScript教程 Go语言教程 JQuery教程 VUE教程 VUE3教程 Bootstrap教程 SQL数据库教程 C语言教程 C++教程 Java教程 Python教程 Python3教程 C#教程 数码: 电脑 笔记本 显卡 显示器 固态硬盘 硬盘 耳机 手机 iphone vivo oppo 小米 华为 单反 装机 图拉丁 |
360图书馆 购物 三丰科技 阅读网 日历 万年历 2024年12日历 | -2024/12/26 15:19:24- |
|
网站联系: qq:121756557 email:121756557@qq.com IT数码 |
数据统计 |