Python Revision

Python Revision

7th Grade

53 Qs

quiz-placeholder

Similar activities

Y8 EOY CS revision - python & algorithms

Y8 EOY CS revision - python & algorithms

7th Grade

56 Qs

Python

Python

7th - 8th Grade

52 Qs

Year 8 Python Programming

Year 8 Python Programming

6th - 8th Grade

50 Qs

Year 9 Term 2 Revision 1

Year 9 Term 2 Revision 1

7th - 8th Grade

50 Qs

FUNDAMENTAL in PROGRAMMING

FUNDAMENTAL in PROGRAMMING

1st - 10th Grade

52 Qs

Python Quiz

Python Quiz

7th - 12th Grade

50 Qs

Year 7 - Revision Recap

Year 7 - Revision Recap

7th Grade

55 Qs

3.1 KOD ARAHAN

3.1 KOD ARAHAN

6th - 8th Grade

50 Qs

Python Revision

Python Revision

Assessment

Quiz

Computers

7th Grade

Medium

Created by

Mai Ghamdi

Used 7+ times

FREE Resource

53 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct syntax for the input ( ) function in Python?

a) input("Enter your name: ")

b) Input("Enter your name: ")

c) input["Enter your name: "]

d) INPUT("Enter your name: ")

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

................................. is the correct syntax for the input ( ) function in Python?

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the print ( ) function do in Python?

a) Accepts user input

b) Displays output to the console

c) Performs mathematical operations

d) Reads data from a file

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following statements is true about the print ( ) function?

a) It returns a value

b) It can only display integers

c) It can display strings and variables

d) It can execute conditional statements

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

print( ) in Python is a/an..............

a) Identifier

b) function

c) data type

d) None

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Commenting in Python can be done by using ...........

a) @

b) DoubleQuotes“”

c) #

d) None

7.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Which of the following are valid Python variable names?

a) total123

b) ca$h

c) abc_abc_

d) If

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?