1) What is wrong with this line of code after the . Print ('My name is Fred') a) The wrong type of speech marks b) Doesn't need brackets c) Capital letter for P in Print 2) A variable is a a) memory location that can store a value that can be changed during the running of the program b) a value that can go up or down c) Can only be whole numbers or decimals 3) If you miss a bracket out of a simple print statement, the type of error message is a) name error b) syntax error c) syntax error unterminated string literal 4) If you spell input wrong and put imput, what error do you think will occur a) name error b) syntax error c) syntax error unterminated string literal 5) When you fix errors you are __________ your program a) debunking b) debussing c) debugging 6) A comment symbol in python code is a a) / b) | c) # 7) There are 2 modes for python programming. They are a) editor and runtime b) white mode and black mode c) IDE and DLE 8) There is an error in the code after the . name = input('what is your name?') print ('My name is ' +name') a) should be input = name b) put a comma after the 2nd bracket c) take out the last speech mark 9) One rule for naming variables is it must start with a capital letter a) True b) False 10) If you needed to create a variable for price of a sandwich e.g. £1.50 then you would need to use this datatype a) integer b) real c) boolean
0%
Year 9 CS Lesson 1 Python Review
공유
공유
공유
만든이
Sburchell
Y9
Computing
콘텐츠 편집
인쇄
퍼가기
더보기
할당
순위표
더 보기
접기
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
퀴즈
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
로그인이 필요합니다
비주얼 스타일
글꼴
구독 필요
옵션
템플릿 전환하기
모두 표시
액티비티를 플레이할 때 더 많은 포맷이 나타납니다.
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?