wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DEEP LEARNING

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is TensorFlow primarily used for?

a)

Image processing

b)

Natural language processing

c)

Deep learning and machine learning

d)

Web development

2.

Which command can be used to install TensorFlow using pip?

a)

pip install tensorflow

b)

install tensorflow

c)

tf install tensorflow

d)

python tensorflow install

3.

What is the rank of a scalar in TensorFlow?

a)

0

b)

1

c)

2

d)

3

4.

Which of the following represents a static computational graph in TensorFlow?

a)

Eager execution

b)

Dynamic computation

c)

Static computation

d)

None of the above

5.

What is the primary purpose of TensorFlow variables?

a)

Store constants

b)

Store mutable state in the graph

c)

Perform mathematical operations

d)

Define placeholders

6.

Which optimizer is commonly used for updating weights in a neural network?

a)

Gradient Descent

b)

Random Forest

c)

K-Means

d)

Naive Bayes

7.

What operation can be used to reshape a tensor in TensorFlow?

a)

f.reshape()

b)

tf.resize()

c)

tf.rearrange()

d)

tf.modify()

8.

Which command is used to launch TensorBoard?

a)

tensorboard start

b)

tensorboard launch

c)

tensorboard --logdir=log_directory

d)

start tensorboard --logdir=log_directory

9.

What is the fundamental unit of deep learning?

a)

Neuron

b)

Node

c)

Feature

d)

Kernel

10.

Which of the following is an application of deep learning in computer vision?

a)

Speech recognition

b)

Image classification

c)

Stock market prediction

d)

Text summarization

11.

Who developed TensorFlow?

a)

Google

b)

Facebook

c)

Microsoft

d)

OpenAI

12.

What is the recommended way to install TensorFlow for GPU support?

a)

pip install tensorflow

b)

pip install tensorflow-gpu

c)

conda install tensorflow

d)

python -m pip install tensorflow-gpu

13.

In TensorFlow, what is the shape of a tensor?

a)

Number of elements

b)

Rank

c)

Dimensionality

d)

Size

14.

Which TensorFlow mode allows for immediate evaluation of operations?

a)

Lazy execution

b)

Eager execution

c)

Static computation

d)

Dynamic computation

15.

What is the purpose of the trainable parameter in a TensorFlow variable?

a)

It indicates whether the variable is mutable

b)

It determines if the variable is a constant

c)

It specifies if the variable should be updated by an optimizer

d)

It controls the visibility of the variable in TensorBoard

16.

Which optimizer is suitable for sparse data and efficiently updates only a subset of model parameters?

a)

Adam optimizer

b)

Adagrad optimizer

c)

Sparse gradient descent optimizer

d)

RMSprop optimizer

17.

What does the tf.transpose() function do in TensorFlow?

a)

Flattens a tensor

b)

Reshapes a tensor

c)

Transposes the dimensions of a tensor

d)

Computes the dot product of two tensors

18.

What type of information can be visualized using TensorBoard?

a)

Model architecture

b)

Training loss and accuracy

c)

Embeddings

d)

All of the above

19.

What is the main difference between traditional machine learning and deep learning?

a)

Feature engineering

b)

Number of layers in the model

c)

Use of neural networks

d)

None of the above

20.

Which application involves training a machine to understand and generate human-like language?

a)

Image recognition

b)

Speech synthesis

c)

Natural language processing

d)

Recommender systems