نشاط الدوال المضمنة الخاصة بالأرقام

نشاط الدوال المضمنة الخاصة بالأرقام

10th Grade

10 Qs

quiz-placeholder

Similar activities

Pre-Assessment: ICT 10 Orientation Day

Pre-Assessment: ICT 10 Orientation Day

10th Grade

10 Qs

Coding Quiz

Coding Quiz

6th - 10th Grade

15 Qs

Menu-Menu pada Microsoft Excel Kelas A

Menu-Menu pada Microsoft Excel Kelas A

7th Grade - University

10 Qs

Memahami HTML

Memahami HTML

10th Grade

10 Qs

Robotics Quiz_EV3 Basic Components

Robotics Quiz_EV3 Basic Components

9th - 10th Grade

15 Qs

Google Apps

Google Apps

4th - 12th Grade

10 Qs

Design specifications

Design specifications

6th - 10th Grade

10 Qs

KSK2013 -9 Setup report

KSK2013 -9 Setup report

KG - University

15 Qs

نشاط الدوال المضمنة الخاصة بالأرقام

نشاط الدوال المضمنة الخاصة بالأرقام

Assessment

Quiz

Computers

10th Grade

Hard

Created by

Mohamed Farouk

FREE Resource

AI

Enhance your content

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

What does the abs() function do in Python?

The abs() function calculates the square of a number.

The abs() function rounds a number to the nearest integer.

The abs() function returns the absolute value of a number.

The abs() function converts a number to a string.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you use the round() function to round 3.14159 to two decimal places?

round(3.14159)

round(3.14159, 3)

round(3.14, 1)

round(3.14159, 2)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of abs(-10) in Python?

-5

-10

0

10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If x = -5.7, what will round(x) return?

-6

-7

0

-5

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the pow() function in Python?

The pow() function generates a random number.

The pow() function raises a number to a specified power.

The pow() function converts a number to a string.

The pow() function calculates the square root of a number.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you use the min() function with a list of numbers?

You can use min() by calling min(your_list, 0) where your_list is a list of numbers.

You must use min() with a string instead of a list of numbers.

You can only use min() with a tuple, not a list of numbers.

You can use min() by calling min(your_list) where your_list is a list of numbers.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the result of round(2.5) in Python?

3

2.0

2

1.5

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?