Functions (C++ and ESP32)

Functions (C++ and ESP32)

12th Grade - University

15 Qs

quiz-placeholder

Similar activities

16EE5204 CONTROL SYSTEM QUIZ-1

16EE5204 CONTROL SYSTEM QUIZ-1

University

20 Qs

unit 3

unit 3

University

10 Qs

Intro to Programming: data types, if/else, and loops

Intro to Programming: data types, if/else, and loops

8th - 12th Grade

15 Qs

Spriometry

Spriometry

University

15 Qs

Feedback Mechanism

Feedback Mechanism

12th Grade

10 Qs

Arduino Programming

Arduino Programming

7th - 12th Grade

12 Qs

Checkpoint 2 Assessment 2 - 12G

Checkpoint 2 Assessment 2 - 12G

12th Grade

11 Qs

Unit 2

Unit 2

University

10 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?