Viva prep · Real questions · Student experiences Enroll in Bootcamp

Proctor workspace

Proctor LEVEL1_VIVA33

Share your experience Add your viva experience here
1 Questions
1 Sets
0 Topics
0 Reviews
Tips for this examiner: Proctor was polite. Gives u time to answer .

Student reviews

No student reviews for this proctor yet.

Approved viva sets

Download all
  1. 1
    Explain your project , models.py, what is flask, Jinja, Authentication vs Authorization. CODING changes - Make button color green, create route to search approved companies.
    Times asked 1
    Official solution

    SimpleAuthentication: tu kaun hai? (login). Authorization: tujhe permission hai? (role check).

    Example

    # auth
    if check_password_hash(user.password, pwd):
        session['user_id'] = user.id
    
    # authz
    if user.role != 'admin':
        abort(403)
Advice: Proctor was polite. Gives u time to answer .
Created for educational purposes only. Questions are based on students' personal experiences and may not reflect actual exam content.