Search Header Logo

H SDD - Pre-defined functions (revision)

Authored by G Alexander-Doyle

Computers

10th Grade

Used 22+ times

H SDD - Pre-defined functions (revision)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

9 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following Python pre-defined functions could be used to return the ASCII value of a character?

ORD

LEN

CHR

ROUND

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following Python pre-defined functions could be used to return the character which matches an ASCII value?

ORD

LEN

CHR

ROUND

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following Python pre-defined functions could be used to return the number of characters in a string

ORD

LEN

CHR

ROUND

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of the following is the correct output from the following code:

21th Mar 2022

21th Ma 22

21st Mar 22

21th Mar 22

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would the correct output for the following code be?

String = "Falkirk High School"

print(String[8:10] + " " + String[0:7])

Hi Falkirk

Hi School

Fa High Sc

Hi kirk H

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following Python pre-defined functions could be used to convert a floating point number to a whole number?

ORD

LEN

INT

ROUND

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following Python pre-defined functions could be used to convert a floating point number to a whole number?

ORD

LEN

INT

ROUND

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?