Unit-1 Python Programming

Unit-1 Python Programming

University

•

30 Qs

quiz-placeholder

Similar activities

Arduino

Arduino

University

•

25 Qs

Advanced Game Design Midterm

Advanced Game Design Midterm

University

•

25 Qs

Speed Cup de Ingeniería 2021 (Eliminatoria)

Speed Cup de Ingeniería 2021 (Eliminatoria)

1st Grade - University

•

25 Qs

OS Quiz

OS Quiz

University

•

25 Qs

INFORMATICA BASICA FINAL _SENATINOS

INFORMATICA BASICA FINAL _SENATINOS

University

•

25 Qs

Video Games

Video Games

KG - University

•

28 Qs

Copyrights issue

Copyrights issue

University

•

26 Qs

CCC4 Chapter 1 - Introduction to Computers

CCC4 Chapter 1 - Introduction to Computers

University

•

25 Qs

Unit-1 Python Programming

Unit-1 Python Programming

Assessment

Quiz

•

Computers

•

University

•

Practice Problem

•

Hard

Created by

THANGA R

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way to declare a variable in Python?

int x = 10

x := 10

x = 10

declare x = 10

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

integer

float

string

All of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of print(type(10))?

int

type int

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for exponentiation in Python?

^

**

exp()

^^

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the % operator do in Python?

Exponentiation

Division

Modulus

Floor division

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a logical operator in Python?

and

or

not

All of the above

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of 10 // 3?

3.33

3

4

Error

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

Already have an account?