Python Lesson 1-6 Review Quiz

Python Lesson 1-6 Review Quiz

4th Grade

10 Qs

quiz-placeholder

Similar activities

Seberapa pengetahuanmu tentang analisis data ? Kita uji kuy !

Seberapa pengetahuanmu tentang analisis data ? Kita uji kuy !

1st - 12th Grade

15 Qs

Programming concepts: Revision

Programming concepts: Revision

4th - 9th Grade

15 Qs

Python - Data types and Conditional statements

Python - Data types and Conditional statements

4th - 8th Grade

10 Qs

KODEKIDDO HACK #MLH3

KODEKIDDO HACK #MLH3

4th Grade - University

10 Qs

Coding Vocabulary

Coding Vocabulary

3rd - 4th Grade

12 Qs

Python Basics

Python Basics

4th - 7th Grade

10 Qs

Python Final Assessment

Python Final Assessment

4th - 12th Grade

10 Qs

Python

Python

1st - 10th Grade

10 Qs

Python Lesson 1-6 Review Quiz

Python Lesson 1-6 Review Quiz

Assessment

Quiz

Computers

4th Grade

Medium

Created by

Stephanie Pocci

Used 4+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following code print? print("apple", end=" pie") print(" is tasty")

apple pie is tasty

apple pie

apple is tasty

apple pie is not tasty

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the following code print? a = 24 print(a)

a

24

"a"

0

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What does the input() function do in programming?

Deletes a file

Prints a message to the user

Saves a file

Waits for a typed answer from the user

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How can you shorten the code x = x + 1 in Python?

x++

x += 1

x =+ 1

x = 1

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Why can't you add "5" and 5 directly in Python?

Because they are both strings.

Because they are both integers.

Because one is a string and the other is an integer.

Because Python doesn't support addition.

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will the code print if you enter the number 5 and DO NOT convert it to an integer before adding 20?

25

5

Error

205

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the result of the condition (5 == 4)?

True

False

Error

5

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?