FGCT4023 Topic 5 - Colour & Text

Quiz
•
Computers
•
University
•
Medium
Adila Nordin
Used 5+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this code?
String one = "Hello";
String two = "Hello";
println(one.equals(two));
one.equals(two)
Hello
Hello
Hello
true
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
String one = "Hello";
println(one.toUpperCase());
HELLO
Hello
one.toUpperCase()
hello
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What does this code do?
textSize(random(12, 36));
Generate a random text size of 12 to 35
Generate a random location of where the text is placed on the canvas
Generate a random font for the text
Generate a random text
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of these functions should be used to display a text on the windows?
println()
print()
text()
display()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
text("Hello\nWorld", 20, 100);
Hello\nWorld
Hello\nWorld 20 100
Hello World
Hello
World
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of this code?
text("Value is " + 20 + 24, 0, 20);
Value is 2024
Value is 44
Value is 20 24 0 20
Value is 20 + 24 0 20
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the colour produced from this code?
fill(0, 100);
square(0, 0, 40);
Black
White
Gray
No colour
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
C++ data types

Quiz
•
University
6 questions
Topic 5-3: for loop

Quiz
•
University
11 questions
Python If statement

Quiz
•
University
10 questions
Intro to Python

Quiz
•
KG - University
13 questions
JavaScript Variables

Quiz
•
3rd Grade - University
10 questions
JavaScripting

Quiz
•
University
15 questions
Round 2 Debug-The-Code

Quiz
•
University
15 questions
CSE 102 Exam 2 Practice

Quiz
•
University
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
11 questions
NFL Football logos

Quiz
•
KG - Professional Dev...
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
38 questions
Unit 6 Key Terms

Quiz
•
11th Grade - University
20 questions
La Hora

Quiz
•
9th Grade - University
7 questions
Cell Transport

Interactive video
•
11th Grade - University
7 questions
What Is Narrative Writing?

Interactive video
•
4th Grade - University