电子文档交易市场
安卓APP | ios版本
电子文档交易市场
安卓APP | ios版本

Py4Inf-01-IntroPy4Inf-01-IntroPy4Inf-01-IntroPy4Inf-01-Intro

62页
  • 卖家[上传人]:海天
  • 文档编号:23993778
  • 上传时间:2017-10-22
  • 文档格式:PDF
  • 文档大小:3.39MB
  • / 62 举报 版权申诉 马上下载
  • 文本预览
  • 下载提示
  • 常见问题
    • 1、Why Program?Chapter 1Python for Informatics: Exploring IUnless otherwise noted, the content of this course material is licensed under a Creative Commons Attribution 3.0 License.http:/creativecommons.org/licenses/by/3.0/.Copyright 2010- Charles SeverancePre-Requisite: Please Install Pythonhttp:/ to the Introduction.Computers want to be helpful.Computers are built for one purpose - to do things for usBut we need to speak their language to describe what we want doneUsers have it easy - someone alre

      2、ady put many different programs (instructions) into the computer and users just pick the ones we want to useWhatNext?WhatNext?WhatNext?WhatNext?WhatNext?WhatNext?WhatNext?Programmers Anticipate NeedsiPhone Applications are a marketiPhone Applications have over 3 Billion downloadsProgrammers have left their jobs to be full-time iPhone developersProgrammers know the ways of the programPickMe!PickMe!PickMe!PickMe!PayMe!PickMe!Users .vs. ProgrammersUsers see computers as a set of tools - word proces

      3、sor, spreadsheet, map, todo list, etc.Programmers learn the computer “ways” and the computer languageProgrammers have some tools that allow them to build new toolsProgrammers sometimes write tools for lots of users and sometimes programmers write little “helpers” for themselves to automate a taskComputerHardware + SoftwareNetworks.From a software creators point of view, we build the software. The end users (stakeholders/actors) are our masters - who we want to please - often they pay us money wh

      4、en they are pleased. But the data, information, and networks are our problem to solve on their behalf. The hardware and software are our friends and allies in this quest.InformationDataUserProgrammerWhy be a programer?To get some task done - we are the user and programmerClean up survey dataTo produce something for others to use - a programming jobFix a performance problem in the Sakai softwareAdd guestbook to a web siteWhat is Code? Software? A Program?A sequence of stored instructions It is a

      5、little piece of our intelligence in the computerIt is a little piece of our intelligence we can give to others - we figure something out and then we encode it and then give it to someone else to save them the time and energy of figuring it outA piece of creative art - particularly when we do a good job on user experiencePrograms for Humans.http:/ for Humans.while music is playing:Left hand out and upRight hand out and upFlip Left handFlip Right handLeft hand to right shoulderRight hand to left s

      6、houlderLeft hand to back of headRight ham to back of headLeft hand to right hitRight hand to left hitLeft hand on left bottomRight hand on right bottomWiggleWiggleJumphttp:/ for Humans.while music is playing:Left hand out and upRight hand out and upFlip Left handFlip Right handLeft hand to right shoulderRight hand to left shoulderLeft hand to back of headRight ham to back of headLeft hand to right hitRight hand to left hitLeft hand on left bottomRight hand on right bottomWiggleWiggleJumphttp:/ f

      7、or Humans.while music is playing:Left hand out and upRight hand out and upFlip Left handFlip Right handLeft hand to right shoulderRight hand to left shoulderLeft hand to back of headRight hand to back of headLeft hand to right hipRight hand to left hipLeft hand on left bottomRight hand on right bottomWiggleWiggleJumphttp:/ clown ran after the car and the car ran into the tent and the tent fell down on the clown and the car Programs for Python.Programs for Python.name = raw_input(Enter file:)hand

      8、le = open(name, r)text = handle.read()words = text.split()counts = dict()for word in words:countsword = counts.get(word,0) + 1bigcount = Nonebigword = Nonefor word,count in counts.items():if bigcount is None or count bigcount:bigword = wordbigcount = countprint bigword, bigcountpython words.py Enter file: words.txtto 16python words.py Enter file: clown.txtthe 7Hardware Architecturehttp:/upload.wikimedia.org/wikipedia/commons/3/3d/RaspberryPi.jpg SoftwareInputand OutputDevicesCentralProcessingUnitMainMemorySecondaryMemoryGenericComputerWhatNext?DefinitionsCentral Processing Unit: Runs the Program - The CPU is always wondering “what to do next”? Not the brains exactly - very dumb but very very fastInput Devices: Keyboard, Mouse, Touch ScreenOutput Devices: Screen, Speakers, Printer, DVD BurnerMain Memory: Fast small temporary storage - lost on reboot - aka RAMSecondary Memory: Slower large permanent storage - lasts u

      《Py4Inf-01-IntroPy4Inf-01-IntroPy4Inf-01-IntroPy4Inf-01-Intro》由会员海天分享,可在线阅读,更多相关《Py4Inf-01-IntroPy4Inf-01-IntroPy4Inf-01-IntroPy4Inf-01-Intro》请在金锄头文库上搜索。

      点击阅读更多内容
    最新标签
    监控施工 信息化课堂中的合作学习结业作业七年级语文 发车时刻表 长途客运 入党志愿书填写模板精品 庆祝建党101周年多体裁诗歌朗诵素材汇编10篇唯一微庆祝 智能家居系统本科论文 心得感悟 雁楠中学 20230513224122 2022 公安主题党日 部编版四年级第三单元综合性学习课件 机关事务中心2022年全面依法治区工作总结及来年工作安排 入党积极分子自我推荐 世界水日ppt 关于构建更高水平的全民健身公共服务体系的意见 空气单元分析 哈里德课件 2022年乡村振兴驻村工作计划 空气教材分析 五年级下册科学教材分析 退役军人事务局季度工作总结 集装箱房合同 2021年财务报表 2022年继续教育公需课 2022年公需课 2022年日历每月一张 名词性从句在写作中的应用 局域网技术与局域网组建 施工网格 薪资体系 运维实施方案 硫酸安全技术 柔韧训练 既有居住建筑节能改造技术规程 建筑工地疫情防控 大型工程技术风险 磷酸二氢钾 2022年小学三年级语文下册教学总结例文 少儿美术-小花 2022年环保倡议书模板六篇 2022年监理辞职报告精选 2022年畅想未来记叙文精品 企业信息化建设与管理课程实验指导书范本 草房子读后感-第1篇 小数乘整数教学PPT课件人教版五年级数学上册 2022年教师个人工作计划范本-工作计划 国学小名士经典诵读电视大赛观后感诵读经典传承美德 医疗质量管理制度 2
    关于金锄头网 - 版权申诉 - 免责声明 - 诚邀英才 - 联系我们
    手机版 | 川公网安备 51140202000112号 | 经营许可证(蜀ICP备13022795号)
    ©2008-2016 by Sichuan Goldhoe Inc. All Rights Reserved.