Search Header Logo

Basic Python

Authored by Raphael Alampay

Computers

Professional Development

Used 4+ times

Basic Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What character should we put before a string in order to interpolate python variables into the string?

f

a

b

t

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the keyword used to define a python function?

init

def

func

fun

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What special character should we put in order to tell python that this is the content of a function?

enter

space

tab

new line

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is python's package version manager called?

nvm

pvm

pyenv

pip

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What library did we use to interact with ChatGPT by making requests to its API?

openai

gpt4

requests

numpy

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What data type is used to for decimal numbers?

string

int

float

char

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python has to be compiled first before we can run it as an executable

True

False

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?