functions

functions

Professional Development

•

28 Qs

quiz-placeholder

Similar activities

Parts of a Computer #2 - Cables and Ports

Parts of a Computer #2 - Cables and Ports

6th Grade - Professional Development

•

25 Qs

SDdbC#_Final Quiz

SDdbC#_Final Quiz

Professional Development

•

25 Qs

minecraft

minecraft

KG - Professional Development

•

24 Qs

fundamentos de javascript

fundamentos de javascript

Professional Development

•

25 Qs

computer science

computer science

KG - Professional Development

•

23 Qs

BTEC Coding & Logic

BTEC Coding & Logic

12th Grade - Professional Development

•

24 Qs

Linux Test Prep 1

Linux Test Prep 1

7th Grade - Professional Development

•

25 Qs

A+ - 14B - Troubleshoot Windows Networking

A+ - 14B - Troubleshoot Windows Networking

Professional Development

•

24 Qs

functions

functions

Assessment

Quiz

•

Computers

•

Professional Development

•

Practice Problem

•

Medium

Created by

KEERTHI BADUGU

Used 9+ times

FREE Resource

AI

Enhance your content in a minute

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

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1. What is a function in Python?

a) A keyword

b) A block of code to perform a task

c) A variable

d) A loop

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

2. How many types of functions does Python support?

a) 1

b) 2

c) 3

d) 4

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. Which of these is a built-in function in Python?

a) sum()

b) greet()

c) display()

d) calculate()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

4. What does input() do?


a) Displays output

b) Takes user input

c) Converts to string

d) Rounds numbers

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

5. Which function displays output in Python?


a) display()

b) show()

c) print()

d) write()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Which function converts a value to integer?

char()
str()
decimal()
int()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

7. Which of these converts data to a tuple?

set()
dict()
list()
c) tuple()

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?