FGCT4023 Topic 6 - Interactivity

FGCT4023 Topic 6 - Interactivity

University

10 Qs

quiz-placeholder

Similar activities

Module 1 - Programming in C

Module 1 - Programming in C

University

15 Qs

Database(1)

Database(1)

10th Grade - University

10 Qs

Implementando CSS

Implementando CSS

University

10 Qs

ICS113_Unix Commands

ICS113_Unix Commands

University

7 Qs

QUIZ 3

QUIZ 3

University

10 Qs

COA Q3

COA Q3

University

10 Qs

Python-Variables, Expressions

Python-Variables, Expressions

University

12 Qs

Microsoft Word - Shortcut Keys

Microsoft Word - Shortcut Keys

4th Grade - University

15 Qs

FGCT4023 Topic 6 - Interactivity

FGCT4023 Topic 6 - Interactivity

Assessment

Quiz

Computers

University

Hard

Created by

Adila Nordin

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the function hour() return?

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?