Interview Questions, Answers and Tutorials

TensorFlow Quiz

TensorFlow Quiz

  1. The independent variable is _________________ and is used to predict the changes in the dependent variable.
  • Not used in the model
  • Independent
  • Predictive
  • Explanatory

  1. While fitting linear regression model, ___________________ is minimized during training.
  • Accuracy
  • Entropy
  • Gradient
  • Loss

  1. The bias is not updated throughout the training process.
  • True
  • False

  1. Gradient Descent is an example of ____________________.
  • Optimizer
  • Machine Learning Model
  • Deep Learning Model
  • Tensor Flow Model

  1. Which of the function always maps the values between 0 and 1.
  • logit
  • RELU
  • tanh
  • sigmoid

  1. TensorFlow is based on _________________.
  • Dataflow Graph
  • Social Graph
  • Information Flow Graph
  • Insight Flow Graph

  1. What is a Tensor?
  • an activation function
  • a neural network
  • an n- dimensional array
  • a metric

  1. In TensorFlow computation graph, the nodes represent mathematical operations.
  • False
  • True

  1. Which of the following you use to update parameters when training the model in TensorFlow?
  • All the options
  • Variables
  • Constants
  • Placeholders

  1. TensorFlow performs necessary uplifting to perform gradient descent optimization.
  • False
  • True

  1. Dimension determines the number of coordinates required to locate a specific point.
  • True
  • False

  1. _________________ has only magnitude but no direction.
  • Matrix
  • Vector
  • Array
  • Scalar

  1. What does an edge represent in a data flow graph?
  • Data Flow
  • Insight Flow
  • Tensor
  • Information Flow

  1. Which one of the following you make use of when you want to pass the data from a source during session runtime?
  • Variable
  • placeholder

  1. What does a node represent in a data flow graph?
  • Mathematical Operation
  • Data Store
  • None of the options
  • Entity

  1. What methodology should you follow to close a TensorFlow session automatically in your code?
  • Use a Good CPU
  • Use a good GPU
  • Use a with block in the code
  • It should be closed manually

  1. Which one of the following would you use to initialize a constant in TensorFlow?
  • tf.init_const()
  • tf.const()
  • tf.variable()
  • tf.constant()

  1. Scalars are tensors of rank 0.
  • False
  • True

  1. Linear regression requires an activation function when calculating the output.
  • True
  • False

  1. Which of the following is minimized when you run tf.train.GradientDescentOptimizer().minimize()?
  • cost
  • weights and bias
  • All the options
  • learning rate