Intermediate Python

Intermediate Python

University

15 Qs

quiz-placeholder

Similar activities

Python MCQ

Python MCQ

University

20 Qs

WML & WAP

WML & WAP

University

20 Qs

A level Computer Science In-fix post-fix Reverse polish

A level Computer Science In-fix post-fix Reverse polish

10th Grade - University

10 Qs

introduction to computer graphics

introduction to computer graphics

University

10 Qs

Microsoft Office Advandces 2016

Microsoft Office Advandces 2016

9th Grade - Professional Development

20 Qs

Python Functions and File Operations Quiz cyber 2025

Python Functions and File Operations Quiz cyber 2025

University

18 Qs

Arduino Loop

Arduino Loop

2nd Grade - University

20 Qs

1.1.1 The structure and function of the processor

1.1.1 The structure and function of the processor

11th Grade - University

15 Qs

Intermediate Python

Intermediate Python

Assessment

Quiz

Computers

University

Medium

Created by

Valai Ganesh

Used 36+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • Ungraded

Your Mindset Right now

Media Image
Media Image
Media Image
Media Image

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Create a variable named bike and assign the value Kawasaki H2R to it

bike= Kawasaki H2R

"bike" = Kawasaki

H2R bike= "Kawasaki H2R"

"KawasakiH2R"= bike

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Create a variable named x and assign the value of integer 50 to it

x="50"

x: 50

"x"=50

x=50

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Display the sum of 5 + 10, using two variables: x and y

x=y y = 10

print(x +y)

x=5 y = x

print(x +y)

x=10 y =5

print(x +y)

x=5 y =10

print(x +y)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Select the illegal variable name

2my-first_name = "John"

my-firstname = "John"

__my-first_name = "John"

my2-first_name = "John"

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is used to print the length of a string

len()

length()

type.legth()

fulllength()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What can we use to get the first character of a string txt= "Banana"

x=txt(0)

x=txt(1)

x=txt[0]

x=txt[1]

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?

Discover more resources for Computers