BCCK SNLTW HP2

BCCK SNLTW HP2

Professional Development

7 Qs

quiz-placeholder

Similar activities

Administration Windows 6 - PowerShell

Administration Windows 6 - PowerShell

Professional Development

8 Qs

C++ File and Exception Handling Test

C++ File and Exception Handling Test

Professional Development

11 Qs

MS EXCEL Introduction

MS EXCEL Introduction

Professional Development

10 Qs

Mastering KineMaster

Mastering KineMaster

Professional Development

10 Qs

Explorer - Übungen

Explorer - Übungen

Professional Development

11 Qs

CyberCamp 3 Standard Camp Linux Intro

CyberCamp 3 Standard Camp Linux Intro

KG - Professional Development

10 Qs

CCM QA June 2023 Best Practice Quiz

CCM QA June 2023 Best Practice Quiz

Professional Development

12 Qs

POWER POINT

POWER POINT

Professional Development

10 Qs

BCCK SNLTW HP2

BCCK SNLTW HP2

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Khánh Nguyễn

Used 1+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dùng để import thư viện turtle trong Python?

import turtle as t

import turtle

from turtle import *

Tất cả các đáp án trên

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dùng để tạo một đối tượng "rùa" trong Python?

r = Turtle()

r = turtle.Turtle()

t = turtle()

t = Turtle

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào để rùa quay phải một góc 90 độ?

t.right(90)

t.turn_right(90)

t.rotate(90)

t.left(90)

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Lệnh nào dùng để thay đổi tốc độ di chuyển của rùa?

t.speed(10)

t.set_speed(10)

t.fast(10)

t.accelerate(10)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Cú pháp nào đúng để mở file data.txt ở chế độ đọc?

open('data.txt', 'w')

open('data.txt', 'r')

open('data.txt', 'a')

open('data.txt', 'x')

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Đoạn mã sau có lỗi gì?

File không được đóng sau khi mở.

Thiếu chế độ mở file 'w'.

File không đọc được dữ liệu.

Không có lỗi nào trong mã.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Phương thức nào để ghi nội dung "Hello, World!" vào file?

file.write("Hello, World!")

file.writeline("Hello, World!")

file.insert("Hello, World!")

file.add("Hello, World!")