Class X-AI Class Test (Python Basics)

Class X-AI Class Test (Python Basics)

10th Grade

25 Qs

quiz-placeholder

Similar activities

Python list, if

Python list, if

6th - 12th Grade

20 Qs

Python basics recap

Python basics recap

9th - 12th Grade

20 Qs

Python for Absolute Beginners

Python for Absolute Beginners

8th - 12th Grade

25 Qs

ASK T2 - Kod Arahan (Python)

ASK T2 - Kod Arahan (Python)

7th Grade - University

20 Qs

Introduction to Python

Introduction to Python

KG - University

25 Qs

Python variables and operators quiz

Python variables and operators quiz

9th - 12th Grade

20 Qs

Python Basics & Syntax

Python Basics & Syntax

10th - 12th Grade

20 Qs

DeltaMath & Python 325

DeltaMath & Python 325

9th - 12th Grade

23 Qs

Class X-AI Class Test (Python Basics)

Class X-AI Class Test (Python Basics)

Assessment

Quiz

Computers

10th Grade

Medium

Created by

Pooja Arora

Used 6+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to define a block of code in Python language?

Indentation

Key

Brackets

All of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Who developed Python Programming Language?

Wick van Rossum

Rasmus Lerdorf

Guido van Rossum

Niene Stom

3.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which are arithmetic operators?

+

-

>

<

4.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Examples of String Literals

"ABC1273"

nfjdlsj@@$

12638

'7e920938'

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the method used for taking user input?

input()

enter()

user_input()

scanf()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a string in python and assign it a value "Hello"

string newVar("Hello")

newVar = "Hello"

newVar= string"Hello"

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can we create a variable named yourVar and assign it a value of 45 in Python

int yourVar =45

yourVar =45

None of the above

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?