Phu Xuan University Library
Intro to Programming with Programming Fundamentals and Python for Everyone

External

Intro to Programming with Programming Fundamentals and Python for Everyone

Publisher
LibreTexts
Source
LibreTexts
Language
EN
Category
Information Technology
Contents· 331 sections
  1. 01: Welcome to Programming
  2. 1.01: What is a program
  3. 1.02: Integrated Development Environment
  4. 1.03: Terminology - Interpreter and Compiler
  5. 1.04: Why should you learn to write programs
  6. 1.05: Creativity and Motivation
  7. 1.06: Understanding Programming
  8. 1.07: The Learning Journey
  9. 02: Commands
  10. 2.01: Hello World
  11. 2.02: Words and Sentences
  12. 2.03: Conversing with Python
  13. 2.04: What could possibly go wrong
  14. 2.05: Comments
  15. 2.06: Comments
  16. 03: Principles of Structured Programming
  17. 3.01: The Building Blocks of Programs
  18. 3.02: Structured Programming
  19. 04: Functions and Events
  20. 4.01: Modular Programming
  21. 4.02: Why functions
  22. 4.03: Function Calls
  23. 4.04: Definitions and Uses
  24. 4.05: Flow of Execution
  25. 4.06: Parameters and Arguments
  26. 4.07: Parameters and Arguments
  27. 05: Algorithms and Design
  28. 5.01: Thinking Algorithmically
  29. 5.02: Program Design
  30. 5.03: Program Quality
  31. 06: Math and Variables
  32. 6.01: Arithmetic Operators
  33. 6.02: Order of Operations
  34. 6.03: Constants and Variables
  35. 6.04: Identifier Names
  36. 6.05: Variable names and Keywords
  37. 6.06: Choosing Mnemonic Variable Names
  38. 6.07: Statements
  39. 6.08: Assignment
  40. 6.09: Variables
  41. 6.10: Updating Variables
  42. 6.11: Python Examples
  43. 6.12: Arrays and Lists
  44. 6.13: Index Notation
  45. 6.14: A list is a sequence
  46. 6.15: Lists are mutable
  47. 6.16: Debugging
  48. 07: Problem Solving and Design
  49. 7.01: Pseudocode
  50. 7.02: Flowcharts
  51. 7.03: Activity 3 - Using pseudo-codes and flowcharts to represent algorithms
  52. 08: Decisions
  53. 8.01: Relational Operators
  54. 8.02: Boolean Expressions
  55. 8.03: Conditional Execution
  56. 8.04: If Then Else
  57. 8.05: Alternative Execution
  58. 8.06: Assignment vs Equality
  59. 8.07: Code Blocks
  60. 8.08: Chained Conditionals
  61. 09: Helper Functions
  62. 9.01: Adding New Functions
  63. 9.02: Definitions and Uses
  64. 9.03: Why functions
  65. 9.04: Flow of Execution
  66. 9.05: Function Examples
  67. 9.06: Hierarchy or Structure Chart
  68. 10: Nested Decision
  69. 10.01: Logical Operators
  70. 10.02: Logical Operators
  71. 10.03: Nested If Then Else
  72. 10.04: Condition Examples
  73. 10.05: Python Examples
  74. 10.06: Nested Conditionals
  75. 10.07: Catching exceptions Using Try and Except
  76. 11: Software Development Life Cycle
  77. 11.01: Systems Development Life Cycle
  78. 11.02: Software Testing
  79. 11.03: Version Control
  80. 11.04: Programming Style
  81. 12: Variable Scope
  82. 12.01: Scope
  83. 13: For Loops
  84. 13.01: Iteration Control Structures
  85. 13.02: For Loop
  86. 13.03: Definite loops using for
  87. 13.04: Counting and Summing Loops
  88. 14: More Math and Random Numbers
  89. 14.01: Integer Division and Modulus
  90. 14.02: Modulus Operator
  91. 14.03: Standard Libraries
  92. 14.04: Random Numbers
  93. 14.05: Math Functions
  94. 15: Nested For Loops
  95. 15.01: Nested For Loops
  96. 16: Data Types and User Input
  97. 16.01: Data Types
  98. 16.02: Integer Data Type
  99. 16.03: Floating-Point Data Type
  100. 16.04: String Data Type
  101. 16.05: Boolean Data Type
  102. 16.06: Values and Types
  103. 16.07: Data Type Conversions
  104. 16.08: Input and Output
  105. 16.09: Asking the user for input
  106. 17: Strings
  107. 17.01: Strings
  108. 17.02: A string is a sequence
  109. 17.03: String Functions
  110. 17.04: String Operations
  111. 17.05: Getting the length of a string using len
  112. 17.06: Traversal through a string with a loop
  113. 17.07: String Slices
  114. 17.08: Strings are immutable
  115. 17.09: Looping and Counting
  116. 17.10: The in operator
  117. 17.11: String Comparison
  118. 17.12: String Methods
  119. 17.13: Parsing strings
  120. 17.14: String Formatting
  121. 17.15: Format operator
  122. 18: While Loops
  123. 18.01: While Loop
  124. 18.02: The while Statement
  125. 18.03: Flag Concept
  126. 18.04: Infinite Loops
  127. 18.05: Loop patterns
  128. 18.06: Maximum and Minimum Loops
  129. 18.07: Loop Examples
  130. 18.08: Python Examples
  131. 19: Lists
  132. 19.01: Arrays and Lists
  133. 19.02: Index Notation
  134. 19.03: Displaying Array Members
  135. 19.04: Traversing a List
  136. 19.05: List operations
  137. 19.06: List Slices
  138. 19.07: List Methods
  139. 19.08: Deleting Elements
  140. 19.09: Math Statistics with Arrays
  141. 19.10: Searching Arrays
  142. 19.11: Sorting Arrays
  143. 19.12: Parallel Arrays
  144. 19.13: Multidimensional Arrays
  145. 20: Function Return
  146. 20.01: Return Statement
  147. 20.02: Fruitful functions and void functions
  148. 20.03: Python Examples
  149. 21: File Input Output
  150. 21.01: File Input and Output
  151. 21.02: Opening Files
  152. 21.03: Text files and Lines
  153. 21.04: Reading Files
  154. 21.05: Writing Files
  155. 21.06: Using try except and open
  156. 21.07: Loading an Array from a Text File
  157. 21.08: Letting the user choose the file name
  158. 21.09: Searching through a File
  159. 21.10: Python Examples
  160. 22: Searching and Sorting Algorithms
  161. 22.01: Activity 1 - Searching Algorithm
  162. 22.02: Activity 2 - Sorting Algorithm
  163. 23: Object Oriented Programming
  164. 23.01: Managing Larger Programs
  165. 23.02: Getting Started
  166. 23.03: Objects and Classes
  167. 23.04: Using Objects
  168. 23.05: Our First Python Object
  169. 23.06: Python Examples
  170. 24: Networked Programs
  171. 24.01: HyperText Transfer Protocol - HTTP
  172. 24.02: The World's Simplest Web Browser
  173. 24.03: Retrieving an image over HTTP
  174. 24.04: Retrieving web pages with urllib
  175. 24.05: Parsing HTML and scraping the web
  176. 24.06: Parsing HTML using regular expressions
  177. 24.07: Parsing HTML using BeautifulSoup
  178. 24.08: Reading binary files using urllib
  179. 24.E: Networked Programs (Exercises)
  180. 24.G: Networked Programs (Glossary)
  181. 25: Python and Web Services
  182. 25.01: eXtensible Markup Language - XML
  183. 25.02: Looping through Nodes
  184. 25.03: JavaScript Object Notation - JSON
  185. 25.04: Parsing JSON
  186. 25.05: Application Programming Interfaces
  187. 25.06: Google geocoding web service
  188. 25.07: Security and API usage
  189. 25.E: Python and Web Services (Exercises)
  190. 25.G: Python and Web Services (Glossary)
  191. 26: Algorithms
  192. 26.01: Activity 1 - Overview of Algorithm Design and Analysis
  193. 26.02: Activity 1 - Introduction to Algorithms and Problem Solving
  194. 26.03: Activity 2 - The characteristics of an algorithm
  195. 27: Additional Fundamentals of Programming
  196. 27.01: Introduction
  197. 27.1.01: Computer Hardware Architecture
  198. 27.1.02: Writing a Program
  199. 27.1.E: Introduction (Exercises)
  200. 27.1.G: Introduction (Glossary)
  201. 27.02: Introduction to Programming
  202. 27.2.01: C Examples
  203. 27.2.02: C Examples
  204. 27.2.03: Java Examples
  205. 27.2.04: JavaScript Examples
  206. 27.2.05: Swift Examples
  207. 27.2.06: Practice- Introduction to Programming
  208. 27.03: Data and Operators
  209. 27.3.01: JavaScript Examples
  210. 27.3.02: Swift Examples
  211. 27.3.03: Practice- Data and Operators
  212. 27.3.04: Nothing Data Type
  213. 27.3.05: Lvalue and Rvalue
  214. 27.3.06: Input-Process-Output Model
  215. 27.3.07: C Examples
  216. 27.3.08: C Examples
  217. 27.3.09: Java Examples
  218. 27.04: Functions
  219. 27.4.01: Call by Value vs. Call by Reference
  220. 27.4.02: Void Data Type
  221. 27.4.03: C Examples
  222. 27.4.04: C Examples
  223. 27.4.05: Java Examples
  224. 27.4.06: JavaScript Examples
  225. 27.4.07: Swift Examples
  226. 27.4.08: Practice- Functions
  227. 27.05: Conditions
  228. 27.5.01: Case Control Structure
  229. 27.5.02: C Examples
  230. 27.5.03: C Examples
  231. 27.5.04: Java Examples
  232. 27.5.05: JavaScript Examples
  233. 27.5.06: Swift Examples
  234. 27.5.07: Practice- Conditions
  235. 27.5.08: Selection Control Structures
  236. 27.06: Loops
  237. 27.6.01: Do While Loop
  238. 27.6.02: Branching Statements
  239. 27.6.03: Integer Overflow
  240. 27.6.04: C Examples
  241. 27.6.05: C Examples
  242. 27.6.06: Java Examples
  243. 27.6.07: JavaScript Examples
  244. 27.6.08: Swift Examples
  245. 27.6.09: Practice- Loops
  246. 27.07: Arrays and Lists
  247. 27.7.01: Arrays and Functions
  248. 27.7.02: Dynamic Arrays
  249. 27.7.03: C Examples
  250. 27.7.04: C Examples
  251. 27.7.05: Java Examples
  252. 27.7.06: JavaScript Examples
  253. 27.7.07: Python Examples
  254. 27.7.08: Swift Examples
  255. 27.7.09: Practice- Arrays and Lists
  256. 27.08: Strings and Files
  257. 27.8.01: C Examples
  258. 27.8.02: C Examples
  259. 27.8.03: Java Examples
  260. 27.8.04: JavaScript Examples
  261. 27.8.05: Swift Examples
  262. 27.8.06: Practice- Strings and Files
  263. 27.09: Object-Oriented Programming
  264. 27.9.01: Encapsulation
  265. 27.9.02: Inheritance and Polymorphism
  266. 27.9.03: C Examples
  267. 27.9.04: C Examples
  268. 27.9.05: Java Examples
  269. 27.9.06: JavaScript Examples
  270. 27.9.07: Swift Examples
  271. 27.9.08: Practice
  272. 28: Additional Python 4 Everyone
  273. 28.01: A trip to Jupyter
  274. 28.1.01: Jupyter Notebooks
  275. 28.1.02: Code and Output
  276. 28.02: Variables Expressions and Statements
  277. 28.2.01: Variable names and Keywords
  278. 28.2.02: Operators and Operands
  279. 28.2.03: Expressions
  280. 28.2.04: Order of Operations
  281. 28.2.05: Choosing Mnemonic Variable Names
  282. 28.2.06: Debugging
  283. 28.2.E: Variables Expressions and Statements (Exercises)
  284. 28.2.G: Glossary
  285. 28.03: Conditional Execution
  286. 28.3.01: Short-Circuit Evaluation of Logical Expressions
  287. 28.3.02: Debugging
  288. 28.3.E: Conditional Execution (Exercises)
  289. 28.3.G: Conditional Execution (Glossary)
  290. 28.04: Functions
  291. 28.4.01: Function Calls
  292. 28.4.02: Built-in Functions
  293. 28.4.03: Type Conversion Functions
  294. 28.4.04: Parameters and Arguments
  295. 28.4.05: Debugging
  296. 28.4.E: Functions (Exercises)
  297. 28.4.G: Functions (Glossary)
  298. 28.05: Iterations
  299. 28.5.01: Infinite loops and break
  300. 28.5.02: Finishing iterations with continue
  301. 28.5.03: Debugging
  302. 28.5.E: Iterations (Exercises)
  303. 28.5.G: Iterations (Glossary)
  304. 28.06: Strings
  305. 28.6.01: Debugging
  306. 28.6.E: Strings (Exercises)
  307. 28.6.G: Strings (Glossary)
  308. 28.07: Files
  309. 28.7.01: Persistence
  310. 28.7.02: Debugging
  311. 28.7.E: Files (Exercises)
  312. 28.7.G: Files (Glossary)
  313. 28.08: Lists
  314. 28.8.01: Lists and Functions
  315. 28.8.02: Lists and Strings
  316. 28.8.03: Parsing lines
  317. 28.8.04: Objects and Values
  318. 28.8.05: Aliasing
  319. 28.8.06: List arguments
  320. 28.8.07: Debugging
  321. 28.8.E: Lists (Exercises)
  322. 28.8.G: Lists (Glossary)
  323. 28.09: Object-Oriented Programming
  324. 28.9.01: Starting with Programs
  325. 28.9.02: Subdividing a Problem - Encapsulation
  326. 28.9.03: Classes as Types
  327. 28.9.04: Many Instances
  328. 28.9.05: Object Lifecycle
  329. 28.9.06: Inheritance
  330. 28.9.G: Object-Oriented Programming (Glossary)
  331. 28.9.S: Object-Oriented Programming (Summary)