failure

failure

2nd Grade

61 Qs

quiz-placeholder

Similar activities

Persiapan STS ganjil (MTK)

Persiapan STS ganjil (MTK)

2nd Grade

59 Qs

All subjects exam review NKCS G2

All subjects exam review NKCS G2

2nd Grade

63 Qs

Addition: 2 & 3 Digit Numbers

Addition: 2 & 3 Digit Numbers

1st - 4th Grade

65 Qs

Segundo parcial MEC III

Segundo parcial MEC III

KG - 2nd Grade

56 Qs

Ms.QUYNH - G2 - MATH 11

Ms.QUYNH - G2 - MATH 11

2nd Grade

58 Qs

Mathematics

Mathematics

1st - 3rd Grade

60 Qs

Simple Math

Simple Math

2nd - 3rd Grade

58 Qs

Basic Addition

Basic Addition

1st - 4th Grade

64 Qs

failure

failure

Assessment

Quiz

Mathematics

2nd Grade

Practice Problem

Hard

Created by

Phương Anh Nguyễn Thị

FREE Resource

AI

Enhance your content in a minute

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

61 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The number of arguments that can be passed to a function is

1

1 or more

0

0 or more

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The two types of functions used in Pythons are

System function

User function and system call

Builts-in and user-defined         

Custom function and user function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The variable defined outside the function is referred as

automatic        

register

global

static

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The default arguments specified in the function header is an

Identifier followed by an #

Identifier followed by the default value within back-ticks

Identifier followed by the default value within []

Identifier followed by an = and the default value

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Explain the output of the following program

Pi = 3.14

Def tt_hinh_non(bk =10, h = 10):

            Print(pi*bk*bk*k)

Print(tt_hinh_non(5,5))

a.      The variable pi is placed outside the function

a.      The arguments are not the same as the default parameter

a.      Two nested print() statements

a.      The function don’t have a return statement

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Guess the value of x with the below code:

Import math

X = math.sqrt(36)

6.0

6

-6

error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A local variable in Python is a variable that is

Defined inside every function

Local to the given program

Accessible from within the function

All of these

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?