Python Fundamentals

Python Fundamentals

12th Grade

22 Qs

quiz-placeholder

Similar activities

Python Basics

Python Basics

8th - 12th Grade

23 Qs

GUI Quiz

GUI Quiz

12th Grade

20 Qs

CodeHS Python Unit 3 Quiz Review

CodeHS Python Unit 3 Quiz Review

9th - 12th Grade

20 Qs

CS 26_01_24

CS 26_01_24

9th - 12th Grade

20 Qs

Python Strings Splicing

Python Strings Splicing

12th Grade

20 Qs

Python String

Python String

12th Grade

20 Qs

Python Strings: words, letters and text

Python Strings: words, letters and text

10th - 12th Grade

20 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

Python Fundamentals

Python Fundamentals

Assessment

Quiz

Computers

12th Grade

Medium

Created by

Mohammad Alfesani

Used 113+ times

FREE Resource

22 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is valid arithmetic operator in python?

//

?

<

and

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is invalid?

_a = 1

__a = 1

__str__ = 1

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Which of the following is an invalid variable?

my_string_1

foo

1st_string

_

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python is case senisitive-

Yes

No

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the output of

0.1 + 0.2 == 0.3

True

False

Machine Dependent

Error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python library to be imported for sin() function-

math

random

mysql

tkinter

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Python library to be imported for randint() function -

math

random

mysql

tkinter

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?

Discover more resources for Computers