Search Header Logo

แบบทดสอบ ม.3

Authored by ศิรัญญา ไชยอุ่น

Computers

9th Grade

Used 13+ times

แบบทดสอบ ม.3
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

คำสั่งในการอัพโหลดไฟล์เข้ามาในพื้นที่การทำงาน

from google.colab import files

files.upload()

import pandas as pd

import matplotlib.pyplot as plt

df = df.set_index('Region and province')

plt.xticks([1,2,3,4,5],df.index,rotation='vertical');

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือคำสั่งในการดูข้อมูลใน DataFrame โดยกำหนดการดูข้อมูล10 ข้อมูลแรก

df.head(10)

df.tail(10)

df.sample(10)

plt.boxplot(df);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือคำสั่งในการดูข้อมูลใน DataFrame โดยกำหนดการดูข้อมูล 20 ข้อมูลสุดท้าย

df.tail(20)

df.head(20)

df.sample(20)

df.plot(kind='bar')

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือคำสั่งในการดูข้อมูลใน DataFrame กำหนดการดูข้อมูล 20 ข้อมูล โดยดูข้อมูลแบบสุ่ม

df.sample(20)

plt.sample(20)

pd.sample(20)

import.sample(20)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือโมดูลในการสร้างกราฟในโปรแกรมภาษาไพทอน

matplotlib.pyplot

pandas

numpy

tkinter

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ข้อใดคือคำสั่งการอ่านไฟล์ข้อมูล .csv ให้มาเก็บในตัวแปร df (dataframe)

df = pd.read_csv()

plt = pd.read_csv()

df = pd.read_excel()

plt = pd.read_excel()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

df.mean() คำสั่งต่อไปนนี้คือคำสั่งอะไร

คำสั่งการหาค่าเฉลี่ย

คำสั่งการเรียงลำดังข้อมูลจากน้อยไปมาก

คำสั่งการเรียงลำดังข้อมูลจากมากไปน้อย

คำสั่งการแสดงผล

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?