1) What does print("Hello") do? a) Shows Hello on screen b) Gives error c) Saves Hello in a file d) None 2) In Python, what symbol is used for comments? a) // b) # c) * d) % 3) Which of these is NOT a Python data type? a) int b) float c) number d) str 4) What error happens here? a) SyntaxError b) ZeroDivisionError c) Runtime Error d) None 5) In Python, what do we call mistakes in code? a) Bugs b) Errors c) Debugging d) Spaghetti 6) Which function is used to get user input in Python 3? a) read() b) input() c) scan() d) gets() 7) Find the error: a) No error b) Missing : c) IndentationError d) Missing () 8) Which keyword is used to handle errors in Python? a) catch b) error c) try d) handle 9) Output? a) HiHiHi b) Hi 3 times in new lines c) Error d) 333 10) Which of these will cause an error? a) x = 10 b) y = "Hello" c) print(z) d) print(5+5) 11) In C, which header file is needed for printf? a) stdio.h b) conio.h c) math.h d) string.h 12) Which symbol is used for single-line comments in C? a) # b) // c) % d) -- 13) What happens here? a) Prints 0 b) Prints garbage value c) Error d) Nothing 14) Which operator is used for comparison in C? a) = b) == c) === d) := 15) What is the error? a) No error b) Missing " c) Missing ; d) Both b and c 16) In C, which function is used to read input? a) scan() b) scanf() c) input() d) get() 17) Output? a) 2.5 b) 2 c) 3 d) Error 18) Which of these is a valid variable name in C? a) 1num b) num_1 c) int d) for 19) What error will this cause? a) Prints 52 b) TypeError c) ValueError d) No error 20) In C, which loop always runs at least once? a) for b) while c) do...while d) None 21) Debugging means: a) Finding and fixing errors b) Writing comments c) Running fast code d) Printing output 22) In C, uninitialized variables contain: a) 0 b) Garbage value c) -1 d) None 23) In Python, what happens if you type print(2 + "2")? a) 4 b) 22 c) Error d) None 24) In C, what happens if you divide by 0? a) Prints 0 b) Garbage c) Compile-time error d) Runtime error 25) In Python, what error happens if you use the wrong indentation? a) Runtime error b) IndentationError c) SyntaxError d) Logical error
0%
DEBUGGING QUIZ(TECHTONIC2025)
공유
공유
공유
만든이
2301721058009
콘텐츠 편집
인쇄
퍼가기
더보기
할당
순위표
더 보기
접기
이 순위표는 현재 비공개입니다.
공유
를 클릭하여 공개할 수 있습니다.
자료 소유자가 이 순위표를 비활성화했습니다.
옵션이 자료 소유자와 다르기 때문에 이 순위표가 비활성화됩니다.
옵션 되돌리기
퀴즈
(은)는 개방형 템플릿입니다. 순위표에 올라가는 점수를 산출하지 않습니다.
로그인이 필요합니다
비주얼 스타일
글꼴
구독 필요
옵션
템플릿 전환하기
모두 표시
액티비티를 플레이할 때 더 많은 포맷이 나타납니다.
결과 열기
링크 복사
QR 코드
삭제
자동 저장된
게임을 복구할까요?