Question 1 of 30
In a project using Touch Develop, a developer is tasked with creating a simple game where a character moves across the screen based on user input. The game requires the character to move left by 10 pixels when the left arrow key is pressed and right by 10 pixels when the right arrow key is pressed. If the character starts at an initial position of \\( x = 50 \\) pixels, what will be the character\'s position after the following sequence of inputs: left arrow, right arrow, left arrow, left arrow?
\( x = 30 \) pixels
\( x = 40 \) pixels
\( x = 20 \) pixels
\( x = 10 \) pixels

Preparing for Microsoft 98-380 Introduction to Programming Using Block-Based Languages (Touch Develop)? Now land the interview.

73% of qualified candidates get rejected because of weak resumes. Build an ATS-optimized, recruiter-ready resume in under 5 minutes - free to start.

Build My Resume Free