Computers and Technology
Computers and Technology, 03.12.2019 05:31, famouzgal

This question uses a robot in a grid of squares. the robot is represented as a triangle, which is initially facing toward the right side of the grid. the robot is moved according to the following instructions.
instruction explanation
move forward the robot moves one square forward in the direction it is facing
rotate right the robot rotates in place 90 degrees clockwise (i. e., makes an in-place right turn).
rotate left the robot rotates in place 90 degrees counter-clockwise (i. e., makes an in-place left turn).
repeat n times the block of instructions contained between the braces {} is repeated n times.
consider the following incorrect program, which is intended to move the robot around the perimeter of the grid below, as indicated by the arrows.
line 1: repeat 4 times
{
line 2: move forward
line 3: rotate right
line 4: repeat 4 times
{
line 5: move forward
}
line 6: rotate right
}
which lines of code should be removed so the program will work as intended? select two answers
a. line 2
b. line 3
c. line 4
d. line 5

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 15:30, jasssp
Write a program in plp assembly that counts up by one starting from zero (or one) inside a loop and writes this value to the leds every time the value is increased. the memory address of the leds is 0xf0200000. the table below shows the meaning and an example usage of the instructions covered in the video, plp instructions for project 1. instruction example usage meaning load immediate li $t0, 8 register $t0 is set to the value, 8. store word sw $t2, 0($t1) the value in register $t1 is used as the memory address. the value in register $t2 is copied into this memory address. add addiu $t4, $t3, 29 register $t4 is assigned the sum of 29 and the value in register $t3. jump j your_label_name the program jumps to the line following the label, "your_label_name: ". label your label name: defines a label called "your_label_name: " that can be jumped to
Answers: 2
image
Computers and Technology, 24.06.2019 04:30, NEUROPHARMACOLOGICAL
The ieee 802.11: defines standards for wireless local area network (wlan) communication protocols. identifies various computers or devices connected to a network. verifies any resource attached to another computer on a network that is different from the computer to which the user is logged on. connects multiple local area networks (lans) and wide area networks (wans).
Answers: 2
image
Computers and Technology, 24.06.2019 09:10, daedae11142
  to change the number of rows and columns displayed by the excel object a. select the object and drag a size handle on the active object. b. deselect the object and drag a size handle of the object. c. deselect the object and drag a row or column divider of the object. d. select the object and drag a row or column divider on the active object.
Answers: 2
image
Computers and Technology, 24.06.2019 15:00, dummynate
Universal windows platform is designed for which windows 10 version?
Answers: 1
Do you know the correct answer?
This question uses a robot in a grid of squares. the robot is represented as a triangle, which is in...

Questions in other subjects:

Konu
Mathematics, 20.08.2019 17:30
Konu
Social Studies, 20.08.2019 17:30
Konu
Social Studies, 20.08.2019 17:30