Logo
search
menuicon
Premium map quiz
thubnail
Water ParkPro
Sequencing
Middle 1-2
Information Technology
비상교과서
파이썬 기초 -1
CS 정보
25
Original quiz maker -
사라 정
Added question (15/ 20)
Disallow incorrect answer
Hide answer
public quiz

# 1

Short Answer

다음 프로그램의 실행 결과를 쓰시오. print("Hello Python!")

  • Hello Python!

Hint

대, 소문자 구분하기!

# 2

Short Answer

다음 프로그램의 실행 결과를 쓰시오. a=17 print(a)

  • 17

# 3

Short Answer

다음 프로그램의 실행 결과를 쓰시오. a=10 b=a c=5 print(b)

  • 10

# 4

Short Answer

다음 프로그램의 출력 결과가 4일 때 빈칸에 들어갈 알맞은 값을 쓰시오. x = 10 x = ____ print(x-1)

  • 5

# 5

Multiple Choice

키보드로부터 입력을 받을 때 쓰는 함수는?

  • print()
  • int()
  • input()
  • if

# 6

Multiple Choice

다음 프로그램을 실행할 때 1+2를 입력하였다. 실행 결과는? data = input() #1+2 print(data)

  • 3
  • 1+2

# 7

Multiple Choice

다음 프로그램의 실행 결과는?


city = "Seoul"

country = "South Korea"

print(city, "is in", country)

  • city is in country
  • Seoul is in South Korea
  • "Seoul" is in "South Korea"
  • 오류 발생

# 8

Short Answer

다음 프로그램의 실행 결과를 쓰세요. a=5 if a==5 : print(True)

  • True

# 9

Short Answer

다음 프로그램의 실행 결과를 쓰세요. b=13 if b>10: print(b)

  • 13

# 10

Short Answer

다음 프로그램의 실행 결과를 쓰세요. b=3 if b>10: print(True) else : print(False)

  • False

# 11

Short Answer

다음 프로그램의 실행 결과를 쓰세요. a=10 b=5 if a < b: a=a-b print(a)

  • 10

# 12

Multiple Choice

다음 프로그램의 실행 결과를 쓰세요. x=10 if x > 5 : print("x는 5보다 크다.") else : print("x는 5보다 작다.")

  • x는 5보다 크다.
  • x는 5보다 작다.

# 13

Multiple Choice

다음 for문의 실행 결과를 쓰세요.


for i in range(3):

print(i)

  • 0

    1

    2

  • 1 2 3
  • 0 1 2 3
  • 오류 발생

# 14

Short Answer

다음 while문의 실행 결과를 쓰세요.


i = 0

while i < 3:

print(i)

i = i+1

  • 0 1 2

  • 0 1 2

# 15

Multiple Choice

다음 while문이 '5 3 1'을 출력하도록 빈칸에 들어갈 올바른 조건은 무엇인가요?


a = 5

while _____:

print(a)

a = a - 2

  • a <= 4

  • a >= 4

  • a > 0

  • a <= 5

Share to Google Classroom