Quiz Python 1

Quiz Python 1

1st - 3rd Grade

10 Qs

quiz-placeholder

Similar activities

Python 101

Python 101

1st - 5th Grade

15 Qs

FinalTest

FinalTest

1st - 2nd Grade

15 Qs

Python Basics

Python Basics

1st Grade - University

10 Qs

Python quiz

Python quiz

1st - 3rd Grade

15 Qs

Go Lang

Go Lang

1st - 5th Grade

10 Qs

Quiz1_7C

Quiz1_7C

3rd Grade - University

15 Qs

JC Quizizz Assignment

JC Quizizz Assignment

KG - 4th Grade

10 Qs

Python Basics

Python Basics

1st - 5th Grade

15 Qs

Quiz Python 1

Quiz Python 1

Assessment

Quiz

Computers

1st - 3rd Grade

Medium

Created by

Mohamad Shahrin

Used 11+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which one of the following is correct way of declaring and initialising a variable, x with value 5?

def x=5

x=5

int x=5

int x x=5

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is not valid variable name in Python?

var11

11var

var_name

_var

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Is Python identifiers(variable name)case sensitive ?

True

False

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following will give error?

a,b,c=1, 2 , 1.5

a=b=c=1

a,b,c=1

None of the above

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is a valid variable?

var@

32var

abc_a_c

class

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Python only works in Linux and Windows.

True

False

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Python does not have exception handling.

True

False

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?