Python Basics Day 3

Python Basics Day 3

University

8 Qs

quiz-placeholder

Similar activities

It's App to You!

It's App to You!

University

10 Qs

ICT450-TOPIC 1

ICT450-TOPIC 1

University

12 Qs

CID421 Introduction to 3D CAD SOLIDWORK

CID421 Introduction to 3D CAD SOLIDWORK

University

12 Qs

ESBrotherX_Medical AI_Lecture

ESBrotherX_Medical AI_Lecture

University

7 Qs

OCS752_CP_MODEL 1_PART B (16.10.2020)

OCS752_CP_MODEL 1_PART B (16.10.2020)

University

10 Qs

Initial Assessment

Initial Assessment

12th Grade - University

10 Qs

Anime

Anime

KG - University

10 Qs

Konfigurasi VLAN

Konfigurasi VLAN

University

10 Qs

Python Basics Day 3

Python Basics Day 3

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Ninitha C

FREE Resource

AI

Enhance your content in a minute

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

8 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

The number used to access an individual character from a string is called the ________(type in small case)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output of the following Python expression? round(4.576)

4.5
5
4
4.6

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output? print(int(3.98))

3.98
3
Error
4

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output? print(2 ** 3)

6
8
-1
5

5.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

Media Image

What will be the output?

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to get decimal values as input from the user?

float(input("Enter your number : "))
input(float("Enter your number : "))
int(input("Enter your number : "))
input("Enter your number : ")

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Pick the correct one

print(f'{name} registered for the {course_name} course with {mentor_name} in the year 2023')
prin(f'{name} registered for the {course_name} course with {mentor_name} in the year 2023')
print({name} registered for the {course_name} course with {mentor_name} in the year 2023)
print(f' ''name" registered for the "course_name" course with "mentor_name" in the year 2023')

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?

Discover more resources for Computers