WorksheetsDEEP LEARNING
Total questions: 20
Worksheet time: 10mins
What is TensorFlow primarily used for?
Image processing
Natural language processing
Deep learning and machine learning
Web development
Which command can be used to install TensorFlow using pip?
pip install tensorflow
install tensorflow
tf install tensorflow
python tensorflow install
What is the rank of a scalar in TensorFlow?
0
1
2
3
Which of the following represents a static computational graph in TensorFlow?
Eager execution
Dynamic computation
Static computation
None of the above
What is the primary purpose of TensorFlow variables?
Store constants
Store mutable state in the graph
Perform mathematical operations
Define placeholders
Which optimizer is commonly used for updating weights in a neural network?
Gradient Descent
Random Forest
K-Means
Naive Bayes
What operation can be used to reshape a tensor in TensorFlow?
f.reshape()
tf.resize()
tf.rearrange()
tf.modify()
Which command is used to launch TensorBoard?
tensorboard start
tensorboard launch
tensorboard --logdir=log_directory
start tensorboard --logdir=log_directory
What is the fundamental unit of deep learning?
Neuron
Node
Feature
Kernel
Which of the following is an application of deep learning in computer vision?
Speech recognition
Image classification
Stock market prediction
Text summarization
Who developed TensorFlow?
Microsoft
OpenAI
What is the recommended way to install TensorFlow for GPU support?
pip install tensorflow
pip install tensorflow-gpu
conda install tensorflow
python -m pip install tensorflow-gpu
In TensorFlow, what is the shape of a tensor?
Number of elements
Rank
Dimensionality
Size
Which TensorFlow mode allows for immediate evaluation of operations?
Lazy execution
Eager execution
Static computation
Dynamic computation
What is the purpose of the trainable parameter in a TensorFlow variable?
It indicates whether the variable is mutable
It determines if the variable is a constant
It specifies if the variable should be updated by an optimizer
It controls the visibility of the variable in TensorBoard
Which optimizer is suitable for sparse data and efficiently updates only a subset of model parameters?
Adam optimizer
Adagrad optimizer
Sparse gradient descent optimizer
RMSprop optimizer
What does the tf.transpose() function do in TensorFlow?
Flattens a tensor
Reshapes a tensor
Transposes the dimensions of a tensor
Computes the dot product of two tensors
What type of information can be visualized using TensorBoard?
Model architecture
Training loss and accuracy
Embeddings
All of the above
What is the main difference between traditional machine learning and deep learning?
Feature engineering
Number of layers in the model
Use of neural networks
None of the above
Which application involves training a machine to understand and generate human-like language?
Image recognition
Speech synthesis
Natural language processing
Recommender systems
