Web2Py MCQ Questions & Answers

Web2Py MCQs : This section focuses on "Web2Py" of Python Frameworks. These Multiple Choice Questions (MCQ) should be practiced to improve the Web2Py skills required for various interviews (campus interviews, walk-in interviews, company interviews), placements, entrance exams and other competitive examinations.

1. Web2py is written in the?

A. C++
B. Java
C. Python
D. Ruby

View Answer


2. Web2py supports various protocols like?

A. XML
B. JSON
C. RSS
D. All of the above

View Answer


3. Massimo Di Pierro developed the author of Web2py.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


4. Which of the following helps rendering the display of the data?

A. Models
B. Views
C. Controllers
D. Languages

View Answer


5. Which of the following stores error reports generated by the application?

A. Sessions
B. Modules
C. Errors
D. Uploads

View Answer


6. _______ object is used to represents a database connection.

A. PAL
B. ZAL
C. SAL
D. DAL

View Answer


7. ____________ method is used to send an email.

A. mail.compose()
B. mail.send()
C. mail.read()
D. mail.receive()

View Answer


8. RBAC stands for?

A. Read Based Access Control
B. Restrict Based Access Control
C. Role Based Access Control
D. Run Based Access Control

View Answer


9. Is It Possible To Skip The Gui And Start Web2py Directory?

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


10. Which of the following are features of Web2py?

A. It is easy to learn
B. It is portable
C. It has standard library that supports many task
D. All of the above

View Answer


11. A better pattern in web2py is to submit forms to the same action, which generates them. This mechanism is called as ?

A. formback
B. postback
C. model
D. view

View Answer


12. Web2py default port is?

A. 3000
B. 5000
C. 8000
D. 10000

View Answer


13. In Web2fy Framework, gluon.tools.Mail class is used to send email.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


14. Which crud methods returns a list of tables which is defined in the database?

A. crud.create(db.tablename)
B. crud.delete(db.tablename, id)
C. crud.read(db.tablename, id) 
D. crud.tables()

View Answer


15. The scheduled events are listed in models with the file name ?

A. admin.py
B. setting.py
C. scheduler.py
D. None of the above

View Answer


16. Which of the following gives the ability to run the task within the specified intervals of the time?

A. Scheduler
B. CRON
C. Scheduler
D. All of the above

View Answer


17. HTML helpers consists of _________ types.

A. 5
B. 4
C. 3
D. 2

View Answer


18. In Web2fy Framework, gluon.tools.Mail class is used to send email. 

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer


19. web2py uses ________ as the universal tag generator.

A. MENU
B. BEAUTIFY
C. TAG
D. SET

View Answer


20. Massimo Di Pierro developed the author of Web2py.

A. TRUE
B. FALSE
C. Can be true or false
D. Can not say

View Answer





Discussion



* You must be logged in to add comment.