Quiz Python 1

Quiz Python 1

1st - 3rd Grade

10 Qs

quiz-placeholder

Similar activities

Python-Partie6

Python-Partie6

1st Grade

10 Qs

[CodeCombat] Min Max JavaScript

[CodeCombat] Min Max JavaScript

1st Grade - University

15 Qs

Ulangan python

Ulangan python

1st - 3rd Grade

10 Qs

Intro to Python Test

Intro to Python Test

3rd - 12th Grade

11 Qs

Python

Python

1st - 10th Grade

10 Qs

Advance Python

Advance Python

KG - Professional Development

10 Qs

Душим питона

Душим питона

1st - 12th Grade

13 Qs

Python Basics

Python Basics

1st Grade

10 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?