Search Header Logo

Functions and Files

Authored by Estefanía Garcés Pérez

Computers

Professional Development

Used 1+ times

Functions and Files
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

11 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is a "method" equals to a "function"?

True

False

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What's a function?

It's a sequence of instructions that is repeated.

A non-reusable piece of code

A reusable piece of code

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What's a nested function?

It is a function that accepts another function as a parameter.

It is a function that goes inside another function.

It is a function that works in parallel to another function.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can I use the function inside the function itself?

Yes, you can.

No, you can't.

It's possible using a method such as while().

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Can I assign a function inside a variable?

Aye captain.

Nay, Sir.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's the result?

SyntaxError ...

TEAMmate.

Hello TEAMmate

Goodbye TEAMmate

Goodbye TEAMmate

Hello TEAMmate

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What kind of arguments are there in functions?

Positional.

Default

Keywords

*Args

Returns

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?