GCSE Programming Quiz 2

GCSE Programming Quiz 2

9th Grade

15 Qs

quiz-placeholder

Similar activities

Arrays, 2D Arrays, and ArrayLists

Arrays, 2D Arrays, and ArrayLists

9th - 12th Grade

15 Qs

J808 LO1 and LO2 planning project keywords / terms

J808 LO1 and LO2 planning project keywords / terms

9th - 11th Grade

15 Qs

Cyber Security Homework 1

Cyber Security Homework 1

7th - 9th Grade

15 Qs

ICT Java programming workshop

ICT Java programming workshop

9th Grade

10 Qs

Computer Science: Computer Systems

Computer Science: Computer Systems

6th Grade - University

10 Qs

Coding helps to Understand

Coding helps to Understand

6th - 10th Grade

10 Qs

Image Editing - Quiz

Image Editing - Quiz

9th Grade

16 Qs

การสร้างสื่อดิจิตอล Quiz

การสร้างสื่อดิจิตอล Quiz

9th - 12th Grade

10 Qs

GCSE Programming Quiz 2

GCSE Programming Quiz 2

Assessment

Quiz

Computers

9th Grade

Practice Problem

Hard

Created by

Theodore Coley

Used 19+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of the value `42` in Python?

String

Integer

Float

Boolean

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used for exponential?

//

**

%

!=

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used for floor division?

//

**

%

!=

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is used to assign a value to a variable?

=

==

:=

=>

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which operator is used to check if two values are equal in Python?

=

==

!=

<=

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type of the value `True` in Python?

String

Integer

Float

Boolean

7.

MULTIPLE CHOICE QUESTION

45 sec • 3 pts

What is the output of the following statement

num1=23

num2=24

if num2 == num1:

print ("Hello")

elif num1 >= num2:

print ("goodbye")

elif num1 < num2:

print (" see you soon)

goodbye

hello

see you soon

print nothing

Access all questions and much more by creating a free account

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?