Python

Python

6th - 10th Grade

17 Qs

quiz-placeholder

Similar activities

DATA ANALYTICS USING EXCEL

DATA ANALYTICS USING EXCEL

7th Grade

15 Qs

CMU quiz

CMU quiz

7th - 9th Grade

20 Qs

Chapter 7: System life cycle

Chapter 7: System life cycle

9th - 11th Grade

15 Qs

Microsoft Office Advandces 2016

Microsoft Office Advandces 2016

9th Grade - Professional Development

20 Qs

Sains Komputer Tingkatan 5 - 1.3.1 Menerangkan get logik

Sains Komputer Tingkatan 5 - 1.3.1 Menerangkan get logik

1st Grade - Professional Development

20 Qs

QUIZ #4 Communicating Using the Internet

QUIZ #4 Communicating Using the Internet

6th Grade

15 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

QUIZ BAB 4: SISTEM OPERASI

QUIZ BAB 4: SISTEM OPERASI

8th Grade - University

20 Qs

Python

Python

Assessment

Quiz

Computers

6th - 10th Grade

Practice Problem

Hard

Created by

Rafael Diolatzis

Used 132+ times

FREE Resource

AI

Enhance your content in a minute

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

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

What will this python code do?

print("Hello, World")

Display Hello, World

Sent a message to our printer to print Hello, World in a paper

Display "Hello, World"

Nothing its syntax is wrong

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

how do we assign to the variable x a value of 5?

var x = 5;

var x = 5

x = 5

(x) == 5

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Whats wrong with the script below?

print(a+b)

a = 5

b = 10

The program doesn' t now what a and b is.

The print function should be print("a+b")

The print function should be print(a + b)

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

click the correct if function:

if x = 5:

if x = num(5):

if x == 5:

if x = float(num(5)):

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

Whats the correct boolean type:

x == 5

x = 5

x = condition(True)

x = True

x == True

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

why will the following script won't work?

user_input1 = input("Enter a number: ")

user_input2 = input("Enter a second number: ")


print(user_input1 + user_input2)

Because variables cannot be longer than 1 word

Because user_input1 and user_input2 is a string

Because input is an invalid function

Because python will always thing that it has to add 1+2

It will work

7.

MULTIPLE SELECT QUESTION

2 mins • 1 pt

Click all the functions that exist in python:

elif

function

if

float()

key_input

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?