End of term assessment

End of term assessment

9th Grade

15 Qs

quiz-placeholder

Similar activities

Python programming -recap

Python programming -recap

7th - 10th Grade

12 Qs

CodeHS 2.8 Comparison Operators

CodeHS 2.8 Comparison Operators

9th - 12th Grade

13 Qs

Python  beginners quiz

Python beginners quiz

9th - 10th Grade

10 Qs

Operators

Operators

9th Grade

19 Qs

Operators and data types

Operators and data types

9th - 12th Grade

17 Qs

JAVA FUNDAMENTALS

JAVA FUNDAMENTALS

9th - 12th Grade

20 Qs

Python Basics

Python Basics

6th Grade - University

10 Qs

Selection in Python

Selection in Python

1st - 9th Grade

15 Qs

End of term assessment

End of term assessment

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Amani Musleh

Used 6+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

The best structure for implementing a multi-way decision in Python is:

if

if-else

if- elif- else

comparison operator

2.

MULTIPLE CHOICE QUESTION

5 mins • 1 pt

Which one of the following is a valid Python if statement

if x >= 5:

if (x >= 5)

if (x => 55)

if x >= 5

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Find the value returned by the logical operator in the following case

5 > 6 and 8 < 15

True

False

4.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Find the value returned by the logical operator in the following case

5>6 or 8<15

True

False

5.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Find the value returned by the logical operator in the following case

not 5>6

True

False

6.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Find the value returned by the logical operator in the following case

13<20 and 25>20

True

False

7.

MULTIPLE CHOICE QUESTION

3 mins • 1 pt

Find the value returned by the logical operator in the following case

a=b=c=5 a+b>c and a+c>b or b+c>a

True

False

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?