Pointers Arrays and Recursion

Rated 2.9 out of 5

The third course in the specialization Introduction to Programming in C introduces the programming constructs pointers arrays and recursion. Pointers provide control and flexibility when programming in C by giving you a way to refer to the location of other data.

Arrays provide a way to bundle data by guaranteeing sequences of data are grouped together. Finally recursive functions—functions that call themselves—provide an alternative to iteration that are very useful for implementing certain algorithms.

*****Note: Due to a recent spike in enrollments for the Introduction to Programming in C Specialization we are currently having technical difficulties with programming environment for this course which prevents some learners from completing the course's programming assignments. Until this matter is resolved we recommend you choose to audit (https://learner.coursera.help/hc/en-us/articles/209818613-Enrollment-options) this course and study the video lessons until this matter is resolved.

We will email all learners when this matter is resolved. We apologize for this inconvenience and are working diligently to remedy the problem.
Please note that this does not impact the first course of this Specialization Programming Fundamentals.

3 hours to complete
Pointers are one of the most important and powerful aspects of the C language. Pointers are critical to understanding arrays which let you manipulate sequences of data. They also give a programmer control and flexibility when programming enabling solutions that are clean and efficient. Some other languages use pointers implicitly—or pointer-like constructs—so understanding their use will make you a better programmer in any language.
5 videos (Total 16 min) 16 readings 3 quizzes

2 hours to complete
Arrays are sequences of memory of the same type that are guaranteed to be one after another. This is an incredibly useful data format enabling you to store many things together under one variable name. In this module you will learn how to use arrays to solve more complex problems and lay the groundwork for more complex data types.
5 videos (Total 18 min) 9 readings 1 quiz

4 hours to complete
Uses of Pointers
Now that you have mastered the basics of pointers and arrays it is time to see some important uses of them. In this module you will learn about how to manipulate strings and multi-dimensional arrays. You will also learn about function pointers which allow you to pass which function to call as the parameter of another function.
4 videos (Total 22 min) 18 readings 2 quizzes

2 hours to complete
By now you are familiar with iteration in which repetition is expressed in terms of loops. Another programming technique to accomplish similar ideas is recursion in which a more complex instance of a problem is expressed in terms of solutions to simpler instances of the problem. In this module you will learn how to read and write recursive code giving you another powerful option for how to approach programming problems.
9 videos (Total 34 min) 10 readings 1 quiz

2 hours to complete
Now that you have learned about pointers and arrays you will build on the code you wrote in Course 2 to build a deck of cards and evaluate a poker hand. In the next course you will complete the program to calculate poker odds with a Monte Carlo simulation.
5 readings

Tham gia đánh giá khóa học

Nếu bạn đã học qua khóa học này thì mời bạn tham gia đóng góp ý kiến và đánh giá để cộng đồng bạn học có thêm thông tin tham khảo.

Cung cấp bởi: Coursera /  Duke University

Thời lượng: 12 giờ
Ngôn ngữ giảng dạy: Tiếng Anh
Chi phí: Miễn phí / 0
Đối tượng: Beginner

Thông tin về nhà cung cấp

Coursera (/ kərˈsɛrə /) là một nền tảng học tập trực tuyến toàn cầu được thành lập vào năm 2012 bởi 2 giáo sư khoa học máy tính của đại học Stanford là Andrew NgDaphne Koller, nền tảng này cung cấp các khóa học trực tuyến (MOOC) cho cộng đồng người học online.

Coursera hợp tác với các trường đại học danh tiếng tại Bắc Mỹ và trên khắp thế giới, cùng với nhiều tổ chức khác để cung cấp các khóa học trực tuyến chất lượng, theo chuyên ngành và được cấp chứng chỉ trong nhiều lĩnh vực như kỹ thuật, khoa học dữ liệu, học máy, toán học, kinh doanh, khoa học máy tính, tiếp thị kỹ thuật số, nhân văn, y học, sinh học, khoa học xã hội , và nhiều ngành khác.

Các khóa học cùng chủ đề

Visual Perception for Self-Driving Cars

This course will introduce you to the main perception tasks in autonomous driving, static and dynamic object detection, and will survey common computer vision methods for robotic perception. By the...

Motion Planning for Self-Driving Cars

This course will introduce you to the main planning tasks in autonomous driving, including mission planning, behavior planning and local planning. By the end of this course, you will be...

Capstone: Autonomous Runway Detection for IoT

This capstone project course ties together the knowledge from three previous courses in IoT though embedded systems: Development of Real-Time Systems Web Connectivity & Security and Embedded Hardware and Operating...

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top