1) What is a function in Python? a) A block of code that performs a specific task e.g. print, input etc. b) A block of code that makes decisions. c) A piece of code used for repitition. d) Code that calculates values. 2) What function is used in Python to get the user to enter information? a) print b) int c) input d) call 3) What function is used in Python to output information? a) print b) int c) input d) call 4) what is meant by the term 'casting'? a) Naming a variable. b) To calculate values. c) Giving a value to a variable. d) To change the data type of a variable. 5) What function is used to change the data type of a variable to a whole number? a) str b) int c) boo d) float 6) What is a variable? a) A data type b) A storage location c) A function d) A loop 7) Which is a data type? a) Integer b) Variable c) Loop d) Function 8) What is a string? a) A number b) Text data c) A loop d) A function 9) What is 'int' used for? a) Text data b) Whole numbers c) Decimals d) Booleans 10) Which is a boolean value? a) True b) String c) Integer d) Float 11) What does 'print()' do? a) Stores data b) Displays output c) Defines a loop d) Ends a function
0%
9.5.2 Programming with Python KR
공유
공유
공유
만든이
Mmt4
KS3
Computing
콘텐츠 편집
인쇄
퍼가기
더보기
할당
순위표
더 보기
접기
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
미로 찾기
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
로그인이 필요합니다
비주얼 스타일
글꼴
구독 필요
옵션
AI 강화: 이 활동에는 AI가 생성한 콘텐츠가 포함되어 있습니다.
더 알아보세요.
템플릿 전환하기
모두 표시
액티비티를 플레이할 때 더 많은 포맷이 나타납니다.
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?