Information technology · Exam

Sample آزمون مبانی پایتون

نوع داده، حلقه، تابع، لیست و دیکشنری — برای دوره‌ی مقدماتی یا استخدام جونیور.

12 questions · Free up to 50 responses a month

Print-ready Word and PDF files — free, no sign-up.

About this template

“آزمون مبانی پایتون” has 12 questions on 3 pages; every question is required. Question types: Single choice (10), Short text (1), National ID (1). Its sections, in order: «مشخصات شرکت‌کننده», «بخش ۱», «بخش ۲». 40 ready-made options across 10 choice questions, all editable in the online version.

In the online version of this template

  • National IDs are checked instantly with the check-digit algorithm.
  • Multiple-choice answers are graded automatically and each person's score is calculated.

مشخصات شرکت‌کننده

  1. 1.

    نام و نام خانوادگی *

    (Short text)
  2. 2.

    کد ملی *

    (National ID)

بخش ۱

  1. 3.

    خروجی print(2 ** 3) چیست؟ *

    (Single choice)
    • 6
    • 8
    • 9
    • 23
  2. 4.

    کدام نوع داده تغییرناپذیر است؟ *

    (Single choice)
    • list
    • dict
    • tuple
    • set
  3. 5.

    len([1, 2, 3]) برابر است با… *

    (Single choice)
    • 2
    • 3
    • 4
    • خطا
  4. 6.

    کدام کلیدواژه تابع تعریف می‌کند؟ *

    (Single choice)
    • func
    • def
    • function
    • lambda only
  5. 7.

    خروجی 'a' + 'b' چیست؟ *

    (Single choice)
    • ab
    • a b
    • خطا
    • ba

بخش ۲

  1. 8.

    range(3) کدام اعداد را می‌دهد؟ *

    (Single choice)
    • 1,2,3
    • 0,1,2
    • 0,1,2,3
    • 3
  2. 9.

    برای گرفتن مقدار کلید 'x' از دیکشنری d با پیش‌فرض None… *

    (Single choice)
    • d['x']
    • d.get('x')
    • d.x
    • d(x)
  3. 10.

    کدام گزینه لیست را مرتب می‌کند و لیست جدید برمی‌گرداند؟ *

    (Single choice)
    • lst.sort()
    • sorted(lst)
    • lst.order()
    • sort(lst)
  4. 11.

    خروجی bool('') چیست؟ *

    (Single choice)
    • True
    • False
    • None
    • خطا
  5. 12.

    کدام برای مدیریت خطا استفاده می‌شود؟ *

    (Single choice)
    • try/except
    • if/else
    • for/in
    • with/as

Printable version (Word & PDF)

  • For filling in on paper, signing and filing by hand
  • Edit the Word file any way you like
  • Collecting and typing up the answers is up to you

Online version on Porsino

  • Answers are collected and organised automatically — no retyping
  • National ID, mobile number and dates are validated instantly
  • Ready-made reports and charts, plus Excel export in one click
  • Share a link or QR code — it works on mobile too

How do I use this template?

  1. Sign up for Porsino for free; no bank card needed.
  2. In the panel, open “Templates” and choose “آزمون مبانی پایتون”.
  3. Change the questions as you like, publish the form and send the link.
All Information technology templates