GirlsWhoML Workshop 0

GirlsWhoML Workshop 0

University

20 Qs

quiz-placeholder

Similar activities

Photoshop_1

Photoshop_1

3rd Grade - University

17 Qs

F2 First ICT Online Quiz

F2 First ICT Online Quiz

7th Grade - University

17 Qs

Memahami PBO

Memahami PBO

11th Grade - University

15 Qs

ITMajor1 & IntroSoftEng- Prelim Examination

ITMajor1 & IntroSoftEng- Prelim Examination

University

20 Qs

FIRST QUIZ - INTRO TO COMPUTER TROUBLESHOOTING

FIRST QUIZ - INTRO TO COMPUTER TROUBLESHOOTING

University

20 Qs

Assessment 08

Assessment 08

University

15 Qs

Chapter 1: Testing Fundamentals

Chapter 1: Testing Fundamentals

University

20 Qs

GirlsWhoML Workshop 0

GirlsWhoML Workshop 0

Assessment

Quiz

Computers

University

Medium

Created by

NOOR NABEELAK

Used 3+ times

FREE Resource

AI

Enhance your content

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

2name

_name

l-name

my name

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will be the output of the following code?

x = 5

y = "5"

print(x + y)

10

55

error

5+5

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What happens when you assign x = y = z = 10 in Python?

x gets 10, but y and z remain None

x, y, and z all get 10

x gets 10, but y and z remain uninitialized

Syntax error

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the output of type(10.0)

float

int

double

str

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is the correct way to convert a string "25" to an integer?

float("25")

list("25")

str("25")

int("25")

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many times will the following loop execute?

for i in range(1, 5):

print(i)

2

3

4

5

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What keyword is used to skip an iteration in a loop?

continue

pass

skip

break

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?