CT 2nd Half

CT 2nd Half

7th Grade

12 Qs

quiz-placeholder

Similar activities

worksheet python

worksheet python

7th Grade

13 Qs

Introducing Python MCQs

Introducing Python MCQs

6th - 8th Grade

10 Qs

Python Basics Quiz

Python Basics Quiz

6th - 10th Grade

15 Qs

Python Quiz 🐍

Python Quiz 🐍

2nd - 8th Grade

10 Qs

Python Programming Basics

Python Programming Basics

7th - 11th Grade

12 Qs

python quiz

python quiz

6th Grade - Professional Development

10 Qs

Python

Python

7th Grade

13 Qs

KS3 GCSE Computer Science (Programming / Python)

KS3 GCSE Computer Science (Programming / Python)

7th - 11th Grade

10 Qs

CT 2nd Half

CT 2nd Half

Assessment

Quiz

Computers

7th Grade

Hard

Created by

lutfiya hussein

Used 5+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is a feature of text-based programming languages like Python?

a. Programs are created using drag-and-drop blocks.

b. Syntax errors are automatically corrected.

c. Code must follow a specific syntax.

d. Output is not customizable.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will print("Hello") output in Python?

a. Hello

b. "Hello"

c. Error

d. Nothing

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is case-sensitive, so Print() and print() are treated differently.

True

False

c. Error

d. Nothing

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A syntax error occurs when Python code violates the rules of its language.

True

False

c. Error

d. Nothing

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the input() function in Python?

a. To assign a value to a variable

b. To display a message

c. To read data from the user

d. To perform calculations

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which data type can store the value 12.5 in Python?

a. Integer

b. Float

c. String

d. Boolean

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Variables in Python can store only one data type at a time.

True

False

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?