Python Functions

Python Functions

9th - 12th Grade

16 Qs

quiz-placeholder

Similar activities

С++ циклы

С++ циклы

10th Grade

20 Qs

FTP

FTP

1st - 10th Grade

12 Qs

Archivos Digitales

Archivos Digitales

9th Grade - University

14 Qs

11. P1 - Redes

11. P1 - Redes

6th - 11th Grade

16 Qs

Functions in C++

Functions in C++

11th Grade

20 Qs

Access

Access

10th Grade - University

11 Qs

Quizz Internet

Quizz Internet

KG - Professional Development

12 Qs

computer Lab Manners

computer Lab Manners

5th - 10th Grade

19 Qs

Python Functions

Python Functions

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Mr Elson

Used 12+ times

FREE Resource

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

Create a free account and access millions of resources

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?