Python Functions

Python Functions

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

ÔN TẬP CUỐI KỲ II TIN 8

ÔN TẬP CUỐI KỲ II TIN 8

8th - 11th Grade

17 Qs

¿QUÉ TANTO SABES?

¿QUÉ TANTO SABES?

1st - 12th Grade

14 Qs

limbajul pascal

limbajul pascal

10th Grade

12 Qs

Evaluación IV Parcial INTAE

Evaluación IV Parcial INTAE

10th Grade

14 Qs

Excel - basic

Excel - basic

9th Grade

15 Qs

Image Editing - Quiz

Image Editing - Quiz

9th Grade

16 Qs

JUEGO - UNIDADES DE MEDIDA DE ALMACENAMIENTO

JUEGO - UNIDADES DE MEDIDA DE ALMACENAMIENTO

1st - 10th Grade

12 Qs

Identidad Corporativa

Identidad Corporativa

10th Grade

15 Qs

Python Functions

Python Functions

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Medium

Created by

Mr Elson

Used 12+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which of the names below follow all naming rules? / ¿Cuál de los siguientes nombres sigue todas las reglas de nomenclatura?

make_two_squares
2_squares
Make 2 Squares
special_function

2.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

True of False? Functions are a way to group a set of commands so they can be called with one line of code. / ¿Verdadero o falso? Las funciones son una forma de agrupar un conjunto de comandos para que puedan llamarse con una línea de código.

True
False

3.

MULTIPLE CHOICE QUESTION

45 sec • 10 pts

Sara will study for a test if it is scheduled for tomorrow or if it covers difficult material. Otherwise, she will relax and watch TV instead of studying. In which of the following scenarios will Sara relax and watch TV instead of studying? / Sara estudiará para un examen si está programado para mañana o si cubre material difícil. De lo contrario, se relajará y mirará televisión en lugar de estudiar. ¿En cuál de los siguientes escenarios Sara se relajará y verá televisión en lugar de estudiar?

The test is 3 days away and covers easy material. / Faltan 3 días para la prueba y cubre material fácil.
The test is tomorrow but covers easy material. / El examen es mañana pero cubre material fácil.
The test is in 2 days and covers difficult material. / La prueba es en 2 días y cubre material difícil.
The test is tomorrow and covers difficult material. / La prueba es mañana y cubre material difícil.

4.

MULTIPLE CHOICE QUESTION

30 sec • 10 pts

Which of the names below follow all naming rules? / ¿Cuál de los siguientes nombres sigue todas las reglas de nomenclatura?

Draw Four Circles
4_circles
my_function
make_four_circles

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

John will go for a run if it is sunny or if he has free time. Otherwise, he will stay at home and read a book. In which of the following scenarios will John stay at home and read a book? / John irá a correr si hace sol o si tiene tiempo libre. De lo contrario, se quedará en casa y leerá un libro. ¿En cuál de los siguientes escenarios John se quedará en casa y leerá un libro?

It is raining and John is busy. / Está lloviendo y John está ocupado.

It is sunny but John is busy. / Hace sol pero John está ocupado.

It is cloudy and John has free time. / Está nublado y John tiene tiempo libre.

It is sunny and John has free time. / Hace sol y John tiene tiempo libre.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the names below follow all naming rules? / ¿Cuál de los siguientes nombres sigue todas las reglas de nomenclatura?

draw_five_triangles

5_triangles

Draw 5 Triangles

special_function_2

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When defining a function, the definition must occur before it is called. / Al definir una función, la definición debe ocurrir antes de que se llame.

True

False

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?