Are you looking for Game-playing AI with Swift for TensorFlow (S4TF) Final Exam Answers by Cognitive Class? If yes, this article will help you find all the questions and answers that have been asked in the Cognitive Class Game-playing AI with Swift for TensorFlow (S4TF) Final Exam quiz.
In this course, you learn how to install Istio alongside microservices for a simple mock app called Guestbook. When you deploy Guestbook’s microservices into an IBM Cloud Kubernetes Service cluster where Istio is installed, you inject the Istio Envoy sidecar proxies in the pods of each microservice.
Note: Some configurations and features of the Istio platform are still under development and are subject to change based on user feedback. Allow a few months for stabilization before you use Istio in production.
Min % To Pass | 80% |
Final exam % To Pass | 50% |
Review questions % To Pass | 50% |
Final Exam Time Limit | 1hr |
Max Attempt For Each Question | 2 |
Game-playing AI with Swift for TensorFlow (S4TF) | Click Here |

Module 1 – Set up your environment Answers
1. What kind of IBM Cloud account doesn’t require payment information and doesn’t expire?
2. Which of the following platforms does Swift NOT run natively on?
Module 2 – Understanding Swift’s basics Answers
1. Which of the following companies did Chris Lattner work at after Apple?
2. For how many years was Swift in development before it was released to the public?
3. What kind of programming language is Swift?
4. Which HTTP server for Swift will this course use?
Module 3 – Tic Tac Toe (Minimax) Answers
1. Why does our implementation of Minimax keep track of the depth of the tree?
2. How is the tic-tac-toe board stored?
3. If minimax started from a blank board and had to calculate the best possible move, how many board states would it evaluate? For the sake of mathematical simplicity, assume the board must be filled completely to be considered “over” – players cannot win.
4. The “minimax” function returns the best move to take for a board state.
Module 4 – Cartpole (Reinforcement Learning) Answers
1. The cartpole game is what kind of problem?
2. The @differentiable function decorator is an example of an implementation of what technology/technique?
3. Why do we only train the network with the top 30% of episodes?
4. OpenAI Gym…
Module 5 – 2048 (Monte Carlo Tree Search) Answers
1. The implementation of the 2048 game logic is made fast by:
2. Which framework did we use to enable Swift to host HTTP servers?
3. Monte Carlo Tree Search is…
4. Which swift file defines dependencies and other package details?
Final Exam – Game-playing AI with Swift for TensorFlow (S4TF)
Note: Final Exam is a Timed Exam (1 hour)
1. Which tier(s) of IBM Cloud require payment information on file?
2. Why would you want to use a single language, Swift, over many languages, each specialized for a certain task?
3. Does Minimax plays perfectly all the time? If so, why?
4. Classes are passed by reference, and structs are always, indiscriminately passed by value.
5. A computed property is…
6. Why is Minimax penalized for looking at moves deeper into the game tree?
7. Why is Reinforcement Learning important?
8. Swift for TensorFlow is interoperable with Python, because Python’s written in C
9. What are some reasons Swift for TensorFlow is special?
10. For what reasons did we implement monte carlo tree search in a time-bounded manner?
Wrap Up
I hope this article would be helpful for you to find all the “Cognitive Class Answers – Game-playing AI with Swift for TensorFlow (S4TF) Final Exam Answers”. If this article helped you learn something new for free, then share it on social media, let others know about this, and check out the other free courses we have shared here.