1) What will the code print("Good morning Year 7") do? a) It will output the message: Good morning Year 7. b) It will give a syntax error. c) It will store a value. 2) What will the code Print("Have a nice day") display? a) Have a nice day b) "Have a nice day" c) It will produce a error 3) What will the code print(score) do? a) It will display the message: score b) It will display the content of the variable called score c) It will produce an error if the variable score does not exist 4) What will the code print("score") do? a) It will display the message: score b) It will display the content of the variable called score c) It will produce an error if the variable score does not exist 5) What will input("How old are you?") display on the screen? a) How old are you? b) It will produce an error c) "How old are you?" 6) What does the input() function do? a) It allows the program to ask the user a question b) It allows the user to input a value c) It just prints a message on the screen 7) What does the print() function do? a) Nothing b) Display code on the screen c) Print out a document 8) What data would the following data type store? BOOLEAN a) True/False b) Whole Numbers c) Decimal Numbers d) A single character 'A' e) A mix of characters and numbers 9) What data would the following data type store? STRING a) True/False b) Whole Numbers c) Decimal Numbers d) A single character 'A' e) A mix of characters and numbers 10) What data would the following data type store? CHARACTER a) True/False b) Whole Numbers c) Decimal Numbers d) A single character 'A' e) A mix of characters and numbers 11) What data would the following data type store? INTEGER a) True/False b) Whole Numbers c) Decimal Numbers d) A single character 'A' e) A mix of characters and numbers 12) What data would the following data type store? REAL/FLOAT a) True/False b) Whole Numbers c) Decimal Numbers d) A single character 'A' e) A mix of characters and numbers 13) What is SELECTION in programming? a) Following a path b) Making choices/decisions c) Finding out the answer 14) What code is used in SELECTION? a) IF/ELSE b) PRINT c) INPUT d) WHILE/FOR 15) What is wrong with this code? print"Hello" a) Capital letter in the wrong place b) Missing brackets c) Missing equals d) Missing speech marks 16) What is wrong with this code? print(Hello) a) Capital letter in the wrong place b) Missing brackets c) Missing equals d) Missing speech marks 17) What is wrong with this code? name int(input("Enter your name")) a) Capital letter in the wrong place b) Missing brackets c) Missing equals d) Missing speech marks 18) What is wrong with this code? name = int(input"Enter your name")) a) Capital letter in the wrong place b) Missing brackets c) Missing equals d) Missing speech marks 19) What is wrong with this code? name = int(input("Enter your name)) a) Capital letter in the wrong place b) Missing brackets c) Missing equals d) Missing speech marks
0%
PYTHON Y7 BASICS QUIZ
공유
공유
공유
만든이
Mrdoskocz
콘텐츠 편집
인쇄
퍼가기
더보기
할당
순위표
더 보기
접기
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
퀴즈
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
로그인이 필요합니다
비주얼 스타일
글꼴
구독 필요
옵션
템플릿 전환하기
모두 표시
액티비티를 플레이할 때 더 많은 포맷이 나타납니다.
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?