Data Types

Data Types

Professional Development

10 Qs

quiz-placeholder

Similar activities

DAY 20 CIVILEZY CIVILWAR KWA Paints, Plastering, Bearings

DAY 20 CIVILEZY CIVILWAR KWA Paints, Plastering, Bearings

Professional Development

10 Qs

Day 67-Dec 1-worksheet-PWD-Steel design intro. & bolted connecti

Day 67-Dec 1-worksheet-PWD-Steel design intro. & bolted connecti

Professional Development

15 Qs

MCQ on Innovation & Creativity

MCQ on Innovation & Creativity

Professional Development

15 Qs

Numpy

Numpy

Professional Development

10 Qs

Special_Midterm Formative Assessment No. 1

Special_Midterm Formative Assessment No. 1

Professional Development

10 Qs

Flip Flop

Flip Flop

Professional Development

10 Qs

HIGHWAY NUMERICALS II

HIGHWAY NUMERICALS II

Professional Development

15 Qs

Day 46-Nov 6-worksheet-Btech-Superelevation & extrawidening

Day 46-Nov 6-worksheet-Btech-Superelevation & extrawidening

Professional Development

15 Qs

Data Types

Data Types

Assessment

Quiz

Engineering

Professional Development

Practice Problem

Hard

Created by

py thon

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...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the result of the following code:

x = 'Welcome'

print(x[3])

Wel

c

Welcome Welcome Welcome

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the follwing repersents list data type?

N={1,2,3}

N=[1,2,3]

N= (1,2,3)

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

If x = 9, what is a correct syntax to print 'The price is 9 dollars'?

print(f'The price is {x:f} dollars')

print(f'The price is {x} dollars')

print(f'The price is {x:f(2)} dollars')

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the result of the following code:

prinThe price is 23 dollars

The price is 5 dollars

The price is {2 + 3} dollars

The price is 6 dollars

t(f'The price is {2 + 3} dollars')

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False.

List items cannot be removed after the list has been created.

True

False

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Whis one of theese is a dictionary?

x = ('apple', 'banana', 'cherry')

x = {'type' : 'fruit', 'name' : 'banana'}

x = ['apple', 'banana', 'cherry']

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

True or False.

Dictionary items cannot be removed after the dictionary has been created.

True

False

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?