Computer Science • MCQ • 1 marks
Python was developed by?
Computer Science • MCQ • 1 marks
Python is known for its?
Computer Science • MCQ • 1 marks
Which programming approaches are supported by Python?
Computer Science • MCQ • 1 marks
What does IDLE stand for?
Computer Science • MCQ • 1 marks
Why is IDLE important for Python?
Computer Science • MCQ • 1 marks
Which site is used to download Python?
Computer Science • MCQ • 1 marks
Which option must be checked during Python installation?
Computer Science • MCQ • 1 marks
What does >>> represent in Python?
Computer Science • MCQ • 1 marks
Which extension is used to save Python scripts?
Computer Science • MCQ • 1 marks
Which key runs a script in IDLE?
Computer Science • MCQ • 1 marks
Which function displays output in Python?
Computer Science • MCQ • 1 marks
Which function is used to take input from user?
Computer Science • MCQ • 1 marks
input() function always returns?
Computer Science • MCQ • 1 marks
Which symbol starts a single-line comment in Python?
Computer Science • MCQ • 1 marks
Which quotes are used for multi-line comments?
Computer Science • MCQ • 1 marks
Identifiers in Python can contain?
Computer Science • MCQ • 1 marks
Is Python case-sensitive?
Computer Science • MCQ • 1 marks
Which are user-defined identifiers?
Computer Science • MCQ • 1 marks
Which data type stores decimal values?
Computer Science • MCQ • 1 marks
Boolean type represents?
Computer Science • MCQ • 1 marks
List is?
Computer Science • MCQ • 1 marks
Tuple is?
Computer Science • MCQ • 1 marks
Which operator is used for exponentiation?
Computer Science • MCQ • 1 marks
5 // 2 results in?
Computer Science • MCQ • 1 marks
Which relational operator checks equality?
Computer Science • MCQ • 1 marks
Which logical operator returns true if both expressions are true?
Computer Science • MCQ • 1 marks
Which logical operator returns true if at least one expression is true?
Computer Science • MCQ • 1 marks
Which logical operator reverses boolean value?
Computer Science • MCQ • 1 marks
Which operator is used to assign value in Python?
Computer Science • SHORT • 2 marks
What is Python?
Computer Science • SHORT • 2 marks
Who developed Python and when?
Computer Science • SHORT • 2 marks
What is the main feature of Python?
Computer Science • SHORT • 2 marks
What is IDLE in Python?
Computer Science • SHORT • 2 marks
Why do we need an interpreter for Python?
Computer Science • SHORT • 2 marks
What is Interactive Mode in Python?
Computer Science • SHORT • 2 marks
What is Script Mode in Python?
Computer Science • SHORT • 2 marks
How can we run a Python program in IDLE?
Computer Science • SHORT • 2 marks
What is the use of the print() function?
Computer Science • SHORT • 2 marks
What is the use of the input() function?
Computer Science • SHORT • 2 marks
Why do we convert input into int() or float()?
Computer Science • SHORT • 2 marks
What is an identifier in Python?
Computer Science • SHORT • 2 marks
Write two rules for identifiers.
Computer Science • SHORT • 2 marks
What is a variable?
Computer Science • SHORT • 2 marks
What are constants in Python?
Computer Science • SHORT • 2 marks
Name four basic data types in Python.
Computer Science • SHORT • 2 marks
Write examples of list, tuple, set, and dictionary.
Computer Science • SHORT • 2 marks
What is the use of the // operator?
Computer Science • SHORT • 2 marks
What does the % operator do?
Computer Science • SHORT • 2 marks
Write two relational operators with meaning.
Computer Science • SHORT • 2 marks
Write two logical operators with examples.
Computer Science • SHORT • 2 marks
What is operator precedence?
Computer Science • SHORT • 2 marks
What is the ** operator?
Computer Science • SHORT • 2 marks
How do we write a single-line comment in Python?
Computer Science • SHORT • 2 marks
How do we write multi-line comments?
Computer Science • SHORT • 2 marks
What is indentation in Python?
Computer Science • SHORT • 2 marks
What is the if statement used for?
Computer Science • SHORT • 2 marks
What is the difference between if and if-else?
Computer Science • SHORT • 2 marks
When do we use if-elif-else?
Computer Science • LONG • 8 marks
What are control structures? Describe different types of control structures in Python.
Computer Science • LONG • 8 marks
What is a variable? Write the rules to specify variable names in Python.
Computer Science • LONG • 8 marks
What is the use of print() function in Python? Discuss with examples.
Computer Science • LONG • 8 marks
Explain the input() function in Python with syntax and example.
Computer Science • LONG • 8 marks
Write a note on relational operators in Python. Explain with examples.
Computer Science • LONG • 8 marks
Write a note on logical operators in Python. Explain with examples and truth tables.
Computer Science • LONG • 8 marks
Explain the if statement in Python with syntax, flowchart, working, and example.
Computer Science • LONG • 8 marks
Explain the if-else statement in Python with syntax, flowchart, working, and example.
Computer Science • LONG • 8 marks
Explain the if-elif statement in Python with syntax, flowchart, working, and example.
Computer Science • LONG • 8 marks
Explain operator precedence in Python with suitable examples.
Computer Science • LONG • 8 marks
Explain the difference between interactive mode and script mode with examples.
Computer Science • LONG • 8 marks