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

12 questions from this quiz

Show

Python is described as what type of programming language?

High-level and interpreted

What symbol is used as the assignment operator in Python?

Single equals sign (=)

What does the type() function return for a Boolean value?

<class 'bool'>

What is Python's naming convention for variables?

snake_case

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

Divides, then rounds down

What type of values do comparison operations return?

Boolean values

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

String

What operator is used for string concatenation?

  • (plus)

What operator is used for string concatenation?

  • (plus)

What symbol is used to create comments in Python?

(hash)

What does int("3") do in Python?

Converts string "3" to integer 3

What does int("3") do in Python?

Converts string "3" to integer 3

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.