Lesson 27 – Concept of arguments

Lesson 27 – Concept of arguments

5th - 8th Grade

10 Qs

quiz-placeholder

Similar activities

INTRODUCCION A LA PROGRAMACION

INTRODUCCION A LA PROGRAMACION

6th Grade - University

10 Qs

TEORÍA GENERAL DE LOS SISTEMAS

TEORÍA GENERAL DE LOS SISTEMAS

1st - 12th Grade

15 Qs

Tanggapan terhadap Buku

Tanggapan terhadap Buku

7th Grade

10 Qs

Actividad evaluativa # 1 El misterio de la casa verde

Actividad evaluativa # 1 El misterio de la casa verde

5th Grade

10 Qs

El pequeño reino

El pequeño reino

5th Grade

10 Qs

Aparato Respiratorio

Aparato Respiratorio

4th - 6th Grade

10 Qs

COMPRENSION LECTORA

COMPRENSION LECTORA

6th Grade

10 Qs

Aprendizaje Cooperativo 1

Aprendizaje Cooperativo 1

1st - 12th Grade

10 Qs

Lesson 27 – Concept of arguments

Lesson 27 – Concept of arguments

Assessment

Quiz

Professional Development, Education

5th - 8th Grade

Practice Problem

Medium

Created by

NotchUp .co

Used 29+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following enclose the input parameters or arguments of a function?

rackets

parenthesis

curly braces

quotation marks

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default return value for a function that does not return any value explicitely ?

int

float

string

none

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function definition does not return any value?

a function that prints integers from 1 to 100.

a function that returns a random integer from 1 to 100

a function that checks

whether the current second is an integer from 1 to 100.

a function that converts an uppercase letter to lowercase.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following statements correctly represent the function body in the given code snippet?

return “number”

print(number)

print(“number”)

return number

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

which statement is correct about the given program ?

HelloHelloHelloHelloHello

HelloHelloHelloHello

invalid call

infinite loop

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of following code ?

welcomeviewers

welcomeviewersviewersviewers

welcomeviewers,viewers,viewers

welcome

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following function declaration is correct?

def f(a = 1, b):

def f(a = 1, b, c = 2):

def f(a = 1, b = 1, c = 2):

def f(a = 1, b = 1, c = 2, d):

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?