What does the function hour() return?
FGCT4023 Topic 6 - Interactivity

Quiz
•
Computers
•
University
•
Hard
Adila Nordin
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Current hour as a value from 0 to 23
Current hour as a value from 1 to 12
Current hour as a value of AM or PM
Current hour as a value from 0 to any values
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output from this code?
print(nf(123, 4));
1234
123
4
0123
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code do?
float s = map(second(), 0, 60, 0, TWO_PI);
Convert from a value in the range of 0 to 60 into 0 to 2 PI
Map the value of second to float
Convert from a value in the range of 0 to 2 PI into 0 to 60
Map the value of float to second
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the function millis() do?
Milliseconds since the program started
The current time in hours, mins, seconds and milliseconds
The frame rate of the program
Calculates the number of time draw() is executed
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does the function month() return?
The current month as value from 1 to 12
The current month as value from January to December
The current month as value from 1 to any numbers
The number of days within the current month
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does noLoop() do?
Stops Processing from continuously executing the code within draw()
Causes Processing to continuously execute the code within draw()
Redraw the code within draw() once
Exits Processing
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the function that can be used to read a file?
readFile()
loadStrings()
saveStrings()
file()
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
BCSC0006 - Quiz 1 - Arrays

Quiz
•
University
10 questions
ITPFL5 Endterm Exercise #4

Quiz
•
University
15 questions
ROTC Make-up Quiz

Quiz
•
University
10 questions
PHP

Quiz
•
University
15 questions
[Python For All] Quiz 5 - Numpy

Quiz
•
University
10 questions
Java Arrays

Quiz
•
University
15 questions
ARRAYS AND FUNCTIONS

Quiz
•
University
15 questions
Arrays and Pointers in C

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade