Search Header Logo

SESSION 1 QUIZ

Authored by Prathvi Suvarna

Other

University

Used 3+ times

SESSION 1 QUIZ
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Python was developed by Guido van Rossum in 1989 and released in 1991.

  • True / False

TRUE

FALSE

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In Python, code blocks are defined using curly braces {} instead of indentation.

TRUE

FALSE

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Keywords in Python can be used as variable names.

TRUE

FALSE

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The input() function in Python always returns data as a string.

TRUE

FALSE

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The name "Python" was inspired by:

Monty Python's Flying Circus
A type of snake
A character in a video game
A programming language from Java

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid variable name in Python?

student_name

age21

21age

_score

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens if indentation is incorrect in Python code?

SyntaxError

All code will run perfectly regardless of indentation.
Indentation only affects comments in Python.

It is Ignored

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?