Pertanyaan
square Mark for Review 14. Dari pelajaran Alice Anda , instruksi pemrograman mana yang mewakili gerakan berikut:Seekor penyu bergerak maju separuh jarak ke bunga. (1) Points this.Turtle move Forward this.Turtle getDistanceTo this.Flower 2 this.Turtle move Forward this .Turtle getDistanceTo this.Flower / 0.5 this.Turtle move Forward this .Turtle getDistanceTo this.Flower 11.0 this.Turtle move Forward this Turtle getDistanceTo this.Flower /2.0 square Mark for Review 15. Dari pelajaran Alice Anda , fungsi bawaan menyediakan detail properti yang tepat untuk bidang -bidang berikut: (1) Points Jarak dan pengumpulan. Kedekatan dan ukuran. Kedekatan dan sudut pandang. Kedekatan ukuran hubungan spasial, dan sudut pandang.
Solusi
Jawaban
14. this.Turtle move Forward this.Turtle getDistanceTo this.Flower / 0.515. Kedekatan, ukuran, hubungan spasial, dan sudut pandang.
Penjelasan
14. The question is asking for the correct sequence of instructions that would make a turtle (a common object used in the Alice programming environment to represent a character or entity) move forward half the distance to a flower. The correct sequence of commands should first tell the turtle to move forward, then get the distance to the flower, and finally divide that distance by 2 to move half the distance. Therefore, the correct sequence is: this.Turtle move Forward this.Turtle getDistanceTo this.Flower /0.515. The question is asking about the built-in functions in Alice that provide the correct properties for certain fields. The correct answer is "Kedekatan, ukuran, hubungan spasial, dan sudut pandang" which translates to "Proximity, size, spatial relationship, and point of view". These are all properties that can be manipulated and measured in Alice to create interactive stories and games.