Which module is used to create graphics in Python Turtle?, A) math, B) turtle, C) random, D) graphics, Which command moves the turtle forward by 100 pixels?, A) move(100), B) go(100), C) forward(100), D) fdx(100), What does right(90) do?, A) Moves forward 90 pixels, B) Turns the turtle right by 90 degrees, C) Draws a square, D) Changes color, Which command lifts the pen?, A) penup(), B) pendown(), C) lift(), D) stop(), What shape does this code draw?, A) Triangle, B) Square, C) Pentagon, D) Circle, What does speed(0) mean?, A) Slowest speed, B) Fastest speed, C) Stop movement, D) Normal speed, Which command draws a circle?, A) drawcircle(), B) makecircle(), C) circle(), D) round(), Which loop repeats code 5 times?, A) for i in range(5):, B) repeat(5):, C) loop(5):, D) while(5):, Which command changes the background color?, A) bgcolor(), B) color(), C) fillcolor(), D) background(), What does goto(100,50) do?, A) Draws a circle, B) Changes color, C) Moves turtle to coordinates (100,50), D) Rotates turtle.

Python Turtle Assessment

排行榜

視覺風格

選項

切換範本

恢復自動保存: ?