Programming Quiz

Programming Quiz

7th Grade

30 Qs

quiz-placeholder

Similar activities

Uji Kompetensi Komputer Kelas 5 BAB 9 dan 10

Uji Kompetensi Komputer Kelas 5 BAB 9 dan 10

1st - 10th Grade

25 Qs

ICT quiz for class 7

ICT quiz for class 7

7th Grade

25 Qs

STRUKTUR KAWALAN - ASK TINGKATAN 2

STRUKTUR KAWALAN - ASK TINGKATAN 2

7th - 12th Grade

25 Qs

Q2   P324

Q2 P324

6th - 7th Grade

30 Qs

python

python

7th Grade

30 Qs

Python Easy

Python Easy

6th - 12th Grade

30 Qs

JFS G7 Quiz Term 1 2023

JFS G7 Quiz Term 1 2023

7th Grade

30 Qs

Key Programming Concepts

Key Programming Concepts

5th - 12th Grade

28 Qs

Programming Quiz

Programming Quiz

Assessment

Quiz

Computers

7th Grade

Hard

Created by

Jeremy Beck

Used 6+ times

FREE Resource

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

if score > 75??? print("Good job!")

=

:

>

variable_name

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

username ??? "Alex"

==

:

=

+

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for i in ???(5): print(i)

range

loop

if

int

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following code, what symbol should replace the question marks to complete the while loop condition? while count ??? 10: print(count) count = count + 1

=

:

<

if

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What operator should replace the question marks to correctly calculate the average of two scores? average = (score1 + score2) ??? 2

%

/

=

:

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator should replace the question marks to correctly compare if is_active is True? is_active ??? True

==

:

=

+

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the following code, what operator should replace the question marks to check if user_name is "Sam"? if user_name ??? "Sam": print("Hello, Sam!")

=

==

:

+

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?