failure

failure

2nd Grade

61 Qs

quiz-placeholder

Similar activities

Spring 2025 Mathematics Final

Spring 2025 Mathematics Final

2nd Grade - University

63 Qs

Friends of Ten

Friends of Ten

1st - 2nd Grade

58 Qs

MEASUREMENT

MEASUREMENT

2nd Grade

56 Qs

Violet A

Violet A

1st - 6th Grade

56 Qs

Times tables

Times tables

2nd - 3rd Grade

60 Qs

Addition Facts

Addition Facts

2nd - 3rd Grade

60 Qs

Counting Coins

Counting Coins

2nd Grade

59 Qs

Telling Time

Telling Time

2nd Grade

60 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?