Pyramid MCQ Questions
11. ____________ in Python Pyramid accept a function as the only parameter and also returns a function.
A. Exception decorators
B. File decorators
C. Function decorators
D. Python decorators
View Answer
Ans : C
Explanation: Function decorators in Python Pyramid accept a function as the only parameter and also returns a function.
12. Function decorators ___________ the redundancy in the Python pyramid.
A. increases
B. remove
C. Can be increases and remove
D. depends on python pyramid
View Answer
Ans : B
Explanation: Function decorators remove the redundancy in the Python pyramid.
13. Pyramid is backed by the enterprise knowledge Management System KARL.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Pyramid is backed by the enterprise knowledge Management System KARL.
14. The functions have a decorator called?
A. view_admin
B. view_render
C. view_config
D. view_route
View Answer
Ans : C
Explanation: The functions have a decorator called @view_config which also has a route assigned to it and is named done.
15. __________ is an object performance at fascinating points during the lifespan of an application.
A. Subscriber
B. Event
C. Request
D. None of the above
View Answer
Ans : B
Explanation: An event, in Pyramid, is an object performance at fascinating points during the lifespan of an application.
16. In how many ways in which a Pyramid application can be configured?
A. 2
B. 3
C. 4
D. 5
View Answer
Ans : A
Explanation: There are two ways in which a Pyramid application can be configured : Declaratively and Imperatively.
17. Python Pyramid is now facing easy competition from both Flash and Django due to their amazing extensions.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : B
Explanation: False, Python Pyramid is now facing hard competition from both Flash and Django due to their amazing extensions.
18. Which are the built-in data types that Python Pyramid provides?
A. List
B. Tuple
C. Dictionary
D. All of the above
View Answer
Ans : D
Explanation: The data types, which are supplied by Python, are List, Tuple, Dictionary, String, Number, and Set.
19. View Configuration also called the?
A. Pyramid subsystem
B. View callable
C. View lookup
D. View predicate
View Answer
Ans : C
Explanation: View Configuration also called the View lookup is the Pyramid subsystem, which is responsible for searching and making a view callable.
20. Python Pyramid has a wide range of scalability that can be applied for different projects.
A. TRUE
B. FALSE
C. Can be true or false
D. Can not say
View Answer
Ans : A
Explanation: True, Python Pyramid has a wide range of scalability that can be applied for different projects.
Discussion