Python Basics Day 3

Python Basics Day 3

University

8 Qs

quiz-placeholder

Similar activities

J277 - 2.2 - Functions in Python

J277 - 2.2 - Functions in Python

10th Grade - University

10 Qs

Tin học 10 - Bài 29

Tin học 10 - Bài 29

10th Grade - University

10 Qs

Python Basics

Python Basics

1st Grade - University

9 Qs

Python

Python

University - Professional Development

10 Qs

Introduction to Python Quiz

Introduction to Python Quiz

8th Grade - University

10 Qs

простой тест программирование

простой тест программирование

1st Grade - University

8 Qs

Python Basics Quiz for KS3

Python Basics Quiz for KS3

11th Grade - University

9 Qs

System Analysis & Design Course Information

System Analysis & Design Course Information

University

12 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