Theano MCQ Questions & Answers
Theano MCQs : This section focuses on "Basics" of Theano. These Multiple Choice Questions (MCQ) should be practiced to improve the Theano skills required for various interviews (campus interview, walk-in interview, company interview), placements, entrance exams and other competitive examinations.
1. Theano is a _______ library.
A. R
B. Python
C. Ruby
D. Javascript
View Answer
Ans : B
Explanation: Theano is a Python library that allows us to evaluate mathematical operations including multi-dimensional arrays so efficiently.
2. Theano works a way _______ on Graphics Processing Unit (GPU) rather than on CPU.
A. slower
B. very slower
C. faster
D. more faster
View Answer
Ans : D
Explanation: It works a way more faster on Graphics Processing Unit (GPU) rather than on CPU.
3. Which command used to install Theano?
A. install theano
B. np install theano
C. pip install theano
D. npm install theano
View Answer
Ans : C
Explanation: pip install theano command used to install Theano
4. Which of the following are advantages of theano ?
A. Stability Optimization
B. Execution Speed Optimization
C. Symbolic Differentiation
D. All of the above
View Answer
Ans : D
Explanation: All of the above are advantages of theano.
5. Which theano type has 16-bit integers?
A. bscalar
B. wscalar
C. iscalar
D. fscalar
View Answer
Ans : B
Explanation: 16-bit integers : wscalar, wvector, wmatrix, wrow, wcol, wtensor3, wtensor4, wtensor5, wtensor6, wtensor7
6. fmatrix theano type has data type?
A. float
B. double
C. 32-bit integers
D. 64-bit integers
View Answer
Ans : A
Explanation: float : fscalar, fvector, fmatrix, frow, fcol, ftensor3, ftensor4, ftensor5, ftensor6, ftensor7
7. Theano function acts like a hook for interacting with the symbolic graph.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Theano function acts like a hook for interacting with the symbolic graph.
8. A Theano function is declared using the following syntax?
A. theano.declare ([x], y)
B. theano.fun ([x], y)
C. theano.function ([x], y)
D. function ([x], y)
View Answer
Ans : C
Explanation: A Theano function is declared using the following syntax : theano.function ([x], y)
9. The _________ method declares a decimal scalar variable.
A. scalar
B. theano
C. declare
D. dscalar
View Answer
Ans : D
Explanation: The dscalar method declares a decimal scalar variable.
10. Theano was written at the LISA lab with the intention of providing rapid development of efficient machine learning algorithms.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Theano was written at the LISA lab with the intention of providing rapid development of efficient machine learning algorithms.
Discussion