Search Header Logo

Python level 1 - Ôn tập cuối khoá học

Authored by Học viện công nghệ TICA

Computers

7th Grade

Used 5+ times

Python level 1 - Ôn tập cuối khoá học
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Kết quả chương trình sau:

print(Hello world!)

Hello world!

SyntaxError

Hello world

print(Hello world!)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Ký hiệu nào dùng để gán giá trị cho một biến.

equals =

plus +

forward slash /

asterisk *

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

people = ["John", "Rob", "Bob"]

print (people[1])

Kêt quả chương trình:

John

Rob

Bob

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Làm thế nào để in ra các số từ 1 cho đến 10.

while i<11:

print(i)

i+=1

while i<10:

print(i)

i+=1

while i<11:

print(i)

i=1

for i in range(11):

print(i)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Tôi chỉ muốn cho phép người dùng đăng nhập thành công nếu đúng cả tên và mật khẩu (pw và un).

if pw=="pass" and un=="user1":

if pw=="pass" or un=="user1":

if pw="pass" and un="user1":

if pw=="pass", un=="user1":

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả chương trình:

condition

True

Program has a syntax error.

3 > 2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Kết quả chương trình:

more than 7

more than 23

spam

7

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?