Python Programming Quiz

Python Programming Quiz

5th Grade

10 Qs

quiz-placeholder

Similar activities

Review PAT TIK kelas 5

Review PAT TIK kelas 5

5th Grade

10 Qs

ToonApp

ToonApp

4th - 6th Grade

10 Qs

Play with Scratch - 1

Play with Scratch - 1

5th - 6th Grade

15 Qs

e14 styczeń 2017

e14 styczeń 2017

1st - 5th Grade

13 Qs

Latihan TIK Kls 5

Latihan TIK Kls 5

5th Grade

15 Qs

Digcit 5-6

Digcit 5-6

5th - 6th Grade

10 Qs

 Thiết kế bài trình chiếu- những gì em đã biết

Thiết kế bài trình chiếu- những gì em đã biết

3rd - 5th Grade

13 Qs

Creating Quantitative Exercise and Organogram Word Processing

Creating Quantitative Exercise and Organogram Word Processing

5th Grade

10 Qs

Python Programming Quiz

Python Programming Quiz

Assessment

Quiz

Computers

5th Grade

Practice Problem

Hard

Created by

Debaprasad Maity

FREE Resource

AI

Enhance your content in a minute

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 is the extension of a Python file?

.txt

.py

.java

.doc

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who began working on Python in the late 1980s?

Dennis Ritchie

Guido van Rossum

James Gosling

Bjarne Stroustrup

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does indentation in Python indicate?

A function

A variable

A block of code

A comment

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

/* This is a comment */

<-- This is a comment -->

# This is a comment

// This is a comment

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

To output a variable

To create variables

To define a function

To import libraries

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is NOT a data type in Python?

int

float

array

string

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a function in Python?

A way to create comments

A method to handle errors

A block of code that runs when called

A type of variable

Access all questions and much more by creating a free account

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

Already have an account?