1) What is Python? a) A kind of snake b) A video game c) A programming language d) A robot 2) What is an algorithm? a) A secret code b) A sequence of actions to solve a task c) A drawing d) A computer virus 3) What does a program do? a) Makes music b) Draws shapes c) Runs an algorithm written in a programming language d) Builds houses 4) What does print("Hello") do in Python? a) Sends an email b) Prints paper c) Writes “Hello” on the screen d) Draws a picture 5) print(2 + 3 * 4) a) 20 b) 14 c) 24 d) 10 6) print((2 + 3 )* 4) a) 20 b) 14 c) 24 d) 10 7) What is a variable? a) It like an storage box in Python b) A secret number c) A game d) A password 8) Which is a good variable name? a) a b) number_of_students c) 3price d) print 9) What does the input() function do? a) Prints a message b) Gets information from the keyboard c) Calculates math d) Sends an SMS 10) Which functions are used to switch from one data type to another? a) input() b) str() functions are used to switch from one data type to another. c) int() d) print() 11) What is the output of this code? a) 105 b) 500 c) 100 d) 5 12) What does int("42") do? a) Turns the number into a string b) Makes a letter c) Turns the text(string) "42" into the number 42. d) Deletes the number 13) What is the output ? a) 1518 b) 43 c) 33 d) 11111 14) What is the output ? a) 10 b) 54 c) 9 d) 11 15) What is the correct way to convert user input to a number? a) str(input()) b) input() c) int(input()) d) float('input') 16) What happens if you try int('hello') in Python? a) A. It returns 0 b) B. It returns 'hello' c) C. It prints hello d) D. It gives an error 17) 3. What type of value does input() always return? a) 3. What type of value does input() always return? b) A. Integer c) B. Float d) C. String 18) print('12' + '34') a) What is the result of: print('12' + '34')? b) A. 46 c) B. 1234 d) C. 12 + 34 19) What is the result of: print(12 + int('34'))? a) A. 46 b) B. 1234 c) C. Error d) D. 12 + 34 20) Mark the programs without errors. a) b) c) both of them False 21) Choose the actions that this program performs. a) The program works with variables b) The program uses functions to input and output data c) The program prints calculation results d) The program prints text prompts for the user
0%
Introduction to Python Programming
공유
공유
공유
만든이
Hejaclk
콘텐츠 편집
인쇄
퍼가기
더보기
할당
순위표
더 보기
접기
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
퀴즈
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
로그인이 필요합니다
비주얼 스타일
글꼴
구독 필요
옵션
템플릿 전환하기
모두 표시
액티비티를 플레이할 때 더 많은 포맷이 나타납니다.
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?