Python Programming: Basics (Leaving Cert Computer Science): Quizzes
📚Quizzes
Practise the questions
12 questions from this quiz
ShowHide
Practise the questions
12 questions from this quiz
Python is described as what type of programming language?
Python is described as what type of programming language?
High-level and interpreted
What symbol is used as the assignment operator in Python?
What symbol is used as the assignment operator in Python?
Single equals sign (=)
What does the type() function return for a Boolean value?
What does the type() function return for a Boolean value?
<class 'bool'>
What is Python's naming convention for variables?
What is Python's naming convention for variables?
snake_case
What does the floor division operator (//) do?
What does the floor division operator (//) do?
Divides, then rounds down
What type of values do comparison operations return?
What type of values do comparison operations return?
Boolean values
What data type does the input() function always return?
What data type does the input() function always return?
String
What operator is used for string concatenation?
What operator is used for string concatenation?
- (plus)
What operator is used for string concatenation?
What operator is used for string concatenation?
- (plus)
What symbol is used to create comments in Python?
What symbol is used to create comments in Python?
(hash)
What does int("3") do in Python?
What does int("3") do in Python?
Converts string "3" to integer 3
What does int("3") do in Python?
What does int("3") do in Python?
Converts string "3" to integer 3
