The basis for education in the last millennium was “reading, writing, and arithmetic;” now it is reading, writing, and computing. Learning to program is an essential part of the education of every student, not just in the sciences and engineering, but in the arts, social sciences, and humanities, as well. Beyond direct applications, it is the first step in understanding the nature of computer science’s undeniable impact on the modern world. This course covers the first half of our book Computer Science: An Interdisciplinary Approach (the second half is covered in our Coursera course Computer Science: Algorithms, Theory, and Machines). Our intent is to teach programming to those who need or want to learn it, in a scientific context.
от партнера
Computer Science: Programming with a Purpose
Принстонский университетОб этом курсе
Приобретаемые навыки
- Programming Principles
- Computer Science
- Algorithms
- Java Programming
от партнера

Принстонский университет
Princeton University is a private research university located in Princeton, New Jersey, United States. It is one of the eight universities of the Ivy League, and one of the nine Colonial Colleges founded before the American Revolution.
Программа курса: что вы изучите
BASIC PROGRAMMING CONCEPTS
Why program? This lecture addresses that basic question. Then it describes the anatomy of your first program and the process of developing a program in Java using either virtual terminals or a program development environment, with some historical context. Most of the lecture is devoted to a thorough coverage of Java's built-in data types, with example programs for each.
CONDITIONALS AND LOOPS
The if, while, and for statements are Java's fundamental control structures. This lecture is built around short programs that use these constructs to address important computational tasks. Examples include sorting, computing the square root, factoring, and simulating a random process. The lecture concludes with a detailed example illustrating the process of debugging a program.
ARRAYS
Computing with a large sequence of values of the same type is extremely common. This lecture describes Java's built-in array data structure that supports such applications, with several examples, including shuffling a deck of cards, the coupon collector test for randomness, and random walks in a grid.
INPUT AND OUTPUT
To interact with our programs, we need mechanisms for taking information from the outside world and for presenting information to the outside world. This lecture describes several such mechanisms: for text, drawings, and animation. Detailed examples covered include fractal drawings that model natural phenomena and an animation of a ball bouncing around in the display window.
Рецензии
- 5 stars84,91 %
- 4 stars8,87 %
- 3 stars2,21 %
- 2 stars1,33 %
- 1 star2,66 %
Лучшие отзывы о курсе COMPUTER SCIENCE: PROGRAMMING WITH A PURPOSE
It was a beautiful course. I gained a ton of understanding of the structures of programming (especially OOP). And could become proficient in Java language, which is great.
Challenging but doable. Highly recommended for those with slight experience with programming; this course is not for complete beginners.
This course was great for learning Java, but I believe it could have been better if it had covered the actual "computer science" aspect (like the anatomy of a computer, history of computing, etc.)
It's easy to follow. And all the programming tasks help me to understand the content better. It's an friendly CS course with amazingly high quality. Thank you Professor!
Часто задаваемые вопросы
Когда я получу доступ к лекциям и заданиям?
Do I need to pay for this course?
Can I earn a certificate in this course?
For whom is this course intended?
Which kinds of assessments are available in this course?
Which Java programming environment will I use?
Остались вопросы? Посетите Центр поддержки учащихся.