2F-1 | Python Quiz | 14/10/2024

2F-1 | Python Quiz | 14/10/2024

University

20 Qs

quiz-placeholder

Similar activities

Escala de Likert

Escala de Likert

7th Grade - University

16 Qs

Ujian Sumatif TIK Materi aplikasi Bandlab dan Capcut

Ujian Sumatif TIK Materi aplikasi Bandlab dan Capcut

9th Grade - University

20 Qs

Mesin Pencari Artikel

Mesin Pencari Artikel

11th Grade - University

20 Qs

Pengenalan Kecerdasan Buatan

Pengenalan Kecerdasan Buatan

11th Grade - University

15 Qs

Quiz Software

Quiz Software

8th Grade - University

15 Qs

DATA STRUCTUIR Quiz1 (AIML)

DATA STRUCTUIR Quiz1 (AIML)

University

20 Qs

IT ELECTIVES - ROBOTICS 1ST QUIZ

IT ELECTIVES - ROBOTICS 1ST QUIZ

University

20 Qs

PSTS GANJIL 2025

PSTS GANJIL 2025

9th Grade - University

21 Qs

2F-1 | Python Quiz | 14/10/2024

2F-1 | Python Quiz | 14/10/2024

Assessment

Quiz

Information Technology (IT)

University

Practice Problem

Medium

Created by

Olzhas Toktassyn

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What will the following code print? print("Hello", "World", sep="-")

Hello-World

Hello World

Hello- World

Hello -World

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of these functions is used to get input from the user in Python?

print()

input()

int()

float()

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is the result of 5 // 2 in Python?

2.5

2

3

2.0

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What does the end parameter in the print() function do?

Changes the default separator

Ends the program

Specifies what is printed at the end

Adds a new line at the end

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which operator is used for exponentiation in Python?

/

*

**

%

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is the output of print(int(3.7))?

3

4

3.7

Error

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What will print("A", "B", "C", sep="*") output?

A*B*C

ABC

A B C

A* B* C

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?