Python Fundamental 1

Python Fundamental 1

Professional Development

10 Qs

quiz-placeholder

Similar activities

Agile SL701B

Agile SL701B

University - Professional Development

10 Qs

Thin & Light

Thin & Light

Professional Development

7 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

Friday Fun

Friday Fun

Professional Development

10 Qs

Day3 - Python STT

Day3 - Python STT

Professional Development

10 Qs

1 - Introducing SCRUM in SAFe

1 - Introducing SCRUM in SAFe

Professional Development

10 Qs

OM_SBENT3C_Q2

OM_SBENT3C_Q2

University - Professional Development

15 Qs

Cuestionario SQL

Cuestionario SQL

Professional Development

10 Qs

Python Fundamental 1

Python Fundamental 1

Assessment

Quiz

Computers

Professional Development

Medium

Created by

Kim Lim

Used 7+ 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 is the output of "12"+"4"+"3"?

1234

1243

10

19

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the ** operator do in Python?

It performs exponentiation (raising the left operand to the power of the right operand).

It performs floor division (divides and rounds down to the nearest integer).

It performs bitwise AND (compares each bit of the operands and returns 1 if both bits are 1).

It performs addition (adds the numeric values of both operands).

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used for string concatenation?

+

&

|

^

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid variable name in Python?

2things

_myVar

my-var

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is the object below?
[1, 2.2, 'python']

List

Dictionary

Tuple

Set

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To check the data type of a variable a in Python, which function will you use?

typeof(a)

datatype(a)

type(a)

data_type(a)

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the expression None == None evaluate to?

True

False

None

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

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

Already have an account?