Introduction to Computer Programming
Introduction to Computer Programming
This course is part of Introduction to Computer Science and Programming Specialization
94,617 already enrolled
Included with
Learn more
Ask Coursera
934 reviews
934 reviews
Skills you'll gain
- Event-Driven Programming
- Interactive Design
- Maintainability
- Javascript
- Debugging
- Computer Programming
- Programming Principles
- Computer Graphic Techniques
- Software Development Tools
- Visualization (Computer Graphics)
- Graphic and Visual Design
- Data Management
- Development Environment
- Computer Graphics
- Program Development
Tools you'll learn
Details to know
11 assignments
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 3 modules in this course
This MOOC provides you with the foundational skill set required to write computer programs. If you are interested in learning how to write interactive, graphical programs from an introductory level in a real programming language, this is the course for you. You will begin by learning the basics of editing and running programs. Then you will learn how to create 2D graphics using shapes and coordinates. Finally, you will learn how to create interactive graphics that you can control with the mouse. You will even solve a set of interactive puzzles using your coding skills in the Sleuth game which has been created especially for this course. The course uses the Javascript language and the p5.js library.
In this topic, you will be introduced to three key concepts: the toolkit used for developing programs, how to draw using simple shapes and 2D coordinates, and the process of writing and experiencing code. These foundational skills will support your learning as you begin creating your own programs.
What's included
9 videos7 readings2 assignments1 programming assignment4 discussion prompts
9 videosβ’Total 52 minutes
- Course introductionβ’2 minutes
- About you: Growth mindsetβ’3 minutes
- What is programming? What is p5.js?β’4 minutes
- Running your first program with Bracketsβ’7 minutes
- Running your first program with Visual Studio Codeβ’10 minutes
- Learn by hackingβ’4 minutes
- 2D coordinate systemβ’8 minutes
- Code philosophy: what it feels like to codeβ’3 minutes
- Introduction to Sleuthβ’12 minutes
7 readingsβ’Total 160 minutes
- Course structure and navigationβ’5 minutes
- Some information before you beginβ¦β’10 minutes
- Code editor - Important informationβ’5 minutes
- P5.js resourcesβ’10 minutes
- Programming exercise 1: Hack the robotβ’30 minutes
- Programming exercise 2: Code it from scratch: De Stijlβ’90 minutes
- Introduction to Sleuthβ’10 minutes
2 assignmentsβ’Total 60 minutes
- Getting started with P5.jsβ’30 minutes
- 2D coordinate systemβ’30 minutes
1 programming assignmentβ’Total 180 minutes
- Sleuth assessmentβ’180 minutes
4 discussion promptsβ’Total 80 minutes
- Running your first programβ’20 minutes
- Hacked robot discussionβ’20 minutes
- De Stijl: share your modern masterpieceβ’20 minutes
- Code philosophyβ’20 minutes
In this weekβs topic, you will explore three essential concepts that will expand your creative and technical skills in programming with p5.js. Youβll learn how to use a set of 2D drawing functions to create shapes and visual elements, how colours are represented and styled within your programs, and how to effectively debug your code using the console. These skills will help you bring your sketches to life while developing greater confidence in identifying and solving coding issues.
What's included
9 videos5 readings4 assignments3 discussion prompts
9 videosβ’Total 53 minutes
- RGB (red, green and blue) coloursβ’9 minutes
- Fill, stroke, noFillβ’8 minutes
- Setup, draw and programme flowβ’3 minutes
- Ellipse, rect, line, triangle and pointβ’6 minutes
- How to access and use the console to view errorsβ’3 minutes
- Debugging syntax errorsβ’8 minutes
- Code philosophy: asking for helpβ’5 minutes
- Sleuth case by case: 201β’5 minutes
- Sleuth case by case: 202β’6 minutes
5 readingsβ’Total 160 minutes
- Programming exercise 3. Hack it: Robot paradeβ’30 minutes
- Programming exercise 4. Code it from scratch: Kandinskyβ’60 minutes
- Teach it to yourselfβ’10 minutes
- Programing exercise 5: Debug challengeβ’30 minutes
- Programming exercise 5: Debug challengeβ’30 minutes
4 assignmentsβ’Total 93 minutes
- RGB coloursβ’3 minutes
- Setup, draw and programme flowβ’30 minutes
- Ellipse, rect, line, triangle and pointβ’30 minutes
- Using the console and debugging syntax errors β’30 minutes
3 discussion promptsβ’Total 60 minutes
- Hack it: Robot paradeβ’20 minutes
- Kandinsky: Share your abstract masterβ’20 minutes
- Post examples of good and bad questionsβ’20 minutes
This week, you'll be introduced to three fundamental programming concepts. You'll learn how to use variables to store and manage data, explore simple forms of user interaction to make your programs more dynamic, and discover techniques for organising your code to make it clearer and easier to maintain. These skills are key to building more interactive and well-structured programs.
What's included
13 videos4 readings5 assignments3 discussion prompts
13 videosβ’Total 76 minutes
- Built-in variables: mouseX, mouseYβ’5 minutes
- Built-in events: mousePressed, keyPressedβ’4 minutes
- Create your own variables: var, initialising and assigningβ’11 minutes
- 12 top tips for naming variablesβ’2 minutes
- Objectsβ’8 minutes
- Working with operatorsβ’11 minutes
- Mathematical functions: random, min, maxβ’12 minutes
- Inspecting variables in the consoleβ’4 minutes
- Code philosophy: the elegant coderβ’3 minutes
- Sleuth case by case: 301β’7 minutes
- Sleuth: case by case 302β’5 minutes
- Sleuth case by case: 303β’5 minutes
- MOOC summaryβ’1 minute
4 readingsβ’Total 140 minutes
- Programming exercise 6. Code it from scratch: Drawing appβ’60 minutes
- Programming exercise 7. Hack it: Sunriseβ’30 minutes
- Teach it to yourselfβ’20 minutes
- Programming exercise 8: Debug challengeβ’30 minutes
5 assignmentsβ’Total 115 minutes
- Built-in variables: mouseX, mouseY and eventsβ’30 minutes
- Create your own variables: var, initialising and assigningβ’15 minutes
- Working with operatorsβ’25 minutes
- Inspecting variables in the consoleβ’15 minutes
- Summative quizβ’30 minutes
3 discussion promptsβ’Total 60 minutes
- Code it from scratch: Drawing appβ’20 minutes
- Hack it: Sunriseβ’20 minutes
- Code philosophy: the elegant coderβ’20 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Prepare for a degree
Taking this course by University of London may provide you with a preview of the topics, materials and instructors in a related degree program which can help you decide if the topic or university is right for you.
Instructors
Explore more from Software Development
- Status: PreviewT
The University of Edinburgh
Course
- Status: PreviewU
University of Toronto
Course
- Status: Free TrialR
Rice University
Course
- Status: Free TrialM
Microsoft
Course
Why people choose Coursera for their career
Learner reviews
- 5 stars
59.95%
- 4 stars
16.59%
- 3 stars
7.70%
- 2 stars
2.78%
- 1 star
12.95%
Showing 3 of 934
Reviewed on Mar 14, 2019
All is fine. But i dont understand, why the vital section of information - "Reading Teach it to yourself" of 3 week, opens only after _optional_ submisson "Hack it: Sunrise. What did you learn"
Reviewed on Feb 4, 2025
After finishing "Week 1" of the course material it told me that I had completed the course, even though there were two additional weeks of material that had not been completed. Is this intentional?
Reviewed on Oct 24, 2022
Tβhanks a lot for the short and elegant course! Now I understand better development of internet applications, which I can launch in my browser :)
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you canβt afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, youβll find a link to apply on the description page.
More questions
Financial aid available,
