FGCT4023 Topic 6 - Interactivity

FGCT4023 Topic 6 - Interactivity

University

10 Qs

quiz-placeholder

Similar activities

Chapter 2: Input Device

Chapter 2: Input Device

12th Grade - University

12 Qs

Fun with Computer Architecture

Fun with Computer Architecture

University

15 Qs

Jarkom

Jarkom

1st Grade - Professional Development

11 Qs

C++ Array Quiz

C++ Array Quiz

University

10 Qs

Information System and Modern Organization part 1

Information System and Modern Organization part 1

University

14 Qs

Computer Basics 2 - CESA

Computer Basics 2 - CESA

7th Grade - University

10 Qs

Node.js

Node.js

University

10 Qs

Software Testing

Software Testing

University

10 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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?