Python5

Python5

Professional Development

10 Qs

quiz-placeholder

Similar activities

RPAs

RPAs

Professional Development

15 Qs

bab 9 kimia industri kssm f4

bab 9 kimia industri kssm f4

University - Professional Development

15 Qs

Física Materia - Quiz 02 - Entropía, caos y orden

Física Materia - Quiz 02 - Entropía, caos y orden

8th Grade - Professional Development

12 Qs

GENETICA

GENETICA

Professional Development

10 Qs

Quiz Sucralbat

Quiz Sucralbat

Professional Development

10 Qs

Bab 3 : 3.4- Pengangkutan dalam Tumbuhan

Bab 3 : 3.4- Pengangkutan dalam Tumbuhan

Professional Development

15 Qs

HARI TIBI SEDUNIA SGH 2022

HARI TIBI SEDUNIA SGH 2022

Professional Development

10 Qs

四年级科学练习

四年级科学练习

Professional Development

10 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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?