Python5

Python5

Professional Development

10 Qs

quiz-placeholder

Similar activities

Soal Skolastik PPPK 2

Soal Skolastik PPPK 2

Professional Development

10 Qs

Correlation and Simple Linear Regression

Correlation and Simple Linear Regression

University - Professional Development

15 Qs

Quiz para a Biomecânica

Quiz para a Biomecânica

University - Professional Development

10 Qs

DIARREA AGUDA Y CRÓNICA

DIARREA AGUDA Y CRÓNICA

University - Professional Development

10 Qs

Quiz 2 limpieza y desinfección de equipos odontológicos

Quiz 2 limpieza y desinfección de equipos odontológicos

Professional Development

10 Qs

3D optical Profilometer

3D optical Profilometer

University - Professional Development

13 Qs

family guy

family guy

1st Grade - Professional Development

8 Qs

CPL Acft Tech - Engine performance

CPL Acft Tech - Engine performance

Professional Development

15 Qs

Python5

Python5

Assessment

Quiz

Science

Professional Development

Practice Problem

Hard

Created by

Cebotar Gabriela

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

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

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a correct syntax to output "Hello World" in Python?

echo "Hello World"

p(Hello World)

print("Hello World")

echo("Hello World");

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you insert COMMENTS in Python code?

/*This is a com*/

//This is a com

#This is a com

"This is a com"

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one is NOT a legal variable name?

my_var

_my_var

my-var

MyVar

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable with the numeric value 5?

x = 5

x = int(5)

both

none

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct file extension for Python files

.pyth

.py

.pt

.pyt

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you create a variable with the floating number 2.8?

x = float(2.8)

both

none

x = 2.8

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to output the type of a variable or object in Python?

print(typeof(x))

print(typeof x)

print(type(x))

print(typeOf(x))

Create a free account and access millions of resources

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?