What is a variable in Python?, A reserved word, A constant value, A named storage location for data, A mathematical operation, Which of the following is a valid Python variable name?, my_variable, 123variable, $variable, variable-1, What is the result of the expression `5 / 2` in Python?, 2.25, 2.0, 2, 2.5, What is the result of the expression `5 % 2` in Python?, 1, 2, 5, 2.5, What is the purpose of the `input()` function in Python?, Convert data, Display output, Declare variables, Take user input, Which data type is used to store a sequence of characters in Python?, String, Integer, Boolean, Float, What is the primary purpose of the `if` statement in Python?, Define a function, Conditional execution, Create a loop, Print text, What is the result of the expression `5 > 3`?, Error, False, 8, True, Which code snippet will print "Even" if `x` contains an even number?, if x == even: print("Even"), if x % 2 == 0: print("Even"), if x % 2: print("Even"), if x is even: print("Even"), What is the primary purpose of the `for` loop in Python?, Print text, Create a condition, Define a function, Iterate items, In Python, what does the `range()` function return?, Float, String, Sequence of integers, Random number, What is the result of the following code? for i in range(3): print(i), 3, 0, 1, 2, What will be the output of the following code? fruits = ["apple", "banana", "cherry"] for fruit in fruits: print(fruit), "apple" "banana" "cherry", apple banana cherry, apple, banana, cherry, ['apple', 'banana', 'cherry'], What will be the output of the following code? for i in range(5): if i == 2: continue print(i), 0 1 2 3, 0 1 2 3 4, 0 1 3 4, 0 3 4, Python is a high-level programming language., False, True, The `print()` function is used to display output in Python., True, False, The `input()` function is used to get user input in Python., False, True, Python is an object-oriented programming language., False, True, The `len()` function is used to get the length of a string or a list in Python., True, False, The `if` statement is used for conditional execution in Python., False, True, The `range()` function generates a sequence of numbers in Python., False, True
0%
Python Basics Assessment
공유
공유
만든이
Alaayhamdan
3 ابتدائي
حاسب
콘텐츠 편집
저장
좋아요
인쇄
퍼가기
더보기
로그인이 필요합니다
비주얼 스타일
모두 표시
글꼴
활동 설정
순위표
할당
구독 필요
활동 설정
순위표
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
더 보기
접기
퀴즈
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
할당
아직 학생들과 공유한 액티비티가 없습니다.
결과 수집을 시작하려면 활동 페이지로 이동하여
할당 설정을
선택합니다.
설정을 확인하고 결과 링크를 학생들과 공유합니다.
과제 설정
AI 강화: 이 활동에는 AI가 생성한 콘텐츠가 포함되어 있습니다.
더 알아보세요.
템플릿 전환하기
모두 표시
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?