2F-3 | Python Quiz | 22/11/2024

2F-3 | Python Quiz | 22/11/2024

University

19 Qs

quiz-placeholder

Similar activities

Mastering Python Control Flow

Mastering Python Control Flow

University

15 Qs

Python_MCQ_2

Python_MCQ_2

University

15 Qs

ML Use-Cases Quiz

ML Use-Cases Quiz

University

20 Qs

Kuis Arkom 2

Kuis Arkom 2

University

15 Qs

Pretest 5 - PBW 2B - PHP

Pretest 5 - PBW 2B - PHP

University

20 Qs

Python: operadores y tipos de datos

Python: operadores y tipos de datos

University

18 Qs

BAB 4 SISTEM KOMPUTER KELAS 8

BAB 4 SISTEM KOMPUTER KELAS 8

8th Grade - University

20 Qs

Quiz Administrasi Perkantoran

Quiz Administrasi Perkantoran

9th Grade - University

20 Qs

2F-3 | Python Quiz | 22/11/2024

2F-3 | Python Quiz | 22/11/2024

Assessment

Quiz

Information Technology (IT)

University

Medium

Created by

Olzhas Toktassyn

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

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

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is a conditional operator?

An operator used for looping

An operator that compares strings

An operator that allows decision-making

None of the above

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

What does the following program output if a = 5 and b = 10?

a is greater

No output

b is greater

Error in the program

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

How many if statements are needed to check if x is greater than both y and z?

3

2

1

None of the above

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Media Image

What will be the output of this program?

No output

Error in the program

Divisible

None of the above

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is the result of x > 5 and x < 10 when x = 7?

False

Error

True

None of the above

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of these statements checks if a number is positive and divisible by 3?

x > 0 or x % 3 == 0

x % 3 == 0 and x > 0

x > 0 and x % 3 != 0

x < 0 or x % 3 == 0

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which logical operation is used in the following condition?

(a and b) or not c

and only

  • or only

Both and and or

Neither

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?