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

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

Practise the questions

15 questions from this quiz

Show

What type of programming language is Python?

High-level and interpreted

Which symbol is used to create comments in Python?

What is the assignment operator in Python?

=

What does the type() function return?

The data type of a variable

Which data type represents whole positive numbers?

Integers

What must surround all strings in Python?

"" or ''

What values can a Boolean data type have?

True or False

What is Python's naming convention for variables?

snake_case

What does the floor division operator (//) do?

Divides then rounds down

What does the modulus operator (%) return?

The remainder of division

What do comparison operations return?

Boolean values

What is the process of converting variables between data types called?

Type casting

What data type does the input() function always return?

String

Which operator is used for string concatenation?

What does 5∗∗35 ** 3 evaluate to in Python?

125

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

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