Search Header Logo

3주차 파이썬 퀴즈

Authored by 이은미 이은미

Computers

9th - 12th Grade

Used 1+ times

3주차 파이썬 퀴즈
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

아래 코드의 결과는 무엇인가요?

text = 'abcdefg'

print ( text [ 3 ] )

d

abc

c

efg

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

아래 코드의 결과는 무엇인가요?

text = 'abcdefg'

print ( text [ -2 ] )

b

ab

fg

f

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

다음 코드의 실행 결과로 알맞은 것은?

number = [ 21, 32, 13, 4, 15, 56, 47, 78 ]

print ( number [ 0 : 6 : 2 ] )

[21, 13, 15]

[21, 32, 13, 4, 15]

[32, 13, 4, 15, 56 ]

[21, 13]

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

'20180311Rainy' 와 같이 날짜와 날씨의 데이터가 있어요.

날씨만 따로 출력하려면?

info = '20180311Rainy'

weather = ________

print ( weather )

info[ 8 : ]

info[ 8 : 12 ]

info[ 9 : ]

info[ 9 : 13 ]

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

다음 코드의 실행 결과는?

a = range ( 1, 11, 1 )

print ( a )

range(1, 10)

range(1, 11)

[1,2,3,4,5,6,7,8,9,10]

[1,2,3,4,5,6,7,8,9,10,11]

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

다음 코드의 실행 결과는?

height = range(140, 180, 10 )

print( list(height) )

[140,150,160,170,180]

140,150,160,170,180

[140,150,160,170]

140,150,160,170

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

아래 코드의 실행 결과는?

a = [1, 2, 3]

b = [1, 2, 3]

print( a == b )

False

a=b

True

[1, 2, 3]

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?