Viva Questions 2023
Viva Questions 2023
A: AI is the simulation of human intelligence in machines that can perform tasks requiring human-like thinking.
A: To automate tasks, enhance decision-making, and create intelligent systems for real-world applications.
A: By downloading from the official Python website and setting it up using an installer.
A: A structure like if, else, and elif used to perform different actions based on conditions.
A: A file containing Python code, which can include functions, classes, and variables.
A: A subset of AI that enables systems to learn from data and improve performance.
18. Q: What are the types of Machine Learning?
A: Supervised learning uses labeled data, while unsupervised learning works with unlabeled data.
Module 4: AI in Gaming
A: Minimax algorithm.
A: A game where players take coins, and the player forced to take the last coin loses.
A: The process of transforming raw data into meaningful features for ML.
A: Learning through trial and error using feedback from the environment.
A: Collections of modules grouped together for specific tasks, like NumPy or pandas.
A: Shallow copies copy references, while deep copies duplicate objects entirely.
A: By importing the re module and using functions like search(), match(), and findall().
57. Q: How can you import a specific function from a Python module?
A: Sequences of data processing steps used before feeding data into a model.
A: By imputing values, such as mean, median, or using advanced methods like k-NN.
A: A technique to evaluate model performance by splitting data into training and testing sets.
A: A hyperparameter that controls how much to adjust the weights during training.
A: Data collection, preprocessing, feature engineering, model selection, training, evaluation, and deployment.
A: Using tools like scikit-learn’s Pipeline class for transformations and model training.
A: By splitting the dataset into k subsets, training on k-1, and validating on the remaining subset.
A: Selecting the most relevant features for model building to reduce dimensionality.
A: Save the model, build a REST API using Flask/Django, and host it on a cloud platform.
93. Q: How is a bot developed for the “Last Coin Standing” game?
A: To train bots that learn optimal actions by interacting with the environment.
A: Using a game board represented by arrays and logic for valid moves and winning conditions.
A: Using loops and conditional statements to compare user guesses to a random target number.