Python Final Review

Python Final Review

University

20 Qs

quiz-placeholder

Similar activities

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

1ºDAM/DAW - Entornos de Desarrollo - UD1-6 - Prof. C. Boni

University - Professional Development

20 Qs

After Effect Intoduction

After Effect Intoduction

10th Grade - University

15 Qs

Memory-Mobo-Hard/Software

Memory-Mobo-Hard/Software

University

18 Qs

PARC Linux Basic Part 2

PARC Linux Basic Part 2

University

20 Qs

CSS Pseudo dan CSS Grid System

CSS Pseudo dan CSS Grid System

University

20 Qs

SQL Quiz

SQL Quiz

University

18 Qs

Dasar Desain Grafis

Dasar Desain Grafis

12th Grade - University

15 Qs

BIM1014 Quiz 2

BIM1014 Quiz 2

KG - University

15 Qs

Python Final Review

Python Final Review

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Christine Falk

Used 6+ times

FREE Resource

AI

Enhance your content in a minute

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

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What do you call a saved file containing Python instructions?

A template

A module

A class

A function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What type of value is returned by the input function?

String

Boolean

Float

Integer

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the name of the output you get when an error occurs in your program?

Exception

Back trace

Stack trace or traceback

Error message

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which string function do you call when you want to convert the first letter in the string to uppercase?

str.lower()

str.capitalize()

str.upper()

str.startwith()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function do you call when you want to append an element at the end of a list?

list.end()

list.endswith()

list.addatend()

list.append()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a control statement?

It is a statement that executes different parts of code continuously

It is a structure that explicitly changes program flow

It is a structure that conditionally changes program flow

It is a statement that ends program flow

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function can help generate a list of numbers?

The list function

The rnum function

The range function

The rlist function

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