wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Python + AIoT 基礎

Total questions: 8

Worksheet time: 5mins

Name
Class
Date
1.

AIoT可以拆解為那些說法?

a)

AI + IoT

b)

Internet + Technology

c)

AI + I/O + IoT

d)

AI + I/O

2.

Python屬於____?

a)

低階語言(Low level language)

b)

機器語言(Machine language)

c)

組合語言(Assembly language)

d)

高階語言(High level language)

3.

Python有那些特點?

a)

編程碼較短, 跨平台

b)

只能於電腦運行

c)

每句編碼最後一定加 ;

4.

以下那個是在Python中Comment的方法?

a)

#This is a comment#

b)

#This is a comment

c)

This is a comment#

d)

//This is a cpmment

5.

若要使用Python列印出"Hello World", 以下那個才是正確的方法?

a)

print(Hello World)

b)

printf("Hello World")

c)

printf(Hello World)

d)

print("Hello World")

6.

 

以下那個才是於Python中定義函式(function)正確方法?

a)

define printInfo():

print(a)

print(b)

b)

def printInfo():

print(a)

print(b)

c)

function printInfo()

print(a)

print(b)

d)

func printInfo():

print(a)

print(b)

7.

以下那個才是於Python中設置變數(variable)的正確方法?

a)

a = 1

b = 0.5

b)

int a = 1

float b = 0.5

c)

string a = 1

string b = 0.5

d)

int a = 1

int b = 0.5

8.

請指出For Loop 與While Loop 的分別

a)

For Loop: 指定執行次數; While Loop: 符合指定條件,無限執行

b)

While Loop: 指定執行次數; For Loop: 符合指定條件,無限執行