Conditionals and Loops

Conditionals and Loops

6th - 8th Grade

20 Qs

quiz-placeholder

Similar activities

DATA ANALYTICS USING EXCEL

DATA ANALYTICS USING EXCEL

7th Grade

15 Qs

Modern Technologies- BTEC

Modern Technologies- BTEC

2nd - 8th Grade

20 Qs

LEDs on micro:bit

LEDs on micro:bit

8th Grade

15 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

Excel

Excel

5th - 6th Grade

15 Qs

Python List

Python List

4th Grade - University

15 Qs

Latihan Quiz Ozobot 8

Latihan Quiz Ozobot 8

8th Grade

20 Qs

Python

Python

8th - 9th Grade

15 Qs

Conditionals and Loops

Conditionals and Loops

Assessment

Quiz

Computers

6th - 8th Grade

Practice Problem

Medium

Created by

Filzah Amjad

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...

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

Which is the most appropriate data type for: "13th December"

String

Boolean

Float

Integer

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

x = 5

y = 6

print(x*y)


The code above displays the following:

11

x*y

Syntax Error

30

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Operators used in python:


divide, multiply, add, subtract

/, *, +, -

div, mul, +, -

\, x, +, -

~, *, +, -

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

3
3.4
2
12

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which symbol means "not equal"?

>=
!=
==
+=

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

This operator means that one value is the same as the other value

==
!=
>
<

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The result of this program:
Friday = False
if Friday:

    print "Jeans day!"
else:
    print "Dress code"

Jeans Day
Jeans day
Dress code
Dress Code

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?

Discover more resources for Computers