Quizzes
Search
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Create a Quiz
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Search
Create A Quiz
Take Quizzes
Animal
Nutrition
Love
Relationship
Computer
Sports
Society
Business
Geography
Language
Personality
Harry Potter
Movie
Television
Music
Online Exam
Health
Country
Art
Entertainment
Celebrity
Math
Game
Book
Fun
Science
Food
History
Education
All Topics
Products
Quiz Maker
Training Maker
Survey Maker
Flashcards
Brain Games
See All
ProProfs.com
Quizzes
Quizzes
Ics - Java Quiz
4 Questions
|
By Kmckenzie29 | Updated: Mar 14, 2022
| Attempts: 50
Share
Start
Share on Facebook
Share on Twitter
Share on Whatsapp
Share on Pinterest
Share on Email
Copy to Clipboard
Embed on your website
Question
1
/ 5
0 %
0/100
Score
0/100
1.
What shape does the following code make?
int a = 0;
while(a<2)
{
forward(200);
right(90);
forward(50);
a++;
}
Submit
Start Quiz
About This Quiz
Quiz 2 - Java. This quiz covers the basic java codes based on Jurtle.
2.
What first name or nickname would you like us to use?
You may optionally provide this to label your report, leaderboard, or certificate.
2.
What are the basic java codes?
Forward(); penUp(); penDown(); backward();
Forward(); backward(); right(); left();
PenUp(); penDown(); setHeading(); setPosition();
Backward(); setHeading(); penDown(); left();
Submit
3.
What type of number is put in the parenthesis for the following codes?
forward();
right();
Submit
4.
What will the following code make? Assume that the turtle was in it's starting position.
forward(100);
penUp();
right(90);
setPenColor(Color.red);
forward(100);
right(90);
forward(100);
right(90);
forward(100);
A square
A square with one side black and the remaining sides red
A straight vertical line
Nothing.
Submit
5.
Write the code to make a circle.
Submit
×
Thank you for your feedback!
View My Results
Related Quizzes
Exam 7 Numbers 1-5
Exam 7 Numbers 1-5
CRCT Prep Quiz Ages 5-7
CRCT Prep Quiz Ages 5-7
Book 5 Lesson 7-8
Book 5 Lesson 7-8
Thank you for your feedback!
Would you like to edit this question to improve it?
No thanks
Name:
Email:
Oops! Give us more information:
Incorrect Question
Incorrect Answer
Typos
I have a feedback
Submit
Please provide name and email to proceed.
Please provide correct email to proceed.
Please provide feedback.
Please select the option.
All (5)
Unanswered (
)
Answered (
)
What shape does the following code make?int a =...
What are the basic java codes?
What type of number is put in the parenthesis for the following...
What will the following code make? Assume that the turtle was in it's...
Write the code to make a circle.
X
OK
X
OK
Cancel
X
OK
Cancel
Advertisement