Python Basics Day 3

Python Basics Day 3

University

8 Qs

quiz-placeholder

Similar activities

Quiz 1

Quiz 1

University

10 Qs

Python 1

Python 1

University

10 Qs

Quiz 6

Quiz 6

University

10 Qs

Python Basics

Python Basics

University

10 Qs

Java quiz based on inheritance

Java quiz based on inheritance

University

10 Qs

Python Day 8

Python Day 8

University

7 Qs

Array

Array

University

11 Qs

Python Day 10

Python Day 10

University

7 Qs

Python Basics Day 3

Python Basics Day 3

Assessment

Quiz

Computers

University

Hard

Created by

Ninitha C

FREE Resource

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')

8.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Give the output print(math.ceil(33.33)) print(math.floor(33.33))
33.33 33
33 34
34 33
33 33.3