GCSE Programming Quiz 2

GCSE Programming Quiz 2

9th Grade

15 Qs

quiz-placeholder

Similar activities

Python Part 1

Python Part 1

1st Grade - University

16 Qs

PE2 Module 3

PE2 Module 3

KG - Professional Development

11 Qs

Eval. 1BIM -  1ro B

Eval. 1BIM - 1ro B

7th Grade - University

15 Qs

Coding Basics

Coding Basics

9th - 12th Grade

20 Qs

Computer Science (Python)

Computer Science (Python)

9th Grade

18 Qs

Python First Steps Homework Quiz

Python First Steps Homework Quiz

7th - 9th Grade

20 Qs

Python

Python

6th - 10th Grade

17 Qs

Big Idea 3

Big Idea 3

9th - 12th Grade

15 Qs

GCSE Programming Quiz 2

GCSE Programming Quiz 2

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Theodore Coley

Used 13+ times

FREE Resource

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

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?