Python Basics

Python Basics

3rd Grade

25 Qs

quiz-placeholder

Similar activities

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

TMK tahun 6: UNIT 3 PENGHASILAN DAN PENGUJIAN ATUR CARA

1st - 12th Grade

20 Qs

PBD ASK T3 : 4.2 STUKTUR KOD ARAHAN

PBD ASK T3 : 4.2 STUKTUR KOD ARAHAN

1st - 3rd Grade

20 Qs

Rẽ nhánh 3

Rẽ nhánh 3

1st Grade - University

20 Qs

TÉCNICA Y TECNOLOGÍA

TÉCNICA Y TECNOLOGÍA

1st - 3rd Grade

20 Qs

Unit 1 - Working with text: Robots!

Unit 1 - Working with text: Robots!

3rd Grade

20 Qs

Give kids a hand | Scratch Round 2

Give kids a hand | Scratch Round 2

1st - 7th Grade

20 Qs

การออกแบบและเขียนโปรแกรมอย่างง่าย

การออกแบบและเขียนโปรแกรมอย่างง่าย

1st - 6th Grade

20 Qs

Grade 9 Program Design and Problem Solving Quiz 1

Grade 9 Program Design and Problem Solving Quiz 1

3rd Grade

20 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

3rd Grade

Hard

Created by

Mr. Upadhyay

Used 15+ 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

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?