G9 - Python - Quiz

G9 - Python - Quiz

9th Grade

50 Qs

quiz-placeholder

Similar activities

CodeCademy - Python 3 - Syntax and Functions

CodeCademy - Python 3 - Syntax and Functions

7th - 12th Grade

50 Qs

Roblox  Lanjutan (Bag. 7.2)

Roblox Lanjutan (Bag. 7.2)

9th - 12th Grade

45 Qs

Unit 3 - Introduction to Algorithms Review

Unit 3 - Introduction to Algorithms Review

9th - 12th Grade

45 Qs

Year 9 - Python Quiz

Year 9 - Python Quiz

9th Grade

45 Qs

ICT-4th

ICT-4th

9th Grade

46 Qs

Knowledge Check Y10 GCSE

Knowledge Check Y10 GCSE

9th - 11th Grade

50 Qs

PYTHON PROGRAMMING - FINAL EXAM REVIEW

PYTHON PROGRAMMING - FINAL EXAM REVIEW

9th - 12th Grade

46 Qs

Python All

Python All

9th Grade

53 Qs

G9 - Python - Quiz

G9 - Python - Quiz

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Thirumalai P

Used 1+ times

FREE Resource

50 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator has the highest precedence in Python?

*

**

//

%

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the result of 9 // 2?

4.5

5

4

4.0

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A SyntaxError occurs when:

An operation is mathematically impossible

Rules of Python symbols are violated

A variable is reassigned

Data type is mismatched

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name?

2name

name_2

name-2

@name

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which built-in function checks the data type of a value?

type()

dtype()

datatype()

check()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will int(-99.9) return?

-100

-99.9

-99

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator returns True only if both conditions are True?

or

not

and

==

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?