Program Development - Python: Code Basics 1

Program Development - Python: Code Basics 1

8th - 10th Grade

16 Qs

quiz-placeholder

Similar activities

L4 Homework

L4 Homework

8th Grade

20 Qs

TIN 9, KIỂM TRA CUỐI  KỲ 2

TIN 9, KIỂM TRA CUỐI KỲ 2

6th - 8th Grade

20 Qs

Google

Google

7th - 12th Grade

20 Qs

M1_Final_Quiz1_2017

M1_Final_Quiz1_2017

7th - 8th Grade

20 Qs

BÀI 24-25 TIN 10

BÀI 24-25 TIN 10

10th Grade

20 Qs

UNIT 1.8 ELCE

UNIT 1.8 ELCE

10th Grade

14 Qs

แบบทดสอบบทที่ 1 เรื่อง ข้อมูลมีคุณค่า ม.5

แบบทดสอบบทที่ 1 เรื่อง ข้อมูลมีคุณค่า ม.5

10th Grade

20 Qs

Logika & Pemrograman (ID)

Logika & Pemrograman (ID)

10th Grade - Professional Development

20 Qs

Program Development - Python: Code Basics 1

Program Development - Python: Code Basics 1

Assessment

Quiz

Computers

8th - 10th Grade

Practice Problem

Hard

Used 32+ times

FREE Resource

AI

Enhance your content in a minute

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

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output?

name = 'Fred'

print (name)

Fred

'Fred'

name

(name)

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the answer to print (16//5)?

1

3

21

165

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of comment lines in code?

To compliment your work so you feel better about it.
To explain the code that follows it.
To make the code compile.
To make your code longer so you get more points.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Returns the remainder from division.

boolean
modulus
variables
exponents

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the output from the following code?
print(17%5)

3
3.4
2
12

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the assignment operator?

+=
=
->
==

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the output be from the following code?
print("3*4+5")

SyntaxErrror
17
3*4+5
12

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?