G7 Term3 Revision 2025

G7 Term3 Revision 2025

7th Grade

35 Qs

quiz-placeholder

Similar activities

8 ci sinif ümumiləşdirici test

8 ci sinif ümumiləşdirici test

6th Grade - University

30 Qs

python

python

KG - Professional Development

30 Qs

Python

Python

6th - 8th Grade

30 Qs

Python

Python

KG - Professional Development

35 Qs

CodeHS Tracy the Turtle Final Test

CodeHS Tracy the Turtle Final Test

6th - 10th Grade

30 Qs

ข้อสอบกลางภาค ภาษา Python

ข้อสอบกลางภาค ภาษา Python

7th Grade

30 Qs

Python Midterm Review

Python Midterm Review

KG - Professional Development

33 Qs

G7 Term3 Revision 2025

G7 Term3 Revision 2025

Assessment

Quiz

Computers

7th Grade

Easy

Created by

Malak Sadik

Used 6+ times

FREE Resource

35 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The index of a character in a String is accessed by:

  • A. Parentheses ( )

  • B. Curly braces { }

  • C. Square brackets [ ]

  • D. Angle brackets < >

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The function in Python used to display output is:

  • A. type( )

  • B. input( )

  • C. print( )

  • D. upper( )

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The function used to find the data type of a variable is:

  • A. input( )

  • B. type( )

  • C. print( )

  • D. count( )

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The function that gives the number of characters in a string is:

  • A. len( )

  • B. count( )

  • C. size( )

  • D. number( )

Answer explanation

len(): Returns the number of characters in the string.

count(): Counts how many times a substring appears.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The function that converts all characters to uppercase is:

  • A. title( )

  • B. capitalize( )

  • C. upper( )

  • D. lower( )

Answer explanation

upper(): Converts all characters to uppercase.

title(): Capitalizes the first letter of each word.

capitalize(): Capitalizes the first character only.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The title( ) function converts the ______ character of each word to uppercase:

  • A. Last

  • B. First

  • C. Middle

  • D. Random

Answer explanation

upper(): Converts all characters to uppercase.

title(): Capitalizes the first letter of each word.

capitalize(): Capitalizes the first character only.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

my_string = "Hello World"

  • A. Declare a string variable in Python

  • B. Select a group of characters

  • C. Integer variable

  • D. Last index of string

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?