Python Basics

Python Basics

6th - 8th Grade

15 Qs

quiz-placeholder

Similar activities

Year 7 Python: quiz 1

Year 7 Python: quiz 1

6th Grade

15 Qs

Basics Python

Basics Python

8th - 10th Grade

20 Qs

Python

Python

7th - 10th Grade

20 Qs

Python Revision

Python Revision

8th Grade

15 Qs

Programming - Syntax & Logic Errors

Programming - Syntax & Logic Errors

3rd - 12th Grade

10 Qs

GCSE J277 - 2.3.2 - Syntax and Logic Errors

GCSE J277 - 2.3.2 - Syntax and Logic Errors

7th Grade

20 Qs

Python programming

Python programming

6th - 12th Grade

16 Qs

Principles of Programming

Principles of Programming

KG - University

13 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

6th - 8th Grade

Medium

Created by

Sanjana S

Used 7+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Who developed Python Programming Language?

Wick van Rossum

Rasmus Lerdorf

Guido van Rossum

Niene Stom

2.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Is Python case sensitive when dealing with identifiers?

No

Yes

machine dependent

none of the mentioned

Answer explanation

Case is always significant while dealing with identifiers in python.

Ex: All are different
Name
name

NaMe

NAME

3.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the file extension for a Python script?

.py

.java

.html

.txt

4.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is not a Python data type?

Integer

Print

String

Float

5.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the output of the following Python code snippet?

print(10 // 3)

3.33

3

3.0

10

6.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

Which of the following is a correct way to comment in Python?

// This is a comment

/* This is a comment */

# This is a comment

** This is a comment **

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What is the output of the following Python code snippet?

print(10 % 3)

3.33

1

3.0

10

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?