failure

failure

2nd Grade

61 Qs

quiz-placeholder

Similar activities

Identifying fractions

Identifying fractions

2nd - 3rd Grade

61 Qs

Coins, Shapes, Time Review

Coins, Shapes, Time Review

KG - 2nd Grade

60 Qs

Greater than, Less than, Equals & more

Greater than, Less than, Equals & more

2nd Grade

60 Qs

4-6 6 weeks  Warm Up☺

4-6 6 weeks Warm Up☺

1st - 5th Grade

59 Qs

Mr. Stein Wednesday January 18, 2023 Make Line Plots

Mr. Stein Wednesday January 18, 2023 Make Line Plots

2nd Grade

66 Qs

Math Facts

Math Facts

2nd - 3rd Grade

60 Qs

Geometry 3rd Grade

Geometry 3rd Grade

2nd - 4th Grade

57 Qs

Algebra review

Algebra review

KG - University

61 Qs

failure

failure

Assessment

Quiz

Mathematics

2nd Grade

Hard

Created by

Phương Anh Nguyễn Thị

FREE Resource

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
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?