Python Basics

Python Basics

9th - 12th Grade

15 Qs

Student preview

quiz-placeholder

Similar activities

8.1 Programming Overview

8.1 Programming Overview

9th - 11th Grade

14 Qs

Pre Test - Introduction to Python Programming Quiz

Pre Test - Introduction to Python Programming Quiz

12th Grade - University

10 Qs

Class_11_24_July

Class_11_24_July

11th Grade

10 Qs

2.5.1 Revision Test

2.5.1 Revision Test

10th Grade

10 Qs

Python Basics ;)

Python Basics ;)

11th Grade

20 Qs

High and low level languages

High and low level languages

10th - 12th Grade

17 Qs

Python programming

Python programming

6th - 12th Grade

16 Qs

Technical Quiz Round 1 Set 1

Technical Quiz Round 1 Set 1

12th Grade

20 Qs

Python Basics

Python Basics

Assessment

Quiz

Created by

Turyamusiima Dismas

Computers

9th - 12th Grade

1 plays

Hard

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the code?

year122year122

Error

year12

year122

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

what is the output of the code?

There is a syntax error

Dismas

None

myName

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Python is case sensitive

True

False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is the correct extension of the Python file?

.python

.pl

.py

.p

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is Python code compiled or interpreted?

Python code is both compiled and interpreted

Python code is neither compiled nor interpreted

Python code is only compiled

Python code is only interpreted

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will be the value of the following Python expression?

4 + 3 % 5

7

2

5

6

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used for function in Python language?

Function

def

Def

Func

Explore all questions with a free account

or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?