Search Header Logo

Introduction to python

Authored by Snighdha Pandey

Computers

9th Grade

Used 18+ 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

32 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 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

30 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

30 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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correctly-formatted comment?

&comment

“”Comment””

!comment

#comment

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A data type consisting of numbers letters and symbols:

String

Integer

Float

Boolean

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does term ‘debug’ mean:

looking at the code

a set of instructions

Identify errors and fix them

Making a calculation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To repeat until a particular condition is true use:

While loop

For loop

If loop

Indentation

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?