Python programming Grade 7

Python programming Grade 7

7th Grade

46 Qs

quiz-placeholder

Similar activities

Quiz on Programming Basics

Quiz on Programming Basics

3rd Grade - University

43 Qs

Year 8 Python Programming

Year 8 Python Programming

6th - 8th Grade

50 Qs

GCSE Python Legends

GCSE Python Legends

1st - 12th Grade

45 Qs

Year 9 Python Programming

Year 9 Python Programming

6th - 8th Grade

47 Qs

Year 9 Term 2 Revision 1

Year 9 Term 2 Revision 1

7th - 8th Grade

50 Qs

Python Semester 1

Python Semester 1

1st - 10th Grade

41 Qs

Midterm prep 7th

Midterm prep 7th

7th Grade - University

41 Qs

Python Quiz - 50 Questions

Python Quiz - 50 Questions

6th - 8th Grade

50 Qs

Python programming Grade 7

Python programming Grade 7

Assessment

Quiz

Computers

7th Grade

Medium

Created by

Ahmed Numair

Used 27+ times

FREE Resource

46 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of the following program?

for i in range(0, 5):

print(i)

i=i+1

1 to 5 numbers

1 to 4 numbers

0 to 4 numbers

0 to 5 numbers

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

WHICH ONE OF THE FOLLOWING IS THE CORRECT EXTENSION OF THE PYTHON FILE ?

.py

.python

.p

None of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would the outcome of this program be?

22

50

Nothing, it won't run due to errors in the code

38

4.

MULTIPLE CHOICE QUESTION

30 sec • 5 pts

What does this code do when run the following program: 

name='Aluko' 

print('Hello '+name)

hello aluko

Hello aluko

'Hello Aluko'

Hello Aluko

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python program 3, can carry out calculations. The arithmetic operators we use to do this are: Addition, Subtraction, Multiplication & Division?

Plus, Subtract, Times & Divide

+ - * /

+ - x \

+ - * \

6.

MULTIPLE CHOICE QUESTION

30 sec • 3 pts

What would this code print

name='Poppy' 

name='Beka' 

print('Hello '+name)

Poppy

Liz

Hello Poppy

Hello Beka

7.

MULTIPLE CHOICE QUESTION

30 sec • 2 pts

What would this code do?

print('Hello World!')

hello world

Hello World!

hello world!

'Hello World!'

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?