Sunday , November 15 2026
Breaking News

Deep Learning with TensorFlow Cognitive Class Answers (Module Quizzes + Final Exam)

Deep Learning with TensorFlow quiz and final exam answers

These are the answers to the module quizzes and final exam of Deep Learning with TensorFlow, a free course from IBM’s Cognitive Class (IBM Skills Network). Use them to check your understanding as you work through the course.

Course at a glance

  • Provider: Cognitive Class (IBM Skills Network)
  • Cost: Free
  • Credential: IBM digital badge after passing the final exam (check the course page for current requirements)
  • Official course: cognitiveclass.ai
  • Answers reviewed: November 2026

IBM sometimes updates its question banks and retires older courses. If a question here doesn’t match your quiz, leave a comment and we’ll update it.

Question 1: Which statement is FALSE about TensorFlow?

  • TensorFlow is well suited for handling Deep Learning Problems
  • TensorFlow library is not proper for handling Machine Learning Problems
  • TensorFlow has a C/C++ backend as well as Python modules
  • TensorFlow is an opensource library
  • All of the above

Question 2: What is a Data Flow Graph?

  • A representation of data dependencies between operations
  • A cartesian (x,y) chart
  • A graphics user interface
  • A flowchart describing an algorithm
  • None of the above

Question 3: What is the main reasons of increasing popularity of Deep Learning?

  • The advances in machine learning algorithms and research.
  • The availability of massive amounts of data for training computer systems.
  • The dramatic increases in computer processing capabilities.
  • All of the above

Question 4: Which statement is TRUE about TensorFlow?

  • Runs on CPU and GPU
  • Runs on CPU only
  • Runs on GPU only

Question 5: Why is TensorFlow the proper library for Deep Learning?

  • It will benefit from TensorFlow’s auto-differentiation and suite of first-rate optimizers
  • It provides a collection of trainable mathematical functions that are useful for neural networks.
  • It has extensive built-in support for deep learning
  • All of the above

Question 1: What can be achieved with “convolution” operations on Images?

  • Noise Filtering
  • Image Smoothing
  • Image Blurring
  • Edge Detection
  • All of the above

Question 2: For convolution, it is better to store images in a TensorFlow Graph as:

  • Placeholder
  • CSV file
  • Numpy array
  • Variable
  • None of the above

Question 3: Which of the following statements is TRUE about Convolution Neural Networks (CNNs)?

  • CNN can be applied ONLY on Image and Text data
  • CNN can be applied on ANY 2D and 3D array of data
  • CNN can be applied ONLY on Text and Speech data
  • CNN can be applied ONLY on Image data
  • All of the above

Question 4: Which of the following Layers can be part of Convolution Neural Networks (CNNs)

  • Dropout
  • Softmax        
  • Maxpooling
  • Relu
  • All of the above

Question 5: The objective of the Activation Function is to:

  • Increase the Size of the Network
  • Handle Non-Linearity in the Network
  • Handle Linearity in the Network
  • Reduce the Size of the Network
  • None of the above

Question 1: What is a Recurrent Neural Network?

  • A Neural Network that can recur to itself, and is proper for handling sequential data
  • An infinite layered Neural Network which is proper for handling structured data
  • A special kind of Neural Network to predict weather
  • A markovian model to handle temporal data

Question 2: What is NOT TRUE about RNNs?

  • RNNs are VERY suitable for sequential data.
  • RNNs need to keep track of states, which is computationally expensive.
  • RNNs are very robust against vanishing gradient problem.

Question 3: What application(s) is(are) suitable for RNNs?

  • Estimating temperatures from weather data
  • Natural Language Processing
  • Video context retriever
  • Speech Recognition
  • All of the above

Question 4: Why are RNNs susceptible to issues with their gradients?

  • Numerical computation of gradients can drive into instabilities
  • Gradients can quickly drop and stabilize at near zero
  • Propagation of errors due to the recurrent characteristic
  • Gradients can grow exponentially
  • All of the above

Question 5: What is TRUE about LSTM gates?

  • The Read Gate in LSTM, determine how much old information to forget
  • The Write Gate in LSTM, reads data from the memory cell and sends that data back to the network.
  • The Forget Gate, in LSTM maintains or deletes data from the information cell.
  • The Read Gate in LSTM, is responsible for writing data into the memory cell.

Question 1: What is the main application of RBM?

  • Data dimensionality reduction
  • Feature extraction
  • Collaborative filtering
  • All of the above

Question 2: How many layers does an RBM (Restricted Boltzmann Machine) have?

  • Infinite
  • 4
  • 2
  • 3
  • All of the above

Question 3: How does an RBM compare to a PCA?

  • RBM cannot reduce dimensionality
  • PCA cannot generate original data
  • PCA is another type of Neural Network
  • Both can regenerate input data
  • All of the above

Question 4: Which statement is TRUE about RBM?

  • It is a Boltzmann machine, but with no connections between nodes in the same layer
  • Each node in the first layer has a bias
  • The RBM reconstructs data by making several forward and backward passes between the visible and hidden layers
  • At the hidden layer’s nodes, X is multiplied by a W (weight matrix) and added to h_bias
  • All of the above

Question 5: Which statement is TRUE statement about an RBM?

  • The objective function is to maximize the likelihood of our data being drawn from the reconstructed data distribution
  • The Negative phase of an RBM decreases the probability of samples generated by the model
  • Contrastive Divergence (CD) is used to approximate the negative phase of an RBM
  • The Positive phase of an RBM increases the probability of training data
  • All of the above

Question 1: What is the difference between Autoencoders and RBMs?

  • Autoencoders are used for supervised learning, but RBMs are used for unsupervised learning.
  • Autoencoders use a deterministic approach, but RBMs use a stochastic approach.
  • Autoencoders have less layers than RBMs.
  • All of the above

Question 2: Which of the following problems cannot be solved by Autoencoders:

  • Dimensionality Reduction
  • Time series prediction
  • Image Reconstruction
  • Emotion Detection
  • All of the above

Question 3: What is TRUE about Autoencoders:

  • Help to Reduce the Curse of Dimensionality
  • Used to Learn the Most important Features in Data
  • Used for Unsupervised Learning
  • All of the Above

Question 4: What are Autoencoders:

  • A Neural Network that is designed to replace Non-Linear Regression
  • A Neural Network that is trained to attempt to copy its input to its output
  • A Neural Network that learns all the weights by using labelled data
  • A Neural Network where different layer inputs are controlled by gates
  • All of the Above

Question 5: What is a Deep Autoencoder:

  • An Autoencoder with Multiple Hidden Layers
  • An Autoencoder with multiple input and output layers
  • An Autoencoder stacked with Multiple Visible Layers
  • An Autoencoder stacked with over 1000 layers
  • None of the Above

Question 1: Why use a Data Flow graph to solve Mathematical expressions?

  • To create a pipeline of operations and its corresponding values to be parsed
  • To represent the expression in a human-readable form
  • To show the expression in a GUI
  • Because it is the only way to solve mathematical expressions in a digital computer
  • None of the above

Question 2: What is an Activation Function?

  • A function that triggers a neuron and generates the outputs
  • A function that models a phenomenon or process
  • A function to normalize the output
  • All of the above
  • None of the above

Question 3: Why is TensorFlow considered fast and suitable for Deep Learning?

  • It is suitable to operate over large multi-dimensional tensors
  • It runs on CPU
  • Its core is based on C++
  • It runs on GPU
  • All of the above

Question 4: Can TensorFlow replace Numpy?

  • None of the above
  • No, whatsoever
  • With only Numpy we can’t solve Deep Learning problems, therefore, TensorFlow is required
  • Yes, completely
  • Partially for some operations on tensors, such as minimization

Question 5: What is FALSE about Convolution Neural Networks (CNNs)?

  • They fully connect to all neurons in all of the layers
  • They connect only to neurons in the local region (kernel size) of input images
  • They build feature maps hierarchically in every layer
  • They are inspired by human visual systems
  • None of the above

Question 6: What is the meaning of “Strides” in Maxpooling?

  • The number of pixels the kernel should add
  • The number of pixels the kernel should move
  • The size of the kernel
  • The number of pixels the kernel should remove
  • None of the above

Question 7: What is TRUE about “Padding” in Convolution?

  • size of the input image is reduced for the “VALID” padding
  • Size of the input image is reduced for the “SAME” padding
  • Size of the input image is increased for the “SAME” padding
  • Size of the input image is increased for the “VALID” padding
  • All of the above

Question 8: Which of the following best describes the Relu Function?

  • (-1,1)
  • (0,5)
  • (0, Max)
  • (-inf,inf)
  • (0,1)

Question 9: Which are types of Recurrent Neural Networks? (Select all that apply)

  • LSTM
  • Hopfield Network
  • Recursive Neural Network
  • Deep Belief Network
  • Elman Networks and Jordan Networks

Question 10: Which is TRUE about RNNs?

  • RNNs can predict the future
  • RNNs are VERY suitable for sequential data
  • RNNs are NOT suitable for sequential data
  • RNNs are ONLY suitable for sequential data
  • All of the above

Question 11: What is the problem with RNNs and gradients?

  • Numerical computation of gradients can drive into instabilities
  • Gradients can quickly drop and stabilize at near zero
  • Propagation of errors due to the recurrent characteristic
  • Gradients can grow exponentially
  • All of the above

Question 12: What type of RNN would you use in an NLP project to predict the next word in a phrase? (only one is correct)

  • Bi-directional RNN
  • Neural history compressor
  • Long Short-Term Memory
  • Echo state network
  • None of the above

Question 13: Which one does NOT happen in the “forward pass” in RBM?

  • Making a deterministic decision about returning values into network.
  • Multiplying inputs by weights, and adding an overall bias, in each hidden unit.
  • Applying an activation function on the results in hidden units.
  • Feeding the network with the input images converted to binary values.

Question 14: Which one IS NOT a sample of CNN application?

  • Creating art images using pre-trained models
  • Object Detection in images
  • Coloring black and white images
  • Predicting next word in a sentence

Question 15: Select all possible uses of Autoencoders and RBMs (select all that apply):

  • Clustering
  • Pattern Recognition
  • Dimensionality Reduction
  • Predict data in time series

Question 16: Which technique is proper for solving Collaborative Filtering problem?

  • DBN
  • RBM
  • CNN
  • RNN

Question 17: Which statement is TRUE for training Autoencoders?

  • The Size of Last Layer must be at least 10% of the Input Layer Dimension
  • The size of input and Last Layers must be of the Same Dimensions
  • The Last Layer must be Double the size of Input Layer Dimension
  • The Last Layer must be half the size of Input Layer Dimension
  • None of the Above

Question 18: To Design a Deep Autoencoder Architecture, what factors are to be considered?

  • The size of the centre-most layer has to be close to number of Important Features to be extracted
  • The centre-most layer should have the smallest size compared to all other layers
  • The Network should have an odd number of layers
  • All the layers must be symmetrical with respect to the centre-most layer
  • All of the Above

Question 19: With is TRUE about Back-Propogation?

  • It can be used to train LSTMs
  • It can be used to train CNNs
  • It can be used to train RBMs
  • It can be used to train Autoencoders
  • All of the Above

Question 20: How can Autoencoders be improved to handle highly non-linear data?

  • By using Genetic Algorithms
  • By adding more Hidden Layers to the Network
  • By using Higher initial Weight Values
  • By using Lower initial Weight Values
  • All of the Above

Introduction to Deep Learning with TensorFlow

Deep learning is a subset of machine learning that deals with algorithms inspired by the structure and function of the brain’s neural networks. TensorFlow is one of the most popular frameworks for building and training deep learning models. It’s developed by Google and offers a comprehensive ecosystem of tools and resources for developing and deploying machine learning and deep learning applications.

Here’s a brief introduction to getting started with Deep Learning using TensorFlow:

  1. Understanding Neural Networks: Deep learning models are built upon neural networks, which are computing systems inspired by the biological neural networks of animal brains. These networks consist of interconnected nodes (neurons) organized into layers.
  2. TensorFlow Basics: TensorFlow represents computations as data flow graphs, where nodes represent operations, and edges represent the flow of data between operations. You define and execute these graphs using TensorFlow’s APIs.
  3. Installation: You can install TensorFlow using Python’s pip package manager. The latest version can be installed using the command: pip install tensorflow
  4. Building Your First Neural Network: Start with a simple example, like the MNIST dataset, which consists of grayscale images of handwritten digits (0 through 9). Build a neural network to classify these digits.
  5. TensorFlow High-Level APIs: TensorFlow provides high-level APIs like Keras, which simplifies the process of building and training neural networks. Keras is now tightly integrated with TensorFlow and is the recommended API for most deep learning tasks.
  6. Model Training: Once you’ve defined your model architecture, you need to train it on your data. This involves feeding your training data through the model, calculating the loss (error), and adjusting the model’s weights using optimization algorithms like Stochastic Gradient Descent (SGD) to minimize the loss.
  7. Evaluation and Testing: After training your model, you need to evaluate its performance on a separate validation dataset to ensure it’s not overfitting. You can also test the model on unseen data to assess its generalization ability.
  8. Deployment: Once you’re satisfied with your model’s performance, you can deploy it to production environments. TensorFlow provides tools for deploying models on various platforms, including servers, mobile devices, and the web.
  9. Advanced Topics: As you become more familiar with TensorFlow, you can explore advanced topics like convolutional neural networks (CNNs) for image recognition, recurrent neural networks (RNNs) for sequential data, transfer learning, and reinforcement learning.

By mastering TensorFlow, you can leverage the power of deep learning to solve a wide range of complex problems across various domains, including computer vision, natural language processing, and reinforcement learning.

More questions from other versions of this course

Students have also reported these questions for this course. They may come from an earlier or later version of the quiz.

Question 1: Which statement about TensorFlow is FALSE?

  • TensorFlow is well suitable for Deep Learning Problems
  • TensorFlow is not proper for Machine Learning Problems
  • TensorFlow has a C/C++ backend as well as Python modules incorrect
  • TensorFlow is an open source library
  • All of the above

Question 2: Which function is NOT used as an Activation Function?

  • sigmoid()
  • softplus()
  • sin()
  • tanh()
  • relu()

Question 3: Which statement about TensorFlow is TRUE?

  • runs on FPGA
  • runs on CPU only
  • runs on CPU and GPU
  • runs on GPU only

Question 4: Why TensorFlow is proper library for Deep Learning?

  • It will benefit from TensorFlow’s auto-differentiation and suite of first-rate optimizers.
  • Provides helpful tools to assemble subgraphs common in neural networks and deep learning
  • TensorFlow has extensive built-in support for deep learning
  • All of the above

Question 5: What can be achieved with “Convolution” operation on Images?

  • Noise Filtering
  • Image Smoothing
  • Image Blurring
  • Edge Detection
  • All of the above

Question 6: For convolution, it is better to store Images in TensorFlow Graph as:

  • Placeholder
  • CSV file
  • Numpy array
  • Variable
  • None of the above

Question 7: Which of the following statements is TRUE about Convolution Neural Networks (CNN)?

  • CNN can be applied Only on Image and Text data.
  • CNN can be applied on ANY 2D and 3D array of data
  • CNN can be applied Only on Text and speech data.
  • CNN can be applied Only on Image data.
  • All of the above

Question 8: Which of the following Layers can be part of Convolution Neural Networks (CNN)

  • Dropout
  • Softmax
  • Maxpooling
  • Relu
  • All of the above

Question 9: Objective of Activation Function is to:

  • Increase the Size of Network
  • Handle Non-Linearity in the Network
  • Handle Linearity in the Network
  • Reduce the Size of Network
  • None of the above

Question 10: What is TRUE about RNNs?

  • RNNs are VERY suitable for sequential data
  • RNNs are NOT suitable for sequential data
  • RNNs are ONLY suitable for sequential data
  • All of the above

Question 11: Why RNNs are susceptible to issues with their gradients?

  • Numerical computation of gradients can drive into instabilities
  • Gradients can quickly drop and stabilize at near zero
  • Propagation of errors due to the recurrent characteristic
  • Gradients can grow exponentially
  • All of the above

Question 12: What LSTM Stands for?

  • Last State Threshold Model
  • Limit Sinusoidal Term Memory
  • Long Short Term Memory
  • Least Squares Topological Minimization
  • None of the above

Question 13: What things we can do with unsupervised learning?

  • Data dimensionality reduction
  • Object recognition
  • Feature extraction
  • Pattern recognition
  • All of the above

Question 14: How many layers has a RBM (Restricted Boltzmann Machine)?

  • Infinte
  • 4
  • 2
  • 3
  • All of the above

Question 15: How RBM compares to PCA?

  • RBM cannot reduce dimensionality
  • PCA cannot generate original data
  • PCA is another type of Neural Network
  • Both can regenerate input data
  • All of the above

Question 16: Select the True statement about Restricted means in RBM?

  • It is a Boltzmann machine, but with no connections between nodes in the same layer
  • Each node in the first layer has a bias.
  • The RBM reconstructs data by making several forward and backward passes between the visible and hidden layers.
  • At the hidden layer’s nodes, X is multiplied by a W (weight matrix) and added to h_bias.
  • All of the above

Question 17: Select the TRUE statement about RBM:

  • The objective function is to maximize the likelihood of our data being drawn from the reconstructed data distribution
  • The Negative phase of RBM decreases the probability of samples generated by the model.
  • Contrastive Divergence (CD) is used to approximate the negative phase of RBM.
  • The Positive phase of RBM increases the probability of training data.
  • All of the above

Question 18: Autoencoders are also known as:

  • LSTM Networks
  • Diabolo Networks
  • Deep Belief Network
  • Siamese networks
  • None of the above

Question 19: Why TensorFlow is considered fast and suitable for Deep Learning?

  • it is suitable to operate over large and multidimensional tensors
  • runs on CPU
  • its core is based on C++
  • runs on GPU
  • All of the above

Question 20: TensorFlow can replace Numpy?

  • None of the above
  • No, whatsoever incorrect
  • Only with numpy, we can’t solve Deep Learning problems, therefore TensorFlow is required
  • Yes, completely
  • Partially for some operations on tensors, such as minimization

Question 21: What is FALSE about Convolution Neural Networks(CNN)

  • Fully connects to all neurons in all the layers
  • connects only to neurons in local region(kernel size) of input image
  • builds feature maps hierarchically in every layer
  • Inspired by human visual system incorrect
  • None of the above

Question 22: What does “Strides” in Maxpooling Mean

  • The number of pixels, kernel should add.
  • The number of pixels, kernel should be moved.
  • The size of kernel.
  • The number of pixels, kernel should remove.
  • None of the above

Question 23: Which of the following best describes Relu Function

  • (-1,1)
  • (0,5)
  • (0, Max)
  • (-inf,inf)
  • (0,1)

Question 24: Which ones are types of Recurrent Neural Networks?

  • Hopfield Network
  • Elman Networks and Jordan Networks
  • Recursive Neural Network
  • Deep Belief Network
  • LSTM

Question 25: What type of RNN would you use in a NLP project to predict the next work in a phrase? (only one is correct)

  • Bi-directional RNN
  • Neural history compressor
  • Long Short Term Memory
  • Echo state network
  • None of the above

Question 26: How RBM can reduce the number of features?

  • By transforming the features using a kernel function
  • By randomly filtering out a few features then checking if the input can be regenerated
  • By minimizing the difference between inputs and outputs, while weighting the features in the
  • By cutting of features with less variance
  • All of the above

Question 27: How Autoencoders compares to K-means?

  • Autoencoders are always faster than k-means
  • Both are based on Neural Networks
  • K-Means is always better than Autoencoders
  • Both can cluster the data
  • None of the Above

Question 28: Select all possible uses of Autoencoders and RBM (select all that applies)

  • Predict data in time series
  • Pattern Recognition
  • Dimensionality Reduction
  • Clustering
  • All of the above

Question 29: What is TRUE about Collaborative Filtering

  • it is a technique used by Recommender Systems
  • None of the Above
  • It makes automatic predictions for a user by collecting information from many users
  • RBM can be used to implement a collaborative filter
  • It is Deep Neural Network

Question 30: Which of the statements is TRUE for training Autoencoders:

  • The Size of Last Layer must atleast be 10% of Input layer DImension
  • The size of input and Last Layers must be of Same dimensions
  • The Last Layer must be Double the size of Input Layer Dimension
  • The Last Layer must be half the size of Input Layer Dimension
  • None of the Above.

Question 31: How Autoencoder can be Improved to handle Higly nonlinear Data:

  • Use Genetic Algorithms
  • Add more Hidden Layers to the Network
  • Use Higher initial Weight Values
  • Use lower initial weight Values
  • All of the Above

Question 32: Deep Learning with TensorFlow is a vast field that encompasses using Google’s TensorFlow library to build and train neural networks for various tasks such as image recognition, natural language processing, and more. TensorFlow is one of the most popular deep learning frameworks due to its flexibility, scalability, and extensive community support.
To get started with Deep Learning using TensorFlow, here’s a high-level roadmap:

  • Installation: Install TensorFlow on your system using pip or Anaconda. Make sure you have the correct version compatible with your hardware (CPU, GPU) and operating system.
  • Basics of TensorFlow: Familiarize yourself with the basics of TensorFlow, such as tensors, operations, graphs, sessions, and variables. TensorFlow operates by building a computational graph that defines the operations and the flow of data.
  • Building Models: Start building simple models using TensorFlow’s high-level APIs like Keras. Keras provides a user-friendly interface for building neural networks, allowing you to quickly prototype models.
  • Data Preparation: Prepare your data for training. This involves data preprocessing steps like normalization, splitting data into training and validation sets, and possibly augmenting the data to increase the size of your training dataset.
  • Model Training: Train your model using TensorFlow. Define the architecture of your neural network, choose an appropriate loss function and optimizer, and train the model on your training data.
  • Evaluation: Evaluate the performance of your model on the validation set to assess its accuracy, precision, recall, etc. Use metrics relevant to your specific task.
  • Fine-tuning and Optimization: Experiment with different hyperparameters, model architectures, and optimization techniques to improve the performance of your model. Techniques like dropout, batch normalization, and learning rate scheduling can help in fine-tuning.
  • Deployment: Once you’re satisfied with your model’s performance, deploy it for inference on new data. This could involve exporting the trained model, setting up an inference pipeline, and integrating it into your application or system.

Frequently asked questions

Is Deep Learning with TensorFlow on Cognitive Class free?

Yes. Cognitive Class courses are free; you only need to create a free account.

Do I get a certificate?

Cognitive Class awards an IBM digital badge (issued through Credly) when you pass the final exam with the required score. You can add it to LinkedIn and your résumé.

About Priya Dogra

Priya Dogra runs priyadogra.com, where she shares free certification courses, internships, jobs, scholarships and exam preparation guides for Indian students and freshers. Follow her on YouTube, LinkedIn and Instagram for the latest opportunities.

Check Also

Controlling Hadoop Jobs using Oozie Cognitive Class Answers (Module Quizzes + Final Exam)

Controlling Hadoop Jobs using Oozie quiz and final exam answers These are the answers to …

Leave a Reply

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