MICROPROCESSOR AND MICROCONTROLLER

MICROPROCESSOR APPLICATIONS

ARCHITECTURE OF 8085

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What instruction will raise the pen and stop drawing?
A
PENDOWN
B
PENUP
C
RIGHT 999
D
None of the above
Explanation: 

Detailed explanation-1: -Pen Up command One pen control command is called PENUP (abbreviated PU). The ‘PENUP’ command is used when you want to move the turtle without tracing the line. The PENUP command makes the turtle move its pen up so it will not draw when you issue a ‘FORWARD’ or ‘BACK’ command.

Detailed explanation-2: -3) Which command is used to lift up the pen from the screen? Ans:-PENUP command is used to lift up the pen from the screen .

Detailed explanation-3: -penup or pu means pick pen up, so you can move turtle without leaving tracks. pendown or pd means pick pen down, so you can move the turtle and leave tracks. hideturtle or ht means hide the turtle, so you can admire your drawing.

Detailed explanation-4: -penup() basically makes sure that the moving object that you’ve created does not draw anything on the window. So if you have a ball and you want it to move around and draw anything on the window, then you use the penup().

There is 1 question to complete.