CSD-Python

CSD-Python

1st - 5th Grade

15 Qs

quiz-placeholder

Similar activities

Re Un Dis

Re Un Dis

2nd Grade

20 Qs

Prefixes Un Re Mis Dis

Prefixes Un Re Mis Dis

2nd Grade

20 Qs

Prefixes Un In Mis

Prefixes Un In Mis

2nd Grade

20 Qs

Introduction to CS Knowledge Check

Introduction to CS Knowledge Check

2nd Grade

20 Qs

Computer questions

Computer questions

1st - 6th Grade

10 Qs

Media Literacy

Media Literacy

3rd Grade

15 Qs

Language Arts Strategies

Language Arts Strategies

3rd Grade - University

16 Qs

python L3

python L3

3rd Grade

10 Qs

CSD-Python

CSD-Python

Assessment

Quiz

English

1st - 5th Grade

Hard

Created by

PRADEEP ABBURI

Used 7+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who developed Python?

Dennis Ritchie

Guido van Rossum

James Gosling

Bjarne Stroustrup

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct file extension for Python files?

.pt

.pyt

.py

.python

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

which of the following is a valid way to declare a variable in python

var x = 10

x = 10

int x = 10

x := 10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will print(type(5)) output in Python?

<class ‘integer’>

<class ‘int’>

<type ‘int’>

Integer

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol is used to start a single-line comment in Python?

//

#

<!-- -->

/* */

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of print(2 ** 3)

6

8

9

None

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid Python data type?

int

float

real

complex

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?