Python Basics Day 3

Python Basics Day 3

University

8 Qs

quiz-placeholder

Similar activities

Abhyudaya coding class -  Grade 7

Abhyudaya coding class - Grade 7

6th Grade - University

10 Qs

Quiz No. 2 - Finals

Quiz No. 2 - Finals

University

10 Qs

Quiz 1: HTML & CSS

Quiz 1: HTML & CSS

University

10 Qs

Bengkel Interpretasi Kurikulum Program DIT

Bengkel Interpretasi Kurikulum Program DIT

University

10 Qs

L1 - Computer Networks

L1 - Computer Networks

University

13 Qs

Software Engineering :TEST 2

Software Engineering :TEST 2

University

10 Qs

Web-II-Loop and Function

Web-II-Loop and Function

University

10 Qs

Workshop_1

Workshop_1

University

11 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