Introduction to python

Introduction to python

9th Grade

32 Qs

quiz-placeholder

Similar activities

Computer Pretest1(Python Grade7_t1)

Computer Pretest1(Python Grade7_t1)

3rd Grade - University

30 Qs

Year 9 - HT6 - Homework 1

Year 9 - HT6 - Homework 1

8th - 9th Grade

30 Qs

Python for grade 5

Python for grade 5

1st - 11th Grade

30 Qs

python string

python string

9th - 12th Grade

27 Qs

Y10 - Python Quiz 1

Y10 - Python Quiz 1

9th Grade

37 Qs

Programming Techniques

Programming Techniques

8th - 10th Grade

30 Qs

Python Basics

Python Basics

8th - 10th Grade

30 Qs

Computer Translators

Computer Translators

8th - 10th Grade

28 Qs

Introduction to python

Introduction to python

Assessment

Quiz

Computers

9th Grade

Hard

Created by

Snighdha Pandey

Used 17+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?