Python Revision

Python Revision

7th Grade

53 Qs

quiz-placeholder

Similar activities

Hoạt động trải nghiệm 7

Hoạt động trải nghiệm 7

6th - 8th Grade

56 Qs

Tin học 7

Tin học 7

7th Grade

54 Qs

AQA GCSE Computer Systems

AQA GCSE Computer Systems

7th Grade - University

50 Qs

ULANGAN HARIAN BAB 3 TIK

ULANGAN HARIAN BAB 3 TIK

7th Grade

50 Qs

Citation styles: APA and Chicago

Citation styles: APA and Chicago

7th - 12th Grade

50 Qs

KS3 Spr1 CCCS

KS3 Spr1 CCCS

6th - 8th Grade

50 Qs

LATIHAN PRAKARYA PENGOLAHAN KELAS 7 TP 2022

LATIHAN PRAKARYA PENGOLAHAN KELAS 7 TP 2022

7th Grade

50 Qs

Kiến thức PowerPoint và Scratch

Kiến thức PowerPoint và Scratch

4th Grade - University

52 Qs

Python Revision

Python Revision

Assessment

Quiz

Computers

7th Grade

Practice Problem

Medium

Created by

Mai Ghamdi

Used 7+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?