1 of 14

Development Environment

2 of 14

Agenda

  • How to Write Software
  • Computer Architecture
  • Hello World
  • Submitting Assignments

2

3 of 14

1. How to Write Software

Isn’t writing just… writing? Why is software different?

4 of 14

How to Write Software

  • Software is typically written in text files (human-readable) that is converted into programs that can be executed by a computer
    • There are visual programming tools but they tend to be limited in scope and capability
  • In this course we wanted to improve accessibility
    • Settled on codehs.com as the standard development environment

4

5 of 14

2. Computer Architecture

Making computers work

6 of 14

Computer Architecture

  • Computer architecture is approximately layered
  • Applications cannot access hardware directly
    • Must go through the operating system
  • Replit exists within a web browser (also an application)
    • Our code is one layer further removed from the hardware
    • Requests for hardware access (sound, graphics, network) become more challenging

6

7 of 14

3. Hello World

The first program is always the same

8 of 14

Hello World

  • The standard first program in any language is called Hello World
    • Print “Hello world!” to the console
  • We will make Hello World in Python

8

9 of 14

Join Codehs

  • Join codehs using the code on our website
  • Create an account if you don’t already have one
  • Use your board-assigned email
  • Use the sandbox to make Hello World in the language of your choice

9

10 of 14

4. Submitting Assignments

How about something a little more complicated?

But not too complicated…

11 of 14

Assignment Questions

  • There are two assignments and some group assignments
  • Most have automated tests
    • You still have to create your own tests!
    • One test per code branch to a max of 10

11

12 of 14

Assignment Questions

  • Start with
    • L1.1 Submitting Assignments
  • Solve the problem and submit your solution after it has passed all the tests. Ensure that your code has conformed to the “Assignment Formatting” document

12

13 of 14

Credits

Special thanks to all the people who made and released these awesome resources for free:

  • Presentation template by SlidesCarnival

13

14 of 14

Diagrams and infographics

14