Hello Students, Today we are going to share all week evaluation and quiz answers of Game-playing AI with Swift for TensorFlow (S4TF) Cognitive Class Course Exam Answer started by Coursera completely free of cost. This is a certification course for every aspiring students.
If you did not get this course for free, you can apply for financial advertisements to get this course completely free.
Coursera, India’s largest learning platform, launched millions of free courses for students every day. These courses are from various recognized university, where industry experts and professors teach in a very good manner and in a more understandable manner.
Here, you will get the Game-playing AI with Swift for TensorFlow (S4TF) Cognitive Class Course Exam Answer in bold color which are given below.
These are the answers to Game-playing AI with Swift for TensorFlow (S4TF) Cognitive Class Course Exam Answer certification course. These answers have been updated recently and are 100% correct. The final exam is on Monday, April. All answers are 100%.
Module 1 Answers
Question 1)Which of the following platforms does Swift NOT run natively on?
- Linux
- Darwin
- Windows
- None of the above
Question 2 )What kind of IBM Cloud account doesn’t require payment information and doesn’t expire?
- Trial
- Lite
- Pay-as-you-go
Module 2 Answers
Question 1 )Which of the following companies did Chris Lattner work at after Apple?
- IBM
- Microsoft
- Amazon
- Tesla
Question 2) What kind of programming language is Swift?
- Interpreted
- Compiled to machine code
- Compiled to byte code
- Transpiled
Question3)For how many years was Swift in development before it was released to the public?
For how many years was Swift in development before it was released to the public?
4
Question 4) Which HTTP server for Swift will this course use?
- Perfect
- Kitura
- Swifter
- Vapor
Module 3 Answers
Question 1)How is the tic-tac-toe board stored?
- Row-major format
- Column-major format
Question 2)The “minimax” function returns the best move to take for a board state.
- True
- False
Question 3)Why does our implementation of Minimax keep track of the depth of the tree?
- Stop at a certain depth
- Memoize game states
- Take into account the “straightforwardness” of moves
Question 4)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.
- 9!
- 9^2
- 9^9
- 9*9
Module 4 Answers
Question 1)The cartpole game is what kind of problem?
Inverted Pendulum
Question 2)Why do we only train the network with the top 30% of episodes?
- To reduce training time with fewer samples
- To improve network performance with better samples
Question 3)The @differentiable function decorator is an example of an implementation of what technology/technique?
Data Structures
Question 4) OpenAI Gym…
- Provides easy-to-use game enviroments to test RL agents
- Ships with RL algorithms to use as agents
Module 5 Answers
Question 1)Which framework did we use to enable Swift to host HTTP servers?
Kitura
Question 2) Which swift file defines dependencies and other package details?
Package.swift
Question 3) The implementation of the 2048 game logic is made fast by:
- Using bitboards
- Pre-calculating moves and scores for rows
- Multi-threading
Question 4) Monte Carlo Tree Search is…
- Stochastic
- Guaranteed to always give the correct answer
Final Exam
Question 1 )Why would you want to use a single language, Swift, over many languages, each specialized for a certain task?
- It’s easier to maintain a codebase written in a single language.
- Swift is an expressive, performant, and open source language backed by a large company (Apple).
- It’s slow to facilitate communication between components in different languages.
- It reduces the amount of “reinventing the wheel” required across a codebase.
Question 2) Classes are passed by reference, and structs are always, indiscriminately passed by value.
- True
- False
Question 3 )Which tier(s) of IBM Cloud require payment information on file?
- Lite
- Trial
- Pay-as-you-go
Question 4 )Does Minimax plays perfectly all the time? If so, why?
- It’s trained on a lot of game data and learns how to play perfectly.
- It brute forces a solution based off of the rules of the game, and all possible future situations.
- It’s provided optimal heuristics.
- It doesn’t always play perfectly.
Question 5) A computed property is…
- A variable within a struct/class/enum.
- A function within a struct/class/enum that’s accessed like a property.
Question 6) Why is Reinforcement Learning important?
- It’s more accurate than other training methods.
- It can learn by trial and error.
- It doesn’t require as much data to learn from.
- It can play games.
Question 7 )What are some reasons Swift for TensorFlow is special?
- Swift now has a wrapper around TensorFlow, enabling machine learning development.
- Swift for TensorFlow can automatically differentiate complex functions.
- Swift for TensorFlow can optimize complex tensor operations.
Question 8)For what reasons did we implement monte carlo tree search in a time-bounded manner?
- To reduce the amount of time the algorithm takes to search.
- To search game states more if they’re closer to the end of a game.
- To make MCTS more accurate.
- To distribute the algorithm across threads.
Question 9) Why is Minimax penalized for looking at moves deeper into the game tree?
- To improve performance by looking at a more shallow game tree.
- So Minimax takes into account how straightforward a move is.
- To make Minimax more accurate.
Question 10) Why is Minimax penalized for looking at moves deeper into the game tree?
- To improve performance by looking at a more shallow game tree.
- So Minimax takes into account how straightforward a move is.
- To make Minimax more accurate.
Conclusion
Quizzes can be used to generate more interest among the students who want to learn in a competitive situation. Two such quizzes that work well with students in the middle school year level include “The Hollow Square Quiz” and “The Hollow Circle Quiz.” The second quiz is called “The Student Created Quiz”, which can be used as part of the revision program. From our website the student of each group will be get quiz answers on that topic.