Python Programming: Intermediate (Leaving Cert Computer Science): Quizzes

📚Quizzes
Python Programming: Intermediate
Sign up to keep practising.Create a free account to play more quizzes and track your progress.

Practise the questions

10 questions from this quiz

Show

What does 'hello'.upper() return?

HELLO

Given text='Python', what does text[0:3] return?

Pyt

What does str.find(sub) return if substring is not found?

-1

What does the escape character \n represent?

Newline

What does 'True and False' evaluate to?

False

What is the purpose of elif in Python?

Check multiple conditions

What does it mean that lists are mutable?

Elements can be changed after creation

What does list.pop() with no argument do?

Removes and returns last item

Why is incrementation important in while loops?

Prevents infinite loops

What does range(5) generate?

Numbers 0 to 4

Explore Leaving Cert Computer Science Revision Notes by Topics

Explore Leaving Cert Computer Science Model Answers by Topics

Explore Leaving Cert Computer Science Flashcards by Topics

Explore Leaving Cert Computer Science Exam Questions by Topics

Join 100,000+ Leaving Cert students studying Quizzes with us.

Select your subjects, and get access to A+ resources today.