Group Homework Discussion Day 6

Overview

Teaching: 0 min
Exercises: 60 min
Questions
  • What’s the homework discussion for day 6?

Objectives
  • Discuss the strengths/weakness of C++ vs. Python

Lesson Contents

Discussion questions

  1. What kinds of projects are best suited for C++? What about Python?

  2. Can you think of a use case for mixing both languages (that is, a single project that somehow uses both C++ and Python)? What would each language do in such a project?

  3. We have now seen the Monte-Carlo method and the Riemann Sum method for approximating integrals. You will notice that the number of integration points for the Riemann Sum method is much less than the Monte-Carlo method. Why would you ever use the Monte-Carlo method?

Key Points