Python Basics

Python Basics

3rd Grade

25 Qs

quiz-placeholder

Similar activities

Python Intermediate Quiz (Including pygame)

Python Intermediate Quiz (Including pygame)

3rd - 12th Grade

20 Qs

S3 Python Intro

S3 Python Intro

3rd Grade

22 Qs

Quiz cuối khóa học cơ bản

Quiz cuối khóa học cơ bản

1st - 8th Grade

20 Qs

แบบทดสอบกลางภาคpythonครูสมชาย

แบบทดสอบกลางภาคpythonครูสมชาย

1st - 3rd Grade

20 Qs

Python Basic and Overview

Python Basic and Overview

3rd Grade

20 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

python (coding)

python (coding)

3rd - 6th Grade

20 Qs

Introduction to Python

Introduction to Python

KG - University

25 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

3rd Grade

Hard

Created by

Mr. Upadhyay

Used 6+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is a correct syntax to output "Hello World" in Python?

printf("Hello World");

print("Hello World")

echo "Hello World"

print("Hello World"):

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the purpose of using Python?

Python is used for various purposes such as web development, data analysis, artificial intelligence, scientific computing, automation, and more.

Python is primarily used for video editing

Python is only used for gaming development

Python is exclusively used for accounting purposes

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

How do you insert COMMENTS in Python code?

//This is a comment

#This is a comment

/*This is a comment*/

"This is a comment"

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the output of 'print(5 + 3)'?

7

10

8

2

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which one is NOT a legal variable name?

_myvar

my_var

Myvar

my-var

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the keyword used for defining a function in Python?

function

define

func

def

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is the result of '5 == 5'?

error

true

10

false

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?