Search Header Logo

Functions (C++ and ESP32)

Authored by Roman Niella

Science, Education

12th Grade - University

Used 6+ times

Functions (C++ and ESP32)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?