We may earn an affiliate commission when you visit our partners.
Course image
Robert Sedgewick and Kevin Wayne

This course introduces the broader discipline of computer science to people having basic familiarity with Java programming. It covers the second half of our book Computer Science: An Interdisciplinary Approach (the first half is covered in our Coursera course Computer Science: Programming with a Purpose, to be released in the fall of 2018). Our intent is to demystify computation and to build awareness about the substantial intellectual underpinnings and rich history of the field of computer science.

Read more

This course introduces the broader discipline of computer science to people having basic familiarity with Java programming. It covers the second half of our book Computer Science: An Interdisciplinary Approach (the first half is covered in our Coursera course Computer Science: Programming with a Purpose, to be released in the fall of 2018). Our intent is to demystify computation and to build awareness about the substantial intellectual underpinnings and rich history of the field of computer science.

First, we introduce classic algorithms along with scientific techniques for evaluating performance, in the context of modern applications. Next, we introduce classic theoretical models that allow us to address fundamental questions about computation, such as computability, universality, and intractability. We conclude with machine architecture (including machine-language programming and its relationship to coding in Java) and logic design (including a full CPU design built from the ground up).

The course emphasizes the relationships between applications programming, the theory of computation, real computers, and the field's history and evolution, including the nature of the contributions of Boole, Shannon, Turing, von Neumann, and others.

All the features of this course are available for free. People who are interested in digging deeper into the content may wish to obtain the textbook Computer Science: An Interdisciplinary Approach (upon which the course is based) or to visit the website introcs.cs.princeton.edu for a wealth of additional material.

This course does not offer a certificate upon completion.

Enroll now

What's inside

Syllabus

INFORMATION ABOUT LECTURES 1–10
This lesson provides information about the course Computer Science: Programming with a Purpose, which is the precursor to Computer Science: Algorithms, Theory, and Machines.
Read more
SORTING AND SEARCHING
We introduce and study classic algorithms for two fundamental problems, in the context of realistic applications. Our message is that efficient algorithms (binary search and mergesort, in this case) are a key ingredient in addressing computational problems with scalable solutions that can handle huge instances, and that the scientific method is essential in evaluating the effectiveness of such solutions.
STACKS AND QUEUES
Our introduction to data structures is a careful look at the fundamental stack and queue abstractions, including performance specifications. Then we introduce the concept of linked structures and focus on their utility in developing simple, safe, clear, and efficient implementations of stacks and queues.
SYMBOL TABLES
The symbol table abstraction is one of the most important and useful programmer's tools, s we illustrate with several examples in this lecture. Extending the scientific approach of the previous two lectures, we introduce and study binary search trees, a classic data structure that supports efficient implementations of this abstraction.
INTRODUCTION TO THE THEORY OF COMPUTING
The theory of computing helps us address fundamental questions about the nature of computation while at the same time helping us better understand the ways in which we interact with the computer. In this lecture, we introduce formal languages and abstract machines, focusing on simple models that are actually widely useful in practical applications.
TURING MACHINES
In 1936, Alan Turing published a paper that is widely hailed as one of the most important scientific papers of the 20th century. This lecture is devoted to the two far-reaching central ideas of the paper: All computational devices have equivalent computational power, and there are limitations to that power.
INTRACTABILITY
As computer applications expanded, computer scientists and mathematicians realized that a refinement of Turing's ideas is needed. Which computational problems can we solve with the resource limitations that are inescapable in the real world? As described in this lecture, this question, fundamentally, remains unanswered.
A COMPUTING MACHINE
Every programmer needs understand the basic characteristics of the underlying computer processor being used. Fortunately, the fundamental design of computer processors has changed little since the 1960s. In this lecture, we provide insights into how your Java code actually gets its job done by introducing an imaginary computer that is similar to both the minicomputers of the 1960s and the microprocessor chips found in today's laptops and mobile devices.
VON NEUMANN MACHINES
Continuing our description of processor design and low-level programming, we provide context stretching back to the 1950s and discuss future implications of the von Neumann machine, where programs and data are kept in the same memory. We examine in detail the idea that we design new computers by simulating them on old ones, something that Turing's theory guarantees will always be effective.
COMBINATIONAL CIRCUITS
Starting with a few simple abstractions (wires that can carry on/off values and switches that can control the values carried by wires), we address in this lecture the design of the circuits that implement computer processors. We consider gates that implement simple logical functions and components for higher-level functions, such as addition. The lecture culminates with a full circuit for an arithmetic/logic unit.
CENTRAL PROCESSING UNIT
In this lecture, we provide the last part of our answer to the question "How does a computer work?" by developing a complete circuit for a computer processor, where every switch and wire is visible. While vastly different in scale, this circuit, from a design point of view, has many of the same characteristics as the circuits found in your computer and your phone.

Good to know

Know what's good
, what to watch for
, and possible dealbreakers
Demystifies computation, building awareness of substantial intellectual underpinnings and rich history of computer science
Emphasizes relationships between applications programming, theory of computation, real computers, and the field's history and evolution
Taught by Robert Sedgewick and Kevin Wayne, recognized researchers and educators in computer science
Provides insights into the fundamental design of computer processors, crucial for understanding how code gets its job done
Introduces classic algorithms and theoretical models, fostering a deep understanding of computer science principles
Requires no prior knowledge of computer science, making it accessible to beginners in the field

Save this course

Save Computer Science: Algorithms, Theory, and Machines to your list so you can find it easily later:
Save

Reviews summary

Solid introduction to computer science fundamentals

Learners say that this Princeton University course gives a solid and comprehensive introduction to computer science. The instructors break down the fundamentals of algorithms, theory, and machines. They also tell the origin stories of the field, which students enjoy. While the course is short, it manages to pack in a lot of information in a short amount of time. The only downside is that it doesn't offer any programming assignments.
Varies depending on experience
"The course is very interesting. But, it also is very difficult from week 4 on."
"this was actually quite hard but knowledgable course .I learned a lot from this ."
"Beware the course goes really deep. It will only take quoted 20 hours if you merely watch the videos, skim through the textbook amd guess your way through the grading tests."
"The latter half covers theoretical concepts like the Turing Machine, Intractability and the design of the CPU."
Excellent introductory course
"Excellent introductory course to theoretical concepts of Computer Scirence."
"This is a very good course on general computer science theories."
"A solid introduction to Computer Science."
"The course is great and it really drills down to the basic of computers."
Not available
"Very elementary course in computer science."
"I Didn't get any Certificate"
"we are not provided any certificate"
"The book was a marvelous introduction to Computer Science."
None
"I really enjoyed this class - I wish it had weekly assignments like Programming with a Purpose and the Algorithms courses do."
"Programming assignments would have made the course more challenging and fun."
"The harder to gain the knowledge, the higher the chances it stays there for good."
"To sum up - just make this course harder to pass with more hands on exercises and circuits to build :)"
Relatively short
"This course is a life-changer for me."
"A short but very rich course"
"Its one thing to understand the content that you are delivering, its another to be able to package it into something that you can teach others."
"this course might require a healthy amount of work on your part."

Activities

Be better prepared before your course. Deepen your understanding during and after it. Supplement your coursework and achieve mastery of the topics covered in Computer Science: Algorithms, Theory, and Machines with these activities:
Review basic Java programming concepts
Ensure a strong foundation by refreshing your knowledge of basic Java programming concepts.
Browse courses on Java Programming
Show steps
  • Review online tutorials or documentation.
  • Solve simple coding exercises.
Join a study group for combinatorial circuits
Engage with other learners and solidify your understanding of combinatorial circuits through group discussions and problem-solving.
Show steps
  • Find or create a study group with peers.
  • Review course materials and prepare questions.
  • Meet regularly to discuss concepts and solve problems.
Read Introduction to the Theory of Computing
Expand your knowledge by delving into the foundations of theoretical computer science with this classic textbook.
Show steps
  • Read a chapter and summarize the key concepts.
  • Solve the chapter's exercises.
Five other activities
Expand to see all activities and additional details
Show all eight activities
Practice binary search and mergesort
Reinforce your understanding of classic algorithms by solving problems on platforms like LeetCode or HackerRank.
Browse courses on Sorting and Searching
Show steps
  • Choose a problem related to binary search or mergesort.
  • Implement the algorithm in your preferred programming language.
  • Test your implementation with various inputs.
Build a linked list from scratch
Deepen your understanding of data structures by implementing a linked list from scratch in your preferred programming language.
Show steps
  • Design the node structure for your linked list.
  • Implement the basic operations (e.g., add, remove, search).
  • Test your implementation with various inputs.
Develop a presentation on von Neumann machines
Demonstrate your understanding of computer architecture by creating a presentation that explains the principles of von Neumann machines.
Browse courses on Computer Architecture
Show steps
  • Research the topic and gather relevant information.
  • Create visual aids and organize your presentation.
  • Practice delivering your presentation.
Build a virtual machine simulator
Develop a deeper understanding of processor design by building a simulator for a simple virtual machine.
Browse courses on Turing Machines
Show steps
  • Choose a tutorial or online resource.
  • Implement the basic components of the virtual machine.
  • Test your simulator with various programs.
Implement a small compiler
Challenge yourself by building a fully functional compiler for a simple programming language.
Browse courses on Compilers
Show steps
  • Design the syntax and semantics of your language.
  • Implement the lexical analyzer and parser.
  • Generate intermediate code or assembly.

Career center

Learners who complete Computer Science: Algorithms, Theory, and Machines will develop knowledge and skills that may be useful to these careers:
Computer Architect
Computer Architects design and develop the hardware and software that make up computers. This course may be useful for Computer Architects because it provides a deep understanding of machine architecture, including machine-language programming and logic design.
Computer Scientist
Computer Scientists conduct research in the field of computer science and develop new technologies. This course may be useful for Computer Scientists because it provides a broad overview of computer science, including algorithms, theory, and machines, which are essential for conducting research in the field.
Machine Learning Engineer
Machine Learning Engineers design and develop machine learning models to solve real-world problems. This course may be useful for Machine Learning Engineers because it covers the theoretical foundations of computation, including Turing machines and intractability, which are essential for understanding the limitations and capabilities of machine learning.
Artificial Intelligence Engineer
Artificial Intelligence Engineers design and develop artificial intelligence systems. This course may be useful for Artificial Intelligence Engineers because it provides a strong foundation in algorithms, theory, and machines, which are essential for understanding and developing artificial intelligence systems.
Information Security Analyst
Information Security Analysts plan and implement security measures to protect an organization's computer systems and data. This course may be useful for Information Security Analysts because it provides a strong foundation in computer science principles, including algorithms, theory, and machines, which are essential for understanding and protecting computer systems.
Data Scientist
Data Scientists use data to solve business problems and make predictions. This course may be useful for Data Scientists because it provides a strong foundation in algorithms, theory, and machines, which are essential for understanding and manipulating data.
Robotics Engineer
Robotics Engineers design, build, and maintain robots. This course may be useful for Robotics Engineers because it provides a strong foundation in computer science principles, including algorithms, theory, and machines, which are essential for understanding and developing robots.
Data Analyst
Data Analysts collect, analyze, and interpret data to help organizations make informed decisions. This course may be useful for Data Analysts because it provides a strong foundation in algorithms, theory, and machines, which are essential for understanding and manipulating data.
Web Developer
Web Developers design and develop websites and web applications. This course may be useful for Web Developers because it provides a foundation in computer science principles, including algorithms, theory, and machines, which are essential for understanding and developing web applications.
Computer Systems Analyst
Computer Systems Analysts study an organization's current computer systems and procedures, and design ways to make them more efficient and effective. This course may be useful for Computer Systems Analysts because it provides a solid foundation in computer science principles, including algorithms, theory, and machines.
Database Administrator
Database Administrators maintain and optimize databases, ensuring that data is accurate, secure, and accessible. This course may be useful for Database Administrators because it covers data structures, including symbol tables and binary search trees, which are essential for managing and organizing data.
Systems Administrator
Systems Administrators maintain and operate computer systems and networks. This course may be useful for Systems Administrators because it provides a solid foundation in computer science principles, including algorithms, theory, and machines, which are essential for understanding and managing computer systems.
Computer Programmer
Computer Programmers write and maintain computer programs. This course may be useful for Computer Programmers because it provides a broad overview of computer science, including algorithms, theory, and machines, which are essential for understanding and developing computer programs.
Software Developer
Software Developers design, develop, test, and maintain software applications. This course may be useful for Software Developers because it provides a broad overview of computer science, including algorithms, theory, and machines, which are essential for understanding and developing software systems.
Software Engineer
Software Engineers design, develop, test, and maintain computer systems and applications. This course may be useful for Software Engineers because it introduces the broader discipline of computer science, covering classic algorithms, theoretical models, machine architecture, and logic design.

Reading list

We've selected 15 books that we think will supplement your learning. Use these to develop background knowledge, enrich your coursework, and gain a deeper understanding of the topics covered in Computer Science: Algorithms, Theory, and Machines.
Is an excellent supplement to the course. It provides a comprehensive overview of algorithms and their applications, and it is written in a clear and engaging style. The book covers a wide range of topics, including sorting, searching, graph algorithms, and dynamic programming.
Classic reference on the theory of computation. It provides a comprehensive overview of the field, and it is written in a clear and concise style. The book covers a wide range of topics, including automata theory, formal languages, and computability.
Classic reference on computer architecture. It provides a comprehensive overview of the field, and it is written in a clear and concise style. The book covers a wide range of topics, including processor design, memory systems, and I/O devices.
Classic reference on logic and computer design. It provides a comprehensive overview of the field, and it is written in a clear and concise style. The book covers a wide range of topics, including digital logic, combinational circuits, and sequential circuits.
Provides a comprehensive overview of discrete mathematics, which foundation for many areas of computer science. It covers a wide range of topics, including set theory, logic, graph theory, and combinatorics.
Provides a comprehensive overview of data structures and algorithms, with a focus on Java implementations. It covers a wide range of topics, including arrays, linked lists, stacks, queues, trees, and graphs.
Provides a comprehensive overview of computer networking, with a focus on the Internet. It covers a wide range of topics, including network protocols, routing, and security.
Provides a comprehensive overview of artificial intelligence, with a focus on modern techniques. It covers a wide range of topics, including search, planning, machine learning, and natural language processing.
Provides a comprehensive overview of quantum computing, with a focus on modern techniques. It covers a wide range of topics, including quantum bits, quantum gates, and quantum algorithms.
Provides a comprehensive overview of deep learning, with a focus on modern techniques. It covers a wide range of topics, including convolutional neural networks, recurrent neural networks, and transformers.
Provides a comprehensive overview of natural language processing, with a focus on Python implementations. It covers a wide range of topics, including text classification, sentiment analysis, and machine translation.
Provides a comprehensive overview of computer graphics, with a focus on modern techniques. It covers a wide range of topics, including 3D modeling, rendering, and animation.
Provides a comprehensive overview of robotics, with a focus on modern techniques. It covers a wide range of topics, including robot kinematics, dynamics, and control.
Provides a comprehensive overview of compiler construction, with a focus on modern techniques. It covers a wide range of topics, including lexical analysis, parsing, code generation, and optimization.

Share

Help others find this course page by sharing it with your friends and followers:

Similar courses

Here are nine courses similar to Computer Science: Algorithms, Theory, and Machines.
Introduction to Computer Science and Programming
Most relevant
Computer Science: Programming with a Purpose
Most relevant
Introduction to Computer Science and Programming Using...
Most relevant
Statistical Inference and Hypothesis Testing in Data...
Most relevant
Introduction to High-Performance and Parallel Computing
プログラミングしながら学ぶコンピュータサイエンス入門 : Introduction to Computer...
Programming a Quantum Computer with Qiskit
Modeling Climate Anomalies with Statistical Analysis
Principles of Computing (Part 2)
Our mission

OpenCourser helps millions of learners each year. People visit us to learn workspace skills, ace their exams, and nurture their curiosity.

Our extensive catalog contains over 50,000 courses and twice as many books. Browse by search, by topic, or even by career interests. We'll match you to the right resources quickly.

Find this site helpful? Tell a friend about us.

Affiliate disclosure

We're supported by our community of learners. When you purchase or subscribe to courses and programs or purchase books, we may earn a commission from our partners.

Your purchases help us maintain our catalog and keep our servers humming without ads.

Thank you for supporting OpenCourser.

© 2016 - 2024 OpenCourser