Python Basics

Python Basics

9th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Pre Test - Introduction to Python Programming Quiz

Pre Test - Introduction to Python Programming Quiz

12th Grade - University

10 Qs

ORION ACADEMY CODING AND ROBOTICS EXAMINATION(SENIOR SCHOOL)

ORION ACADEMY CODING AND ROBOTICS EXAMINATION(SENIOR SCHOOL)

10th - 12th Grade

20 Qs

PCAP Module 1 - Modules, Packages and PIP Review

PCAP Module 1 - Modules, Packages and PIP Review

9th - 10th Grade

14 Qs

Python_2R

Python_2R

KG - Professional Development

20 Qs

GCSE Computer Science: Programming (Data Structures)

GCSE Computer Science: Programming (Data Structures)

9th - 10th Grade

20 Qs

Python Syntax

Python Syntax

6th - 12th Grade

14 Qs

String Quiz

String Quiz

9th - 12th Grade

15 Qs

Python Boolean

Python Boolean

11th - 12th Grade

11 Qs

Python Basics

Python Basics

Assessment

Quiz

Computers

9th - 12th Grade

Hard

Created by

Turyamusiima Dismas

Used 1+ times

FREE Resource

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

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?