Search Header Logo

G7 Term3 Revision 2025

Authored by Malak Sadik

Computers

7th Grade

Used 6+ times

G7 Term3 Revision 2025
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

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?