Functions (C++ and ESP32)

Functions (C++ and ESP32)

12th Grade - University

15 Qs

quiz-placeholder

Similar activities

Arduino Programming

Arduino Programming

7th - 12th Grade

12 Qs

PLTW Modeling & Simulation Vocabulary Part 2

PLTW Modeling & Simulation Vocabulary Part 2

5th Grade - University

15 Qs

Spriometry

Spriometry

University

15 Qs

Feedback Mechanism

Feedback Mechanism

12th Grade

10 Qs

HS-ESS2-2 Feedbacks & Earth Systems

HS-ESS2-2 Feedbacks & Earth Systems

10th - 12th Grade

17 Qs

Computer integrated manufacturing

Computer integrated manufacturing

University

15 Qs

Functions (C++ and ESP32)

Functions (C++ and ESP32)

Assessment

Quiz

Science, Education

12th Grade - University

Hard

Created by

Roman Niella

Used 6+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Functions allow ____________ the programs in segments of code to perform individual ________.

structuring / tasks

writing / operations

structuring / instructions

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many parameters does a function have?

several or none

none

it depends on the type of function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The definition of a function has got four sections: _________________

return value, function name, parameters and function body

void, function name, arguments, function body

return value, function name, parameters and instructions

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Parameters are separated by ____

coma ( , )

dot ( . )

semicolon ( ; )

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The parameters are written between _________

parentheses

brackets

semicolons

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Is this function well defined? (1)

No, the return value is missing

No, parameters must be separeted by semicolon ( ; )

Yes

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Is this function well defined? (2)

Yes, it's well defined

No, the function must end with a semicolon ( ; )

Yes, it doesn't work fine

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?

Discover more resources for Science