Quiz Python 1

Quiz Python 1

1st - 3rd Grade

10 Qs

quiz-placeholder

Similar activities

Their Python Exam

Their Python Exam

3rd - 4th Grade

15 Qs

Introducción a JS

Introducción a JS

1st Grade

10 Qs

Python

Python

KG - Professional Development

13 Qs

Text, Math and Loops

Text, Math and Loops

1st - 3rd Grade

15 Qs

PROGRAMING C

PROGRAMING C

1st Grade

15 Qs

From Scratch to Python Quiz Unit 1 ,1.4-1.6

From Scratch to Python Quiz Unit 1 ,1.4-1.6

KG - 5th Grade

6 Qs

Python : les variables

Python : les variables

2nd Grade

6 Qs

KIỂM TRA TX L2-2-2122

KIỂM TRA TX L2-2-2122

1st Grade - University

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?