Search Header Logo

Introduction to Python

Authored by Isha Arora

Computers

University

Used 248+ times

Introduction to Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Python is an example of a:

Text-based programming language

Visual-based programming language

Block-based programming language

Language written in JavaScript

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What will the output be from the following code? Print (“Hello world!”)

SyntaxError

“Hello world!”

Hello world!

Print (Hello world!)

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a correctly-formatted comment?

&comment

“”Comment””

!comment

#comment

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What does term ‘debug’ mean:

looking at the code

a set of instructions

Identify errors and fix them

Making a calculation

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The correct way to write a variable in python?

my_variables=10

my_variable:10

my variable=10

my_variable is 10

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

What kind of programming language is Python?

High Level  & Object Orientated
Low Level & Object Orientated
High Level & Procedural
Low Level & Procedural

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Media Image

How would you assign an integer to a variable?

new_var = 4
new_var == 4
new_var = "4"
new var "4"

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?