Python syntax, types, control flow, functions, lists, dicts and common built-ins.
این مجموعه فلشکارت برای یادگیری مفاهیم پایهای زبان برنامهنویسی پایتون و آمادهسازی برای مصاحبههای شغلی طراحی شده است. محتوای این کارتها شامل سینتکس، انواع دادهها، ساختارهای کنترل جریان، توابع، لیستها، دیکشنریها و توابع داخلی رایج در پایتون است.
هر کارت شامل یک پرسش کوتاه در رو و پاسخی دقیق در پشت است. برای بهترین نتیجه، توصیه میشود مرور کارتها را بهطور منظم و بر اساس سیستم تکرار فاصلهدار (Spaced Repetition) انجام دهید تا مطالب بهخوبی در حافظه بلندمدت تثبیت شوند.
۱۲ کارت اول از ۸۰ — رو و پشت هر کارت
What is the extension typically used for Python source code files?
Python files use the .py extension.
How are single-line comments denoted in Python?
Single-line comments begin with the hash symbol (#).
What rule does Python use for variable and function naming regarding case sensitivity?
Python is strictly case-sensitive, meaning variable and Variable are distinct.
Which function is used to output text or data to the console?
The print() function is used for output.
How does Python determine block scope and code structure?
Python uses indentation (whitespace) instead of curly braces or keywords.
What is the built-in function used to determine the data type of an object?
The type() function returns the data type of the given object.
What is the result of dividing two integers using the standard division operator (/)?
Standard division (/) always returns a float, even if the result is a whole number.
Which operator is used for integer (floor) division in Python?
The // operator performs floor division, rounding down to the nearest whole number.
What is the exponentiation operator in Python?
The ** operator is used to raise a number to a power.
What is the difference between the 'is' operator and the '==' operator?
'==' checks for equality of values, while 'is' checks for identity (whether two references point to the exact same object in memory).
How do you write a boolean literal representing true in Python?
Boolean true is written as True with a capital T.
What is the purpose of the 'None' object in Python?
None represents the absence of a value or a null value.
این مجموعه برای افراد مبتدی که تازه پایتون را شروع کردهاند و همچنین کسانی که نیاز به مرور سریع برای مصاحبه دارند، مناسب است.
بهتر است هر روز زمان کوتاهی را به مرور کارتهای جدید و مرور کارتهای قبلی اختصاص دهید تا یادگیری مؤثرتری داشته باشید.
خیر، این مجموعه صرفاً روی مباحث پایه و ضروری پایتون تمرکز دارد.
هنوز کسی آزمون نداده؛ اولین نفر باش.
تا ۲۰ سؤال چهارگزینهای از همین دسته، ۳۰ ثانیه برای هر سؤال. خودت را بسنج و رتبهات را میان بقیه ببین. هر نفر فقط یکبار میتواند شرکت کند.
برای شرکت در آزمون وارد شو